-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
217 lines (184 loc) · 4.07 KB
/
style.css
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
@import "background.css";
@font-face {
font-family: "stretch";
src: url("assets/fonts/stretch/StretchPro.otf");
}
@font-face {
font-family: "notstretch";
src: url("assets/fonts/stretch/STRRETCH SANS.otf");
}
body {
color: white;
font-family: Montserrat, sans-serif;
height: 100%;
margin: 0;
background: rgb(24, 24, 24);
}
.title-container {
font-family: "stretch", sans-serif;
font-size: 100px;
text-align: center;
margin-top: 50px;
filter: url(#threshold) blur(0.6px);
pointer-events: none;
height: 100px;
}
#title1,
#title2 {
position: absolute;
left: 50%;
transform: translateX(-50%);
line-height: 100px;
}
footer {
padding-top: 10px;
justify-content: center;
display: flex;
font-family: notstretch, sans-serif;
color: white;
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
backdrop-filter: blur(25px);
border-radius: 20px 20px 0 0;
border-top: 1px solid rgb(255 255 255 / 36%);
border-right: 1px solid rgb(255 255 255 / 36%);
border-left: 1px solid rgb(255 255 255 / 36%);
}
footer a {
margin: 0 1rem;
padding: 5px;
border-bottom: 2px solid lightblue;
cursor: pointer;
transition: all 0.25s;
z-index: 1;
}
footer .act {
margin: 0 1rem;
padding: 5px;
border-bottom: 2px solid lightgreen;
}
footer a:hover {
border-bottom: 2px solid lightgreen;
}
.techstack img:hover {
scale: 1.1;
}
.home,
.projects,
.techstack,
.social {
transition: opacity 0.5s, transform 0.5s;
}
.home * {
transition: opacity 0.5s, transform 0.5s;
}
.social * {
transition: all 0.5s;
}
.social {
width: 100%;
display: flex;
justify-content: center;
}
.scard {
background: #282828;
filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.4));
transition: all 0.5s;
max-width: 20em;
opacity: 1;
}
.scard:hover {
scale: 1.1;
}
@media (min-width: 767px) {
.scard:not(:hover) {
opacity: 0.5;
}
}
.scard:hover {
scale: 1.1;
}
.scard:active {
scale: 1.15;
}
.badges a {
margin-top: 8px;
display: inline-block;
vertical-align: top;
transition: opacity 0.5s, transform 0.5s;
}
.badges a img {
padding-right: 15px;
width: 100%;
height: 6em;
transform: scale(0.8);
}
.badges {
transition: all 0.5s;
}
.card {
background: #282828;
filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.4));
transition: all 0.5s;
max-width: 50em;
}
.card:hover {
scale: 1.025;
}
*::-webkit-scrollbar {
display: none;
}
@media only screen and (max-width: 768px) {
footer {
font-size: 2em;
}
}
.projects * {
transition: all 0.5s;
}
/* Checkbox from https://uiverse.io/SelfMadeSystem/green-bobcat-29 by SelfMadeSystem */
.checkbox-container {
/* top right of the screen */
position: fixed;
top: 10px;
right: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.checkbox-container input {
display: none;
}
.checkbox-container svg {
overflow: visible;
margin-right: .5em;
}
.path {
fill: none;
stroke: white;
stroke-width: 6;
stroke-linecap: round;
stroke-linejoin: round;
transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
stroke-dasharray: 241 9999999;
stroke-dashoffset: 0;
}
.checkbox-container input:not(:checked) ~ svg .path {
stroke-dasharray: 70.5096664428711 9999999;
stroke-dashoffset: -262.2723388671875;
}
.checkbox-container svg, input {
vertical-align: middle;
display: inline-block;
}
body {
--color: rgba(114, 114, 114, 0.3);
background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),
linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);
background-size: 50px 50px;
/* parallax effect */
background-attachment: fixed;
}