-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgk.css
More file actions
155 lines (138 loc) · 3.21 KB
/
Copy pathgk.css
File metadata and controls
155 lines (138 loc) · 3.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
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
*, *::before, *::after {
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
text-align: center;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url('https://api.paugram.com/bing');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
color: rgba(255, 255, 255, 0.92);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.overlay {
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0.15) 0%,
rgba(0, 0, 0, 0.35) 50%,
rgba(0, 0, 0, 0.55) 100%
);
z-index: 1;
}
.content {
position: relative;
z-index: 2;
padding: 48px 32px 80px;
max-width: 640px;
width: 90%;
}
h1 {
font-size: clamp(22px, 4vw, 32px);
font-weight: 600;
margin: 0 0 16px;
letter-spacing: -0.01em;
line-height: 1.4;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}
.countdown {
display: flex;
justify-content: center;
gap: 12px;
margin: 0 0 28px;
flex-wrap: wrap;
}
.cd-card {
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
padding: 16px 20px 12px;
background: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
}
.cd-num {
font-family: 'SF Mono', 'Cascadia Code', 'Cascadia Mono', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
font-size: clamp(36px, 7vw, 64px);
font-weight: 700;
line-height: 1;
letter-spacing: 0.02em;
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.cd-label {
font-size: 13px;
font-weight: 500;
opacity: 0.65;
margin-top: 6px;
letter-spacing: 0.08em;
}
.greeting {
font-size: clamp(18px, 3vw, 24px);
font-weight: 500;
margin: 24px 0;
display: none;
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}
.hitokoto {
font-size: clamp(15px, 2.5vw, 18px);
margin: 32px 0 0;
font-style: italic;
opacity: 0.75;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
line-height: 1.6;
}
footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 14px 20px;
text-align: center;
box-sizing: border-box;
z-index: 2;
background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
color: rgba(255, 255, 255, 0.85);
}
footer p {
margin: 0;
font-size: 13px;
line-height: 1.5;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
footer a {
color: inherit;
text-decoration: none;
opacity: 0.8;
transition: opacity 0.2s ease;
}
footer a:hover {
opacity: 1;
text-decoration: underline;
}
footer a:focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
border-radius: 2px;
}
.auto-color {
color: rgba(255, 255, 255, 0.92);
}
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}