From 1dd0f306f665d2881834bac1aa610cea0b21024a Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 16 Aug 2024 23:29:22 +0200 Subject: (css): hover on .codeline now fancy --- templates/head.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/head.html') diff --git a/templates/head.html b/templates/head.html index 3bec2a9..42d569c 100644 --- a/templates/head.html +++ b/templates/head.html @@ -25,6 +25,7 @@ h4 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #fafafa*/} h5 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #fafafa*/} .code { border-left: 1px solid #040404; margin-left: 2ex; padding-left: 1ex; } + .codeline:hover { background: #eeeeee; color: #040404; } .trhover tr:hover { border-bottom: 1px solid #dddddd; } /* add an outline while hovering, the !important makes hovering on checked elements still visible */ @@ -47,6 +48,7 @@ h4 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #c0c0c0*/} h5 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #c0c0c0*/} .code { border-left: 1px solid #c0c0c0; margin-left: 2ex; padding-left: 1ex; } + .codeline:hover { background: #c0c0c0; color: #040404; } .webring { -webkit-filter: invert(100%); filter: invert(100%); } .trhover tr:hover { background: #c0c0c0; color: #040404; } -- cgit 1.4.1