-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.css
More file actions
128 lines (120 loc) · 2.21 KB
/
core.css
File metadata and controls
128 lines (120 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@font-face {
font-family: "Berlin Sans FB";
src: url('assets/other/BRLNSDB.ttf');
font-display: swap;
}
body {
font-family: "Berlin Sans FB";
margin: 0;
position: relative;
min-height: 100vh;
background-color: var(--bg-color);
color: var(--txt-color);
}
:root{
--bg-color:#E7E7E7;
--txt-color:#181818;
--pri-color:#e78323;
--sec-color:#187cdc;
--bool: 1;
}
.dark {
--bg-color:#181818;
--txt-color:#E7E7E7;
--pri-color:#187cdc;
--sec-color:#e78323;
--bool: 0;
}
footer {
display: flex;
margin-top: auto;
justify-content: center;
background-color: var(--pri-color);
color: #E7E7E7;
border-radius: 0.5em 0.5em 0 0;
position: absolute;
bottom: 0;
width: 100%;
}
#theme-switch{
width: 50px;
height: 35px;
padding: 10px;
border: 0;
background-color: var(--bg-color);
display: inline-flex;
border-radius: 20em;
justify-content: center;
align-items: center;
position: fixed;
bottom: 8px;
right: 8px;
transition: all 0.1s ease-out;
}
#theme-switch:hover{
box-shadow: 0 1.5px 2px #6b6b6b52;
transform: translateY(-0.70px);
transition: all 0.25s ease-out;
}
#theme-switch svg{
fill: var(--txt-color);
}
#theme-switch svg:last-child{
display: none;
}
.dark #theme-switch svg:first-child{
display: none;
}
.dark #theme-switch svg:last-child{
display: block;
}
section { /* Once it's moved to another system, this should be deprecated. */
overflow: auto;
height: 0;
margin: auto;
opacity: 0;
z-index: 0;
transition: opacity 0.1s cubic-bezier(0, 0, 0.21, 1);
}
section:target {
height: auto;
width: 90vw;
padding-bottom: 8%;
z-index: 1;
opacity: 1;
transition: all 0.45s cubic-bezier(0, 0, 0.21, 1);
}
::-webkit-scrollbar {
width: 6px;
background-color: var(--bg-color);
border-radius: 2px;
}
.navbar {
z-index: 1000;
display: flex;
position: sticky;
top: 0;
padding: 2px;
border-radius: 0 0 0.5em 0.5em;
background-color: var(--pri-color);
}
.navbar a {
padding: 4px;
margin: 3px;
text-decoration: none;
color: #E7E7E7;
border-radius: 5px;
transition: all 0.1s ease-out;
}
.navbar a:hover {
background-color: #ffffff1f;
box-shadow: 0 1.5px 2px #1f1f1f52;
transform: translateY(-0.70px);
transition: all 0.20s ease-out;
}
.navbar a:active {
background-color: #ffffff36;
transform: translateY(-0.20px);
box-shadow: 0 1.5px 1px #1f1f1f1b;
transition: all 0.02s ease-in;
}