fix(headings): moved h1 with border to component

This commit is contained in:
newick 2019-08-12 17:35:46 +02:00
parent 912a9340f3
commit 1753515797
2 changed files with 24 additions and 14 deletions

View File

@ -0,0 +1,17 @@
h1 {
display: inline-block;
margin-bottom: 3rem;
font-size: 2.6rem;
&::after {
content: "";
display: block;
width: 27.4%;
height: 2px;
margin-top: 5px;
margin-right: auto;
margin-left: auto;
// background-color: $primary_color;
}
}

View File

@ -1,18 +1,11 @@
@charset "UTF-8"; @charset "UTF-8";
h1,
h2 {
font-family: $title_font;
}
h1 { h1 {
display: inline-block; font-size: 2rem;
margin-bottom: 3rem; font-weight: 600;
}
&::after {
content: "";
display: block;
width: 27.4%;
height: 2px;
margin-top: 5px;
margin-right: auto;
margin-left: auto;
background-color: $primary_color;
}
}