Rewrite color scheme mixins, move more parameters into schemes, update badge shortcode
This commit is contained in:
+12
-12
@@ -14,7 +14,7 @@
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: $body-font-weight;
|
||||
font-weight: inherit;
|
||||
line-height: 1;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: $padding-16;
|
||||
@@ -32,12 +32,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
h1 { font-size: $font-size-16 * 2; }
|
||||
h2 { font-size: $font-size-16 * 1.5; }
|
||||
h3 { font-size: $font-size-16 * 1.25; }
|
||||
h4 { font-size: $font-size-16 * 1.125; }
|
||||
h5 { font-size: $font-size-16 * 1; }
|
||||
h6 { font-size: $font-size-16 * 0.875; }
|
||||
h1 { font-size: 2rem; }
|
||||
h2 { font-size: 1.5rem; }
|
||||
h3 { font-size: 1.25rem; }
|
||||
h4 { font-size: 1.125rem; }
|
||||
h5 { font-size: 1rem; }
|
||||
h6 { font-size: 0.875rem; }
|
||||
|
||||
b,
|
||||
optgroup,
|
||||
@@ -66,14 +66,14 @@
|
||||
unicode-bidi: embed;
|
||||
padding: 0 $padding-4;
|
||||
background: var(--gray-200);
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: $padding-16;
|
||||
background: var(--gray-100);
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
overflow-x: auto;
|
||||
|
||||
code {
|
||||
@@ -91,7 +91,7 @@
|
||||
padding: $padding-8 $padding-16 $padding-8 ($padding-16 - $padding-4); //to keep total left space 16dp
|
||||
|
||||
border-inline-start: $padding-4 solid var(--gray-200);
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
:first-child {
|
||||
margin-top: 0;
|
||||
@@ -149,7 +149,7 @@
|
||||
.highlight {
|
||||
direction: ltr;
|
||||
unicode-bidi: embed;
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
table tr {
|
||||
td pre code > span {
|
||||
@@ -171,7 +171,7 @@
|
||||
padding: $padding-16;
|
||||
margin: $padding-16 0;
|
||||
border: $padding-1 solid var(--gray-200);
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
summary {
|
||||
line-height: 1;
|
||||
|
||||
Reference in New Issue
Block a user