-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (96 loc) · 1.45 KB
/
style.css
File metadata and controls
98 lines (96 loc) · 1.45 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
body {
background-color: black;
overflow: hidden;
}
.container {
display : flex;
flex-direction: row;
align-items: center;
flex: 1;
min-height: 100vh;
}
.logo {
width: 25rem;
margin: 0px auto;
}
.clock {
position: relative;
border: 10px solid white;
border-radius: 50%;
width: 20rem;
height: 20rem;
margin: 0 auto;
padding: 2rem;
}
.circle {
border: 5px solid #FB241A;
border-radius: 50%;
width: 2px;
height: 2px;
position: absolute;
left: 48.2%;
top: 50%;
}
.clockFace {
position: relative;
width: 100%;
height: 100%;
transform: translateY(-3px);
}
.hand {
background-color: white;
width: 50%;
position: absolute;
height: 10px;
top: 50%;
transform-origin: 100%;
transform: rotate(90deg);
transition: all 0.5s;
transition-timing-function: cubic-bezier(1,-0.86, 1, 2.38);
}
.sec {
background-color: #FB241A;
width: 50%;
}
.hour {
width: 20%;
left: 30%;
}
@media (max-width: 1000px) {
.clock {
border: 5px solid white;
width: 10rem;
height: 10rem;
}
.logo{
margin-top: 25px;
width: 15rem;
}
.hand {
height: 5px;
}
.circle {
width: 0.1px;
height: 0.1px;
left: 47%;
}
}
@media (max-width: 640px) {
.container {
margin-top: 15vh;
flex-direction: column;
align-items: center;
flex: 1;
min-height: 100vh;
}
.logo{
padding-top: 4vh;
}
.hand {
height: 2px;
}
.circle {
border: 3px solid #FB241A;
left: 48%;
}
}