update readme
[dotfiles/.git] / .config / BraveSoftware / Brave-Browser / jicbkmdloagakknpihibphagfckhjdih / 1.0.15 / 1 / content-stylesheet.css
1 h1, h2, h3, h4, h5, h6 {
2   font-weight: bold;
3 }
4
5 h1 {
6   font-size: 2.2em;
7   line-height: 1.3em;
8   margin-top: 0;
9   margin-bottom: 0.5em;
10 }
11
12 h2 {
13   font-size: 1.5em;
14   line-height: 1.4em;
15 }
16
17 h3 {
18   font-size: 1.2em;
19   line-height: 1em;
20 }
21
22 h4, h5, h6 {
23   font-size: 1.1em;
24   line-height: 1.3em;
25 }
26
27 p {
28   font-size: 1.2em;
29   line-height: 1.5em;
30 }
31
32 .subhead {
33   font-weight: normal;
34 }
35
36 .subhead, .subheading {
37   font-size: 1.5em;
38   line-height: 1em;
39   font-weight: normal;
40   color: rgba(27, 27, 27, 0.65);
41 }
42
43 .metadata {
44   margin-top: -0.75em;
45   margin-bottom: 1.45em;
46 }
47
48 .metadata * {
49   font-size: 1em !important;
50   font-weight: normal !important;
51   font-style: normal !important;
52   display: inline !important;
53   margin: 0;
54 }
55
56 .metadata :matches(.byline, .date) {
57   display: inline !important;
58 }
59
60 .metadata :matches(ul, ol, li) {
61   list-style-type: none;
62   -webkit-padding-start: 0;
63 }
64
65 .title+.metadata {
66   margin-top: -0.75em;
67 }
68
69 .subhead+.metadata {
70   margin-top: -0.7em;
71 }
72
73 a {
74   text-decoration: underline;
75   text-decoration-color: inherit;
76 }
77
78 a[href] {
79   color: #4C54D2;
80 }
81
82 #article {
83   text-rendering: optimizeLegibility;
84   font-family: "Georgia", "Times New Roman", Times, serif;
85   user-select: unset;
86 }
87
88 #article * {
89   /* Scale down anything larger than our view. Max-width maintains aspect ratios on images. */
90   max-width: 680;
91 }
92
93 #article img {
94   /* By default, images are centered on their own line. */
95   margin-bottom: 0.5em;
96   display: block;
97   width: 100%;
98   height: auto;
99 }
100
101 #article img.reader-image-tiny {
102   display: inline;
103   margin: 0;
104 }
105
106 #article .leading-image, figure, .auxiliary {
107   margin-bottom: 1.15em;
108 }
109
110 #article .leading-image img {
111   margin: auto;
112   display: block;
113   clear: both;
114 }
115
116 #article .leading-image .credit {
117   margin: 0;
118 }
119
120 #article .leading-image, #article figure {
121   font-size: 0.85em;
122   line-height: 1.4em;
123 }
124
125 body.watch #article .leading-image, body.watch #article figure {
126   font-size: 0.8125rem;
127 }
128
129 #article .leading-image :matches(.caption, .credit), #article figcaption {
130   margin-top: 0.8em;
131   width: 100%;
132 }
133
134 #article figcaption>* {
135   margin-top: 0.25em;
136   margin-bottom: 0.25em;
137 }
138
139 #article :matches(.leading-image, figure) p {
140   margin-top: 0.4em;
141   margin-bottom: 0.4em;
142 }
143
144 #article .leading-image .credit+.caption {
145   margin-top: 0.1em;
146 }
147
148 #article .auxiliary {
149   display: block;
150   clear: both;
151   font-size: 0.75em;
152   line-height: 1.4em;
153   text-align: start;
154 }
155
156 #article .pullquote {
157   font-size: 1.42em;
158   line-height: 1.38em;
159   font-weight: 300;
160   font-style: italic;
161 }
162
163 #article .pullquote:not(.float) {
164   margin-top: 1em;
165   margin-bottom: 1em;
166   -webkit-margin-start: 1em;
167   max-width: calc(100% - 1em);
168 }
169
170 #article .auxiliary>*:not(img) {
171   -webkit-margin-start: 0;
172 }
173
174 #article .auxiliary.float img, #article .auxiliary>*:first-child:not(img) {
175   margin: 0;
176 }
177
178
179 article {
180   text-align: start;
181   word-wrap: break-word;
182   hyphens: auto;
183 }
184
185 article.rtl {
186   direction: rtl;
187 }
188
189
190 /* If the element immediately after an image is inline, it might bump up against the image. */
191
192 #article .auxiliary img+* {
193   display: block;
194 }
195
196 #article .auxiliary figcaption {
197   font-size: 100%;
198 }
199
200 #article .auxiliary * {
201   margin-top: 0.5em;
202   margin-bottom: 0.5em;
203 }
204
205 body:not(.watch) #article .float.left {
206   float: left;
207   margin-right: 20px;
208 }
209
210 body:not(.watch) #article .float.right {
211   float: right;
212   margin-left: 20px;
213 }
214
215 body.watch #article .float {
216   width: auto !important;
217 }
218
219 #article .clear {
220   clear: both;
221 }
222
223 #article ul.list-style-type-none, #article ol.list-style-type-none, #article .list-style-type-none>li {
224   list-style-type: none;
225   -webkit-padding-start: 0;
226 }
227
228 #article .list-style-type-none.code-block code {
229   white-space: pre-wrap;
230 }
231
232 #article div.scrollable {
233   overflow-x: scroll;
234   word-wrap: normal;
235 }
236
237 #article div.scrollable table {
238   max-width: none;
239 }
240
241 #article-summary {
242   font-size: 1.5em;
243   line-height: 1.4em;
244   color: #495057;
245 }
246
247 #article .leading-image, #article figure, #article .auxiliary:not(.pullquote) {
248   font-family: Arial, Helvetica, sans-serif;
249 }
250
251 #article .leading-image, #article figure, #article .auxiliary, #article .pullquote {
252   color: rgba(0, 0, 0, 0.65);
253 }
254
255 figure {
256   margin: 0;
257 }
258
259 figure img {
260   width: 100%;
261 }
262
263 body:not(.watch) figure:not(.float) {
264   margin-top: 1.4em;
265   margin-bottom: 1.4em;
266 }
267
268 hr {
269   position: relative;
270   display: block;
271   width: 100%;
272   margin: 2.5em 0 3.5em;
273   padding: 0;
274   background: rgba(0, 0, 0, 0.2);
275   height: 1px;
276   border: 0;
277 }
278
279 pre {
280   font-family: "Lucida Console", Courier, monospace;
281   font-size: 0.87em;
282   line-height: 1.45em;
283 }
284
285 blockquote, q {
286   color: rgba(0, 0, 0, 0.65);
287 }
288
289 blockquote:not(.pullquote) {
290   margin-left: 2px;
291   margin-right: 6px;
292   padding-left: 16px;
293 }
294
295 blockquote:not(.simple):not(.pullquote) {
296   border-left: 3px solid rgba(0, 0, 0, 0.1);
297 }
298
299 q.pullquote {
300   display: block;
301 }
302
303 .pullquote q::before, .pullquote q::after, q.pullquote::before, q.pullquote::after {
304   content: "";
305 }
306
307 /* Collapse excess whitespace. */
308
309 article p>p:empty, article div>p:empty, article p>div:empty, article div>div:empty, article p+br, article img+br {
310   display: none;
311 }
312
313 article table {
314   font-size: 0.9em;
315   text-align: start;
316   word-wrap: break-word;
317   border-collapse: collapse;
318 }
319
320 article table td, article table th {
321   padding: 0.25em 0.5em;
322   border: 1px solid rgb(216, 216, 216);
323 }
324
325 .delimiter {
326   margin-left: 0.45em;
327   margin-right: 0.45em;
328   margin-top: 0.07em;
329   padding: 0;
330 }
331
332 .metadata.singleline .delimiter::after {
333   content: "•";
334 }
335
336 .metadata:not(.singleline) .delimiter {
337   content: "";
338   display: block !important;
339 }
340
341 article table th {
342   background-color: rgba(0, 0, 0, 0.025);
343 }
344
345 article sup, article sub {
346   line-height: 1;
347   font-size: 0.75em;
348 }
349
350 .hidden {
351   display: none;
352 }
353
354 @media screen {
355   body {
356     margin: 0;
357     padding: 0;
358     overflow-x: hidden;
359     -webkit-text-size-adjust: none;
360   }
361   body.mac {
362     background-color: transparent;
363   }
364   #article {
365     pointer-events: auto;
366     overflow: visible;
367   }
368   #article:focus {
369     outline: none;
370   }
371   #article {
372     margin-left: auto;
373     margin-right: auto;
374     padding-top: 35px;
375     padding-bottom: 35px;
376     position: relative;
377     border-top: 1px solid rgba(0, 0, 0, 0.2);
378   }
379   body article {
380     padding: 0 4px;
381   }
382   #article {
383     margin-top: 0;
384     border-top: none;
385     padding-top: 32px;
386   }
387   #article:last-of-type {
388     padding-bottom: 45px;
389   }
390   article video {
391     width: 100%;
392     height: auto;
393     position: relative;
394   }
395 }
396
397 #article .extendsBeyondTextColumn {
398   max-width: none;
399 }
400
401 .iframe-wrapper {
402   background-color: black;
403   max-width: none;
404   text-align: center;
405 }
406
407 iframe {
408   border: 0;
409 }
410
411 @media only screen and (min-width: 780px) {
412   #article {
413     max-width: 800px;
414     margin: 0 auto;
415   }
416   /* Readable margins. */
417   /* body #article {
418     max-width: 83.2ex;
419   } */
420 }
421
422 /* Use slightly smaller page padding when vertically constrained. */
423
424 @media screen and (max-height: 700px) {
425   #article {
426     padding-top: 32px;
427     padding-bottom: 32px;
428   }
429 }
430
431 /* Basic dark theme */
432
433 @media (prefers-color-scheme: dark) {
434   body {
435     background-color: #1E2029;
436     color: #F0F2FF;
437   }
438
439   #article .leading-image, #article figure, #article .auxiliary, #article .pullquote {
440     color: #C2C4CF;
441   }
442
443   hr {
444     background: #3B3E4F;
445   }
446
447   blockquote, q {
448     color: #C2C4CF;
449   }
450
451   blockquote:not(.simple):not(.pullquote) {
452     border-left: 3px solid #3B3E4F;
453   }
454
455   article table td, article table th {
456     padding: 0.25em 0.5em;
457     border: 1px solid #3B3E4F;
458   }
459
460   article table th {
461     background-color: #5E6175;
462   }
463
464   #article {
465     border-top: 1px solid #3B3E4F;
466   }
467
468   #article-summary {
469     color: #C2C4CF;
470   }
471
472   a[href] {
473     color: #737ADE;
474   }
475 }