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