ContainerImage.Pinniped/site/themes/pinniped/assets/scss/_base.scss

242 lines
6.5 KiB
SCSS

@import 'variables';
@import 'mixins';
$font-family-base: "Metropolis-Light", Helvetica, sans-serif;
$metropolis-light: $font-family-base;
$metropolis-light-italic: "Metropolis-LightItalic", Helvetica, sans-serif;
$metropolis-regular: "Metropolis-Regular", Helvetica, sans-serif;
$metropolis-regular-italic: "Metropolis-RegularItalic", Helvetica, sans-serif;
$metropolis-medium: "Metropolis-Medium", Helvetica, sans-serif;
$metropolis-medium-italic: "Metropolis-MediumItalic", Helvetica, sans-serif;
$metropolis-bold: "Metropolis-Bold", Helvetica, sans-serif;
$metropolis-bold-italic: "Metropolis-BoldItalic", Helvetica, sans-serif;
$metropolis-semibold: "Metropolis-SemiBold", Helvetica, sans-serif;
$metropolis-semibold-italic: "Metropolis-SemiBoldItalic", Helvetica, sans-serif;
body {
font-family: $font-family-base;
margin: 0px;
line-height: 1.25;
}
.wrapper {
max-width: 980px;
margin: 0px auto;
padding: 20px;
@include breakpoint(small) {
max-width: 100%;
}
@include breakpoint(medium) {
}
}
.clearfix {
*zoom: 1;
&:before, &:after {
display: table;
content: "";
line-height: 0;
}
&:after {
clear: both;
}
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
h1 {
font-size: 36px;
}
h2 {
font-size: 28px;
}
h3 {
font-size: 22px;
}
h4 {
font-size: 18px;
}
li {
list-style-type: none;
display: inline;
padding-right: 25px;
font-size: 14px;
line-height: 1.7em;
&:last-of-type {
padding-right: 0px;
}
}
p {
line-height: 1.7em;
font-weight: 300;
font-size: 16px;
color: $darkgrey;
}
a {
font-size: 16px;
text-decoration: none;
color: $blue;
font-family: $metropolis-medium
}
button {
background-color: unset;
border: none;
}
.button {
color: $blue;
font-size: 12px;
font-weight: 600;
background-color: $white;
border-radius: 3px;
padding: 14px 10px;
min-width: 200px;
text-transform: uppercase;
border: 1px solid $white;
&.secondary {
background-color: $mainblue;
color: $white;
}
&.tertiary {
border: 1px solid $blue;
}
img.button-icon {
margin-left: 5px;
margin-right: 5px;
margin-bottom: -8px;
width: 24px;
height: 24px;
}
}
.buttons {
margin-top: 40px;
.button:first-of-type {
margin-right: 30px;
@include breakpoint(small) {
margin: 0px 0px 20px 0px;
}
}
}
.strong {
font-family: $metropolis-medium;
}
.bg-grey {
background-color: $lightgrey;
}
.grid.three {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
row-gap: 20px;
column-gap: 20px;
@include breakpoint(small) {
grid-template-columns: 1fr;
}
}
.grid.two {
display: grid;
grid-template-columns: 1fr 1fr;
@include breakpoint(small) {
grid-template-columns: 1fr;
}
}
// Metropolis
@font-face {
font-family: "Metropolis-Bold";
src:url("/fonts/Metropolis-Bold.eot");
src:url("/fonts/Metropolis-Bold.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-Bold.woff2") format("woff2"),
url("/fonts/Metropolis-Bold.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-BoldItalic";
src:url("/fonts/Metropolis-BoldItalic.eot");
src:url("/fonts/Metropolis-BoldItalic.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-BoldItalic.woff2") format("woff2"),
url("/fonts/Metropolis-BoldItalic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-Light";
src:url("/fonts/Metropolis-Light.eot");
src:url("/fonts/Metropolis-Light.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-Light.woff2") format("woff2"),
url("/fonts/Metropolis-Light.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-LightItalic";
src:url("/fonts/Metropolis-LightItalic.eot");
src:url("/fonts/Metropolis-LightItalic.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-LightItalic.woff2") format("woff2"),
url("/fonts/Metropolis-LightItalic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-Regular";
src:url("/fonts/Metropolis-Regular.eot");
src:url("/fonts/Metropolis-Regular.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-Regular.woff2") format("woff2"),
url("/fonts/Metropolis-Regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-RegularItalic";
src:url("/fonts/Metropolis-RegularItalic.eot");
src:url("/fonts/Metropolis-RegularItalic.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-RegularItalic.woff2") format("woff2"),
url("/fonts/Metropolis-RegularItalic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-Medium";
src:url("/fonts/Metropolis-Medium.eot");
src:url("/fonts/Metropolis-Medium.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-Medium.woff2") format("woff2"),
url("/fonts/Metropolis-Medium.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-MediumItalic";
src:url("/fonts/Metropolis-MediumItalic.eot");
src:url("/fonts/Metropolis-MediumItalic.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-MediumItalic.woff2") format("woff2"),
url("/fonts/Metropolis-MediumItalic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-SemiBold";
src:url("/fonts/Metropolis-SemiBold.eot");
src:url("/fonts/Metropolis-SemiBold.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-SemiBold.woff2") format("woff2"),
url("/fonts/Metropolis-SemiBold.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Metropolis-SemiBoldItalic";
src:url("/fonts/Metropolis-SemiBoldItalic.eot");
src:url("/fonts/Metropolis-SemiBoldItalic.eot?#iefix") format("embedded-opentype"),
url("/fonts/Metropolis-SemiBoldItalic.woff2") format("woff2"),
url("/fonts/Metropolis-SemiBoldItalic.woff") format("woff");
font-weight: normal;
font-style: normal;
}