2018-05-19 16:26:56 +02:00
|
|
|
@import url('/static/fonts/Route159/Route159.css');
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i|Playfair+Display:400,400i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,latin-ext,vietnamese');
|
|
|
|
|
|
|
|
/*
|
|
|
|
* == Global ==
|
|
|
|
*/
|
|
|
|
|
|
|
|
html, body
|
|
|
|
{
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-06-17 22:07:01 +02:00
|
|
|
background: #F4F4F4;
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #242424;
|
|
|
|
font-family: "Route159", serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
a, a:visited
|
|
|
|
{
|
|
|
|
color: #7765E3;
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* == Header ==
|
|
|
|
*/
|
|
|
|
|
|
|
|
header
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 4em 2em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header #menu
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
header nav
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
header nav a
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
margin: 0 2em;
|
2018-06-17 22:07:01 +02:00
|
|
|
font-size: 1em;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
header nav a.title
|
|
|
|
{
|
|
|
|
margin: 0 0 0 -1em;
|
|
|
|
padding: 0;
|
|
|
|
width: calc(20vw);
|
2018-06-17 22:07:01 +02:00
|
|
|
font-size: 1.75em;
|
2018-05-19 16:26:56 +02:00
|
|
|
border-right: solid #7765E3 0.1em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* == Main ==
|
|
|
|
*/
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
body > main > *
|
|
|
|
{
|
|
|
|
padding: 0 20%;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
main h1
|
|
|
|
{
|
|
|
|
font-family: "Route159";
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
main h1.article
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
max-width: 40rem;
|
|
|
|
margin: 1em auto 0.5em;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: normal;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
main h2
|
|
|
|
{
|
|
|
|
font-family: "Route159";
|
|
|
|
font-size: 1.75em;
|
|
|
|
font-weight: 300;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == Article ==
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Author */
|
|
|
|
|
|
|
|
main .article-info
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
max-width: 40rem;
|
|
|
|
margin: 0 auto 3em;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-size: 0.95em;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
main .article-info .author
|
|
|
|
{ font-weight: 600; }
|
|
|
|
main .article-info .author a
|
|
|
|
{ font-weight: 600; }
|
|
|
|
|
|
|
|
/* Article */
|
|
|
|
|
|
|
|
main article
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
max-width: 40rem;
|
|
|
|
margin: auto;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1.2em;
|
2018-06-17 22:07:01 +02:00
|
|
|
line-height: 1.7em;
|
2018-05-19 16:26:56 +02:00
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Article.Meta */
|
|
|
|
|
|
|
|
main .article-meta
|
|
|
|
{
|
|
|
|
padding: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
main .article-meta > *
|
|
|
|
{ margin: 0 20%; }
|
|
|
|
|
|
|
|
main .article-meta > p
|
|
|
|
{
|
|
|
|
margin: 2em 20%;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ~ Likes ~ */
|
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .likes p,
|
|
|
|
main .article-meta .reshares p
|
2018-05-19 16:26:56 +02:00
|
|
|
{ display: inline-block; margin: 0; }
|
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
/* Like / Reshare button */
|
|
|
|
|
|
|
|
main .article-meta .likes,
|
|
|
|
main .article-meta .reshares
|
|
|
|
{
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
|
|
|
|
main .article-meta .likes a.button:before
|
|
|
|
{
|
|
|
|
content: "";
|
|
|
|
margin-right: 0.5em;
|
|
|
|
color: #E92F2F;
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .reshares a.button:before
|
|
|
|
{
|
|
|
|
content: "";
|
|
|
|
margin-right: 0.5em;
|
|
|
|
color: #7765E3;
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
main .article-meta .likes a.button.liked:before,
|
|
|
|
main .article-meta .reshares a.button.reshared:before
|
2018-05-19 16:26:56 +02:00
|
|
|
{ font-weight: 900; }
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .likes a.button,
|
|
|
|
main .article-meta .reshares a.button
|
2018-05-19 16:26:56 +02:00
|
|
|
{
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 1em;
|
2018-06-17 22:07:01 +02:00
|
|
|
padding: 0;
|
2018-05-19 16:26:56 +02:00
|
|
|
background: none;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
2018-05-12 19:59:38 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
main .article-meta .likes a.button:hover,
|
|
|
|
main .article-meta .likes a.button.liked
|
|
|
|
{ color: #E92F2F; }
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .reshares a.button:hover,
|
|
|
|
main .article-meta .reshares a.button.reshared
|
|
|
|
{ color: #7765E3; }
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Comments ~ */
|
|
|
|
|
|
|
|
main .article-meta .comments
|
|
|
|
{ margin: 0; }
|
|
|
|
main .article-meta .comments > *
|
|
|
|
{ margin-left: 20%; margin-right: 20%; }
|
|
|
|
|
|
|
|
.comments h2
|
|
|
|
{
|
|
|
|
color: #7765E3;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 600;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Comment / Respond button */
|
|
|
|
|
|
|
|
main .article-meta .comments a.button:before
|
|
|
|
{
|
|
|
|
content: "";
|
|
|
|
margin-right: 0.5em;
|
|
|
|
color: #7765E3;
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
main .article-meta .comments a.button.liked:before
|
|
|
|
{ font-weight: 900; }
|
|
|
|
main .article-meta .comments a.button
|
|
|
|
{
|
|
|
|
display: inline-block;
|
2018-06-17 22:07:01 +02:00
|
|
|
padding: 0;
|
2018-05-19 16:26:56 +02:00
|
|
|
background: none;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .comments a.button:hover
|
2018-05-19 16:26:56 +02:00
|
|
|
{ color: #7765E3; }
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Comment button only */
|
|
|
|
main .article-meta .comments > a.button
|
|
|
|
{ margin-bottom: 1em; }
|
|
|
|
|
|
|
|
/* == List == */
|
|
|
|
|
|
|
|
main .article-meta .comments .list
|
|
|
|
{
|
|
|
|
display: grid;
|
|
|
|
margin: 0;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Comment ~ */
|
|
|
|
|
|
|
|
.comments .list .comment
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
background: #ECECEC;
|
2018-05-19 16:26:56 +02:00
|
|
|
padding: 2em 20%;
|
|
|
|
font-size: 1em;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .author
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .author .display-name
|
|
|
|
{
|
|
|
|
transition: color 0.1s ease-in;
|
|
|
|
color: #242424;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .author:hover .display-name
|
|
|
|
{ color: #7765E3; }
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .author .username
|
|
|
|
{
|
|
|
|
transition: color 0.1s ease-in;
|
|
|
|
margin-left: 1em;
|
|
|
|
color: #777777;
|
|
|
|
font-size: 0.9em;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .author:hover .username
|
|
|
|
{ color: #444444; }
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
.comments .list .comment .text
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
padding: 1.25em 0;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
text-align: left;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == Form ==
|
|
|
|
*/
|
|
|
|
|
|
|
|
label
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
input
|
|
|
|
{
|
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0.5em;
|
|
|
|
box-sizing: border-box;
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #F4F4F4;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
|
|
|
border-bottom: solid #DADADA 2px;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
input[type="submit"]
|
|
|
|
{ margin: 2em auto; }
|
|
|
|
input:focus
|
|
|
|
{
|
|
|
|
background: #FAFAFA;
|
|
|
|
border-bottom-color: #7765E3;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 4em;
|
|
|
|
margin: auto;
|
|
|
|
padding: 1em;
|
|
|
|
box-sizing: border-box;
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #F4F4F4;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
|
|
|
resize: vertical;
|
|
|
|
|
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
text-align: justify;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Button & Submit */
|
|
|
|
|
|
|
|
.button, input[type="submit"]
|
|
|
|
{
|
|
|
|
transition: all 0.1s ease-in;
|
2018-06-17 22:07:01 +02:00
|
|
|
display: inline-block;
|
2018-05-19 16:26:56 +02:00
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
border-radius: 0.5em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0.75em 1em;
|
|
|
|
|
|
|
|
background: transparent;
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #7765E3;
|
|
|
|
border: 1px solid #7765E3;
|
|
|
|
|
|
|
|
cursor: pointer;
|
2018-05-10 20:01:16 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.button:hover, input[type="submit"]:hover
|
|
|
|
{
|
|
|
|
background: #7765E399;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* == New post ==
|
|
|
|
*/
|
2018-05-12 18:55:25 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
form.new-post .title
|
|
|
|
{
|
|
|
|
padding: 0.75em 0;
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
font-size: 2em;
|
2018-05-12 18:55:25 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
form.new-post textarea
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
min-height: 8em;
|
2018-05-19 16:26:56 +02:00
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
form.new-post input[type="submit"]
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
display: block;
|
|
|
|
margin: 1em auto;
|
2018-05-19 16:26:56 +02:00
|
|
|
width: 60%;
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #DADADA;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == User ==
|
|
|
|
*/
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
.user h1
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.badge
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
margin-left: 1em;
|
|
|
|
padding: 0.35em 1em;
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #F4F4F4;
|
|
|
|
color: #7765E3;
|
|
|
|
border: 1px solid #7765E3;
|
|
|
|
border-radius: 1em;
|
2018-06-17 22:07:01 +02:00
|
|
|
|
|
|
|
font-size: 1rem;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == Blog index ==
|
|
|
|
*/
|
2018-05-12 19:59:38 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
.cards
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2018-05-12 19:59:38 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.card
|
|
|
|
{
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
min-width: 17.5em;
|
|
|
|
min-height: 17.5em;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
box-sizing: border-box;
|
2018-05-13 22:33:21 +02:00
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
background: #E3E3E3;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
2018-06-17 22:07:01 +02:00
|
|
|
.list .card
|
|
|
|
{ min-height: 0; }
|
2018-05-13 22:33:21 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Card content ~ */
|
|
|
|
|
|
|
|
/* Title */
|
|
|
|
|
|
|
|
.card h3
|
|
|
|
{
|
2018-06-17 22:07:01 +02:00
|
|
|
margin: 0.75em 0;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
font-size: 1.75em;
|
|
|
|
font-weight: normal;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
.card h3 a
|
|
|
|
{ transition: color 0.1s ease-in; color: #242424; }
|
|
|
|
.card h3 a:hover
|
|
|
|
{ color: #7765E3; }
|
2018-05-13 22:33:21 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Content */
|
|
|
|
|
|
|
|
.card main
|
|
|
|
{
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.25em;
|
|
|
|
text-align: left;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ================= *
|
|
|
|
* Small Screens *
|
|
|
|
* ================= */
|
|
|
|
|
|
|
|
@media screen and (max-width: 500px)
|
|
|
|
{
|
|
|
|
header
|
|
|
|
{
|
|
|
|
padding: 1em;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
header #menu
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
header > nav
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
header nav a, header nav a.title
|
|
|
|
{ padding: 0.5em; }
|
|
|
|
header nav a.title
|
|
|
|
{
|
|
|
|
width: 100vw;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
font-size: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header:focus-within > nav
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card
|
|
|
|
{
|
|
|
|
min-width: 80%;
|
|
|
|
min-height: 80%;
|
|
|
|
}
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|