-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
73 lines (73 loc) · 1.67 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
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caramel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-image: url('image/background1.jpg');
background-repeat: no-repeat;
background-size: cover;
width: 100vw;
height: 100vh;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper{
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
line-height: 80px;
}
.wrapper h1{
font-size: 40px;
font-family: 'Lobster', cursive;
letter-spacing: 1px;
color: #fff;
}
.wrapper .box-time{
position: relative;
display: flex;
line-height: normal;
width: 530px;
justify-content: space-between;
}
.box-time .time{
position: relative;
width: 120px;
height: 120px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: rgb(216, 48, 48);
border-radius: 50%;
box-shadow: 0 0 20px #fff,
0 0 40px #fff;
}
.box-time .time::before{
position: absolute;
content: '';
width: 100px;
height: 100px;
border: 11px solid rgb(251, 255, 0);
box-shadow: inset 0 0 10px #333;
border-radius: 50%;
}
.box-time .time p{
font-size: 35px;
font-family: 'Caramel', cursive;
}
.box-time .time span{
padding: 10px 0px;
font-size: 25px;
font-family: 'Fredoka One', cursive;
}