From f4a3b27d25182dafee41a0fda42e9a69989861e6 Mon Sep 17 00:00:00 2001 From: Marvin Blum Date: Tue, 7 Jul 2020 23:25:07 +0200 Subject: [PATCH] Styled embedded links. --- static/style.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/static/style.css b/static/style.css index 15f51e8..af4f28a 100644 --- a/static/style.css +++ b/static/style.css @@ -61,6 +61,33 @@ body { margin: 3px 6px 3px 0; } +.embed { + display: flex; + justify-content: center; + align-items: center; + text-decoration: none; + border: 1px dotted #121212; + padding: 1rem 1.5rem; +} + +.embed .image { + max-width: 200px; + max-height: 200px; +} + +.embed .info { + padding: 1rem 1.5rem; +} + +.embed .info .title { + font-weight: bold; + margin: 0 0 10px 0; +} + +.embed .info .url { + margin: 10px 0 0 0; +} + input { padding: 2px; }