mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-26 04:04:27 +02:00
upgrade to Gatsby 0.11
This commit is contained in:
33
static/css/base.css
Normal file
33
static/css/base.css
Normal file
@@ -0,0 +1,33 @@
|
||||
.wrapper {
|
||||
lost-center: 1070px;
|
||||
}
|
||||
.content {
|
||||
lost-column: 2/3;
|
||||
}
|
||||
.main-inner {
|
||||
padding: 40px 35px;
|
||||
}
|
||||
@media screen and (max-width:1100px) {
|
||||
.content {
|
||||
lost-column: 2/4;
|
||||
}
|
||||
.main-inner {
|
||||
padding: 35px 20px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:900px) {
|
||||
.content {
|
||||
lost-column: 7/12;
|
||||
}
|
||||
.main-inner {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:500px) {
|
||||
.content {
|
||||
lost-column: 4/4;
|
||||
}
|
||||
.main-inner {
|
||||
padding: 25px 20px;
|
||||
}
|
||||
}
|
@@ -1,21 +1,188 @@
|
||||
/*! Gatsby Lumen Typography. Based on Gutengerg <- https://github.com/matejlatin/Gutenberg/ -> */
|
||||
html, body {
|
||||
/*
|
||||
Gutenberg: Web Typography Starter Kit
|
||||
Website ....... http://matejlatin.github.io/Gutenberg/
|
||||
Version ....... 1.1
|
||||
Github ........ https://github.com/matejlatin/Gutenberg
|
||||
Authors ....... Matej Latin (@matejlatin)
|
||||
License ....... Creative Commmons Attribution 3.0
|
||||
License URL ... https://raw.githubusercontent.com/matejlatin/Gutenberg/master/license.txt
|
||||
*/
|
||||
|
||||
/* Font themes
|
||||
========================================================================== */
|
||||
@media screen and (min-width:40em) {
|
||||
.floatLeft {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
.floatCenter {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
.floatRight {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
/* Defaults
|
||||
========================================================================== */
|
||||
@media screen and (min-width:40em) {
|
||||
body, html {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
font-size: 100%;
|
||||
font-family: "PT Sans", Georgia, Times, serif;
|
||||
font-family: "Roboto", Arial, sans-serif;
|
||||
color: #222;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
html {
|
||||
font-size: 18px;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
}
|
||||
*, *::before, *::after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
footer {
|
||||
display: block;
|
||||
}
|
||||
body > footer {
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
}
|
||||
header {
|
||||
display: block;
|
||||
}
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Paragraph
|
||||
========================================================================== */
|
||||
/* Links
|
||||
========================================================================== */
|
||||
a {
|
||||
background: transparent;
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
transition: all .3s;
|
||||
}
|
||||
a:active, a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
a:hover {
|
||||
color: #222;
|
||||
}
|
||||
a:active {
|
||||
color: #222;
|
||||
}
|
||||
article {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
article {
|
||||
max-width: 945px;
|
||||
max-width: 52.5rem;
|
||||
}
|
||||
}
|
||||
audio {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
canvas {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
code, kbd, pre, samp {
|
||||
font-family: monospace, monospace;
|
||||
}
|
||||
code {
|
||||
padding: 26px;
|
||||
padding: 1.625rem;
|
||||
display: block;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
code {
|
||||
padding: 31px;
|
||||
padding: 1.722222222222222rem;
|
||||
}
|
||||
}
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
figcaption {
|
||||
line-height: 26px;
|
||||
line-height: 1.625rem;
|
||||
color: #222;
|
||||
display: block;
|
||||
font-size: .8125rem;
|
||||
font-style: italic;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figcaption {
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
figure {
|
||||
display: block;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figure.floatLeft, figure.floatRight {
|
||||
max-width: 315px;
|
||||
max-width: 17.5rem;
|
||||
padding: 0px 31px;
|
||||
padding: 0rem 1.722222222222222rem;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figure.floatLeft blockquote, figure.floatRight blockquote {
|
||||
padding: 0px;
|
||||
padding: 0rem;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figure.floatLeft blockquote p, figure.floatRight blockquote p {
|
||||
font-size: 19.2px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Headings
|
||||
========================================================================== */
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Raleway", Helvetica, Arial, sans-serif;
|
||||
color: #222;
|
||||
}
|
||||
========================================================================== */
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
font-size: 2.5rem;
|
||||
@@ -76,168 +243,7 @@ h6 {
|
||||
margin-bottom: 13px;
|
||||
margin-bottom: 0.8125rem;
|
||||
}
|
||||
h1 + h2 {
|
||||
margin-top: 26px;
|
||||
margin-top: 1.625rem;
|
||||
}
|
||||
h2 + h3, h3 + h4, h4 + h5 {
|
||||
margin-top: 13px;
|
||||
margin-top: 0.8125rem;
|
||||
}
|
||||
h5 + h6 {
|
||||
margin-top: -13px;
|
||||
margin-top: -0.8125rem;
|
||||
}
|
||||
h6 {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
a {
|
||||
color: #5d93ff;
|
||||
text-decoration: none;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
a:hover {
|
||||
border-bottom: 1px solid;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
color: #222;
|
||||
}
|
||||
a:visited:hover {
|
||||
color: #222;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
a:active {
|
||||
color: #222;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
h2 a {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
/* Figures & other elements
|
||||
========================================================================== */
|
||||
figcaption {
|
||||
line-height: 26px;
|
||||
line-height: 1.625rem;
|
||||
color: #222;
|
||||
font-size: .8125rem;
|
||||
font-style: italic;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
padding-left: 1.4375rem;
|
||||
}
|
||||
cite {
|
||||
font-style: normal;
|
||||
}
|
||||
figure blockquote {
|
||||
padding: 31px 0px;
|
||||
padding: 1.722222222222222rem 0rem;
|
||||
text-align: center;
|
||||
}
|
||||
figure blockquote p {
|
||||
font-size: 27px;
|
||||
font-size: 1.6875rem;
|
||||
margin-top: 0;
|
||||
line-height: 46.5px;
|
||||
line-height: 2.583333333333334rem;
|
||||
}
|
||||
figure.floatLeft, figure.floatRight {
|
||||
max-width: 315px;
|
||||
max-width: 17.5rem;
|
||||
padding: 0px 31px;
|
||||
padding: 0rem 1.722222222222222rem;
|
||||
}
|
||||
figure.floatLeft blockquote, figure.floatRight blockquote {
|
||||
text-align: left;
|
||||
padding: 0px;
|
||||
padding: 0rem;
|
||||
}
|
||||
figure.floatLeft blockquote p, figure.floatRight blockquote p {
|
||||
font-size: 19.2px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
}
|
||||
figcaption {
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.floatLeft {
|
||||
float: left;
|
||||
}
|
||||
.floatCenter {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.floatRight {
|
||||
float: right;
|
||||
}
|
||||
ul li, ol li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
hr {
|
||||
margin-top: 52px;
|
||||
margin-top: 3.25rem;
|
||||
margin-bottom: 52px;
|
||||
margin-bottom: 3.25rem;
|
||||
border: 0;
|
||||
color: #222;
|
||||
display: block;
|
||||
height: 26px;
|
||||
height: 1.625rem;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
background-size: 100% 26px;
|
||||
background-size: 100% 1.625rem;
|
||||
background-image: linear-gradient(to bottom, transparent 1px, transparent 11px, #222 11px, #222 15px, transparent 15px, transparent 26px);
|
||||
width: 100px;
|
||||
}
|
||||
small {
|
||||
line-height: 13px;
|
||||
line-height: 0.8125rem;
|
||||
}
|
||||
code {
|
||||
padding: 26px;
|
||||
padding: 1.625rem;
|
||||
}
|
||||
.alignLeft {
|
||||
text-align: left;
|
||||
}
|
||||
.alignCenter {
|
||||
text-align: center;
|
||||
}
|
||||
.alignRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Put your styles below this line
|
||||
========================================================================== */
|
||||
@media screen and (min-width:40em) {
|
||||
|
||||
/* Mixins
|
||||
========================================================================== */
|
||||
body, html {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
html {
|
||||
font-size: 18px;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
article {
|
||||
max-width: 945px;
|
||||
max-width: 52.5rem;
|
||||
}
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
font-size: 2.5rem;
|
||||
@@ -298,74 +304,63 @@ code {
|
||||
margin-bottom: 15.5px;
|
||||
margin-bottom: 0.861111111111111rem;
|
||||
}
|
||||
}
|
||||
h1 + h2 {
|
||||
margin-top: 26px;
|
||||
margin-top: 1.625rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
h1 + h2 {
|
||||
margin-top: 31px;
|
||||
margin-top: 1.722222222222222rem;
|
||||
}
|
||||
}
|
||||
h2 + h3, h3 + h4, h4 + h5 {
|
||||
margin-top: 13px;
|
||||
margin-top: 0.8125rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
h2 + h3, h3 + h4, h4 + h5 {
|
||||
margin-top: 15.5px;
|
||||
margin-top: 0.861111111111111rem;
|
||||
}
|
||||
}
|
||||
h5 + h6 {
|
||||
margin-top: -13px;
|
||||
margin-top: -0.8125rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
h5 + h6 {
|
||||
margin-top: -15.5px;
|
||||
margin-top: -0.861111111111111rem;
|
||||
}
|
||||
figcaption {
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
figure blockquote {
|
||||
padding: 31px 0px;
|
||||
padding: 1.722222222222222rem 0rem;
|
||||
text-align: center;
|
||||
}
|
||||
figure blockquote p {
|
||||
font-size: 27px;
|
||||
font-size: 1.6875rem;
|
||||
margin-top: 0;
|
||||
line-height: 46.5px;
|
||||
line-height: 2.583333333333334rem;
|
||||
}
|
||||
figure.floatLeft, figure.floatRight {
|
||||
max-width: 315px;
|
||||
max-width: 17.5rem;
|
||||
padding: 0px 31px;
|
||||
padding: 0rem 1.722222222222222rem;
|
||||
}
|
||||
figure.floatLeft blockquote, figure.floatRight blockquote {
|
||||
text-align: left;
|
||||
padding: 0px;
|
||||
padding: 0rem;
|
||||
}
|
||||
figure.floatLeft blockquote p, figure.floatRight blockquote p {
|
||||
font-size: 19.2px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
}
|
||||
figcaption {
|
||||
line-height: 31px;
|
||||
line-height: 1.722222222222222rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.floatLeft {
|
||||
float: left;
|
||||
}
|
||||
.floatCenter {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.floatRight {
|
||||
float: right;
|
||||
}
|
||||
blockquote {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
small {
|
||||
line-height: 15.5px;
|
||||
line-height: 0.861111111111111rem;
|
||||
}
|
||||
}
|
||||
h6 {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
hgroup {
|
||||
display: block;
|
||||
}
|
||||
hr {
|
||||
margin-top: 52px;
|
||||
margin-top: 3.25rem;
|
||||
margin-bottom: 52px;
|
||||
margin-bottom: 3.25rem;
|
||||
box-sizing: content-box;
|
||||
border: 0;
|
||||
color: #222;
|
||||
display: block;
|
||||
height: 26px;
|
||||
height: 1.625rem;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
background-size: 100% 26px;
|
||||
background-size: 100% 1.625rem;
|
||||
background-image: linear-gradient(to bottom, transparent 1px, transparent 11px, #222 11px, #222 15px, transparent 15px, transparent 26px);
|
||||
width: 100px;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
hr {
|
||||
margin-top: 62px;
|
||||
margin-top: 3.444444444444445rem;
|
||||
@@ -373,12 +368,147 @@ code {
|
||||
margin-bottom: 3.444444444444445rem;
|
||||
height: 31px;
|
||||
height: 1.722222222222222rem;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
hr {
|
||||
background-size: 100% 31px;
|
||||
background-size: 100% 1.722222222222222rem;
|
||||
background-image: linear-gradient(to bottom, transparent 1px, transparent 13.5px, #222 13.5px, #222 17.5px, transparent 17.5px, transparent 31px);
|
||||
}
|
||||
code {
|
||||
padding: 31px;
|
||||
padding: 1.722222222222222rem;
|
||||
}
|
||||
img {
|
||||
border: 0;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin: inherit auto;
|
||||
}
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
ul li, ol li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
nav {
|
||||
display: block;
|
||||
}
|
||||
progress {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
padding-left: 1.4375rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
blockquote {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
}
|
||||
cite {
|
||||
display: block;
|
||||
font-style: normal;
|
||||
}
|
||||
figure blockquote {
|
||||
padding: 26px 0px;
|
||||
padding: 1.625rem 0rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figure blockquote {
|
||||
padding: 62px 0px 31px;
|
||||
padding: 3.444444444444445rem 0rem 1.722222222222222rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
figure blockquote p {
|
||||
font-size: 27px;
|
||||
font-size: 1.6875rem;
|
||||
line-height: 39px;
|
||||
line-height: 2.4375rem;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
figure blockquote p {
|
||||
font-size: 27px;
|
||||
font-size: 1.6875rem;
|
||||
line-height: 46.5px;
|
||||
line-height: 2.583333333333334rem;
|
||||
}
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
td, th {
|
||||
padding: 0;
|
||||
}
|
||||
[hidden], template {
|
||||
display: none;
|
||||
}
|
||||
abbr {
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
b, strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
em, i {
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
small {
|
||||
line-height: 13px;
|
||||
line-height: 0.8125rem;
|
||||
font-size: 70%;
|
||||
}
|
||||
@media screen and (min-width:40em) {
|
||||
small {
|
||||
line-height: 15.5px;
|
||||
line-height: 0.861111111111111rem;
|
||||
}
|
||||
}
|
||||
sub, sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Paragraph
|
||||
========================================================================== */
|
||||
.attention-grabber {
|
||||
font-size: 19.2px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.alignLeft {
|
||||
text-align: left;
|
||||
}
|
||||
.alignCenter {
|
||||
text-align: center;
|
||||
}
|
||||
.alignRight {
|
||||
text-align: right;
|
||||
}
|
||||
.uppercase {
|
||||
letter-spacing: .1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
video {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
}
|
Reference in New Issue
Block a user