diff options
Diffstat (limited to '_layouts/base.html')
| -rw-r--r-- | _layouts/base.html | 7 |
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 | ||
