2018-07-18 15:34:18 +02:00
|
|
|
/* color palette: https://coolors.co/23f0c7-ef767a-7765e3-6457a6-ffe347 */
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
@import url('/static/fonts/Route159/Route159.css');
|
2018-06-19 14:10:28 +02:00
|
|
|
@import url('/static/fonts/Lora/Lora.css');
|
|
|
|
@import url('/static/fonts/Playfair_Display/PlayfairDisplay.css');
|
2018-05-19 16:26:56 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* == Global ==
|
|
|
|
*/
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
html, body {
|
2018-05-19 16:26:56 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
a, a:visited {
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #7765E3;
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-07-19 12:00:34 +02:00
|
|
|
small {
|
|
|
|
margin-left: 1em;
|
2018-09-01 16:34:44 +02:00
|
|
|
color: rgba(36, 36, 36, 0.6);
|
2018-07-19 12:00:34 +02:00
|
|
|
font-size: 0.75em;
|
2018-07-27 14:30:51 +02:00
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
2018-07-19 12:00:34 +02:00
|
|
|
}
|
|
|
|
|
2018-07-18 23:37:05 +02:00
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
opacity: 0.6;
|
|
|
|
padding: 5em;
|
|
|
|
}
|
|
|
|
|
2018-07-27 22:16:17 +02:00
|
|
|
.spaced {
|
|
|
|
margin: 4rem 0;
|
|
|
|
}
|
|
|
|
|
2018-09-01 18:39:40 +02:00
|
|
|
.banner {
|
|
|
|
background: #DADADA;
|
|
|
|
padding-top: 2em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
margin: 3em 0px;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == Header ==
|
|
|
|
*/
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
header {
|
2018-09-01 16:11:42 +02:00
|
|
|
background: #ECECEC;
|
|
|
|
}
|
|
|
|
header #content {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2018-09-01 16:11:42 +02:00
|
|
|
header nav#menu {
|
|
|
|
position: relative;
|
2018-05-19 16:26:56 +02:00
|
|
|
display: none;
|
2018-09-01 16:11:42 +02:00
|
|
|
transform: skewX(-15deg);
|
|
|
|
left: -1em;
|
|
|
|
padding: 1em 1em 1em 2em;
|
|
|
|
background: #7765E3;
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
header nav#menu a {
|
|
|
|
transform: skewX(15deg);
|
|
|
|
width: 1.75em;
|
|
|
|
height: 1.75em;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: url("/static/images/boxicon-menu.svg") no-repeat center;
|
|
|
|
background-size: contain;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
header nav {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
header nav hr {
|
2018-06-19 14:10:28 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 0.2em;
|
|
|
|
background: #7765E3;
|
|
|
|
border: none;
|
|
|
|
transform: skewX(-15deg);
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
header nav a {
|
2018-05-19 16:26:56 +02:00
|
|
|
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-06-20 16:39:16 +02:00
|
|
|
header nav a.title {
|
2018-06-19 14:10:28 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0.5em 2em;
|
2018-06-17 22:07:01 +02:00
|
|
|
font-size: 1.75em;
|
2018-05-19 16:26:56 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* == Main ==
|
|
|
|
*/
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
body > main > * {
|
2018-05-19 16:26:56 +02:00
|
|
|
padding: 0 20%;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main h1 {
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Route159";
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
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-06-20 16:39:16 +02:00
|
|
|
main h2 {
|
2018-05-19 16:26:56 +02:00
|
|
|
font-family: "Route159";
|
|
|
|
font-size: 1.75em;
|
|
|
|
font-weight: 300;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-09-04 13:26:13 +02:00
|
|
|
main h2.article {
|
|
|
|
max-width: 40rem;
|
|
|
|
margin: 0.5em auto 1em;
|
|
|
|
color: rgba(36, 36, 36, 0.6);
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == Article ==
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Author */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
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;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-info .author { font-weight: 600; }
|
|
|
|
main .article-info .author a { font-weight: 600; }
|
2018-05-19 16:26:56 +02:00
|
|
|
|
|
|
|
/* Article */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main article {
|
2018-06-17 22:07:01 +02:00
|
|
|
max-width: 40rem;
|
2018-06-19 14:10:28 +02:00
|
|
|
margin: 2.5em 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
|
|
|
}
|
|
|
|
|
2018-06-25 16:03:59 +02:00
|
|
|
article img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Article.Meta */
|
|
|
|
|
2018-07-11 21:27:47 +02:00
|
|
|
main .article-meta, main .article-meta button {
|
2018-05-19 16:26:56 +02:00
|
|
|
padding: 0;
|
|
|
|
font-size: 1.1em;
|
2018-06-21 08:50:17 +02:00
|
|
|
margin-top: 10%;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta > * { margin: 0 20%; }
|
2018-05-19 16:26:56 +02:00
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta > p {
|
2018-05-19 16:26:56 +02:00
|
|
|
margin: 2em 20%;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ~ Likes ~ */
|
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .likes p,
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .reshares p { display: inline-block; margin: 0; }
|
2018-05-19 16:26:56 +02:00
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
/* Like / Reshare button */
|
|
|
|
|
2018-06-25 14:07:28 +02:00
|
|
|
main .article-meta .actions {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
2018-06-17 22:07:01 +02:00
|
|
|
main .article-meta .likes,
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .reshares {
|
2018-06-25 14:07:28 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2018-06-17 22:07:01 +02:00
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
|
2018-06-25 14:07:28 +02:00
|
|
|
main .article-meta .likes > p,
|
|
|
|
main .article-meta .reshares > p {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action,
|
|
|
|
main .article-meta .reshares .action {
|
2018-06-25 14:07:28 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
color: #242424;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
main .article-meta .likes > p,
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action:hover { color: #E92F2F; }
|
2018-06-25 14:07:28 +02:00
|
|
|
main .article-meta .reshares > p,
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .reshares .action:hover { color: #7765E3; }
|
2018-06-25 14:07:28 +02:00
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action i,
|
|
|
|
main .article-meta .reshares .action i {
|
2018-06-25 14:07:28 +02:00
|
|
|
transition: background 0.1s ease-in;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
margin: 0.5em 0;
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action i {
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #E92F2F;
|
2018-06-25 14:07:28 +02:00
|
|
|
border: solid #E92F2F thin;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action:hover i {
|
2018-06-25 14:07:28 +02:00
|
|
|
background: rgba(233, 47, 47, 0.15);
|
|
|
|
}
|
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .reshares .action i {
|
2018-06-17 22:07:01 +02:00
|
|
|
color: #7765E3;
|
2018-06-25 14:07:28 +02:00
|
|
|
border: solid #7765E3 thin;
|
2018-06-17 22:07:01 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .reshares .action:hover i {
|
2018-06-25 14:07:28 +02:00
|
|
|
background: rgba(119, 101, 227, 0.15);
|
|
|
|
}
|
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action.liked i { background: #E92F2F; }
|
|
|
|
main .article-meta .likes .action.liked:hover i {
|
2018-06-25 14:07:28 +02:00
|
|
|
background: rgba(233, 47, 47, 0.25);
|
|
|
|
color: #E92F2F;
|
|
|
|
}
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .reshares .action.reshared i { background: #7765E3; }
|
|
|
|
main .article-meta .reshares .action.reshared:hover i {
|
2018-06-25 14:07:28 +02:00
|
|
|
background: rgba(119, 101, 227, 0.25);
|
|
|
|
color: #7765E3;
|
|
|
|
}
|
|
|
|
|
2018-09-04 14:46:08 +02:00
|
|
|
main .article-meta .likes .action.liked i,
|
|
|
|
main .article-meta .reshares .action.reshared i {
|
2018-06-25 14:07:28 +02:00
|
|
|
color: #F4F4F4;
|
|
|
|
font-weight: 900;
|
2018-05-12 19:59:38 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Comments ~ */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments { margin: 0; }
|
|
|
|
main .article-meta .comments > * { margin-left: 20%; margin-right: 20%; }
|
2018-05-19 16:26:56 +02:00
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
.comments h2 {
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #7765E3;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 600;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-06-30 15:21:05 +02:00
|
|
|
/* New comment */
|
|
|
|
|
|
|
|
main .article-meta .comments form input[type="submit"]
|
|
|
|
{ font-size: 1em; }
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Comment / Respond button */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments a.button:before {
|
2018-05-19 16:26:56 +02:00
|
|
|
content: "";
|
|
|
|
margin-right: 0.5em;
|
|
|
|
color: #7765E3;
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments a.button.liked:before { font-weight: 900; }
|
|
|
|
main .article-meta .comments a.button {
|
2018-05-19 16:26:56 +02:00
|
|
|
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-20 16:39:16 +02:00
|
|
|
main .article-meta .comments a.button:hover { color: #7765E3; }
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Comment button only */
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments > a.button { margin-bottom: 1em; }
|
2018-05-19 16:26:56 +02:00
|
|
|
|
|
|
|
/* == List == */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments .list {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: grid;
|
|
|
|
margin: 0;
|
2018-07-25 18:18:41 +02:00
|
|
|
padding: 0 20%;
|
|
|
|
background: #ECECEC;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Comment ~ */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
.comments .list .comment {
|
2018-07-25 18:18:41 +02:00
|
|
|
padding: 2em;
|
2018-05-19 16:26:56 +02:00
|
|
|
font-size: 1em;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
|
|
|
|
2018-07-25 18:18:41 +02:00
|
|
|
.comments .list > .comment {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
.comments .list .comment .author {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
2018-07-19 12:00:34 +02:00
|
|
|
.comments .list .comment .author * {
|
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
.comments .list .comment .author .display-name {
|
2018-05-19 16:26:56 +02:00
|
|
|
color: #242424;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
.comments .list .comment .author:hover .display-name { color: #7765E3; }
|
2018-07-19 12:00:34 +02:00
|
|
|
.comments .list .comment .author:hover small { opacity: 1; }
|
2018-05-10 22:31:52 +02:00
|
|
|
|
2018-06-20 16:39:16 +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 ==
|
|
|
|
*/
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
label {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: block;
|
2018-07-18 14:14:57 +02:00
|
|
|
margin: 2em auto 1em;
|
2018-06-30 15:21:05 +02:00
|
|
|
font-size: 1.2em;
|
2018-07-18 14:14:57 +02:00
|
|
|
max-width: 40rem;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-07-18 14:14:57 +02:00
|
|
|
input, textarea {
|
2018-05-19 16:26:56 +02:00
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2018-06-30 15:21:05 +02:00
|
|
|
max-width: 40rem;
|
|
|
|
margin: auto;
|
|
|
|
padding: 1em;
|
2018-05-19 16:26:56 +02:00
|
|
|
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;
|
2018-06-30 15:21:05 +02:00
|
|
|
border: solid #DADADA thin;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 400;
|
2018-05-10 22:31:52 +02:00
|
|
|
}
|
2018-06-21 16:33:28 +02:00
|
|
|
form input[type="submit"] { margin: 2em auto; }
|
2018-07-18 14:14:57 +02:00
|
|
|
input:focus, textarea:focus {
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #FAFAFA;
|
2018-06-30 15:21:05 +02:00
|
|
|
border-color: #7765E3;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
textarea {
|
2018-07-18 14:14:57 +02:00
|
|
|
resize: vertical;
|
2018-09-02 22:55:42 +02:00
|
|
|
|
2018-07-18 14:14:57 +02:00
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
2018-07-27 19:05:36 +02:00
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
display: inline;
|
|
|
|
margin: initial;
|
|
|
|
min-width: initial;
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* Button & Submit */
|
|
|
|
|
2018-07-11 21:27:47 +02:00
|
|
|
.button, input[type="submit"], button {
|
2018-05-19 16:26:56 +02:00
|
|
|
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;
|
2018-06-30 15:21:05 +02:00
|
|
|
margin: 0.5em auto;
|
2018-06-17 22:07:01 +02:00
|
|
|
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-07-18 14:14:57 +02:00
|
|
|
input[type="submit"] { display: block; }
|
2018-06-20 16:39:16 +02:00
|
|
|
.button:hover, input[type="submit"]:hover {
|
2018-05-19 16:26:56 +02:00
|
|
|
background: #7765E399;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2018-07-18 15:34:18 +02:00
|
|
|
/* Errors */
|
|
|
|
|
|
|
|
p.error {
|
|
|
|
color: #ef767a;
|
|
|
|
font-weight: bold;
|
|
|
|
max-width: 40rem;
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/*
|
|
|
|
* == New post ==
|
|
|
|
*/
|
2018-05-12 18:55:25 +02:00
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
form.new-post .title {
|
2018-06-30 15:21:05 +02:00
|
|
|
margin: 0 auto;
|
2018-05-19 16:26:56 +02:00
|
|
|
padding: 0.75em 0;
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
font-size: 2em;
|
2018-06-30 15:21:05 +02:00
|
|
|
text-align: left;
|
2018-05-12 18:55:25 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
form.new-post textarea {
|
2018-07-18 14:14:57 +02:00
|
|
|
min-height: 20em;
|
2018-08-30 22:47:25 +02:00
|
|
|
overflow-y: hidden;
|
|
|
|
resize: none;
|
|
|
|
box-sizing: content-box;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
form.new-post input[type="submit"] {
|
2018-06-30 15:21:05 +02:00
|
|
|
background: #ECECEC;
|
2018-05-19 16:26:56 +02:00
|
|
|
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-07-18 14:14:57 +02:00
|
|
|
form.new-post input[type="submit"]:hover { background: #DADADA; }
|
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-20 16:39:16 +02:00
|
|
|
.user h1 {
|
2018-06-17 22:07:01 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-06-20 16:39:16 +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-06-20 16:39:16 +02:00
|
|
|
.cards {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2018-06-25 14:07:28 +02:00
|
|
|
padding: 0 5%;
|
2018-05-12 19:59:38 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
.card {
|
2018-05-19 16:26:56 +02:00
|
|
|
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-07-27 14:30:51 +02:00
|
|
|
|
|
|
|
text-overflow: ellipsis;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
.list .card {
|
|
|
|
/* TODO */
|
2018-06-19 14:10:28 +02:00
|
|
|
background: 0;
|
2018-07-26 16:09:36 +02:00
|
|
|
margin: 2em 0;
|
2018-06-19 14:10:28 +02:00
|
|
|
padding: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2018-05-13 22:33:21 +02:00
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ~ Card content ~ */
|
|
|
|
|
|
|
|
/* Title */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
.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-06-20 16:39:16 +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 */
|
|
|
|
|
2018-06-20 16:39:16 +02:00
|
|
|
.card main {
|
2018-05-19 16:26:56 +02:00
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
font-family: "Lora", serif;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.25em;
|
|
|
|
text-align: left;
|
2018-06-25 14:07:28 +02:00
|
|
|
overflow: hidden;
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 22:16:17 +02:00
|
|
|
/* Presentation */
|
|
|
|
.presentation > h2, .presentation > a {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.presentation > a {
|
|
|
|
font-size: 1.2em;
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Stats */
|
|
|
|
.stats {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
margin: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stats > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-09-03 16:14:39 +02:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2018-07-27 22:16:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.stats em {
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-05-19 16:26:56 +02:00
|
|
|
/* ================= *
|
|
|
|
* Small Screens *
|
|
|
|
* ================= */
|
|
|
|
|
2018-09-03 15:59:02 +02:00
|
|
|
.mobile-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-09-01 16:11:42 +02:00
|
|
|
@media screen and (max-width: 900px) {
|
|
|
|
header {
|
2018-05-19 16:26:56 +02:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-09-02 22:55:42 +02:00
|
|
|
header nav#menu {
|
2018-09-01 16:11:42 +02:00
|
|
|
display: inline-flex;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
|
|
|
|
2018-09-01 16:11:42 +02:00
|
|
|
header #content {
|
2018-05-19 16:26:56 +02:00
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-09-01 16:11:42 +02:00
|
|
|
|
|
|
|
@keyframes menuOpening {
|
|
|
|
from {
|
|
|
|
transform: scaleX(0);
|
|
|
|
transform-origin: left;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: scaleX(1);
|
|
|
|
transform-origin: left;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
|
|
|
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content {
|
2018-09-01 16:11:42 +02:00
|
|
|
position: fixed;
|
2018-05-19 16:26:56 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-09-01 16:11:42 +02:00
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
animation: 0.2s menuOpening;
|
|
|
|
}
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content::before {
|
2018-09-01 16:11:42 +02:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
transform: skewX(-10deg);
|
|
|
|
top: 0;
|
|
|
|
left: -20%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
z-index: -10;
|
|
|
|
|
|
|
|
background: #7765E3;
|
|
|
|
}
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content > nav {
|
2018-09-01 16:11:42 +02:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content > nav a {
|
2018-09-01 16:11:42 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
color: #F4F4F4;
|
|
|
|
font-size: 1.4em;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content > nav a.title {
|
2018-09-01 16:11:42 +02:00
|
|
|
font-size: 1.8em;
|
|
|
|
}
|
2018-09-01 19:14:15 +02:00
|
|
|
header:focus-within #content > nav hr {
|
2018-09-01 16:11:42 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
border: solid #F4F4F4 0.1rem;
|
2018-05-19 16:26:56 +02:00
|
|
|
}
|
|
|
|
|
2018-09-02 22:55:42 +02:00
|
|
|
body > main > * {
|
2018-06-19 14:10:28 +02:00
|
|
|
padding: 0 5%;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta > * { margin: 0 5%; }
|
2018-06-19 14:10:28 +02:00
|
|
|
|
2018-09-02 22:55:42 +02:00
|
|
|
main .article-meta > p {
|
2018-06-19 14:10:28 +02:00
|
|
|
margin: 2em 5%;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2018-06-20 16:39:16 +02:00
|
|
|
main .article-meta .comments > * { margin-left: 5%; margin-right: 5%; }
|
2018-06-19 14:10:28 +02:00
|
|
|
|
2018-09-02 22:55:42 +02:00
|
|
|
.card {
|
2018-05-19 16:26:56 +02:00
|
|
|
min-width: 80%;
|
|
|
|
min-height: 80%;
|
2018-09-03 15:59:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-label {
|
|
|
|
display: initial;
|
|
|
|
}
|
2018-05-13 22:33:21 +02:00
|
|
|
}
|
2018-07-25 14:41:48 +02:00
|
|
|
|
|
|
|
/*== Pagination ==*/
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination > * {
|
|
|
|
padding: 2em;
|
|
|
|
}
|
2018-07-26 16:09:36 +02:00
|
|
|
|
|
|
|
/*== Flex boxes ==*/
|
|
|
|
.flex {
|
|
|
|
display: flex;
|
2018-09-02 22:55:42 +02:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2018-07-26 16:09:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex .grow {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-icon {
|
|
|
|
align-self: center;
|
|
|
|
padding: 1em;
|
|
|
|
background: #DADADA;
|
|
|
|
border-radius: 50px;
|
|
|
|
margin: 1em;
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
2018-07-27 14:08:39 +02:00
|
|
|
|
|
|
|
/*== Footer ==*/
|
|
|
|
body > footer {
|
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: #ECECEC;
|
|
|
|
padding: 0 20%;
|
|
|
|
margin-top: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer * {
|
|
|
|
margin: 5em 0;
|
|
|
|
}
|
2018-09-02 22:55:42 +02:00
|
|
|
|
|
|
|
/** Medias **/
|
|
|
|
|
|
|
|
figure {
|
|
|
|
text-align: center;
|
|
|
|
margin: 2em;
|
|
|
|
max-width: 100%;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure > * {
|
2018-09-02 23:10:15 +02:00
|
|
|
max-width: 100%;
|
2018-09-02 22:55:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview {
|
|
|
|
display: block;
|
|
|
|
max-width: 100px;
|
|
|
|
max-height: 100px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
2018-09-03 15:59:02 +02:00
|
|
|
|
|
|
|
/** Avatars **/
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar.small {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar.medium {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
2018-09-03 16:03:25 +02:00
|
|
|
margin: 20px;
|
2018-09-03 15:59:02 +02:00
|
|
|
}
|
2018-09-03 16:18:54 +02:00
|
|
|
|
|
|
|
.avatar.padded {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|