Clean up typography updates

This commit is contained in:
Patrick Marsceill
2020-05-05 12:48:45 -04:00
parent d9b2822448
commit 6345c61aae
5 changed files with 37 additions and 21 deletions

View File

@@ -8,6 +8,16 @@
.page-content {
line-height: $content-line-height;
ol,
ul,
dl,
pre,
address,
blockquote,
.table-wrapper {
margin-top: 0.5em;
}
a {
overflow: hidden;
text-overflow: ellipsis;
@@ -19,6 +29,12 @@
padding-left: 1.5em;
}
li {
.highlight {
margin-top: $sp-1;
}
}
ol {
list-style-type: none;
counter-reset: step-counter;
@@ -156,15 +172,22 @@
h5,
h6 {
position: relative;
margin-top: 1.5em;
margin-bottom: 0.25em;
&:first-child {
margin-top: $sp-2;
}
+ table,
+ .table-wrapper,
+ .code-example,
+ .highlighter-rouge {
margin-top: 1em;
}
+ p {
margin-top: 0;
}
}
+ table,
.table-wrapper,
.code-example,
.highlighter-rouge {
margin-top: 1em;
}
}