improved heading code

This commit is contained in:
newick 2019-08-12 12:02:27 +02:00
parent 458a80c6a7
commit 9189991784
1 changed files with 15 additions and 21 deletions

View File

@ -1,23 +1,17 @@
@charset "UTF-8";
/*h1,
h2,
h3,
h4,
h5,
h6 {
border-bottom: 1px solid $primary_color;
}
*/
h1 {
display: inline-block;
}
h1::after{
&::after {
content: "";
background-color:$primary_color;
display: block;
width: 27.4%;
height: 2px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
margin-right: auto;
margin-left: auto;
background-color: $primary_color;
}
}