Move header styles to dedicated SCSS file
This commit is contained in:
parent
e0f710a5e0
commit
70b2c3d5bf
3 changed files with 13 additions and 13 deletions
|
@ -78,19 +78,6 @@ pre {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-header {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
h1 {
|
|
||||||
background: -webkit-linear-gradient(45deg, var(--color-red), var(--color-blue));
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
}
|
|
||||||
.subheading {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@for $i from 1 to 3 {
|
@for $i from 1 to 3 {
|
||||||
.m-#{i} {
|
.m-#{i} {
|
||||||
margin: #{i}/4;
|
margin: #{i}/4;
|
||||||
|
|
12
_includes/styles/components/header.scss
Normal file
12
_includes/styles/components/header.scss
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
.page-header {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
text-align: center;
|
||||||
|
h1 {
|
||||||
|
background: -webkit-linear-gradient(45deg, var(--color-red), var(--color-blue));
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
|
.subheading {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,4 +9,5 @@
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@import "styles/components/navbar";
|
@import "styles/components/navbar";
|
||||||
|
@import "styles/components/header";
|
||||||
@import "styles/components/separator";
|
@import "styles/components/separator";
|
||||||
|
|
Loading…
Reference in a new issue