Small and big should be limited via rem so it works large font mode

This commit is contained in:
Sam 2018-01-22 14:22:30 +11:00
parent 83c549bd31
commit ce815276d0
2 changed files with 13 additions and 11 deletions

View File

@ -48,10 +48,10 @@ body {
// setting a static limit on big and small prevents nesting abuse // setting a static limit on big and small prevents nesting abuse
big { big {
font-size: 32px; font-size: $font-up-5;
} }
small { small {
font-size: 12px; font-size: $font-down-2;
} }
blockquote { blockquote {

View File

@ -79,6 +79,8 @@
a { word-wrap: break-word; } a { word-wrap: break-word; }
ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); } ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); }
del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); } del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); }
big { font-size: 2rem; }
small { font-size: 0.75rem; }
} }
.cooked, .d-editor-preview { .cooked, .d-editor-preview {