Commit d6d08c82 authored by eternal-flame-AD's avatar eternal-flame-AD

Improve article css

parent 76cbe3dc
......@@ -11,6 +11,7 @@ article {
padding: 2rem 2rem;
background-color: rgba($gray-100, 0.8);
div.highlight {
margin-bottom: 1rem;
pre {
margin-top: 0;
margin-bottom: 0;
......@@ -21,7 +22,8 @@ article {
padding-left: 10px;
}
& > h1 {
display: inline;
display: inline-block;
margin-bottom: 1rem;
&::before {
content: '#';
display: inline-block;
......@@ -38,7 +40,8 @@ article {
}
}
& > h2 {
display: inline;
display: inline-block;
margin-bottom: 0.8rem;
&::before {
content: '##';
display: inline-block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment