-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (51 loc) · 928 Bytes
/
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
:root {
--ivory: #f6f7eb;
--cinnabar: #e94f37;
--onyx: #393e41;
--green_blue_crayola: #3f88c5;
--kappel: #44bba4;
}
* {
margin: 0;
padding: 0;
}
body {
background-color: var(--onyx);
box-sizing: border-box;
}
.container {
width: 100vw;
height: 100vh;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.currentTime {
width: 12em;
display: flex;
flex-direction: column;
justify-content: center;
}
span {
/* box-sizing: border-box; */
display: block;
color: var(--green_blue_crayola);
font-size: 10em;
font-family: sans-serif;
font-style: italic;
font-weight: bold;
}
@media only screen and (max-width: 480px) {
/* CSS rules to apply */
.currentTime {
width: 100%;
box-sizing: border-box;
text-align: center;
}
span {
/* box-sizing: border-box; */
font-size: 9em;
}
}