-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (102 loc) · 2.06 KB
/
style.css
File metadata and controls
116 lines (102 loc) · 2.06 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
@font-face {
font-family: "Comic Sans MS";
src: local("Comic Sans MS"),
url("fonts/comic.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Comic Sans MS";
src: local("Comic Sans MS Bold"),
url("fonts/comicbd.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
width: 100vw;
height: 100vh;
background-color: #fffdf0;
font-family: "Comic Sans MS", "Comic Sans", cursive;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
text-transform: lowercase;
}
.bg {
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
z-index: 0;
pointer-events: none;
display: flex;
flex-wrap: wrap;
gap: 80px 130px;
padding: 50px;
transform: rotate(-25deg);
opacity: 0.22;
animation: flow 12s linear infinite;
}
.bg span {
font-size: 3.5rem;
font-weight: 900;
color: #444;
white-space: nowrap;
}
@keyframes flow {
from { transform: rotate(-25deg) translate(0, 0); }
to { transform: rotate(-25deg) translate(800px, 0); }
}
.main-content {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
}
.img-box {
width: 550px;
height: 550px;
display: block;
}
.img-box img {
width: 100%;
height: 100%;
object-fit: fill;
display: block;
}
.status-text {
font-size: 3.5rem;
font-weight: bold;
color: #222;
background: transparent;
text-align: center;
white-space: nowrap;
}
#timer {
color: #ff0000;
}
.github-link {
position: fixed; bottom: 20px; left: 20px;
display: inline-block;
opacity: 0.75;
transition: opacity 0.2s ease;
}
.github-link:hover {
opacity: 1;
}
.github-icon {
width: 60px;
height: 60px;
display: block;
image-rendering: auto;
image-rendering: -webkit-optimize-contrast;
}