Skip to content

Commit bf88115

Browse files
committed
cleanup
1 parent 85ac6d8 commit bf88115

1 file changed

Lines changed: 60 additions & 76 deletions

File tree

assets/css/main.css

Lines changed: 60 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
html,
2-
body {
3-
max-width: 100%;
1+
html {
2+
height: 100%;
3+
width: 100%;
44
overflow-x: hidden;
55
font-family: "Roboto", sans-serif;
66
text-align: center;
@@ -9,11 +9,26 @@ body {
99
margin: 0;
1010
padding: 0;
1111
color: var(--text-color);
12-
/*-----------------------------------------------------
13-
# Background
14-
------------------------------------------------------*/
15-
/*
16-
.notebook-line{
12+
background-color: var(--page-bg-color);
13+
14+
/* Dots */
15+
background-image: radial-gradient(
16+
color-mix(in srgb, var(--page-bg-color) 93%, white) 0.08em,
17+
transparent 0
18+
);
19+
background-size: 30px 30px;
20+
21+
/* background: repeating-linear-gradient(
22+
0deg,
23+
#1f2937,
24+
#1f2937 19px,
25+
#1a2330 1px,
26+
#1a2330 20px
27+
);*/
28+
}
29+
30+
/*
31+
.notebook-line{
1732
z-index:1;
1833
position: fixed;
1934
@@ -27,7 +42,7 @@ body {
2742
width:100%;
2843
}
2944
30-
.notebook-holes{
45+
.notebook-holes{
3146
z-index:1;
3247
border: 40px;
3348
height: 100vh;
@@ -36,34 +51,20 @@ body {
3651
3752
background-image: radial-gradient(#1a2330 8px, transparent 0);
3853
background-size: 80px 80px;
39-
} */
40-
41-
/* background: repeating-linear-gradient(
42-
0deg,
43-
#1f2937,
44-
#1f2937 19px,
45-
#1a2330 1px,
46-
#1a2330 20px
47-
); */
54+
} */
4855

49-
/* White Theme
50-
background: repeating-linear-gradient(
51-
0deg,
52-
#ffffff,
53-
#ffffff 19px,
54-
#f3f4f8 1px,
55-
#f3f4f8 20px
56-
); */
56+
body {
57+
width: 100%;
58+
min-height: 100%;
59+
display: flex;
60+
flex-direction: column;
61+
}
5762

58-
/* Dots */
59-
/* background-color: #1a2330; */
60-
background-color: var(--page-bg-color);
61-
/* background-image: radial-gradient(#1c3047 0.08em, transparent 0); */
62-
background-image: radial-gradient(
63-
color-mix(in srgb, var(--page-bg-color) 93%, white) 0.08em,
64-
transparent 0
65-
);
66-
background-size: 30px 30px;
63+
main {
64+
flex: 1;
65+
max-width: 1200px;
66+
margin: auto;
67+
margin-top: 0;
6768
}
6869

6970
a {
@@ -74,17 +75,7 @@ a:link {
7475
color: var(--text-color);
7576
}
7677

77-
/*-----------------------------------------------------
78-
# Content
79-
------------------------------------------------------*/
80-
.container-main {
81-
max-width: 1200px;
82-
margin: auto;
83-
margin-top: 0;
84-
}
85-
86-
main img:hover:not(:focus),
87-
main video:hover:not(:focus) {
78+
media-wrap:hover:not(:focus){
8879
box-shadow: 0 0 1em rgba(0, 0, 0, 0.8);
8980
transition: box-shadow 0.1s ease-in-out;
9081
}
@@ -94,8 +85,8 @@ main video:hover:not(:focus) {
9485
}
9586

9687
spline-viewer {
97-
/* width: 80vw; */
98-
/* width: 70em; */
88+
/* width: 80vw;
89+
width: 70em; */
9990
height: auto;
10091
margin: 0 auto;
10192
/* display: inline-block; */
@@ -158,28 +149,28 @@ spline-viewer {
158149
}
159150

160151
/* .numero {
161-
font: bold 12em "Poppins", sans-serif;
162-
font-size: clamp(3rem, -5rem + 20vw, 12rem);
163-
text-align: left;
164-
position: absolute;
165-
margin: 0;
166-
mix-blend-mode: overlay;
167-
line-height: 0.85em;
168-
color: #e6e6e794;
169-
} */
152+
font:
153+
bold 12em "Poppins",
154+
sans-serif;
155+
font-size: clamp(3rem, -5rem + 20vw, 12rem);
156+
text-align: left;
157+
position: absolute;
158+
margin: 0;
159+
mix-blend-mode: overlay;
160+
line-height: 0.85em;
161+
color: #e6e6e794;
162+
}
170163
171-
/* .item .numero {
172-
position: absolute;
173-
transform: translate(-50vw, 0);
174-
right: clamp(150px, 20%, 250px);
175-
text-align: right;
164+
.item .numero {
165+
position: absolute;
166+
transform: translate(-50vw, 0);
167+
right: clamp(150px, 20%, 250px);
168+
text-align: right;
176169
} */
177170

178171
footer {
179172
box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.3);
180173
width: 100%;
181-
margin: 0;
182-
padding: 0 0 30vh 0;
183174
}
184175

185176
footer p {
@@ -260,14 +251,6 @@ footer p {
260251
.tag-list {
261252
margin: 10px 10px 32px 10px;
262253
}
263-
264-
.container-main {
265-
margin-top: 70px;
266-
}
267-
268-
.container-main {
269-
margin-top: 340px;
270-
}
271254
}
272255

273256
a.to-sp-portal .content {
@@ -300,7 +283,7 @@ a.to-sp-portal .content {
300283
img.to-sp-decoration {
301284
width : 100px;
302285
height : auto;
303-
}
286+
}*/
304287

305288
/* Masonry grid: keep hidden until layout is ready to avoid FOUC (flash of unstyled content) */
306289
.masonry-grid {
@@ -356,7 +339,7 @@ a.to-sp-portal .content div img {
356339
transform: translate(-50%, -50%);
357340
}
358341

359-
.cursor-light {
342+
/*.cursor-light {
360343
position: fixed;
361344
top: 0;
362345
left: 0;
@@ -377,9 +360,10 @@ a.to-sp-portal .content div img {
377360
pointer-events: none;
378361
transform: translate(-50%, -50%);
379362
transition: all 0.1s ease;
380-
/* mask: var(--noise); */
381-
/* mask-mode: ; */
382363
}
364+
mask: var(--noise);
365+
mask-mode: ;
366+
*/
383367

384368
/* ============================================================
385369
Language switcher

0 commit comments

Comments
 (0)