mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 23:19:26 +00:00
Added title styles
This commit is contained in:
19
src/stylesheets/components/_title.scss
Normal file
19
src/stylesheets/components/_title.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
.title {
|
||||
&--spaced {
|
||||
font: normal 300 1em Roboto;
|
||||
letter-spacing: 0.175em;
|
||||
text-transform: uppercase;
|
||||
color: $text-colour;
|
||||
}
|
||||
|
||||
&--center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $colour in $title-colours {
|
||||
.title.title--#{$name} {
|
||||
color: $colour;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user