-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (92 loc) · 1.63 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #333;
font-family: Arial, Helvetica, sans-serif;
}
h1 {
color: #FFF;
margin-bottom: 20px;
}
.relogio {
width: 300px;
height: 300px;
border: 5px solid #FFF;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.2);
}
.riscos {
width: 100%;
height: 100%;
padding-left: 50%;
padding-top: 50%;
margin-top: -3px;
}
.risco {
width: 145px;
height: 5px;
position: absolute;
transform-origin: left;
display: flex;
justify-content: flex-end;
}
.risco .ponto {
width: 15px;
height: 100%;
background-color: #FFF;
}
.ponteiros {
width: 100%;
height: 100%;
padding-left: 50%;
padding-top: 50%;
margin-top: -100%;
}
.p {
transform-origin: left;
transform: rotate(0deg);
border-radius: 50%;
position: absolute;
}
.p_s {
width: 100px;
height: 3px;
background-color: #F00;
}
.p_m {
width: 120px;
height: 7px;
background-color: #FFF;
}
.p_h {
width: 70px;
height: 10px;
background-color: #FFF;
}
.encaixe {
width: 20px;
height: 20px;
background-color: #FFF;
border-radius: 50%;
position: absolute;
margin-top: -5px;
margin-left: -5px;
}
.digital {
color: #FFF;
font-size: 40px;
margin-top: 20px;
}
footer {
margin-top: 20px;
color: #FFF;
font-size: 13px;
}