Newer
Older
&--small {
max-width: $wrapper--small;
margin: 0 auto;
}
&--medium {
max-width: $wrapper--medium;
margin: 0 auto;
}
&--large {
max-width: $site-width;
margin: 0 auto;
}
&--main {
Chris Lawton
committed
color: $color--white;
background-color: $color--dark-grey;
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
&--breakout {
position: relative;
right: 50%;
left: 50%;
width: 100vw;
margin-right: -50vw;
margin-left: -50vw;
}
&--blockquote {
padding: 1rem 0;
margin-top: 2rem;
margin-bottom: 2rem;
background: $color--light-grey;
@include media-query(tablet-portrait) {
padding: 4rem 0;
margin-top: 4rem;
margin-bottom: 4rem;
}
svg {
position: absolute;
display: none;
width: 110px;
height: 110px;
fill: $color--white;
@include media-query(tablet-portrait) {
display: block;
}
&:first-child {
top: 0;
left: 0;
transform: rotate(90deg);
}
&:last-child {
right: 0;
bottom: 0;
transform: rotate(-90deg);
}
}
}
&--dark-bg {
color: $color--white;
Chris Lawton
committed
background-color: $color--dark-grey;
&--streamfield {
margin-bottom: 2rem;
@include media-query(tablet-portrait) {
Chris Lawton
committed
&--top-bottom-space {
padding: 1rem 0;
@include media-query(tablet-portrait) {
padding: 3rem 0;
}
Chris Lawton
committed
}
Chris Lawton
committed
&--top-bottom-inner-space {
padding: 20px 0;
@include media-query(mob-landscape) {
padding: 2rem 0;
}
Chris Lawton
committed
}
Chris Lawton
committed
&--top-bottom-outer-space {
margin: 20px 0;
@include media-query(mob-landscape) {
margin: 2rem 0;
}
}
&--light-grey-bg {
background-color: $color--light-grey;
}
&--media-boxes {
max-width: 1220px;
padding: 0 20px;
margin: 0 auto;
}
&--bottom-space {
Chris Lawton
committed
padding-bottom: 20px;
margin-bottom: 20px;
@include media-query(tablet-portrait) {
Chris Lawton
committed
padding-bottom: 3rem;
margin-bottom: 3rem;
}
}
@include media-query(tablet-portrait) {
padding: 2rem 17rem 2rem 5rem;
&--error {
display: flex;
align-items: center;
max-width: 830px;
padding: 10px;
margin: 0 auto 2rem;
background: $color--light-pink;
border: 1px solid $color--tomato;
}
&--top-inner-space {
padding: 20px 0;
@include media-query(tablet-portrait) {
padding: 3rem 0;
}
Chris Lawton
committed
&--top-inner-space-small {
padding: 20px 0;
}
&--top-outer-space {
margin: 20px 0;
@include media-query(tablet-portrait) {
margin: 3rem 0;
}
}
&--top-outer-space-small {
margin: 20px 0 0;
}
&--sidebar {
Chris Lawton
committed
display: flex;
flex-direction: column;
Chris Lawton
committed
@include media-query(tablet-portrait) {
flex-direction: row;
> div:last-child {
flex-basis: 210px;
}
}
Chris Lawton
committed
> div:first-child {
flex: 1;
margin-bottom: 20px;
Chris Lawton
committed
@include media-query(tablet-portrait) {
Chris Lawton
committed
padding-right: 20px;
margin-bottom: 0;
Chris Lawton
committed
}
}
}
&--status {
display: flex;
flex-direction: column;
justify-content: space-around;
@include media-query(mob-landscape) {
flex-direction: row;
}
}
&--project {
padding-top: 2rem;
}
&--listings {
display: flex;
flex-direction: column;
margin-top: 20px;
@include media-query(tablet-portrait) {
margin-top: 2rem;
}
}
Chris Lawton
committed
&--page-title {
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: flex-end;
.header--homepage & {
position: relative;
align-items: flex-start;
justify-content: center;
height: 100%;
}
&--center {
text-align: center;
}
&--inner-space-xl {
padding: 2rem 20px;
@include media-query(tablet-portrait) {
padding: 4rem 20px;
}
}