2016-03-10 17:13:54 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
UTILITY CLASSES
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/*
|
|
|
|
Visibility
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for preloading images */
|
|
|
|
|
|
|
|
.load {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.transparent {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html */
|
|
|
|
|
|
|
|
.visually-hidden,
|
|
|
|
.screen-reader-text,
|
|
|
|
.screen-reader-text span,
|
|
|
|
.screen-reader-shortcut {
|
|
|
|
position: absolute !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
height: 1px !important;
|
|
|
|
width: 1px !important;
|
|
|
|
border: 0 !important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:hover .visually-hidden a,
|
|
|
|
body:hover .visually-hidden input,
|
|
|
|
body:hover .visually-hidden button {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* screen readers */
|
|
|
|
|
|
|
|
.screen-reader-text:focus,
|
|
|
|
.screen-reader-shortcut:focus {
|
|
|
|
clip: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
background: #fff;
|
|
|
|
z-index: 100000;
|
|
|
|
text-decoration: none;
|
|
|
|
box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Skip links
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.skip-link {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 20;
|
|
|
|
margin: 0;
|
|
|
|
font-family: $sans-serif;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.skip-link li {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Type
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* center align */
|
|
|
|
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Alignment
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* clearfix */
|
|
|
|
|
|
|
|
.cf { clear: both; }
|
|
|
|
|
2016-03-23 21:34:28 +01:00
|
|
|
.wrapper {
|
|
|
|
@include container();
|
|
|
|
}
|
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Images
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* image align left */
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
.align-left {
|
2016-03-10 17:13:54 +01:00
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
float: left;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* image align right */
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
.align-right {
|
2016-03-10 17:13:54 +01:00
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
float: right;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-15 17:55:19 +01:00
|
|
|
/* file page content container */
|
|
|
|
|
|
|
|
.full {
|
2016-03-16 21:18:37 +01:00
|
|
|
@include breakpoint($large){
|
2016-04-01 03:41:00 +02:00
|
|
|
margin-right: -1 * span(2.5 of 12);
|
2016-03-16 21:18:37 +01:00
|
|
|
}
|
2016-03-15 17:55:19 +01:00
|
|
|
}
|
2016-03-10 17:13:54 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Icons
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: inline-block;
|
|
|
|
fill: currentColor;
|
|
|
|
width: 1em;
|
|
|
|
height: 1.1em;
|
|
|
|
line-height: 1;
|
|
|
|
position: relative;
|
|
|
|
top: -0.1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2016-03-23 03:59:39 +01:00
|
|
|
// social icons
|
|
|
|
|
|
|
|
.social-icons {
|
2016-03-31 04:20:55 +02:00
|
|
|
.fa {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2016-03-23 03:59:39 +01:00
|
|
|
.fa-behance,
|
|
|
|
.fa-behance-square {
|
|
|
|
color: $behance-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-dribbble {
|
|
|
|
color: $dribbble-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-facebook,
|
|
|
|
.fa-facebook-square {
|
|
|
|
color: $facebook-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-twitter,
|
|
|
|
.fa-twitter-square {
|
|
|
|
color: $twitter-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-flickr {
|
|
|
|
color: $flickr-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-foursquare {
|
|
|
|
color: $foursquare-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-github,
|
|
|
|
.fa-github-alt,
|
|
|
|
.fa-github-square {
|
|
|
|
color: $github-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-google-plus,
|
|
|
|
.fa-google-plus-square {
|
|
|
|
color: $google-plus-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-instagram {
|
|
|
|
color: $instagram-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-lastfm,
|
|
|
|
.fa-lastfm-square {
|
|
|
|
color: $lastfm-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-linkedin,
|
|
|
|
.fa-linkedin-square {
|
|
|
|
color: $linkedin-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-pinterest,
|
|
|
|
.fa-pinterest-p,
|
|
|
|
.fa-pinterest-square {
|
|
|
|
color: $pinterest-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-rss,
|
|
|
|
.fa-rss-square {
|
|
|
|
color: $rss-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-soundcloud {
|
|
|
|
color: $soundcloud-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-stack-exchange,
|
|
|
|
.fa-stack-overflow {
|
|
|
|
color: $stackoverflow-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-tumblr,
|
|
|
|
.fa-tumblr-square {
|
|
|
|
color: $tumblr-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-twitter,
|
|
|
|
.fa-twitter-square {
|
|
|
|
color: $twitter-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-vimeo,
|
|
|
|
.fa-vimeo-square {
|
|
|
|
color: $vimeo-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-vine {
|
|
|
|
color: $vine-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-youtube,
|
|
|
|
.fa-youtube-square,
|
|
|
|
.fa-youtube-play {
|
|
|
|
color: $youtube-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-xing,
|
|
|
|
.fa-xing-square {
|
|
|
|
color: $xing-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
|
2016-03-21 21:01:19 +01:00
|
|
|
/*
|
|
|
|
Navicons
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-31 04:20:55 +02:00
|
|
|
$navicon-width : 28px;
|
2016-03-21 21:01:19 +01:00
|
|
|
$navicon-height : 4px;
|
|
|
|
|
|
|
|
.navicon {
|
|
|
|
position: relative;
|
|
|
|
width: $navicon-width;
|
|
|
|
height: $navicon-height;
|
|
|
|
background: #fff;
|
|
|
|
margin: auto;
|
|
|
|
transition: 0.3s;
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
width: $navicon-width;
|
|
|
|
height: $navicon-height;
|
|
|
|
background: #fff;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: (-2 * $navicon-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
bottom: (-2 * $navicon-height);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.close .navicon {
|
|
|
|
// hide the middle line
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
// overlay the lines by setting both their top values to 0
|
|
|
|
&:before, &:after{
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
top: 0;
|
|
|
|
width: $navicon-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
// rotate the lines to form the x shape
|
|
|
|
&:before{
|
|
|
|
transform: rotate3d(0,0,1,45deg);
|
|
|
|
}
|
|
|
|
&:after{
|
|
|
|
transform: rotate3d(0,0,1,-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-17 20:07:30 +01:00
|
|
|
/*
|
|
|
|
Sticky, fixed to top content
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.sticky {
|
2016-03-17 20:38:07 +01:00
|
|
|
@include breakpoint($medium) {
|
2016-03-17 20:07:30 +01:00
|
|
|
@include clearfix();
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 3em;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-17 20:07:30 +01:00
|
|
|
> * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
/*
|
|
|
|
Wells
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.well {
|
|
|
|
min-height: 20px;
|
|
|
|
padding: 19px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border: 1px solid #e3e3e3;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Footnotes
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-31 04:20:55 +02:00
|
|
|
.footnote {
|
|
|
|
color: mix(#fff, $gray, 25%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
.footnotes {
|
2016-03-31 04:20:55 +02:00
|
|
|
color: mix(#fff, $gray, 25%);
|
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
ol, li, p {
|
|
|
|
margin-bottom: 0;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-10 17:13:54 +01:00
|
|
|
}
|
2016-03-24 20:34:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a.reversefootnote {
|
2016-03-31 04:20:55 +02:00
|
|
|
color: $gray;
|
2016-03-24 20:34:29 +01:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
}
|