diff options
chore: update css
-rw-r--r-- | cgit.css | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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"], |