Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css
diff options
context:
space:
mode:
Commit17852e3680b0d2305457a06f1753be293f4eae86 (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-12-21 16:34:01 +0200
Committer
 Syndamia <kamen@syndamia.com>
2024-12-21 16:34:01 +0200
Files75ce84f06ef9ea320d0ce7f2591944eec57ba2d5 /Year 4/Web technologies/referat/css
uni-projects-17852e3680b0d2305457a06f1753be293f4eae86.tar
uni-projects-17852e3680b0d2305457a06f1753be293f4eae86.tar.gz
uni-projects-17852e3680b0d2305457a06f1753be293f4eae86.zip
Parentc1f0eebdf31c41ff3232b5ceb0a799fbcacb3c9d (diff)
referat(WT): Added name and fn
2 files changed, 32 insertions, 20 deletions
-rw-r--r--Year 4/Web technologies/referat/css/effects.css19
-rw-r--r--Year 4/Web technologies/referat/css/style.css33
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);
-}