From 4e0c0d6f0d36dabb7000ed1a8b10bef213f73ef3 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 31 Jan 2021 09:48:26 +0100 Subject: [PATCH] [THEME] Fix svg logo size and change logo hover display --- static/css/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 501afce..5f3c40f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,6 +1,7 @@ /******************* Constants *******************/ :root { --font-color: #EFEFEF; + --font-color_rgb: 239, 239, 239; --font-color-em: #8C8C8C; --background-color: #1C1C1C; --background-color-light: #252525; @@ -526,7 +527,8 @@ a:focus { display: inline-block; } .article-body figure.logo img { - width: 100px; + width: 100%; + max-width: 100px; vertical-align: bottom; } .article-body figure.border img { @@ -542,6 +544,10 @@ a:focus { .article-body figure>a { display: block; min-height: 100%; + border: none; +} +.article-body figure.logo:hover { + box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5); } .article-body figure figcaption p, .article-body figure figcaption h4 {