aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-02 02:36:43 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-02 02:36:43 +0100
commit15d47c516610da42b589670c8497007c3e607d8b (patch)
tree3e52c870b4a75c88c69e3478ff8426838d033053
parente3da16465552d85e9720e6675a098caf5ae013af (diff)
downloadmitjafelicijan.com-15d47c516610da42b589670c8497007c3e607d8b.tar.gz
Center content
-rw-r--r--_layouts/base.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/_layouts/base.html b/_layouts/base.html
index 6cddf18..06679b9 100644
--- a/_layouts/base.html
+++ b/_layouts/base.html
@@ -17,7 +17,7 @@
17 17
18 <style> 18 <style>
19 :root { 19 :root {
20 --body-max-width: 1200px; 20 --body-max-width: 860px;
21 --border-color: gainsboro; 21 --border-color: gainsboro;
22 --border-size: 1px; 22 --border-size: 1px;
23 --border-style: solid; 23 --border-style: solid;
@@ -47,6 +47,7 @@
47 font-family: sans-serif; 47 font-family: sans-serif;
48 line-height: 1.4rem; 48 line-height: 1.4rem;
49 font-size: 16px; 49 font-size: 16px;
50 margin: 0 auto;
50 } 51 }
51 52
52 hr { 53 hr {
@@ -134,7 +135,7 @@
134 } 135 }
135 136
136 figcaption { 137 figcaption {
137 width: 800px; 138 width: var(--body-max-width);
138 max-width: 100%; 139 max-width: 100%;
139 text-align: center; 140 text-align: center;
140 } 141 }
@@ -145,7 +146,7 @@
145 } 146 }
146 147
147 img, video, audio { 148 img, video, audio {
148 width: 800px; 149 width: var(--body-max-width);
149 max-width: 100%; 150 max-width: 100%;
150 } 151 }
151 152