-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
249 lines (191 loc) · 4.16 KB
/
custom.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
:root {
--content-width: 97%;
}
a {
text-decoration: none;
color: black;
}
* {font-family: Helvetica, Arial, sans-serif;}
.text-bold {font-weight: bold;}
.text-muted {color: rgb(128, 127, 127) !important}
body {background-color: rgb(245, 245, 245);}
#main-content, #box-2{
margin: 0 auto;
width: var(--content-width);
background-color: white;
}
.subheader-text {
font-size: 14px;
color: rgb(43, 43, 43);
}
.nw-font {
font-family: "Arvo", sans-serif;
letter-spacing: -0.07em;
}
.header-font {font-family: 'Open Sans Condensed', sans-serif;}
#featured-stories, #content-group-1, #content-group-2 {
margin-top: 0.7rem;
}
/* PADDINGS AND MARGINS AND BORDERS */
/* MOST IMPORTANT, PADDING FOR MAIN ELEMENT SMAKES EVERYTHING ALIGNED */
.base-pad {padding: 0 1.8rem 0 1.8rem};
/* *************************************** */
.noborder {border: none;}
/* for some reason, border-top could nto be written and function like border-bottom. border-top must be used with noborder for the desired effect */
.border-top {
border-bottom: 0 none;
border-left: 0 none;
border-right: 0 none;
}
.border-bottom {
border-top: 0 none;
border-left: 0 none;
border-right: 0 none;
}
.content-padding {padding: 0.7rem 0 0.7rem 0;}
.img-margin {margin-right: 0.8rem;}
.section-padding {padding-top: 2rem;}
/* STICKY SIDEBARS */
#content-group-2, #featured-stories {
align-self: start;
}
/* HEADER STYLING */
header {
background-color: white;
margin: 0 auto;
width: var(--content-width);
}
header h1 {
line-height: 45px;
font-size: 80px;
padding: 10px 30px 0 90px;
}
#homepage-date {letter-spacing: -1px;}
.heading-container {
position: relative;
background-color: rgb(255, 17, 0);
min-height: 110px;
}
.heading {
width: 100%;
position: absolute;
top: 20px;
color: white;
}
header .buttons {min-width: 200px;}
header button {
border-radius: 20px !important;
padding: 3px;
border: none;
min-width: 130px;
background-color: rgb(255, 217, 0);
}
/* NAVIGATION */
#nav-1 .links,
#nav-2 {
background-color:rgb(255, 255, 255);
padding: 0.6em 1.6rem 0.6em 1.6rem;;
}
.trapezoid {
position: absolute;
top: -15px;
border-bottom: 45px solid white;
border-right: 50px solid transparent;
height: 0;
width: 98%;
}
/* because trapezoid height is set to 0 */
#nav-1 {min-height: 2rem;}
#nav-2 a:first-child {color: black;}
#nav-2 a {
text-transform: uppercase;
padding-right: 1%;
color: grey;
}
#nav-1 a:hover,
#nav-2 a:hover {
color: red;
}
/* #VS CIRCLE */
#vs-icon {
position: absolute;
top: 0px;
left: 47%;
height: 30px;
width: 30px;
background-color: black;
}
#vs-icon p {
position: absolute;
color: white;
font-size: 15px;
top:4px;
left: 5px;
}
/*
-------------------- */
/* The debate */
#the-debate p {
/* border: 1px blue solid; */
font-size: 15px;
font-weight: 600;
color: rgb(83, 83, 83);
}
#the-debate p:first-child {color: black;}
#the-debate li {border-width: 4px !important;}
#opinion img,
#the-debate img {
max-height: 80px;
}
#more-stories img,
#latest-news img {
max-height: 100px;
}
#more-stories,
#latest-news {
font-size: 14px;
}
.editions,
footer .links {
color: rgb(92, 92, 92);
font-size: 15px;
}
footer .nw-font {
font-size: 45px;
color: red;
}
#copyright {
font-size: 12px;
padding-left: 1rem;
}
@media only screen and (max-width: 992px) {
.base-pad {padding: 0 1rem 0 1rem;}
:root {
--content-width: 100%;
}
.heading-container {min-height: 50px;}
.heading {
top: 0;
min-height: 43px;
}
.heading h1 {
line-height: 22px;
font-size: 28px;
padding: 0;
}
#homepage-date, #nav-1, #nav-2 {
display: none;
visibility: hidden;
}
#content-group-2, #featured-stories {
position: static;
}
/* add padding to mid column */
#content-group-1 {padding: 0 1rem 0 1rem !important;}
}
@media only screen and (max-width: 768px) {
.side-img {min-width: 230px;}
#my-turn img, #culture-travel img {
min-width: 100%;
}
}