improved heading code

This commit is contained in:
newick 2019-08-12 12:02:27 +02:00
parent 458a80c6a7
commit 9189991784

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{
content:"";
background-color:$primary_color;
display:block;
width:27.4%;
height:2px;
margin-left: auto;
h1 {
display: inline-block;
&::after {
content: "";
display: block;
width: 27.4%;
height: 2px;
margin-top: 5px;
margin-right: auto;
margin-top:5px;
margin-left: auto;
background-color: $primary_color;
}
}