Comments, small tweaks

This commit is contained in:
Sam Potts
2017-10-02 13:55:03 +11:00
parent 2bba1f30e2
commit 6dd010ea34
7 changed files with 61 additions and 43 deletions

View File

@ -52,12 +52,12 @@ a {
text-decoration: none;
color: @link-color;
border-bottom: 1px dotted currentColor;
transition: background .3s ease, color .3s ease, border .3s ease;
transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
&:hover,
&:focus {
color: @gray-dark;
border-bottom-color: rgba(0,0,0,0);
border-bottom-color: rgba(0, 0, 0, 0);
}
&:focus {
.tab-focus();

View File

@ -4,16 +4,18 @@
@font-face {
font-family: "Avenir";
src: url("https://cdn.plyr.io/fonts/avenir-medium.woff2") format("woff2"),
url("https://cdn.plyr.io/fonts/avenir-medium.woff") format("woff");
font-style: normal;
font-weight: @font-weight-base;
src: url("https://cdn.plyr.io/fonts/avenir-medium.woff2") format("woff2"),
url("https://cdn.plyr.io/fonts/avenir-medium.woff") format("woff");
font-style: normal;
font-weight: @font-weight-base;
font-display: swap;
}
@font-face {
font-family: "Avenir";
src: url("https://cdn.plyr.io/fonts/avenir-bold.woff2") format("woff2"),
url("https://cdn.plyr.io/fonts/avenir-bold.woff") format("woff");
font-style: normal;
font-weight: @font-weight-bold;
}
src: url("https://cdn.plyr.io/fonts/avenir-bold.woff2") format("woff2"),
url("https://cdn.plyr.io/fonts/avenir-bold.woff") format("woff");
font-style: normal;
font-weight: @font-weight-bold;
font-display: swap;
}

View File

@ -3,46 +3,46 @@
// ==========================================================================
// Colors
@gray-dark: #343f4a;
@gray: #55646b;
@gray-light: #cbd0d3;
@gray-lighter: #dbe3e8;
@off-white: #f2f5f7;
@gray-dark: #343f4a;
@gray: #55646b;
@gray-light: #cbd0d3;
@gray-lighter: #dbe3e8;
@off-white: #f2f5f7;
@brand-primary: #3498db;
@brand-secondary: #02BD9B;
@brand-primary: #3498db;
@brand-secondary: #02bd9b;
// Brands
@color-twitter: #4BAAF4;
@color-youtube: #cc181e;
@color-vimeo: #19b7ed;
@color-twitter: #4baaf4;
@color-youtube: #cc181e;
@color-vimeo: #19b7ed;
// Base
@body-background: @off-white; //linear-gradient(to left top, @brand-secondary, @brand-primary);
@body-background: @off-white; //linear-gradient(to left top, @brand-secondary, @brand-primary);
// Type
@font-size-base: 16;
@font-size-small: 14;
@font-size-h1: 64;
@font-weight-base: 500;
@font-weight-bold: 700;
@font-size-base: 16;
@font-size-small: 14;
@font-size-h1: 64;
@font-weight-base: 500;
@font-weight-bold: 700;
// Elements
@link-color: @brand-primary;
@padding-base: 20px;
@arrow-size: 8px;
@link-color: @brand-primary;
@padding-base: 20px;
@arrow-size: 8px;
// Icons
@icon-size: 18px;
@icon-size: 18px;
// Breakpoints
@screen-sm: 480px;
@screen-md: 768px;
@screen-sm: 480px;
@screen-md: 768px;
// Radii
@border-radius-base: 4px;
@border-radius-large: 6px;
@border-radius-base: 4px;
@border-radius-large: 6px;
// Examples
@example-width-audio: 520px;
@example-width-video: 1200px;
@example-width-audio: 520px;
@example-width-video: 1200px;