Add style to Footer
This commit is contained in:
31
src/style/atoms/_site-title.scss
Normal file
31
src/style/atoms/_site-title.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
.site-title {
|
||||
font-family: $font-serif;
|
||||
line-height: 0.7;
|
||||
|
||||
strong {
|
||||
font-size: rem(30px);
|
||||
font-weight: 300;
|
||||
|
||||
&:first-child {
|
||||
display: block;
|
||||
color: $color-lilas-bright;
|
||||
}
|
||||
&:last-child {
|
||||
display: inline-block;
|
||||
margin-left: -6px;
|
||||
}
|
||||
}
|
||||
span {
|
||||
position: relative;
|
||||
top: -4px;
|
||||
font-size: rem(14px);
|
||||
color: $color-lightpurple;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
&__pink {
|
||||
color: $color-secondary;
|
||||
}
|
||||
}
|
||||
51
src/style/organisms/_footer.scss
Normal file
51
src/style/organisms/_footer.scss
Normal file
@@ -0,0 +1,51 @@
|
||||
.footer {
|
||||
height: 120px;
|
||||
background-color: $color-primary-darker;
|
||||
|
||||
.container {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
grid-column: 2 / span 3;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
&__links {
|
||||
grid-column: 6 / span 15;
|
||||
grid-row: 1;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
li {
|
||||
display: block;
|
||||
margin: 0 16px;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-size: rem(16px);
|
||||
line-height: 1.3;
|
||||
}
|
||||
svg {
|
||||
margin-right: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&__ctf {
|
||||
grid-column: 19 / span 5;
|
||||
grid-row: 1;
|
||||
margin-left: auto;
|
||||
|
||||
span {
|
||||
font-size: rem(12px);
|
||||
color: $color-lilas-bright;
|
||||
margin-right: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,7 @@
|
||||
@import "atoms/button";
|
||||
@import "atoms/badge";
|
||||
@import "atoms/arrow";
|
||||
@import "atoms/site-title";
|
||||
|
||||
// Molecules
|
||||
@import "molecules/photo-card";
|
||||
@@ -34,6 +35,7 @@
|
||||
// Organisms
|
||||
@import "organisms/locations";
|
||||
@import "organisms/newsletter";
|
||||
@import "organisms/footer";
|
||||
|
||||
|
||||
// Pages
|
||||
|
||||
Reference in New Issue
Block a user