-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
87 lines (62 loc) · 1.08 KB
/
main.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
body {
display: flex;
flex-flow: wrap;
margin: 0;
font-family: 'Roboto', serif;
font-weight: bold;
text-align: center;
}
body > * { flex: 1 100%; }
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 70vh;
color: #ffffff;
background-color: #051440;
}
h1 { font-size: 3em; }
img { width: 150px; }
section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.confirmed {
height: 30vh;
background-color: #ffffff;
}
.deaths-recovered {
height: 50vh;
background-color: #EC1920;
}
.number {
font-size: 40px;
font-weight: bold;
}
.info {
margin-top: 0;
font-size: 1.5em;
}
footer {
color: #ffffff;
background-color: #051440;
}
a {
text-decoration: none;
color: #ffffff;
}
a:hover { color: #EC1920; }
@media all and (min-width: 576px) {
body > * { height: 47vh !important; }
section { flex: 1 0 0; }
img { width: 250px; }
.number { font-size: 60px; }
.info { font-size: 2em; }
footer {
flex: 1 100%;
height: 6vh !important;
}
}