|
@ -9,6 +9,10 @@ html, body { |
|
|
z-index: $zindex-base; |
|
|
z-index: $zindex-base; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
body { |
|
|
|
|
|
padding-bottom: 15vw; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, label, button, .button, dt, th, nav.sub-menu { |
|
|
h1, h2, h3, h4, h5, label, button, .button, dt, th, nav.sub-menu { |
|
|
@include font-family(secondary); |
|
|
@include font-family(secondary); |
|
|
font-weight: normal; |
|
|
font-weight: normal; |
|
@ -211,12 +215,6 @@ input { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
padding: 0.25em 0.5em; |
|
|
padding: 0.25em 0.5em; |
|
|
border-bottom: 0.15em solid transparent; |
|
|
border-bottom: 0.15em solid transparent; |
|
|
//@include default-box-shadow(top, 2, false, 0 0.05em 0 0 #666); |
|
|
|
|
|
//@include _(transition, box-shadow 100ms ease-in-out); |
|
|
|
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active { |
|
|
|
|
|
//@include default-box-shadow(top, 2, false, 0 0.15em 0 0 $colour-1); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -224,7 +222,6 @@ input { |
|
|
.email-field, |
|
|
.email-field, |
|
|
.text-field { |
|
|
.text-field { |
|
|
position: relative; |
|
|
position: relative; |
|
|
//overflow: hidden; |
|
|
|
|
|
margin-bottom: 2em; |
|
|
margin-bottom: 2em; |
|
|
background-color: #F8F8F8; |
|
|
background-color: #F8F8F8; |
|
|
@include default-box-shadow(top, 1.5, false, 0 0.05em 0 0 #666); |
|
|
@include default-box-shadow(top, 1.5, false, 0 0.05em 0 0 #666); |
|
@ -240,22 +237,12 @@ input { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
z-index: $zindex-base + 3; |
|
|
z-index: $zindex-base + 3; |
|
|
font-size: 1em; |
|
|
font-size: 1em; |
|
|
//float: left; |
|
|
|
|
|
//@include font-family(primary); |
|
|
|
|
|
//font-weight: bold; |
|
|
|
|
|
//left: 0; |
|
|
|
|
|
//top: 0; |
|
|
|
|
|
padding: 0.25em 0.667em; |
|
|
padding: 0.25em 0.667em; |
|
|
width: auto; |
|
|
width: auto; |
|
|
//background-color: #333; |
|
|
|
|
|
@include _(transition, 'transform 250ms ease-in-out, color 250ms ease-in-out, background-color 250ms ease-in-out'); |
|
|
@include _(transition, 'transform 250ms ease-in-out, color 250ms ease-in-out, background-color 250ms ease-in-out'); |
|
|
//@include _(transform-origin, left center); |
|
|
|
|
|
//@include _(transform, scale(1) translateY(0)); |
|
|
|
|
|
top: 100%; |
|
|
top: 100%; |
|
|
//@include _(transform, translateY(100%) scale(0.75)); |
|
|
|
|
|
@include _(transform, translateY(0) scale(0.75)); |
|
|
@include _(transform, translateY(0) scale(0.75)); |
|
|
@include _(transform-origin, 0 0); |
|
|
@include _(transform-origin, 0 0); |
|
|
//line-height: 1em; |
|
|
|
|
|
line-height: 1.5em; |
|
|
line-height: 1.5em; |
|
|
background-color: transparent; |
|
|
background-color: transparent; |
|
|
color: #333; |
|
|
color: #333; |
|
@ -275,9 +262,6 @@ input { |
|
|
background-color: transparent; |
|
|
background-color: transparent; |
|
|
color: #888; |
|
|
color: #888; |
|
|
} |
|
|
} |
|
|
input { |
|
|
|
|
|
//@include _(box-shadow, none); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
input { |
|
|
input { |
|
@ -303,14 +287,6 @@ input { |
|
|
@include _(box-shadow, inset 0 0 1em 1em #E8E8E8); |
|
|
@include _(box-shadow, inset 0 0 1em 1em #E8E8E8); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
/*input { |
|
|
|
|
|
&:focus, &:active, &:not([value=""]) { |
|
|
|
|
|
+ label { |
|
|
|
|
|
@include _(transform, scale(0.75) translateY(-20%)); |
|
|
|
|
|
top: -0.5em; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}*/ |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.input-field.other-field label { |
|
|
.input-field.other-field label { |
|
@ -568,90 +544,84 @@ form { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#main-nav { |
|
|
#main-nav { |
|
|
position: relative; |
|
|
@include font-family(secondary); |
|
|
top: 0; |
|
|
overflow: hidden; |
|
|
left: 0; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
background-color: $white; |
|
|
|
|
|
@include default-box-shadow(top, 2); |
|
|
|
|
|
z-index: $zindex-base + 2; |
|
|
|
|
|
|
|
|
|
|
|
.nav { |
|
|
.nav { |
|
|
text-align: center; |
|
|
position: fixed; |
|
|
clear: left; |
|
|
z-index: 100; |
|
|
overflow: auto; |
|
|
bottom: 0; |
|
|
background-color: $colour-3; |
|
|
left: 0; |
|
|
height: 2em; |
|
|
right: 0; |
|
|
|
|
|
padding: 0; |
|
|
|
|
|
font-size: 6vw; |
|
|
|
|
|
background-color: #FFF; |
|
|
|
|
|
@include _-(display, flex); |
|
|
|
|
|
@include _(box-shadow, 0 0 2em -0.5em rgba(0, 0, 0, 0.5)); |
|
|
|
|
|
|
|
|
span { |
|
|
a.policy { |
|
|
display: table-cell; |
|
|
background-color: $colour-5; |
|
|
text-align: center; |
|
|
@include _(order, 1); |
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
a { |
|
|
a.about { |
|
|
position: relative; |
|
|
background-color: $colour-3; |
|
|
|
|
|
@include _(order, 1); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
form { |
|
|
|
|
|
background-color: $colour-2; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
a, form { |
|
|
|
|
|
width: 33%; |
|
|
|
|
|
@include _(flex, 1); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
a, form, button { |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
padding: 0; |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
display: table; |
|
|
} |
|
|
height: 100%; |
|
|
|
|
|
overflow: hidden; |
|
|
a, button { |
|
|
float: left; |
|
|
display: inline-block; |
|
|
font-weight: normal; |
|
|
font-weight: normal; |
|
|
@include font-family(secondary); |
|
|
padding: 0.5em 0; |
|
|
text-decoration: none; |
|
|
color: #FFF; |
|
|
font-size: 2.25vw; |
|
|
@include _(border-radius, 0); |
|
|
outline: none; |
|
|
@include _(box-shadow, inset 0 0 1.5em 0.25em rgba(0, 0, 0, 0.125)); |
|
|
border: 0; |
|
|
@include _(text-shadow, 0 0 0.25em rgba(0,0,0,0.5)); |
|
|
width: 33.33%; |
|
|
|
|
|
background-color: $colour-5; |
|
|
|
|
|
color: $white; |
|
|
|
|
|
@include _(text-shadow, 0 0 0.35em #000); |
|
|
|
|
|
|
|
|
|
|
|
@include after { |
|
|
@include after { |
|
|
display: none; |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@include before { |
|
|
button { |
|
|
background-color: $colour-5; |
|
|
background-color: transparent; |
|
|
} |
|
|
border: 0; |
|
|
|
|
|
font-size: 1em; |
|
|
&:nth-child(2) { |
|
|
width: 100%; |
|
|
background-color: $colour-4; |
|
|
@include _(text-stroke, 0); |
|
|
|
|
|
|
|
|
@include before { |
|
|
@include before { |
|
|
background-color: $colour-4; |
|
|
display: none; |
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
&:nth-child(3) { |
|
|
form { |
|
|
background-color: $colour-3; |
|
|
display: inline; |
|
|
|
|
|
|
|
|
@include before { |
|
|
|
|
|
background-color: $colour-3; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.actions { |
|
|
.logo { |
|
|
text-align: center; |
|
|
font-size: 5em; |
|
|
position: absolute; |
|
|
|
|
|
top: rems(0.5); |
|
|
|
|
|
right: rems(1); |
|
|
|
|
|
font-size: 3.1vw; |
|
|
|
|
|
|
|
|
|
|
|
> a, > form { |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
margin: 0 0 0.5em; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#main { |
|
|
#main { |
|
|
position: relative; |
|
|
position: relative; |
|
|
//z-index: $zindex-base; |
|
|
|
|
|
max-width: (rems(68) - $sidebar-width) * 2; |
|
|
max-width: (rems(68) - $sidebar-width) * 2; |
|
|
background-color: $white; |
|
|
background-color: $white; |
|
|
padding-bottom: rems(2); |
|
|
padding-bottom: rems(2); |
|
@ -660,7 +630,6 @@ form { |
|
|
padding: rems(2.5) 7.5%; |
|
|
padding: rems(2.5) 7.5%; |
|
|
|
|
|
|
|
|
&.supplementary { |
|
|
&.supplementary { |
|
|
//background-color: $colour-3; |
|
|
|
|
|
margin: rems(1) 7.5%; |
|
|
margin: rems(1) 7.5%; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
border-radius: 0.33em; |
|
|
border-radius: 0.33em; |
|
@ -691,6 +660,7 @@ a.logo { |
|
|
padding: 0.1em; |
|
|
padding: 0.1em; |
|
|
border: 0; |
|
|
border: 0; |
|
|
float: left; |
|
|
float: left; |
|
|
|
|
|
overflow: auto; |
|
|
@include clearfix; |
|
|
@include clearfix; |
|
|
|
|
|
|
|
|
&:hover, |
|
|
&:hover, |
|
@ -737,6 +707,13 @@ a.logo { |
|
|
|
|
|
|
|
|
#banner { |
|
|
#banner { |
|
|
clear: left; |
|
|
clear: left; |
|
|
|
|
|
float: none; |
|
|
|
|
|
margin: 1em auto 0; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
|
|
|
body.home & { |
|
|
|
|
|
max-width: 40em; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
figure { |
|
|
figure { |
|
|
position: relative; |
|
|
position: relative; |
|
@ -747,7 +724,15 @@ a.logo { |
|
|
|
|
|
|
|
|
img { |
|
|
img { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
@include default-box-shadow; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
font-size: 5vw; |
|
|
|
|
|
margin: 1em auto 2em; |
|
|
|
|
|
|
|
|
|
|
|
h1, h3 { |
|
|
|
|
|
margin: 0; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -764,6 +749,10 @@ $header-tilt: 8deg; |
|
|
position: relative; |
|
|
position: relative; |
|
|
z-index: $zindex-base; |
|
|
z-index: $zindex-base; |
|
|
|
|
|
|
|
|
|
|
|
.row, .columns { |
|
|
|
|
|
position: static; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
rect { |
|
|
rect { |
|
|
fill: $colour-1; |
|
|
fill: $colour-1; |
|
|
} |
|
|
} |
|
@ -790,19 +779,6 @@ $header-tilt: 8deg; |
|
|
@if capable_of(css-mixblendmode) { |
|
|
@if capable_of(css-mixblendmode) { |
|
|
position: relative; |
|
|
position: relative; |
|
|
|
|
|
|
|
|
body.home & { |
|
|
|
|
|
$colours: ($colour-2, $colour-5, $colour-4, $colour-3, $colour-1); |
|
|
|
|
|
$gradient: (90deg); |
|
|
|
|
|
$w: 100% / length($colours); |
|
|
|
|
|
$i: 0; |
|
|
|
|
|
@each $colour in $colours { |
|
|
|
|
|
$gradient: append($gradient, #{$colour} #{$w * $i}, comma); |
|
|
|
|
|
$i: $i + 1; |
|
|
|
|
|
$gradient: append($gradient, #{$colour} #{$w * $i}, comma); |
|
|
|
|
|
} |
|
|
|
|
|
background-image: linear-gradient($gradient); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cover { |
|
|
.cover { |
|
|
-webkit-filter: saturate(25%); |
|
|
-webkit-filter: saturate(25%); |
|
|
filter: saturate(25%); |
|
|
filter: saturate(25%); |
|
@ -815,7 +791,7 @@ $header-tilt: 8deg; |
|
|
h1 { |
|
|
h1 { |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
font-size: 3.5em; |
|
|
font-size: 3.5em; |
|
|
margin: 0.25em 0.5em; |
|
|
margin: 1.75em 0 .75em; |
|
|
position: relative; |
|
|
position: relative; |
|
|
z-index: $zindex-base + 2; |
|
|
z-index: $zindex-base + 2; |
|
|
@include _(text-shadow, 0 0 0.15em #000); |
|
|
@include _(text-shadow, 0 0 0.15em #000); |
|
@ -880,8 +856,9 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.facebook, .locale { |
|
|
.facebook{ |
|
|
float: left; |
|
|
float: left; |
|
|
|
|
|
margin: 0.5em; |
|
|
|
|
|
|
|
|
a { |
|
|
a { |
|
|
@include after { |
|
|
@include after { |
|
@ -915,7 +892,8 @@ $header-tilt: 8deg; |
|
|
padding: 0.5em 0.5em 0.5em 2em; |
|
|
padding: 0.5em 0.5em 0.5em 2em; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
z-index: $zindex-base + 2; |
|
|
z-index: $zindex-base + 2; |
|
|
margin-bottom: 0.5em; |
|
|
margin-bottom: 1em; |
|
|
|
|
|
margin-left: 3em; |
|
|
|
|
|
|
|
|
a { |
|
|
a { |
|
|
margin: 0 0.5em; |
|
|
margin: 0 0.5em; |
|
@ -936,143 +914,145 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.locale { |
|
|
ul.locales { |
|
|
@if capable_of(css3_selectors) { |
|
|
float: left; |
|
|
margin: 0 0.5em; |
|
|
margin: 0; |
|
|
|
|
|
padding: 0; |
|
|
|
|
|
list-style: none; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#select-language { |
|
|
@include breakpoint(medium) { |
|
|
position: absolute; |
|
|
body { |
|
|
visibility: hidden; |
|
|
padding-bottom: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.launch { |
|
|
h2 { |
|
|
display: block; |
|
|
font-size: 2.25em; |
|
|
height: 1.5em; |
|
|
} |
|
|
padding: 0 0.125em; |
|
|
|
|
|
border-radius: 0.1em; |
|
|
|
|
|
background-color: #888; |
|
|
|
|
|
color: #E7E7E7; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
line-height: 1.5em; |
|
|
|
|
|
font-weight: normal; |
|
|
|
|
|
@include font-family(secondary); |
|
|
|
|
|
@include _(transition, 150ms background-color ease-in-out); |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
p { |
|
|
background-color: #333; |
|
|
font-size: 1.4em; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@include after { |
|
|
#main-nav { |
|
|
content: '×'; |
|
|
.logo { |
|
|
display: block; |
|
|
margin-top: 0.25em; |
|
|
position: fixed; |
|
|
font-size: 4.25em; |
|
|
top: 0.5em; |
|
|
} |
|
|
left: -1em; |
|
|
|
|
|
z-index: $zindex-base + 12; |
|
|
|
|
|
color: #333; |
|
|
|
|
|
font-size: 2em; |
|
|
|
|
|
opacity: 0; |
|
|
|
|
|
@include _(transition, 250ms left ease-in-out); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.selector { |
|
|
.nav { |
|
|
position: fixed; |
|
|
position: static; |
|
|
top: 0; |
|
|
font-size: 1.8em; |
|
|
left: 0; |
|
|
display: block; |
|
|
right: 0; |
|
|
text-align: right; |
|
|
bottom: 0; |
|
|
background-color: transparent; |
|
|
padding: 1em 4em; |
|
|
@include _(box-shadow, none); |
|
|
overflow: auto; |
|
|
|
|
|
background-color: $white; |
|
|
form { |
|
|
z-index: $zindex-base + 11; |
|
|
background-color: transparent; |
|
|
@include _(transform, scale(0)); |
|
|
|
|
|
@include _(transform-origin, 6.25em _calc('100% - 2em', 98%)); |
|
|
|
|
|
@include _(transition, 250ms all ease-in-out); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
ul { |
|
|
.nav a, .nav button { |
|
|
list-style: none; |
|
|
width: auto; |
|
|
padding: 0; |
|
|
overflow: visible; |
|
|
|
|
|
margin-left: 0.75em; |
|
|
|
|
|
line-height: 3em; |
|
|
|
|
|
padding: 0 0 1em; |
|
|
|
|
|
color: #333; |
|
|
|
|
|
@include _(box-shadow, none); |
|
|
|
|
|
@include _(text-shadow, none); |
|
|
|
|
|
|
|
|
|
|
|
@include before-and-after { |
|
|
|
|
|
content: ''; |
|
|
|
|
|
display: block; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.33); |
|
|
|
|
|
z-index: -1; |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
text-align: center; |
|
|
border: 0; |
|
|
|
|
|
font-size: 1em; |
|
|
|
|
|
left: -0.51em; |
|
|
|
|
|
right: -0.51em; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
height: 0; |
|
|
|
|
|
width: auto; |
|
|
|
|
|
@include _(opacity, 1); |
|
|
|
|
|
@include _(transition, height 150ms ease-in-out); |
|
|
|
|
|
@include _(transform, rotate(-20deg) scaleX(0.94) scaleY(1.5) translate(-0.5em, -0.5em)); |
|
|
|
|
|
@include _(transform-origin, 0 0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
li { |
|
|
@include after { |
|
|
position: relative; |
|
|
height: 3em; |
|
|
display: inline-block; |
|
|
@include _(opacity, 0.1); |
|
|
min-width: 6em; |
|
|
} |
|
|
margin: 1em; |
|
|
@include before { |
|
|
text-align: center; |
|
|
box-shadow: 0 0 2em -0.5em rgba(#000, 0.75); |
|
|
border-radius: 0.33em; |
|
|
@include _(opacity, 0.33); |
|
|
overflow: hidden; |
|
|
} |
|
|
@include default-box-shadow; |
|
|
|
|
|
@include _(transform, scale(1)); |
|
|
|
|
|
@include _(transition, 100ms transform ease-in-out); |
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
&.current { |
|
|
display: block; |
|
|
z-index: 2; |
|
|
position: static; |
|
|
|
|
|
background-color: $colour-1; |
|
|
|
|
|
font-weight: normal; |
|
|
|
|
|
@include font-family(secondary); |
|
|
|
|
|
line-height: 1.5em; |
|
|
|
|
|
color: $white; |
|
|
|
|
|
|
|
|
|
|
|
@include before { |
|
|
@include before { |
|
|
content: ''; |
|
|
height: 3em; |
|
|
position: absolute; |
|
|
@include _(opacity, 0.67); |
|
|
top: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
z-index: $zindex-base + 2; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
span { |
|
|
&:hover { |
|
|
padding: 1em; |
|
|
@include before { |
|
|
height: 3.25em; |
|
|
height: 3em; |
|
|
display: block; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
&:hover { |
|
|
.nav a { |
|
|
@include _(transform, scale(1.25)); |
|
|
&.policy { |
|
|
|
|
|
background-color: transparent; |
|
|
|
|
|
|
|
|
|
|
|
@include before-and-after { |
|
|
|
|
|
background-color: $colour-5; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#select-language:checked ~ label { |
|
|
&.about { |
|
|
@include after { |
|
|
background-color: transparent; |
|
|
display: block; |
|
|
|
|
|
left: 0.25em; |
|
|
|
|
|
opacity: 1; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#select-language:checked ~ .selector { |
|
|
@include before-and-after { |
|
|
@include _(transform, scale(1)); |
|
|
background-color: $colour-3; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} @else { |
|
|
|
|
|
display: none; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include breakpoint(medium) { |
|
|
.nav a.register, .nav button { |
|
|
h2 { |
|
|
@include before-and-after { |
|
|
font-size: 2.25em; |
|
|
background-color: $colour-2; |
|
|
} |
|
|
} |
|
|
|
|
|
&:focus, &:active { |
|
|
p { |
|
|
@include _(transform, none); |
|
|
font-size: 1.4em; |
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#banner { |
|
|
#banner { |
|
|
|
|
|
margin: 3em auto; |
|
|
|
|
|
|
|
|
figure { |
|
|
figure { |
|
|
min-height: 40em; |
|
|
min-height: 40em; |
|
|
margin: rems(-20) auto rems(2); |
|
|
margin: rems(-20) auto rems(2); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
font-size: 1.9em; |
|
|
|
|
|
margin: 3em 0 1em; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
|
@include _(box-shadow, 0 0 2em -0.5em rgba(0, 0, 0, 0.5)); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#main { |
|
|
#main { |
|
@ -1085,73 +1065,6 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#main-nav { |
|
|
|
|
|
height: rems(6); |
|
|
|
|
|
|
|
|
|
|
|
.nav { |
|
|
|
|
|
height: auto; |
|
|
|
|
|
width: 80%; |
|
|
|
|
|
clear: none; |
|
|
|
|
|
padding-top: rems(1.5); |
|
|
|
|
|
background-color: transparent; |
|
|
|
|
|
overflow: visible; |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
|
display: inline; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
overflow: visible; |
|
|
|
|
|
padding: 0; |
|
|
|
|
|
float: none; |
|
|
|
|
|
width: auto; |
|
|
|
|
|
margin: 0 0.5em 0.75em; |
|
|
|
|
|
font-size: 1em; |
|
|
|
|
|
color: #666; |
|
|
|
|
|
background-color: transparent; |
|
|
|
|
|
@include _(text-shadow, 0 0.125em 0.25em #888); |
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(n) { |
|
|
|
|
|
background-color: transparent; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.current { |
|
|
|
|
|
color: $colour-1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include after { |
|
|
|
|
|
content: ''; |
|
|
|
|
|
display: block; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: -0.1em; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
width: 0; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
opacity: 0; |
|
|
|
|
|
border-bottom: 0.15em solid; |
|
|
|
|
|
@include _(box-shadow, 0 0.075em 0.15em #888); |
|
|
|
|
|
@include _(transition, all 250ms ease-in-out); |
|
|
|
|
|
@include _(transform, none); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:hover, |
|
|
|
|
|
&:active, |
|
|
|
|
|
&:focus { |
|
|
|
|
|
@include after { |
|
|
|
|
|
opacity: 1; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.actions { |
|
|
|
|
|
font-size: 2vw; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#header-title { |
|
|
#header-title { |
|
|
min-height: rems(35); |
|
|
min-height: rems(35); |
|
|
font-size: 1em; |
|
|
font-size: 1em; |
|
@ -1218,21 +1131,33 @@ $header-tilt: 8deg; |
|
|
#footer { |
|
|
#footer { |
|
|
.github { |
|
|
.github { |
|
|
bottom: 0.5em; |
|
|
bottom: 0.5em; |
|
|
left: 4em; |
|
|
//left: 4em; |
|
|
float: left; |
|
|
float: left; |
|
|
|
|
|
margin-right: 1em; |
|
|
|
|
|
margin-left: 0; |
|
|
} |
|
|
} |
|
|
.facebook { |
|
|
.facebook { |
|
|
position: absolute; |
|
|
margin: 0 1em 0 0; |
|
|
left: 0.5em; |
|
|
|
|
|
} |
|
|
|
|
|
.locale { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
left: 2em; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include keyframes(fade-out) { |
|
|
|
|
|
to { @include _(opacity, 0.25); } |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
:focus { |
|
|
|
|
|
@include _(animation, fade-out ease-in-out 500ms infinite alternate both); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@include breakpoint(large) { |
|
|
@include breakpoint(large) { |
|
|
|
|
|
#main-nav { |
|
|
|
|
|
.nav { |
|
|
|
|
|
font-size: 1.9em; |
|
|
|
|
|
margin-top: 0; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#banner { |
|
|
#banner { |
|
|
body.fixed-banner & { |
|
|
body.fixed-banner & { |
|
|
position: fixed; |
|
|
position: fixed; |
|
@ -1247,40 +1172,6 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#main-nav { |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
width: $sidebar-width; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
@include default-box-shadow(left, 2); |
|
|
|
|
|
|
|
|
|
|
|
.nav { |
|
|
|
|
|
text-align: left; |
|
|
|
|
|
padding-top: rems(9); |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
font-size: 1.6em; |
|
|
|
|
|
margin: 0.75em 1em; |
|
|
|
|
|
@include _(transition, color 250ms ease-in-out); |
|
|
|
|
|
|
|
|
|
|
|
&:hover, &:active, &:focus { |
|
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
|
|
|
|
@include before { |
|
|
|
|
|
@include _(opacity, 1) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.actions { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
font-size: 1em; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#main { |
|
|
#main { |
|
|
padding-left: $sidebar-width; |
|
|
padding-left: $sidebar-width; |
|
|
min-height: 100vh; |
|
|
min-height: 100vh; |
|
@ -1297,14 +1188,18 @@ $header-tilt: 8deg; |
|
|
&.short { |
|
|
&.short { |
|
|
h1 { |
|
|
h1 { |
|
|
text-align: left; |
|
|
text-align: left; |
|
|
|
|
|
margin: 0.67em 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#main-nav .logo { |
|
|
|
|
|
font-size: 5em; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
a.logo { |
|
|
a.logo { |
|
|
display: block; |
|
|
display: block; |
|
|
float: none; |
|
|
float: none; |
|
|
font-size: rems(7.5); |
|
|
|
|
|
padding: 0.2em; |
|
|
padding: 0.2em; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -1313,73 +1208,14 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#footer { |
|
|
#footer { |
|
|
position: fixed; |
|
|
|
|
|
z-index: $zindex-base + 2; |
|
|
|
|
|
width: 0; |
|
|
|
|
|
overflow: visible; |
|
|
overflow: visible; |
|
|
padding: 0; |
|
|
padding: 0; |
|
|
top: 0; |
|
|
width: 100%; |
|
|
min-height: 42em; |
|
|
height: 3em; |
|
|
height: 100%; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
|
|
|
|
footer { |
|
|
footer { |
|
|
position: absolute; |
|
|
max-width: $row-width; |
|
|
height: 3.5em; |
|
|
margin: 0 auto; |
|
|
width: $sidebar-width; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
padding: 1em; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.github { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
border-color: transparent; |
|
|
|
|
|
max-width: 2.25em; |
|
|
|
|
|
height: 2.25em; |
|
|
|
|
|
left: 0.5em; |
|
|
|
|
|
bottom: 0.333em; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
color: transparent; |
|
|
|
|
|
padding: 0.333em; |
|
|
|
|
|
line-height: 1.5em; |
|
|
|
|
|
@include _(transition, all 250ms ease-in-out); |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
max-width: _calc('100% - 1em', 100%); |
|
|
|
|
|
color: #333; |
|
|
|
|
|
border-color: #DDD; |
|
|
|
|
|
@include default-box-shadow(top, 2, true); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.icons { |
|
|
|
|
|
float: left; |
|
|
|
|
|
width: 1.5em; |
|
|
|
|
|
height: 1.5em; |
|
|
|
|
|
fill: #333; |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
position: static; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
margin: 0 0.5em; |
|
|
|
|
|
font-size: 0.8em; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
color: inherit; |
|
|
|
|
|
position: static; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
text-decoration: underline; |
|
|
|
|
|
|
|
|
|
|
|
@include after { |
|
|
|
|
|
display: none; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.facebook, .locale { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
left: 2.5em; |
|
|
|
|
|
bottom: 0.25em; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1396,8 +1232,8 @@ $header-tilt: 8deg; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@include header-colour(about, $colour-1); |
|
|
@include header-colour(about, $colour-3); |
|
|
@include header-colour(policy, $colour-3); |
|
|
@include header-colour(policy, $colour-5); |
|
|
|
|
|
|
|
|
#bike_small + label { |
|
|
#bike_small + label { |
|
|
padding: 0.5em 2.5em; |
|
|
padding: 0.5em 2.5em; |
|
@ -1583,6 +1419,10 @@ $header-tilt: 8deg; |
|
|
@include default-box-shadow(top, 2, true); |
|
|
@include default-box-shadow(top, 2, true); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
body.policy .policy-agreement ul { |
|
|
|
|
|
padding: 0 1.5em 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.stats { |
|
|
.stats { |
|
|
list-style: none; |
|
|
list-style: none; |
|
|
|
|
|
|
|
|