summaryrefslogtreecommitdiff
path: root/src/css/style.css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-02 14:10:56 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-02 14:10:56 +0800
commitaa91acb5a17c67ed929a5dd5440195736745450d (patch)
tree72c7323f3025513579d5dc05f0dfee29f3a3462e /src/css/style.css
parent12cb115c9d74698129607a5907471a907e10d8aa (diff)
make navBar(header) presist active depending on which page user's on
Diffstat (limited to 'src/css/style.css')
-rw-r--r--src/css/style.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/css/style.css b/src/css/style.css
index 410e9646..a313b77e 100644
--- a/src/css/style.css
+++ b/src/css/style.css
@@ -26,6 +26,7 @@
padding: 0;
margin: 0;
font-family: liga;
+ text-shadow: 0px 0px 1px black;
}
body {
@@ -110,3 +111,27 @@ header {
section {
position: relative;
}
+
+.wrapper {
+ height: 100vh;
+ overflow-y: auto;
+ overflow-x: hidden;
+ perspective: 10px;
+}
+
+.slowScroll
+ transform: translateZ(-10px) scale(2);
+}
+
+.fastScroll {
+ transform: translateZ(-5px) scale(1.5);
+}
+
+.slowScroll,
+.fastScroll {
+ position: absolute;
+ /* height: 100%; */
+ /* width: 100%; */
+ object-fit: cover;
+ z-index: -1;
+}