Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (83 loc) · 1.5 KB
/
Copy pathstyle.css
File metadata and controls
95 lines (83 loc) · 1.5 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
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #15202B;
color: #e6ecf0;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
header {
background-color: #1da1f2;
color: white;
width: 100%;
text-align: center;
padding: 1em 0;
}
main {
width: 90%;
max-width: 1400px;
margin: 2em auto;
}
section {
background: #192734;
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
margin-bottom: 20px;
}
.metric {
display: inline-block;
width: 23%;
text-align: center;
margin: 1%;
padding: 10px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
border-radius: 5px;
}
.metric h2 {
margin-top: 0;
font-size: 1em;
color: #8899a6;
}
.metric span {
font-size: 1.2em;
font-weight: bold;
display: block;
color: #e6ecf0;
}
.bar-graph {
width: 100%;
height: 20px;
background-color: #38444d;
border-radius: 5px;
margin: 10px 0;
overflow: hidden;
}
.bar-graph div {
height: 100px;
background-color: #1da1f2;
transition: width 0.5s;
}
#audience h2 {
text-align: center;
margin-bottom: 20px;
color: #8899a6;
}
.demographic {
width: 30%;
display: inline-block;
vertical-align: top;
margin: 0 1.5%;
}
.demographic p{
color: #e6ecf0;
margin: 5px 0;
}
@media (max-width:768px) {
.metric, .demographic{
width: 48%;
margin: 1%;
}
}