2018-08-07 14:46:54 -06:00
|
|
|
@import url(
|
|
|
|
https://fonts.googleapis.com/css?family=Roboto:400,
|
|
|
|
100,
|
|
|
|
100italic,
|
|
|
|
300,
|
|
|
|
300italic,
|
|
|
|
400italic,
|
|
|
|
500,
|
|
|
|
700,
|
|
|
|
900|Roboto+Mono:400,
|
|
|
|
700
|
|
|
|
);
|
2017-12-04 16:42:20 -08:00
|
|
|
|
|
|
|
body {
|
2017-12-06 23:09:33 +01:00
|
|
|
background-color: $shadeBlue;
|
2017-12-04 16:42:20 -08:00
|
|
|
color: $grey;
|
|
|
|
font-family: $roboto;
|
|
|
|
margin: 0;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2017-12-06 23:09:33 +01:00
|
|
|
font-weight: $bold;
|
2017-12-07 10:50:29 +01:00
|
|
|
font-size: 36px;
|
|
|
|
line-height: 48px;
|
2017-12-06 23:09:33 +01:00
|
|
|
margin: 0 0 $small 0;
|
2017-12-04 16:42:20 -08:00
|
|
|
|
|
|
|
@media screen and (min-width: $tablet) {
|
2018-02-27 14:08:26 +01:00
|
|
|
font-size: 42px;
|
|
|
|
line-height: 56px;
|
2017-12-04 16:42:20 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-family: $roboto;
|
2018-02-24 01:12:39 +01:00
|
|
|
font-size: 36px;
|
2017-12-04 16:42:20 -08:00
|
|
|
font-weight: $bold;
|
2017-12-07 10:50:29 +01:00
|
|
|
color: $darkGrey;
|
2018-02-24 01:12:39 +01:00
|
|
|
margin-bottom: $tiny;
|
2017-12-04 16:42:20 -08:00
|
|
|
|
|
|
|
&.subhead {
|
|
|
|
font-weight: $regular;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-family: $roboto;
|
2017-12-07 10:50:29 +01:00
|
|
|
font-size: 18px;
|
2018-02-24 01:12:39 +01:00
|
|
|
font-weight: $bold;
|
|
|
|
line-height: 26px;
|
2017-12-07 14:56:19 +01:00
|
|
|
padding-bottom: $micro;
|
2017-12-04 16:42:20 -08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-08-07 14:46:54 -06:00
|
|
|
p,
|
|
|
|
ul {
|
2018-04-23 17:22:15 -04:00
|
|
|
font-size: 18px;
|
2017-12-06 23:09:33 +01:00
|
|
|
line-height: 26px;
|
2017-12-07 13:27:33 -08:00
|
|
|
margin-top: 0;
|
2017-12-04 16:42:20 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-12-07 00:19:23 +01:00
|
|
|
color: $darkGreen;
|
2017-12-04 16:42:20 -08:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: $bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: $tiny 0 $tiny $small;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contained {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: $display;
|
|
|
|
padding: 0 $small;
|
|
|
|
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
|
|
padding: 0 $medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-07 14:46:54 -06:00
|
|
|
*[class^='btn-'] {
|
2017-12-04 16:42:20 -08:00
|
|
|
border-radius: $borderRadius;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: $roboto;
|
|
|
|
font-size: $tiny;
|
|
|
|
font-weight: $bold;
|
|
|
|
margin: 0;
|
|
|
|
padding: $tiny $small;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&:after {
|
2018-08-07 14:46:54 -06:00
|
|
|
content: '';
|
2017-12-04 16:42:20 -08:00
|
|
|
position: absolute;
|
|
|
|
top: -40%;
|
|
|
|
left: -210%;
|
|
|
|
width: 200%;
|
|
|
|
height: 200%;
|
|
|
|
opacity: 0;
|
|
|
|
transform: rotate(30deg);
|
2018-08-07 14:46:54 -06:00
|
|
|
background: rgba(255, 255, 255, 0.2);
|
2017-12-04 16:42:20 -08:00
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
|
|
|
rgba(255, 255, 255, 0.2) 0%,
|
|
|
|
rgba(255, 255, 255, 0.2) 77%,
|
|
|
|
rgba(255, 255, 255, 0.6) 92%,
|
2018-08-07 14:46:54 -06:00
|
|
|
rgba(255, 255, 255, 0) 100%
|
2017-12-04 16:42:20 -08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:after {
|
|
|
|
opacity: 1;
|
|
|
|
left: 110%;
|
|
|
|
transition-property: left, opacity;
|
|
|
|
transition-duration: 0.6s, 0.1s;
|
|
|
|
transition-timing-function: ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active:after {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
padding: $micro $tiny;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
background-image: linear-gradient(0deg, $lightGreen 14%, $green 94%);
|
|
|
|
color: $darkerGrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
border: 1px solid white;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
border-radius: $borderRadius;
|
2018-04-23 17:22:15 -04:00
|
|
|
line-height: 1 !important;
|
2017-12-04 16:42:20 -08:00
|
|
|
}
|
|
|
|
|
2018-07-25 07:47:26 -04:00
|
|
|
/* fixes overflowing code example in widgets */
|
|
|
|
.widget pre {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-12-04 16:42:20 -08:00
|
|
|
.code,
|
|
|
|
code {
|
|
|
|
font-family: 'Roboto Mono', monospace !important;
|
|
|
|
font-size: 14px;
|
2017-12-07 09:36:43 -08:00
|
|
|
text-transform: none;
|
2018-04-23 17:22:15 -04:00
|
|
|
line-height: 1 !important;
|
2017-12-04 16:42:20 -08:00
|
|
|
}
|