This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin triangle($colour, $size, $direction, $multiplier: 1.5) { | |
width: 0; | |
height: 0; | |
@if ($direction == "up") { | |
border-top: none; | |
border-right: $size solid transparent; | |
border-bottom: ($size * $multiplier) solid $colour; | |
border-left: $size solid transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.video-player { | |
width: 100%; | |
padding-bottom: 56.25%; | |
height: 0; | |
overflow: hidden; | |
position: relative; | |
&__embed { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.table { | |
width: auto; | |
max-width: 100%; | |
border-collapse: separate; | |
border-spacing: 0; | |
th { | |
&:first-child { | |
border-radius: $radius 0 0 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a line break | |
&:after { | |
content: "\A"; | |
white-space: pre; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set base font family as system fonts as outlined in this article: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/#what-to-do-today | |
$base-font-family: -apple-system, BlinkMacSystemFont, | |
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", | |
"Fira Sans", "Droid Sans", "Helvetica Neue", | |
sans-serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaFeatures": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub, sup { | |
/* Specified in % so that the sup/sup is the | |
right size relative to the surrounding text */ | |
font-size: 75%; | |
/* Zero out the line-height so that it doesn't | |
interfere with the positioning that follows */ | |
line-height: 0; | |
/* Where the magic happens: makes all browsers position |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.no-ligatures { | |
font-variant-ligatures: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
# Allow through given IP Address | |
RewriteCond %{REMOTE_ADDR} !^95\.128\.11\.149 | |
# Check for presence of Maintenance Page | |
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f | |
# Check for presence of enable file | |
RewriteCond %{DOCUMENT_ROOT}/maintenance.enable -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff --name-only OLDEST_HASH NEWSEST_HASH > changes.txt |
OlderNewer