-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (94 loc) · 1.72 KB
/
style.css
File metadata and controls
109 lines (94 loc) · 1.72 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
99
100
101
102
103
104
105
106
107
108
109
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
text-rendering: optimizeLegibility;
}
body {
width: 100%;
min-height: calc(100vh - 56px);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
background-color: #eae8f3;
}
.relogio {
text-align: center;
box-shadow: 4px 3px 4px 3px #4b47508a;
max-width: 400px;
width: calc(100% - 60px);
min-width: 200px;
border-radius: 9px 5px;
padding: 12px;
padding-bottom: 20px;
background-color: #0a060f;
}
.titulo {
text-align: start;
color: #7237c0;
font-weight: 400;
font-size: 0.9rem;
user-select: none;
}
.titulo::before {
margin-right: 6px;
content: "";
display: inline-block;
width: 16px;
height: 16px;
vertical-align: middle;
border-radius: 50%;
background-color: #742ad4;
}
.relogio>time {
display: inline-block;
font-size: 3rem;
color: #b98ef1;
font-family: monospace, sans-serif, 'Segoe UI';
margin-top: 15px;
margin-bottom: 15px;
}
.buttons {
display: flex;
flex-direction: row;
justify-content: center;
align-content: center;
flex-wrap: wrap;
gap: 14px;
user-select: none;
}
.buttons button {
background-color: #742ad4;
color: #d2bfe9;
cursor: pointer;
padding: 7px 12px;
font-weight: 600;
border-radius: 5px;
border: none;
font-size: 1rem;
}
.buttons button:hover {
background-color: #5919ad;
color: #bb94ec;
}
time[data-mode="red"] {
color: rgb(253, 67, 67);
}
@media screen and (max-width: 350px) {
.buttons {
flex-direction: column;
}
.buttons button {
padding: 9px 50px;
}
}
@media screen and (max-width: 312px) {
.relogio>time {
font-size: 2.3rem;
}
.buttons button {
padding: 8px 60px;
}
}