-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (63 loc) · 1.39 KB
/
style.css
File metadata and controls
81 lines (63 loc) · 1.39 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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600&family=Open+Sans:wght@300;400;500&family=Roboto+Mono:wght@700&family=Roboto:wght@500;700&display=swap");
* {
margin: 0;
padding: 0;
font-family: "Open Sans", sans-serif;
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(130deg, #0086ff, #bc00ff);
}
.relogio {
height: 200px;
width: 550px;
display: flex;
align-items: center;
justify-content: space-around;
background: transparent;
border-radius: 7px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}
.relogio div {
height: 170px;
width: 150px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
background-color: rgba(5, 5, 5, 0.9);
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
border-radius: 7px;
letter-spacing: 3px;
}
.relogio span {
font-weight: bolder;
font-size: 60px;
}
.relogio span.tempo {
font-size: 10px;
}
@media screen and (max-width: 600px) {
body {
overflow: hidden;
}
.relogio {
height: 500px;
width: 200px;
padding: 20px 0px;
display: flex;
align-items: center;
flex-direction: column;
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}
.relogio div {
height: 170px;
width: 150px;
margin: 5px 0;
box-shadow: 5px 1px 15px rgba(0, 0, 0, 0.7);
}
}