-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (107 loc) · 2.9 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
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Poppins&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body{
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-image: url("img/6To8.png");
background-size: cover;
}
.clock{
position: relative;
color: rgb(120, 117, 117);
background: rgba(254, 254, 254, 0.2);
width: 350px;
height: 350px;
padding: 25px 45px;
box-shadow: 0 5px 25px rgba(22, 21, 22, 0.7);
border-radius: 1000%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.time{
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.hours, .colon, .minutes{
display: flex;
justify-content: center;
align-items: center;
font-weight: 600;
padding: 0 5px;
}
.hours, .minutes{
font-size: 6em;
width: 125px;
}
.colon{
transform: translateX(4px);
font-size: 4.5em;
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.extras{
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-left: 5px;
flex-direction: column;
}
.hours{
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.minutes{
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.period{
font-size: 1.0em;
font-weight: 600;
transform: translateY(-40px);
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.seconds{
position: absolute;
font-size: 1.8em;
font-weight: 600;
transform: translateY(25px);
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.calender{
display: flex;
justify-content: center;
align-items: center;
font-weight: 600;
font-size: 1.1em;
margin-bottom: 5px;
background: -webkit-linear-gradient(45deg, rgb(55, 55, 56), rgb(27, 29, 31));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.date, .month, .year, .div, .day{
margin-left: 7px;
}