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);
116 pointer-events: none;
129 * Other HTML Text Elements
131 p, ul, ol, pre, table, blockquote {
133 margin-bottom: 1.375em;
139 @include lightDark(background, #eaeaea, #555);
142 background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);
144 &.margin-top, &.even {
149 strong, b, .bold, .strong {
151 > strong, > b, > .bold, > .strong {
160 small, p.small, span.small, .text-small {
162 @include lightDark(color, #5e5e5e, #999);
166 vertical-align: super;
177 border: 1px solid #DDD;
178 @include lightDark(background-color, #f5f5f5, #2B2B2B);
179 @include lightDark(border-color, #DDD, #111);
192 @include lightDark(background-color, #f5f5f5, #313335);
193 @include lightDark(border-right, 1px solid #DDD, none);
209 border-left: 4px solid var(--color-primary);
210 @include lightDark(background-color, #f8f8f8, #333);
211 padding: $-s $-m $-s $-xl;
220 color: lighten($text-dark, 20%);
229 text-transform: uppercase;
233 text-transform: capitalize;
238 border: 1px solid #DDD;
240 @include lightDark(background-color, #f8f8f8, #2b2b2b);
241 @include lightDark(border-color, #DDD, #444);
248 white-space:pre-wrap;
258 background-color: transparent;
279 padding-left: $-m * 1.3;
280 padding-right: $-m * 1.3;
294 padding-left: $-m * 2;
295 padding-right: $-m * 2;
298 li.checkbox-item, li.task-list-item {
300 margin-left: - ($-m * 1.3);
301 input[type="checkbox"] {
307 margin-block-end: 0px;
308 margin-block-start: 0px;
309 padding-block-end: 0px;
310 padding-block-start: 0px;
314 * Generic text styling classes
317 text-decoration: underline;
330 @each $sizeLetter, $size in $screen-sizes {
331 @include larger-than($size) {
332 .text-#{$sizeLetter}-center {
335 .text-#{$sizeLetter}-left {
338 .text-#{$sizeLetter}-right {
357 word-wrap: break-word;
358 overflow-wrap: break-word;
361 .text-limit-lines-1 {
364 text-overflow: ellipsis;
367 .text-limit-lines-2 {
368 // -webkit use here is actually standardised cross-browser:
369 // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
370 display: -webkit-box;
371 -webkit-box-orient: vertical;
372 -webkit-line-clamp: 2;
381 h1, h2, h3, h4, h5, h6 {
401 display: inline-block;
404 margin-inline-end: $-xs;
405 pointer-events: none;