Commit 2a5462f798

2a5462f798a5c07322806378116781e8301fa86a

parent: 7a1b39823d

Unsigned

cmc <hello@cleberg.net> · 2025-04-05 16:40 UTC

CSS fixes for issue #2

Layout: unified · split

theme/static/styles.css +5 −60
@@ -16,14 +16,6 @@ html {
1616/* Sections
1717 ========================================================================== */
1818
19/**
20 * Remove the margin in all browsers.
21 */
22
23body {
24 margin: 0;
25}
26
2719/**
2820 * Render the `main` element consistently in IE.
2921 */
@@ -56,16 +48,6 @@ hr {
5648 overflow: visible; /* 2 */
5749}
5850
59/**
60 * 1. Correct the inheritance and scaling of font size in all browsers.
61 * 2. Correct the odd `em` font sizing in all browsers.
62 */
63
64pre {
65 font-family: monospace, monospace; /* 1 */
66 font-size: 1em; /* 2 */
67}
68
6951/* Text-level semantics
7052 ========================================================================== */
7153
@@ -97,18 +79,6 @@ strong {
9779 font-weight: bolder;
9880}
9981
100/**
101 * 1. Correct the inheritance and scaling of font size in all browsers.
102 * 2. Correct the odd `em` font sizing in all browsers.
103 */
104
105code,
106kbd,
107samp {
108 font-family: monospace, monospace; /* 1 */
109 font-size: 1em; /* 2 */
110}
111
11282/**
11383 * Add the correct font size in all browsers.
11484 */
@@ -138,17 +108,6 @@ sup {
138108 top: -0.5em;
139109}
140110
141/* Embedded content
142 ========================================================================== */
143
144/**
145 * Remove the border on images inside links in IE 10.
146 */
147
148img {
149 border-style: none;
150}
151
152111/* Forms
153112 ========================================================================== */
154113
@@ -312,25 +271,6 @@ textarea {
312271 font: inherit; /* 2 */
313272}
314273
315/* Interactive
316 ========================================================================== */
317
318/*
319 * Add the correct display in Edge, IE 10+, and Firefox.
320 */
321
322details {
323 display: block;
324}
325
326/*
327 * Add the correct display in all browsers.
328 */
329
330summary {
331 display: list-item;
332}
333
334274/* Misc
335275 ========================================================================== */
336276
@@ -378,6 +318,7 @@ body {
378318 monospace;
379319 font-size: 0.9rem;
380320 line-height: 1.5;
321 margin: 0;
381322 max-width: 50em;
382323 margin: 0 auto;
383324 padding: 0 1rem;
@@ -435,6 +376,7 @@ a:hover {
435376}
436377
437378img {
379 border-style: none;
438380 width: 100%;
439381}
440382
@@ -460,6 +402,7 @@ td {
460402 padding: 0.25rem;
461403}
462404
405pre,
463406pre > code,
464407time,
465408code {
@@ -539,10 +482,12 @@ blockquote p {
539482}
540483
541484details {
485 display: block;
542486 margin-top: 1rem;
543487}
544488
545489summary {
490 display: list-item;
546491 font-weight: bold;
547492}
548493