1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

Using $spacer-3 for all the markdown margin variables

This commit is contained in:
Jon Rohan 2017-07-18 08:50:19 -07:00
parent f6bac12538
commit 6bfb4044fa
3 changed files with 8 additions and 8 deletions

View File

@ -38,7 +38,7 @@
}
.highlight {
margin-bottom: $margin;
margin-bottom: $spacer-3;
pre {
margin-bottom: 0;
@ -48,7 +48,7 @@
.highlight pre,
pre {
padding: $margin;
padding: $spacer-3;
overflow: auto;
font-size: 85%;
line-height: 1.45;

View File

@ -9,8 +9,8 @@
h4,
h5,
h6 {
margin-top: ($margin * 1.5);
margin-bottom: $margin;
margin-top: ($spacer-3 * 1.5);
margin-bottom: $spacer-3;
font-weight: $font-weight-bold;
line-height: $lh-condensed;

View File

@ -46,7 +46,7 @@
}
li > p {
margin-top: $margin;
margin-top: $spacer-3;
}
li + li {
@ -58,15 +58,15 @@
dt {
padding: 0;
margin-top: $margin;
margin-top: $spacer-3;
font-size: 1em;
font-style: italic;
font-weight: $font-weight-bold;
}
dd {
padding: 0 $margin;
margin-bottom: $margin;
padding: 0 $spacer-3;
margin-bottom: $spacer-3;
}
}
}