2019-10-30 11:58:46 +01:00
|
|
|
@import "variables";
|
|
|
|
@import "nav";
|
|
|
|
@import "lists";
|
|
|
|
@import "tags";
|
|
|
|
@import "tables";
|
|
|
|
@import "fonts";
|
|
|
|
|
2020-01-01 21:11:39 +01:00
|
|
|
@media screen and (max-width: 699px){
|
|
|
|
|
2020-01-01 21:28:31 +01:00
|
|
|
main {
|
|
|
|
margin:0;
|
|
|
|
|
|
|
|
&.recipe {
|
|
|
|
padding:1em;
|
|
|
|
border:none;
|
|
|
|
border-radius:0;
|
2020-01-04 12:03:15 +01:00
|
|
|
|
|
|
|
table {
|
|
|
|
float:none;
|
|
|
|
width:100%;
|
2020-02-02 10:48:39 +01:00
|
|
|
margin:0 0 2em 0;
|
2020-01-04 12:03:15 +01:00
|
|
|
}
|
2020-01-01 21:28:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-01 21:11:39 +01:00
|
|
|
main section article {
|
|
|
|
width:$article-width-narrow;
|
|
|
|
margin:$article-margin-narrow;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 700px){
|
|
|
|
|
2020-01-01 21:28:31 +01:00
|
|
|
main {
|
|
|
|
margin:3em auto;
|
|
|
|
|
|
|
|
&.recipe {
|
|
|
|
padding:1em 4em;
|
|
|
|
border:1px solid $border;
|
|
|
|
border-radius:8px;
|
2020-01-04 12:03:15 +01:00
|
|
|
|
|
|
|
table {
|
2020-02-02 10:46:40 +01:00
|
|
|
float:right;
|
2020-01-04 12:03:15 +01:00
|
|
|
width:45%;
|
2020-02-02 10:46:40 +01:00
|
|
|
margin:0 0 2em 2em;
|
2020-01-04 12:03:15 +01:00
|
|
|
}
|
2020-01-01 21:28:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-01 21:11:39 +01:00
|
|
|
main section article {
|
|
|
|
width:$article-width;
|
|
|
|
margin:$article-margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-10-30 11:58:46 +01:00
|
|
|
html, body {
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2020-01-01 18:56:38 +01:00
|
|
|
background:$body-background-image repeat $body-background;
|
2019-10-30 11:58:46 +01:00
|
|
|
color:$body-color;
|
|
|
|
font-family:sofia;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color:$anchor-color;
|
|
|
|
text-decoration:none;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
color:$anchor-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2020-01-01 21:11:39 +01:00
|
|
|
max-width:$main-wrap;
|
|
|
|
padding:$main-padding;
|
2019-10-30 11:58:46 +01:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size:3em;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.recipe {
|
|
|
|
background:$recipe-background;
|
2019-12-24 14:57:47 +01:00
|
|
|
max-width:$recipe-wrap;
|
2019-10-30 11:58:46 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
display:block;
|
|
|
|
margin:0 auto 2em auto;
|
|
|
|
border-radius:5px;
|
|
|
|
border:1px solid $border;
|
|
|
|
}
|
|
|
|
|
2020-01-15 11:07:22 +01:00
|
|
|
h2, h3 { font-size:2em; }
|
2019-10-30 11:58:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
clear:both;
|
|
|
|
border:0;
|
|
|
|
height:1px;
|
|
|
|
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
|
|
|
|
margin:2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
margin-bottom:1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
display:flex;
|
|
|
|
flex-wrap:wrap;
|
|
|
|
justify-content:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
display:flex;
|
|
|
|
flex-direction:column;
|
|
|
|
background:$article-background;
|
|
|
|
border:1px solid $border;
|
|
|
|
border-radius:$article-border-radius;
|
|
|
|
overflow:hidden;
|
2020-01-01 21:11:39 +01:00
|
|
|
box-sizing:border-box;
|
2019-10-30 11:58:46 +01:00
|
|
|
|
2020-01-12 17:51:10 +01:00
|
|
|
&:hover {
|
|
|
|
color:$anchor-hover-color;
|
|
|
|
}
|
|
|
|
|
2019-10-30 11:58:46 +01:00
|
|
|
a {
|
|
|
|
color:$article-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin:.5em .8em;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
align-self:flex-end;
|
|
|
|
margin:.5em;
|
|
|
|
margin-top: auto;
|
|
|
|
color:$article-date-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|