Small and big should be limited via rem so it works large font mode
This commit is contained in:
parent
83c549bd31
commit
ce815276d0
|
@ -48,10 +48,10 @@ body {
|
|||
|
||||
// setting a static limit on big and small prevents nesting abuse
|
||||
big {
|
||||
font-size: 32px;
|
||||
font-size: $font-up-5;
|
||||
}
|
||||
small {
|
||||
font-size: 12px;
|
||||
font-size: $font-down-2;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
|
|
@ -47,38 +47,40 @@
|
|||
.cooked, .d-editor-preview {
|
||||
word-wrap: break-word;
|
||||
line-height: $line-height-large;
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 30px 0 10px;
|
||||
line-height: $line-height-medium;
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 30px 0 10px;
|
||||
line-height: $line-height-medium;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: $font-up-4;
|
||||
}
|
||||
|
||||
|
||||
h2 {
|
||||
font-size: $font-up-3;
|
||||
}
|
||||
|
||||
|
||||
h3 {
|
||||
font-size: $font-up-2;
|
||||
}
|
||||
|
||||
|
||||
h4 {
|
||||
font-size: $font-up-1;
|
||||
}
|
||||
|
||||
|
||||
h5 {
|
||||
font-size: $font-0;
|
||||
}
|
||||
|
||||
|
||||
h6 {
|
||||
font-size: $font-down-1;
|
||||
}
|
||||
|
||||
|
||||
a { word-wrap: break-word; }
|
||||
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%)); }
|
||||
big { font-size: 2rem; }
|
||||
small { font-size: 0.75rem; }
|
||||
}
|
||||
|
||||
.cooked, .d-editor-preview {
|
||||
|
|
Loading…
Reference in New Issue