-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
61 lines (53 loc) · 1.08 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
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Zen+Maru+Gothic:wght@500&display=swap');
* {
margin: 0px;
padding: 0px;
}
.timer {
position: relative;
background-image: url('city_at_night.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
width: 100%;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* 背景画像と文字を区別させるためのオーバーレイ */
.timer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
}
.countdown {
position: relative;
color: #fff;
text-align: center;
}
.countdown-title {
font-family: 'Zen Maru Gothic', sans-serif;
font-size: 2.5rem;
}
.times {
display: flex;
justify-content: center;
align-items: center;
font-family: 'Roboto Mono', monospace;
}
.time {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0 20px;
font-size: 2rem;
}
.time-num {
font-size: 8rem;
}