5 body, button, input, select, label, textarea {
8 .Codemirror, pre, #markdown-editor-input, .editor-toolbar, .code-base {
18 line-height: 1.22222222em;
19 margin-top: 0.48888889em;
20 margin-bottom: 0.48888889em;
24 line-height: 1.294117647em;
25 margin-top: 0.8627451em;
26 margin-bottom: 0.43137255em;
30 line-height: 1.221428572em;
31 margin-top: 0.78571429em;
32 margin-bottom: 0.43137255em;
37 margin-top: 0.78571429em;
38 margin-bottom: 0.43137255em;
41 h1, h2, h3, h4, h5, h6 {
45 @include lightDark(color, #222, #BBB);
49 color: lighten($text-dark, 32%);
59 margin-top: 0.78571429em;
60 margin-bottom: 0.66em;
63 @include smaller-than($s) {
77 font-size: 1.161616em;
93 color: var(--color-primary);
96 text-decoration: none;
97 transition: filter ease-in-out 80ms;
100 text-decoration: underline;
103 display: inline-block;
107 display: inline-block;
109 &:focus img:only-child {
110 outline: 2px dashed var(--color-primary);
118 text-decoration: none;
130 * Other HTML Text Elements
132 p, ul, ol, pre, table, blockquote {
134 margin-bottom: 1.375em;
140 @include lightDark(background, #eaeaea, #555);
143 background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);
146 @include lightDark(background, #DDD, #666);
148 &.margin-top, &.even {
153 strong, b, .bold, .strong {
155 > strong, > b, > .bold, > .strong {
164 small, p.small, span.small, .text-small {
166 @include lightDark(color, #5e5e5e, #999);
170 vertical-align: super;
181 border: 1px solid #DDD;
182 @include lightDark(background-color, #f5f5f5, #2B2B2B);
183 @include lightDark(border-color, #DDD, #111);
196 @include lightDark(background-color, #f5f5f5, #313335);
197 @include lightDark(border-right, 1px solid #DDD, none);
213 border-left: 4px solid var(--color-primary);
214 @include lightDark(background-color, #f8f8f8, #333);
215 padding: $-s $-m $-s $-xl;
224 color: lighten($text-dark, 20%);
233 text-transform: uppercase;
237 text-transform: capitalize;
242 border: 1px solid #DDD;
244 @include lightDark(background-color, #f8f8f8, #2b2b2b);
245 @include lightDark(border-color, #DDD, #444);
252 white-space:pre-wrap;
262 background-color: transparent;
297 padding-left: $-m * 2.0;
298 padding-right: $-m * 2.0;
305 margin-block-start: 0;
306 padding-block-end: 0;
307 padding-block-start: 0;
308 padding-left: $-m * 1.2;
309 padding-right: $-m * 1.2;
312 li.checkbox-item, li.task-list-item {
314 margin-left: -($-m * 1.2);
315 input[type="checkbox"] {
318 li.checkbox-item, li.task-list-item {
324 * Generic text styling classes
327 text-decoration: underline;
340 @each $sizeLetter, $size in $screen-sizes {
341 @include larger-than($size) {
342 .text-#{$sizeLetter}-center {
345 .text-#{$sizeLetter}-left {
348 .text-#{$sizeLetter}-right {
367 word-wrap: break-word;
368 overflow-wrap: break-word;
371 .text-limit-lines-1 {
374 text-overflow: ellipsis;
377 .text-limit-lines-2 {
378 // -webkit use here is actually standardised cross-browser:
379 // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
380 display: -webkit-box;
381 -webkit-box-orient: vertical;
382 -webkit-line-clamp: 2;
391 h1, h2, h3, h4, h5, h6 {
411 display: inline-block;
414 margin-inline-end: $-xs;
415 pointer-events: none;