aboutsummaryrefslogtreecommitdiff
path: root/myshit
diff options
context:
space:
mode:
authorCalicoKaiya <inhbinggi@mail.com>2022-08-12 18:56:44 +0100
committerCalicoKaiya <inhbinggi@mail.com>2022-08-12 18:56:44 +0100
commitc5d077dd2be25789bc02cbc75b3ebd71e9d95902 (patch)
treea983665d209b60ed7d8181aef0127d94df0b92ae /myshit
parent8e1888780ac14352775988a13d5d8d079070c63f (diff)
downloadexhq.github.io-c5d077dd2be25789bc02cbc75b3ebd71e9d95902.tar.gz
exhq.github.io-c5d077dd2be25789bc02cbc75b3ebd71e9d95902.tar.bz2
exhq.github.io-c5d077dd2be25789bc02cbc75b3ebd71e9d95902.zip
Removed redundant CSS lines
Added CSS variables for readability and ease of customization Optimised 'border' lines
Diffstat (limited to 'myshit')
-rw-r--r--myshit/index.css32
1 files changed, 21 insertions, 11 deletions
diff --git a/myshit/index.css b/myshit/index.css
index 86ee9c4..8089392 100644
--- a/myshit/index.css
+++ b/myshit/index.css
@@ -1,28 +1,37 @@
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Google+Sans&display=swap');
-html, body {
+/* Color variables */
+:root{
+ --background-color: #202124;
+ --text-color: #ff80a4;
+ --link-color: #94216a;
+}
+
+html, body{
scroll-behavior: smooth;
- background-color: #202124;
- }
+ background-color: var(--background-color);
+}
- .header{
+.header{
font-family: 'fira sans', serif;
- color: #ff80a4;
+ color: var(--text-color);
text-align: center;
}
+
.notheader{
font-family: 'fira sans', serif;
- color: #ff80a4;
+ color: var(--text-color);
text-align: center;
font-size: small;
}
-.center {
+
+.center{
margin: auto;
width: 60%;
padding: 10px;
text-align: center;
- }
+}
b{
font-size: 140%;
@@ -32,10 +41,11 @@ b{
h3{
margin-top: 0%;
font-family: 'fira sans', serif;
- color: #ff80a4;
- text-align: center;
+ color: var(--text-color);
+ /*text-align: center;*/
font-size: small;
}
+
.desktop{
width: 100%;
height: auto;
@@ -49,7 +59,7 @@ h3{
}
.link{
- color: #94216a;
+ color: var(--link-color);
text-decoration: none;
font-family: 'google sans';
font-size: larger;