diff options
referat(WT): Added name and fn
2 files changed, 32 insertions, 20 deletions
| -rw-r--r-- | Year 4/Web technologies/referat/css/effects.css | 19 | ||||
| -rw-r--r-- | Year 4/Web technologies/referat/css/style.css | 33 |
diff --git a/Year 4/Web technologies/referat/css/effects.css b/Year 4/Web technologies/referat/css/effects.css index 9ac3088..c26d678 100644 --- a/Year 4/Web technologies/referat/css/effects.css +++ b/Year 4/Web technologies/referat/css/effects.css @@ -1,6 +1,9 @@ -figure { +figure, .clickable { cursor: pointer; } +.clickable:active { + transform: scale(0.8); +} .none { display: none; @@ -43,3 +46,17 @@ figure { left: 0; z-index: 99; } + +.copy-to-clipboard { + position: absolute; + right: 0.5em; + top: 0.25em; + z-index: 20; + background-color: white; + border-radius: 0.25em; + cursor: pointer; +} + +.copy-to-clipboard:hover { + background-color: rgb(68, 65, 118, 0.5); +} diff --git a/Year 4/Web technologies/referat/css/style.css b/Year 4/Web technologies/referat/css/style.css index ef037db..185e7f0 100644 --- a/Year 4/Web technologies/referat/css/style.css +++ b/Year 4/Web technologies/referat/css/style.css @@ -47,12 +47,25 @@ body { text-decoration: underline; } -#contents > a:not(:last-child) { +#contents > a:not(:last-of-type) { border-right: 5px double var(--level3); padding-right: 0.5em; margin-right: 0.5em; } +.expand { + flex: 1; +} + +#author { + color: white; + text-align: right; + position: absolute; + right: 0.5em; + top: 0.5em; + background-color: inherit; + padding: 0.5em; +} h1 { color: white; @@ -108,21 +121,3 @@ pre > code { ol.sources > li::before, sup a, sup a:visited { color: var(--level4); } - -.copy-to-clipboard { - position: absolute; - right: 0.5em; - top: 0.25em; - z-index: 20; - background-color: white; - border-radius: 0.25em; - cursor: pointer; -} - -.copy-to-clipboard:hover { - background-color: rgb(68, 65, 118, 0.5); -} - -.copy-to-clipboard:active { - transform: scale(0.8); -} |
