summaryrefslogtreecommitdiff
path: root/src/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
parent12cb115c9d74698129607a5907471a907e10d8aa (diff)
make navBar(header) presist active depending on which page user's on
Diffstat (limited to 'src/css')
-rw-r--r--src/css/ghrepo.css5
-rw-r--r--src/css/index.css5
-rw-r--r--src/css/style.css25
3 files changed, 34 insertions, 1 deletions
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index 2c8d6d7a..79100ffd 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -22,8 +22,11 @@
box-sizing: border-box;
/* background-image: url(/images/backgroundNightCity.jpg); */
background: transparent;
+
}
+
+
body {
display: flex;
align-items: center;
@@ -50,7 +53,7 @@ main {
align-items: center;
width: 90%;
max-width: 1280px;
- background: transparent;
+ /* background: transparent; */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
diff --git a/src/css/index.css b/src/css/index.css
index 29262abf..4666c95b 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -46,6 +46,7 @@
position: relative;
width: 100%;
text-align: center;
+ text-shadow: 10px 10px 10px black;
}
.window .placeholder .text .title {
@@ -53,6 +54,10 @@
font-size: 12.5vw;
}
+.title {
+ text-shadow: 15px 15px 15px black;
+}
+
.window .placeholder .text .br {
display: block;
height: 0;
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;
+}