2020-04-03 06:30:14 +00:00
|
|
|
body {
|
2020-04-05 10:33:21 +00:00
|
|
|
font-family: "Liberation Sans", "Nimbus Sans", "Arial", "Helvetica", sans-serif;
|
|
|
|
margin: 0;
|
2020-04-03 06:30:14 +00:00
|
|
|
}
|
2020-04-05 08:41:13 +00:00
|
|
|
|
2020-04-03 05:37:20 +00:00
|
|
|
h1 {
|
2020-04-05 16:20:03 +00:00
|
|
|
font-family: serif;
|
2020-04-03 06:30:14 +00:00
|
|
|
text-align: center;
|
2020-04-05 06:34:03 +00:00
|
|
|
font-size: 3em;
|
|
|
|
}
|
2020-04-05 16:20:03 +00:00
|
|
|
h1#logo {
|
|
|
|
font-family: "Playfair Display", serif;
|
|
|
|
}
|
2020-04-05 06:34:03 +00:00
|
|
|
|
2020-04-06 05:03:07 +00:00
|
|
|
#subheading {
|
|
|
|
text-align: center;
|
|
|
|
font-family: serif;
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
|
2020-04-06 12:19:02 +00:00
|
|
|
header, footer {
|
2020-04-05 06:34:03 +00:00
|
|
|
font-family: sans-serif;
|
2020-04-05 10:33:21 +00:00
|
|
|
background: #fafafa;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
2020-04-06 12:19:02 +00:00
|
|
|
footer {
|
|
|
|
margin-top: 20px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
2020-04-05 16:20:03 +00:00
|
|
|
nav {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
nav a {
|
|
|
|
padding: 0 10px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-04-05 10:33:21 +00:00
|
|
|
#header-container {
|
|
|
|
width: 90%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
header h1 {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 1.2em;
|
2020-04-03 06:30:14 +00:00
|
|
|
}
|
2020-04-05 08:41:13 +00:00
|
|
|
#header-logo {
|
|
|
|
height: 32px;
|
2020-04-05 10:33:21 +00:00
|
|
|
width: 32px;
|
2020-04-05 08:41:13 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2020-04-03 06:30:14 +00:00
|
|
|
|
2020-04-05 16:20:03 +00:00
|
|
|
#pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2020-04-05 10:33:21 +00:00
|
|
|
main {
|
2020-04-05 16:20:03 +00:00
|
|
|
max-width: 800px;
|
2020-04-05 10:33:21 +00:00
|
|
|
width: 90%;
|
|
|
|
margin: 0 auto;
|
2020-04-03 06:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* post listings */
|
|
|
|
.post {
|
|
|
|
padding: 5px;
|
|
|
|
margin: 10px 0;
|
|
|
|
border-bottom: thin #aaa solid;
|
|
|
|
}
|
|
|
|
|
2020-04-05 10:33:21 +00:00
|
|
|
a {
|
2020-04-03 06:30:14 +00:00
|
|
|
color: #222;
|
2020-04-05 14:06:25 +00:00
|
|
|
text-decoration-thickness: 3px;
|
|
|
|
text-decoration-skip-ink: none;
|
|
|
|
text-decoration-color: #9fc;
|
2020-04-05 10:33:21 +00:00
|
|
|
}
|
|
|
|
h1 a,
|
2020-04-05 14:06:25 +00:00
|
|
|
h2 a,
|
|
|
|
nav a {
|
2020-04-03 06:30:14 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.post h2 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.post-excerpt h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-04-05 14:06:25 +00:00
|
|
|
p, li {
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
2020-04-03 06:30:14 +00:00
|
|
|
/* post view */
|
2020-04-05 10:33:21 +00:00
|
|
|
|
|
|
|
#post-title {
|
|
|
|
font-family: serif;
|
2020-04-05 14:06:25 +00:00
|
|
|
margin-bottom: 1rem;
|
2020-04-05 10:33:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#post-content h2 {
|
|
|
|
background: linear-gradient(to right, #9fc 0px 5px, transparent 5px 100%);
|
|
|
|
padding-left: 7px;
|
|
|
|
margin-left: -7px;
|
|
|
|
}
|
|
|
|
|
2020-04-03 06:30:14 +00:00
|
|
|
#post-content #post-info {
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
2020-04-05 10:33:21 +00:00
|
|
|
color: #333;
|
2020-04-03 06:30:14 +00:00
|
|
|
}
|
|
|
|
|
2020-04-05 14:06:25 +00:00
|
|
|
.post-nav-link {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2020-04-05 10:33:21 +00:00
|
|
|
/* the content of the posts */
|
2020-04-05 16:20:03 +00:00
|
|
|
#post-body h2 a {
|
|
|
|
opacity: 0.2;
|
|
|
|
transition: 0.2s all;
|
|
|
|
}
|
|
|
|
#post-body h2:hover a {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2020-04-05 14:06:25 +00:00
|
|
|
#post-body > p {
|
|
|
|
text-align: justify;
|
2020-04-05 06:34:03 +00:00
|
|
|
}
|
|
|
|
|
2020-04-05 10:33:21 +00:00
|
|
|
#post-body img {
|
|
|
|
margin: 5px auto;
|
|
|
|
display: block;
|
2020-04-05 14:06:25 +00:00
|
|
|
/* box-shadow: 0 0 10px grey; */
|
|
|
|
}
|
|
|
|
#post-body img,
|
|
|
|
#post-body video {
|
|
|
|
max-width: 800px;
|
2020-04-05 10:33:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#post-body figure.video {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 10px;
|
2020-04-05 14:06:25 +00:00
|
|
|
width: 80%;
|
2020-04-05 10:33:21 +00:00
|
|
|
}
|
|
|
|
#post-body figure.video video {
|
2020-04-05 14:06:25 +00:00
|
|
|
max-width: 100%;
|
2020-04-05 10:33:21 +00:00
|
|
|
}
|
|
|
|
#post-body figure.video figcaption {
|
|
|
|
font-style: italic;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-body aside {
|
|
|
|
background: #404248;
|
|
|
|
color: white;
|
|
|
|
padding: 20px;
|
|
|
|
margin: 5px 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-body blockquote {
|
|
|
|
border-top: thin black solid;
|
|
|
|
border-bottom: thin black solid;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#post-body blockquote::before {
|
|
|
|
content: "Quote";
|
|
|
|
color: #666;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#post-body blockquote p:first-of-type {
|
|
|
|
font-size: 1.3em;
|
|
|
|
text-align: center;
|
|
|
|
font-family: serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-body iframe.mastodon-embed {
|
2020-04-03 06:30:14 +00:00
|
|
|
margin: 0 auto;
|
2020-04-05 10:33:21 +00:00
|
|
|
display: block;
|
|
|
|
border: none;
|
2020-04-05 09:00:21 +00:00
|
|
|
}
|
|
|
|
|
2020-04-05 14:06:25 +00:00
|
|
|
/* related posts */
|
|
|
|
|
|
|
|
.related-post {
|
|
|
|
border: thin black solid;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-related-posts {
|
|
|
|
display: flex;
|
2020-04-05 17:00:57 +00:00
|
|
|
flex-direction: column;
|
2020-04-05 14:06:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.related-post {
|
|
|
|
flex: 1;
|
2020-04-05 17:00:57 +00:00
|
|
|
margin: 5px 0;
|
2020-04-05 14:06:25 +00:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.related-title {
|
|
|
|
text-align: center;
|
|
|
|
font-family: serif;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
2020-04-05 16:20:03 +00:00
|
|
|
/* share post */
|
|
|
|
.post-share {
|
|
|
|
display: inline-block;
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
background: center / contain no-repeat;
|
|
|
|
}
|
|
|
|
.post-share.mastodon {
|
|
|
|
background-image: url('/assets/mastodon.svg');
|
|
|
|
}
|
|
|
|
.post-share.email {
|
|
|
|
background-image: url('/assets/email.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
/* mastodon share popup */
|
2020-04-05 14:06:25 +00:00
|
|
|
|
2020-04-05 09:00:21 +00:00
|
|
|
/* material icons */
|
|
|
|
.material-icons {
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 24px; /* Preferred icon size */
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: none;
|
|
|
|
letter-spacing: normal;
|
|
|
|
word-wrap: normal;
|
|
|
|
white-space: nowrap;
|
|
|
|
direction: ltr;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
|
|
|
/* Support for IE. */
|
|
|
|
font-feature-settings: 'liga';
|
|
|
|
|
|
|
|
/* my own changes */
|
|
|
|
vertical-align: bottom;
|
2020-04-03 05:37:20 +00:00
|
|
|
}
|