diff options
1 files changed, 7 insertions, 2 deletions
| -rw-r--r-- | Year 4/Web technologies/referat/css/style.css | 9 |
diff --git a/Year 4/Web technologies/referat/css/style.css b/Year 4/Web technologies/referat/css/style.css index 4f71017..ef32a0d 100644 --- a/Year 4/Web technologies/referat/css/style.css +++ b/Year 4/Web technologies/referat/css/style.css @@ -35,13 +35,18 @@ body { border-radius: 0.5em 0.5em 0 0; margin-bottom: 1em; position: sticky; + top: 0; + z-index: 50; } #contents > a { - text-decoration: none; color: var(--level1); } +#contents > a:hover { + text-decoration: underline; +} + #contents > a:not(:last-child) { border-right: 5px double var(--level3); padding-right: 0.5em; @@ -106,7 +111,7 @@ ol.sources > li::before, sup a, sup a:visited { position: absolute; right: 0.5em; top: 0.25em; - z-index: 50; + z-index: 20; background-color: white; border-radius: 0.25em; cursor: pointer; |
