Minify CSS and JS

parent bc1e79d2
Pipeline #99 passed with stage
in 2 minutes and 7 seconds
......@@ -15,6 +15,7 @@ before_script:
- ./scripts/ci_fix_baseurl.sh
- jekyll build -d public
- ./scripts/purgecss.sh public
- ./scripts/minifycssjs.sh public
deploy-prod:
stage: deploy
......
/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,800);
html {
line-height: 1.15;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/* Sections
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
display: block; }
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main {
/* 1 */
display: block; }
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px; }
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */ }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent;
/* 1 */
-webkit-text-decoration-skip: objects;
/* 2 */ }
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */ }
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit; }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder; }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000; }
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block; }
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0; }
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none; }
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden; }
/* Forms
========================================================================== */
/**
* Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
margin: 0; }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible; }
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none; }
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
/* 2 */ }
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; }
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; }
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */ }
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */ }
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto; }
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */ }
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */ }
/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details,
menu {
display: block; }
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item; }
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block; }
/**
* Add the correct display in IE.
*/
template {
display: none; }
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
display: none; }
/***************
COLOR VARIABLES
***************/
/***************
CONSISTENT SETTINGS
***************/
/***************
TYPE SETTINGS
***************/
/***************
A MORE MODERN SCALE
http://typecast.com/blog/a-more-modern-scale-for-web-typography
***************/
body {
font-size: 1em;
/* equivalent to 16px */
line-height: 1.45;
/* equivalent to 20px */ }
body .intro {
font-size: 1.25em;
line-height: 1.7; }
@media (min-width: 43.75em) {
body {
font-size: 1em;
/* equivalent to 16px */
line-height: 1.375;
/* equivalent to 22px */ } }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
margin: .5rem 0 1.5rem;
font-family: "Open Sans", Helvetica, Arial, sans-serif; }
h1, .h1 {
font-size: 2em;
line-height: 1.25; }
@media (min-width: 43.75em) {
h1, .h1 {
font-size: 2.5em;
line-height: 1.125; } }
@media (min-width: 56.25em) {
h1, .h1 {
font-size: 3em;
line-height: 1.05; } }
h2, .h2 {
font-size: 1.625em;
line-height: 1.15384615; }
@media (min-width: 43.75em) {
h2, .h2 {
font-size: 2em;
line-height: 1.25; } }
@media (min-width: 56.25em) {
h2, .h2 {
font-size: 2.25em;
line-height: 1.25; } }
h3, .h3 {
font-size: 1.375em;
line-height: 1.13636364; }
@media (min-width: 43.75em) {
h3, .h3 {
font-size: 1.5em;
line-height: 1.25; } }
@media (min-width: 56.25em) {
h3, .h3 {
font-size: 1.75em;
line-height: 1.25; } }
h4, .h4 {
font-size: 1.125em;
line-height: 1.11111111; }
@media (min-width: 43.75em) {
h4, .h4 {
line-height: 1.22222222; } }
blockquote {
font-size: 1.25em;
line-height: 1.25;
padding: 0; }
@media (min-width: 43.75em) {
blockquote {
font-size: 1.5em;
line-height: 1.45833333; } }
/***************
TRANSITION
***************/
/* @include transition(all 0.2s ease-in-out); */
/***************
BOX SIZING
***************/
/* @include box-sizing(border-box); */
/***************
CLEAR AFTER FLOATS
***************/
.clearfix {
zoom: 1; }
.clearfix:before, .clearfix:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden; }
.clearfix:after {
clear: both; }
/***************
BUTTON DEFAULTS
***************/
.button, .button-secondary, .button-tertiary, .button__outline {
background-color: seagreen;
display: inline-block;
position: relative;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
text-decoration: none;
color: #fff;
font-size: 1em;
line-height: 1.2em;
font-weight: normal;
padding: .5em 1.5em;
border: 0;
border-radius: 4px;
cursor: pointer;
margin-bottom: .5em;
transition: background-color 0.14s ease-in-out; }
.button:hover, .button-secondary:hover, .button-tertiary:hover, .button__outline:hover, .button:focus, .button-secondary:focus, .button-tertiary:focus, .button__outline:focus {
color: #fff;
text-decoration: none;
background-color: #21653f; }
.button:active, .button-secondary:active, .button-tertiary:active, .button__outline:active {
top: 1px; }
.button-secondary {
background-color: #233E5B; }
.button-secondary:hover {
background-color: #152536; }
.button-tertiary {
background-color: #aaa; }
.button-tertiary:hover {
background-color: #919191; }
.button__outline {
background-color: transparent;
border: 3px solid seagreen;
color: seagreen; }
.button__outline:hover {
background-color: seagreen;
color: #fff; }
/***************
FORM STYLING
***************/
label {
display: block;
margin-bottom: 5px; }
input[type=text], input[type=email], input[type=phone], input[type=password], input[type=number], input[type=search], textarea {
background: #e6e6e6;
padding: 5px;
outline: none;
border: none;
height: 44px;
width: 300px;
margin-bottom: .5rem; }
input[type=text]:focus, input[type=email]:focus, input[type=phone]:focus, input[type=password]:focus, input[type=number]:focus, input[type=search]:focus, textarea:focus {
border: 1px solid seagreen; }
input[type=text].full-width, input[type=email].full-width, input[type=phone].full-width, input[type=password].full-width, input[type=number].full-width, input[type=search].full-width, textarea.full-width {
width: 100%; }
textarea {
height: 132px; }
form {
margin-bottom: 40px; }
form .field {
margin-bottom: 20px; }
form .note {
margin-top: 5px;
color: #aaa; }
form .req {
font-style: italic; }
form .error .reason {
margin-top: 5px;
color: #FF4136; }
form .error input[type=text], form .error input[type=email], form .error input[type=phone], form .error input[type=password], form .error input[type=number], form .error input[type=search], form .error textarea {
border-color: #FF4136; }
/***************
TABLE STYLES
***************/
table {
width: 100%;
border: 1px solid #d0d0d0;
margin-bottom: 1.5em; }
table caption {
margin: 0 0 7px;
font-size: 0.75em;
color: #aaa;
text-transform: uppercase;
letter-spacing: 1px; }
tr {
border-bottom: 1px solid #d0d0d0; }
tr:nth-child(even) {
background-color: #f7f7f7; }
td {
padding: 7px;
border-right: 1px solid #d0d0d0; }
td:last-child {
border-right: 0; }
th {
background-color: #f7f7f7;
border-bottom: 1px solid #d0d0d0;
border-right: 1px solid #d0d0d0; }
th:last-child {
border-right: 0; }
/***************
Darkly Pygments Theme
(c) 2014 Sourcey
http://sourcey.com
***************/
.highlight {
white-space: pre;
overflow: auto;
word-wrap: normal;
/* horizontal scrolling */
border-radius: 3px;
padding: 20px;
background: #343642;
color: #C1C2C3; }
.highlight .hll {
background-color: #ffc; }
.highlight .gd {
color: #2e3436;
background-color: #0e1416; }
.highlight .gr {
color: #eeeeec;
background-color: #c00; }
.highlight .gi {
color: #babdb6;
background-color: #1f2b2d; }
.highlight .go {
color: #2c3032;
background-color: #2c3032; }
.highlight .kt {