Author:
Hash:
Timestamp:
+25 -9 +/-2 browse
Kevin Schoon [me@kevinschoon.com]
038a1c947ef57cfa60f7edf9fa5f10660b975e2f
Sat, 25 May 2024 08:08:12 +0000 (1.1 years ago)
1 | diff --git a/ayllu/themes/default/readme.css b/ayllu/themes/default/readme.css |
2 | new file mode 100644 |
3 | index 0000000..99039f2 |
4 | --- /dev/null |
5 | +++ b/ayllu/themes/default/readme.css |
6 | @@ -0,0 +1,23 @@ |
7 | + .readme { |
8 | + margin-top: 2.5em; |
9 | + } |
10 | + |
11 | + .readme p { |
12 | + margin: .5em; |
13 | + } |
14 | + |
15 | + .readme :where(img) { |
16 | + display: revert; |
17 | + } |
18 | + |
19 | + .readme h1,h2,h3,h4,h5,h6 { |
20 | + margin-bottom: .5em; |
21 | + margin-top: .5em; |
22 | + } |
23 | + |
24 | + .readme table.code { |
25 | + font-family: var(--font-mono); |
26 | + width: 100%; |
27 | + margin-top: 1em; |
28 | + text-align: left; |
29 | + } |
30 | diff --git a/ayllu/themes/default/theme.css b/ayllu/themes/default/theme.css |
31 | index 2147ad9..b567afd 100644 |
32 | --- a/ayllu/themes/default/theme.css |
33 | +++ b/ayllu/themes/default/theme.css |
34 | @@ -2,6 +2,8 @@ |
35 | @import url("../../../node_modules/open-props/normalize.min.css"); |
36 | @import url("../../../node_modules/open-props/buttons.min.css"); |
37 | |
38 | + @import url("./readme.css"); |
39 | + |
40 | @import url("../../colors/nord.css"); |
41 | |
42 | :root { |
43 | @@ -203,7 +205,6 @@ footer { |
44 | |
45 | table.code { |
46 | font-family: var(--font-mono); |
47 | - text-align: revert !important; |
48 | width: 100%; |
49 | margin-top: 1em; |
50 | } |
51 | @@ -279,14 +280,6 @@ section.viewer svg { |
52 | margin: 0 auto; |
53 | } |
54 | |
55 | - .readme { |
56 | - margin-top: 2.5em; |
57 | - } |
58 | - |
59 | - .readme :where(img) { |
60 | - display: revert; |
61 | - } |
62 | - |
63 | .stretch { |
64 | width: 100%; |
65 | } |