Стили для контентных тегов вынесены отдельно

This commit is contained in:
Anton Vakhrushev 2019-05-06 22:25:37 +03:00
parent 99df29928d
commit cf5c0cb251
2 changed files with 30 additions and 27 deletions

View File

@ -0,0 +1,29 @@
@import '../vars';
p {
line-height: 1.5;
margin-top: 0;
margin-bottom: 1em;
}
h1 {
margin-top: 1.2em;
margin-bottom: 0.5em;
@media (max-width: $first-media-step) {
margin-top: 0.8em;
}
}
pre {
font-family: $base-monospace-font-family;
font-size: 90%;
padding: 1em;
background-color: #f6f8fa; // from github
border-radius: 5px;
overflow-y: auto;
}
code {
font-family: $base-monospace-font-family;
}

View File

@ -14,31 +14,5 @@
}
.content {
p {
line-height: 1.5;
margin-top: 0;
margin-bottom: 1em;
}
h1 {
margin-top: 1.2em;
margin-bottom: 0.5em;
@media (max-width: $first-media-step) {
margin-top: 0.8em;
}
}
pre {
font-family: $base-monospace-font-family;
font-size: 90%;
padding: 1em;
background-color: #f6f8fa; // from github
border-radius: 5px;
overflow-y: auto;
}
code {
font-family: $base-monospace-font-family;
}
@import 'content-tags';
}