-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
190 lines (187 loc) · 5.33 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
:root {
--red: #AE2731;
--muted: #adadad;
--link: #005dc7;
}
@font-face {
font-family: 'BentonSansCond';
src: url("https://apps.bostonglobe.com/common/font/bentonsanscond-regular.woff2") format('woff2'), url("https://apps.bostonglobe.com/common/font/bentonsanscond-regular.woff") format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'BentonSansCond';
src: url("https://apps.bostonglobe.com/common/font/bentonsanscond-bold.woff2") format('woff2'), url("https://apps.bostonglobe.com/common/font/bentonsanscond-bold.woff") format('woff');
font-weight: 700;
font-style: normal;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
img{max-width: 100%;height: auto;}
.font_primary {
font-family: 'BentonSansCond', Arial Narrow, Helvetica, sans-serif;
font-weight: 400;
font-style: normal;
}
.font_primary.bold {
font-family: 'BentonSansCond', Arial Narrow, Helvetica, sans-serif;
font-weight: 700;
font-style: normal;
}
.graphic {
position: relative;
padding: 0 1em;
font-family: 'BentonSansCond', Arial Narrow, Helvetica, sans-serif;
font-size: 16px;
/* width: 100%; */
max-width: 960px;
margin: 0 auto;
}
.graphic h1,.graphic h2,.graphic h3,.graphic h4,.graphic h5,.graphic h6{
text-align: center;
margin: 0;
}
.intro {
text-align: center;
}
h4 {
font-size: 18px;
}
.known #impeach,
.known #watch,
.known #likelyacquit,
.known #acquit {
padding: 15px 0;
}
.unknown {
margin-top: 1.5em;
}
.count {
color: var(--red);
font-size: 4rem;
font-weight: 700;
}
.people-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 4px;
list-style: none;
margin: 0;
padding: 0;
}
.people-grid li {
margin: 0;
padding: 0;
width: 70px;
cursor: pointer;
}
.people-grid li .headshot {
border-radius: 50%;
overflow: hidden;
width: 50px;
height: 50px;
margin: 0 auto 5px;
}
.known #impeach .people-grid li .headshot {
background: #AE2731;
}
.known #watch .people-grid li .headshot {
background: #C96F76;
}
.known #likelyacquit .people-grid li .headshot {
background: #E4B7BA;
}
.known #acquit .people-grid li .headshot {
background: #F2DBDD;
}
#unknown .people-grid li .headshot {
background: #cccccc;
}
.people-grid li .headshot img {
width: 100%;
}
.people-grid li h5 {
text-align: center;
font-size: 15px;
margin: 2px 0 0;
}
.people-grid li .state {
text-align: center;
font-size: 12px;
}
a {
color: var(--link);
text-decoration: none;
}
a:visited, a:hover {
color: #767676;
}
#infobox {
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease-out;
position: absolute;
top: 0;
left: 0;
width: 180px;
padding: 15px;
background: white;
box-shadow: 2px 2px 5px 2px rgba(173,173,173,.5);
}
#infobox .close {
pointer-events: auto;
font-weight: bold;
color: black;
position: absolute;
top: 7px;
right: 7px;
cursor: pointer;
}
#infobox .close:hover {
color: var(--red);
text-decoration: none;
}
#infobox h3 {
margin: .5em 0 5px;
font-weight: normal;
}
#infobox h3 span{
font-weight: bold;
}
#infobox h5 {
margin: 0;
color: var(--red);
font-size: 1em;
}
#infobox p.info-body,
#infobox p.info-more {
text-align: center;
margin: 0.5em 0;
line-height: 1.2;
}
#infobox .info-termup {
font-weight: bold;
}
#infobox .info-meta {
display: none;
font-size: 12px;
color: var(--muted);
}
#infobox .info-link {
pointer-events: auto;
display: block;
font-weight: bold;
float: right;
}
.credit {
color: var(--muted);
font-size: 12px;
margin: 2rem 0 3rem;
clear: both;
}
@media (min-width: 600px) {
.known {
grid-template-columns: 0.5fr 1fr 1fr 1fr;
gap: 20px;
}
}