From 17b57a4a55a1d27948408eef1ac024507b2473e4 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 5 Jan 2025 16:09:03 +0100 Subject: chore: update css --- cgit.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/cgit.css b/cgit.css index dc962b1..7a6c3a5 100644 --- a/cgit.css +++ b/cgit.css @@ -25,12 +25,29 @@ div#cgit { border-radius: var(--radius-lg); } -div#cgit .libravatar-avatar { +div#cgit .libravatar-avatar .always-visible { height: 1.2em; transform: translate(0,0.2em); width: 1.2em; border-radius: 6px; } +div#cgit .libravatar-avatar .on-hover { + display: none; + border: 1px solid gray; + padding: 0px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + width: 128px; + height: 128px; +} +div#cgit .libravatar-avatar:hover .on-hover { + display: block; + position: absolute; + margin-left: 1.5em; + background-color: #eeeeee; + box-shadow: 2px 2px 7px rgba(100, 100, 100, 0.75); +} div#cgit select, div#cgit input[type="text"], -- cgit v1.2.3