aboutsummaryrefslogtreecommitdiffstats
path: root/css/main.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/main.scss')
-rw-r--r--css/main.scss19
1 files changed, 11 insertions, 8 deletions
diff --git a/css/main.scss b/css/main.scss
index be9dbea..bed3b24 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -186,11 +186,19 @@ strong {
186// Site content classes 186// Site content classes
187 187
188.wrap { 188.wrap {
189 max-width: 50em;
190 max-width: 100ch;
191 margin: 0 auto;
192 padding: 2em 1em; 189 padding: 2em 1em;
193 text-align: center; 190 text-align: center;
191
192 &--word-wrap {
193 max-width: 50em;
194 max-width: 100ch;
195 margin: 0 auto;
196
197 .content {
198 white-space: pre-wrap;
199 word-wrap: break-word;
200 }
201 }
194} 202}
195 203
196.content { 204.content {
@@ -204,11 +212,6 @@ strong {
204 font: inherit; 212 font: inherit;
205 font-family: $font-proportional; 213 font-family: $font-proportional;
206 214
207 &--wrap {
208 white-space: pre-wrap;
209 word-wrap: break-word;
210 }
211
212 &--has-type-annotations { 215 &--has-type-annotations {
213 padding-left: 3em; 216 padding-left: 3em;
214 padding-left: 5ch; 217 padding-left: 5ch;