-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (114 loc) · 4.36 KB
/
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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1em; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
/* End of reset */
body { background-color: white; color: #333333; font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif ; margin: 0px; padding: 0px; }
h1 { line-height: 1em; }
h2 { font-size: 1.4em; font-weight: bold; margin-bottom: 0.25em; margin-top: 1.5em; }
h3 { font-size: 1.2em; font-weight: bold; }
a { color: inherit; }
#main { line-height: 1.4em; }
#main .inline, #main a.highlight { padding: 0.1em 0.25em; text-decoration: none; }
#main a.highlight { background-color: #F9BC26; }
a:hover, a:focus { text-decoration: underline; }
.title, #main { width: 1024px; max-width: 100%; margin: auto; position: relative; }
.header {
line-height: 2em;
padding: 1em 0 1em 0;
}
.header .title { padding-left: 2em; font-size: 2.3em; }
.header img {
height: 1.92em;
position: absolute;
top: -0.45em;
left: -1.76em;
}
#main {
position: relative;
padding: 1em 0;
}
strong { font-weight: 600; }
.chart {
width: 100%;
}
.bar {
display: inline-block;
}
.bar.female {
text-align: left;
border-right: 1px solid white;
}
.bar.male {
text-align: right;
}
.bar span {
padding: 0 0.25em;
position: relative;
white-space: nowrap;
}
ul.people { padding: 0.25em 0.5em 0.5em 0.5em; background-color: #efefef; margin-bottom: 1em; position: relative; }
ul.people li { line-height: 1.5em; position: relative; padding-left: 1.5em; background-color: transparent; color: inherit; }
ul.people li:before { content: ""; margin-left: -1.5em; margin-top: 0.25em; margin-right: 0.25em; position: absolute; width: 1em; height: 1em; display: inline-block; background-color: #722EA5; border-radius: 100%; }
ul.people .handle { width: 1em; display: none; height: 1em; margin-right: 0.25em; top: 0.12em; position: relative; border-radius: 100%; }
ul.people .name { display: inline-block; }
table { width: 100%; }
table tr { border-bottom: 1px solid transparent; }
table tr.average { border-top: 0.25em solid transparent; }
table td:first-child { width: 180px; }
p, table { margin-bottom: 0.5em; }
table:last-child { margin-bottom: 0; }
.c1-bg { background-color: #2254F4; color: white; }
.c2-bg { background-color: #178CFF; color: white; }
.c3-bg { background-color: #00B6FF; color: white; }
.c4-bg { background-color: #08DEF9; }
.c5-bg { background-color: #1DD3A7; color: white; }
.c6-bg, .male, ul.people li.male:before { background-color: #0DBC37; color: white; }
.c7-bg { background-color: #67E767; }
.c8-bg, .female, ul.people li.female:before { background-color: #722EA5; color: white; }
.c9-bg { background-color: #E6007C; color: white; }
.c10-bg { background-color: #EF3AAB; }
.c11-bg { background-color: #D73058; }
.c12-bg { background-color: #D60303; }
.c13-bg { background-color: #FF6700; }
.c14-bg { background-color: #F9BC26; }
.b1-bg { background-color: #000000; color: white; }
.b2-bg { background-color: #333333; }
.b3-bg { background-color: #999999; }
@media only screen and (max-width: 1096px) {
.header .title { font-size: 1.3em; }
table td { display: block; }
.chart { display: block; position relative; }
.bar { display: inline-block;}
.header, #main { padding: 1em; }
}