Tweak styling a bit

This commit is contained in:
Ariejan de Vroom 2018-09-19 14:06:13 +02:00
parent 17b0513d49
commit e85bc8496c
Signed by: ariejan
GPG Key ID: AD739154F713697B
8 changed files with 4089 additions and 537 deletions

View File

@ -1 +1,66 @@
.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-string,.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#a71d5d}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#795da3}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline} .hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto
}
.hljs-comment,
.hljs-meta {
color: #969896
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3
}
.hljs-section,
.hljs-name {
color: #63a35c
}
.hljs-tag {
color: #333333
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3
}
.hljs-addition {
color: #55a532;
background-color: #eaffea
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec
}
.hljs-link {
text-decoration: underline
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,19 +3,86 @@
src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf'); src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf');
} }
html, body, div, span, applet, object, iframe, html,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, body,
a, abbr, acronym, address, big, cite, code, div,
del, dfn, em, img, ins, kbd, q, s, samp, span,
small, strike, strong, sub, tt, var, applet,
b, u, i, center, object,
dl, dt, dd, ol, ul, li, iframe,
fieldset, form, label, legend, h1,
table, caption, tbody, tfoot, thead, tr, th, td, h2,
article, aside, canvas, details, embed, h3,
figure, figcaption, footer, header, hgroup, h4,
menu, nav, output, ruby, section, summary, h5,
time, mark, audio, video { h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -23,25 +90,45 @@ time, mark, audio, video {
font: inherit; font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block; display: block;
} }
body { body {
line-height: 1; line-height: 1;
} }
ol, ul {
ol,
ul {
list-style: none; list-style: none;
} }
blockquote, q {
blockquote,
q {
quotes: none; quotes: none;
} }
blockquote:before, blockquote:after,
q:before, q:after { blockquote:before,
blockquote:after,
q:before,
q:after {
content: ''; content: '';
content: none; content: none;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
@ -52,16 +139,19 @@ table {
*:after { *:after {
box-sizing: border-box; box-sizing: border-box;
} }
a, a,
a:visited, a:visited,
a:focus, a:focus,
a:active { a:active {
text-decoration: none; text-decoration: none;
} }
html { html {
height: 100%; height: 100%;
font-size: 16px; font-size: 16px;
} }
body { body {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -88,9 +178,11 @@ body {
line-height: 1.6; line-height: 1.6;
text-rendering: optimizeLegibility !important; text-rendering: optimizeLegibility !important;
} }
.icon { .icon {
text-rendering: geometricPrecision !important; text-rendering: geometricPrecision !important;
} }
section { section {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -107,6 +199,7 @@ section {
align-items: center; align-items: center;
width: 100%; width: 100%;
} }
.container { .container {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -115,6 +208,7 @@ section {
display: flex; display: flex;
width: 100%; width: 100%;
} }
section.header .container { section.header .container {
-webkit-align-items: center; -webkit-align-items: center;
-moz-align-items: center; -moz-align-items: center;
@ -125,6 +219,7 @@ section.header .container {
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
} }
section.header .content { section.header .content {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -140,10 +235,13 @@ section.header .content {
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
} }
section.header .container .logo { section.header .container .logo {
display: none;
max-width: 100px; max-width: 100px;
margin-left: -2em; margin-left: -2em;
} }
section.header .name { section.header .name {
padding-top: 20px; padding-top: 20px;
font-size: 28px; font-size: 28px;
@ -157,9 +255,11 @@ section.header .name {
color: #333333; color: #333333;
color: #555555; color: #555555;
} }
section.header nav { section.header nav {
margin-bottom: 16px; margin-bottom: 16px;
} }
section.header nav ul { section.header nav ul {
list-style: none; list-style: none;
text-align: center; text-align: center;
@ -169,16 +269,20 @@ section.header nav ul {
display: -ms-inline-flex; display: -ms-inline-flex;
display: inline-flex; display: inline-flex;
} }
section.header nav ul a { section.header nav ul a {
margin-left: 6px; margin-left: 6px;
margin-right: 6px; margin-right: 6px;
} }
section.header nav ul a:first-child { section.header nav ul a:first-child {
margin-left: 0; margin-left: 0;
} }
section.header nav ul a:last-child { section.header nav ul a:last-child {
margin-right: 0; margin-right: 0;
} }
section.header nav ul li { section.header nav ul li {
color: #555555; color: #555555;
font-weight: 400; font-weight: 400;
@ -190,9 +294,11 @@ section.header nav ul li {
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
} }
section.header nav ul li:hover { section.header nav ul li:hover {
color: #111111; color: #111111;
} }
section.footer .container { section.footer .container {
-webkit-align-items: center; -webkit-align-items: center;
-moz-align-items: center; -moz-align-items: center;
@ -206,6 +312,7 @@ section.footer .container {
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
section.footer .container a { section.footer .container a {
font-size: 14px; font-size: 14px;
margin-left: 6px; margin-left: 6px;
@ -216,27 +323,34 @@ section.footer .container a {
-ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
} }
section.footer .container a:first-child { section.footer .container a:first-child {
margin-left: 0; margin-left: 0;
} }
section.footer .container a:last-child { section.footer .container a:last-child {
margin-right: 0; margin-right: 0;
} }
section.footer .container a:hover { section.footer .container a:hover {
opacity: 0.8; opacity: 0.8;
} }
section.footer .container a .icon { section.footer .container a .icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
section.footer .container .copyright { section.footer .container .copyright {
flex-grow: 0.5; flex-grow: 0.5;
text-align: start; text-align: start;
} }
section.footer .container .icons { section.footer .container .icons {
flex-grow: 0.5; flex-grow: 0.5;
text-align: end; text-align: end;
} }
section.main .container { section.main .container {
-webkit-align-items: center; -webkit-align-items: center;
-moz-align-items: center; -moz-align-items: center;
@ -247,10 +361,12 @@ section.main .container {
-ms-justify-content: flex-start; -ms-justify-content: flex-start;
justify-content: flex-start; justify-content: flex-start;
} }
section.main .content { section.main .content {
color: #111111; color: #111111;
font-size: 16px; font-size: 16px;
} }
section.main .content .title-container { section.main .content .title-container {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -262,9 +378,11 @@ section.main .content .title-container {
-ms-justify-content: space-between; -ms-justify-content: space-between;
justify-content: space-between; justify-content: space-between;
} }
section.main .content .posts { section.main .content .posts {
margin-bottom: 4em; margin-bottom: 4em;
} }
section.main .content .page-heading { section.main .content .page-heading {
font-size: 24px; font-size: 24px;
line-height: 1.2em; line-height: 1.2em;
@ -278,9 +396,11 @@ section.main .content .page-heading {
color: #333333; color: #333333;
margin-bottom: 16px; margin-bottom: 16px;
} }
section.main .content .front-matter .page-heading { section.main .content .front-matter .page-heading {
margin-bottom: 0; margin-bottom: 0;
} }
section.main .content .front-matter .meta { section.main .content .front-matter .meta {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
@ -291,6 +411,7 @@ section.main .content .front-matter .meta {
display: flex; display: flex;
margin-bottom: 32px; margin-bottom: 32px;
} }
section.main .content .front-matter .date, section.main .content .front-matter .date,
section.main .content .front-matter .author, section.main .content .front-matter .author,
section.main .content .front-matter .tags, section.main .content .front-matter .tags,
@ -298,15 +419,18 @@ section.main .content .front-matter .word-count,
section.main .content .front-matter .reading-time .middot { section.main .content .front-matter .reading-time .middot {
display: none; display: none;
} }
section.main .content .front-matter .middot { section.main .content .front-matter .middot {
font-size: 6px; font-size: 6px;
margin: 0 6px; margin: 0 6px;
display: inline; display: inline;
vertical-align: middle; vertical-align: middle;
} }
section.main .content .front-matter .middot:before { section.main .content .front-matter .middot:before {
content: "•"; content: "•";
} }
section.main .content .front-matter .tags ul { section.main .content .front-matter .tags ul {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -322,24 +446,29 @@ section.main .content .front-matter .tags ul {
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
} }
section.main .content .front-matter .tags ul li { section.main .content .front-matter .tags ul li {
-webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
} }
section.main .content .front-matter .tags ul li:hover { section.main .content .front-matter .tags ul li:hover {
opacity: 0.7; opacity: 0.7;
} }
section.main .content .front-matter .tags ul li a { section.main .content .front-matter .tags ul li a {
color: #666666; color: #666666;
} }
section.main .container.f04 { section.main .container.f04 {
-webkit-justify-content: center; -webkit-justify-content: center;
-moz-justify-content: center; -moz-justify-content: center;
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
} }
section.main .container.f04 .content { section.main .container.f04 .content {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -355,19 +484,23 @@ section.main .container.f04 .content {
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
} }
section.main .container.f04 .content .num { section.main .container.f04 .content .num {
margin: 30px 0px 30px 0; margin: 30px 0px 30px 0;
font-weight: 400; font-weight: 400;
font-family: 'Helvetica Neue', 'Arial', sans-serif; font-family: 'Helvetica Neue', 'Arial', sans-serif;
font-size: 50px; font-size: 50px;
} }
section.main .container.f04 .content .detail { section.main .container.f04 .content .detail {
margin-bottom: 40px; margin-bottom: 40px;
} }
section.main .container .content .groupby { section.main .container .content .groupby {
margin-top: 1em; margin-top: 1em;
padding-left: 0.5em; padding-left: 0.5em;
} }
section.main .container .content .post-item { section.main .container .content .post-item {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -381,12 +514,14 @@ section.main .container .content .post-item {
display: list-item; display: list-item;
list-style: disc inside; list-style: disc inside;
} }
section.main .container .content .post-item .meta { section.main .container .content .post-item .meta {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
display: none; display: none;
min-width: 100px; min-width: 100px;
} }
section.main .container .content .see-more { section.main .container .content .see-more {
font-style: italic; font-style: italic;
float: right; float: right;
@ -394,28 +529,36 @@ section.main .container .content .see-more {
margin-top: 2em; margin-top: 2em;
color: #313537; color: #313537;
} }
section.main .container .content .see-more:hover { section.main .container .content .see-more:hover {
color: #666; color: #666;
} }
section { section {
padding: 0 16px; padding: 0 16px;
} }
section.header { section.header {
padding-top: 10px; padding-top: 10px;
} }
section.header-home { section.header-home {
padding-top: 36px; padding-top: 36px;
} }
section.main { section.main {
padding-top: 32px; padding-top: 16px;
} }
section.main .container .content .post-item .meta { section.main .container .content .post-item .meta {
display: block; display: block;
} }
section.main .container .content .post-item { section.main .container .content .post-item {
display: flex; display: flex;
list-style: none; list-style: none;
} }
a { a {
color: #428bca; color: #428bca;
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
@ -423,16 +566,20 @@ a {
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72); -o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
} }
a:hover { a:hover {
color: #2a6496; color: #2a6496;
} }
img { img {
max-width: 100%; max-width: 100%;
cursor: pointer; cursor: pointer;
} }
section.main .content { section.main .content {
width: 100%; width: 100%;
} }
section.main .content .markdown { section.main .content .markdown {
font-size: 1.1em; font-size: 1.1em;
line-height: 1.75em; line-height: 1.75em;
@ -440,6 +587,7 @@ section.main .content .markdown {
font-family: serif; font-family: serif;
font-weight: 300; font-weight: 300;
} }
section.main .content .markdown h1, section.main .content .markdown h1,
section.main .content .markdown h2, section.main .content .markdown h2,
section.main .content .markdown h3, section.main .content .markdown h3,
@ -457,18 +605,22 @@ section.main .content .markdown h6 {
text-transform: none; text-transform: none;
margin-top: 1.75rem; margin-top: 1.75rem;
} }
section.main .content .markdown h1 { section.main .content .markdown h1 {
font-size: 1.75rem; font-size: 1.75rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
section.main .content .markdown h2 { section.main .content .markdown h2 {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
section.main .content .markdown h3 { section.main .content .markdown h3 {
font-size: 1em; font-size: 1em;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
section.main .content .markdown h4, section.main .content .markdown h4,
section.main .content .markdown h5, section.main .content .markdown h5,
section.main .content .markdown h6 { section.main .content .markdown h6 {
@ -476,17 +628,20 @@ section.main .content .markdown h6 {
margin-bottom: 1rem; margin-bottom: 1rem;
letter-spacing: none; letter-spacing: none;
} }
section.main .content .markdown code, section.main .content .markdown code,
section.main .content .markdown pre { section.main .content .markdown pre {
font-family: 'Menlo', monospace; font-family: 'Menlo', monospace;
font-size: 0.98rem; font-size: 0.98rem;
background-color: #fff; background-color: #fff;
} }
section.main .content .markdown code { section.main .content .markdown code {
/* enclosed by single backtick (`) */ /* enclosed by single backtick (`) */
padding: .15em .5em; padding: .15em .5em;
border-radius: 2px; border-radius: 2px;
} }
section.main .content .markdown pre { section.main .content .markdown pre {
/* Hugo specific: consider using the 'highlight' shortcode */ /* Hugo specific: consider using the 'highlight' shortcode */
display: block; display: block;
@ -498,56 +653,81 @@ section.main .content .markdown pre {
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
} }
section.main .content .markdown pre code { section.main .content .markdown pre code {
/* enclosed by 4 backticks (````) */ /* enclosed by 4 backticks (````) */
padding: 0; padding: 0;
font-size: 0.9rem; font-size: 0.9rem;
} }
section.main .content .markdown a code { section.main .content .markdown a code {
color: #428bca !important; color: #428bca !important;
} }
section.main .content .markdown a code:hover { section.main .content .markdown a code:hover {
text-decoration: underline; text-decoration: underline;
} }
section.main .content .markdown p { section.main .content .markdown p {
{{if .Site.Params.align_left}} {
{
if .Site.Params.align_left
}
}
text-align: left; text-align: left;
{{else}} {
{
else
}
}
text-align: justify; text-align: justify;
{{end}} {
{
end
}
}
margin-top: 0; margin-top: 0;
margin-bottom: 1em; margin-bottom: 1em;
} }
section.main .content .markdown ul, section.main .content .markdown ul,
section.main .content .markdown ol, section.main .content .markdown ol,
section.main .content .markdown dl { section.main .content .markdown dl {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
section.main .content .markdown dt { section.main .content .markdown dt {
font-weight: bold; font-weight: bold;
} }
section.main .content .markdown dd { section.main .content .markdown dd {
margin-bottom: .5rem; margin-bottom: .5rem;
} }
section.main .content .markdown ul { section.main .content .markdown ul {
list-style-type: disc; list-style-type: disc;
list-style-position: outside; list-style-position: outside;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} }
section.main .content .markdown ol { section.main .content .markdown ol {
list-style-type: decimal; list-style-type: decimal;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} }
section.main .content .markdown li { section.main .content .markdown li {
margin-left: 2em; margin-left: 2em;
} }
section.main .content .markdown em { section.main .content .markdown em {
font-style: italic; font-style: italic;
} }
section.main .content .markdown strong { section.main .content .markdown strong {
font-weight: 700; font-weight: 700;
} }
section.main .content .markdown hr { section.main .content .markdown hr {
position: relative; position: relative;
margin: 1.75rem 0; margin: 1.75rem 0;
@ -555,30 +735,36 @@ section.main .content .markdown hr {
border-top: 1px solid #808080; border-top: 1px solid #808080;
border-top: 1px solid #999999; border-top: 1px solid #999999;
} }
section.main .content .markdown abbr { section.main .content .markdown abbr {
font-size: 0.85rem; font-size: 0.85rem;
font-weight: bold; font-weight: bold;
color: #666666; color: #666666;
text-transform: uppercase; text-transform: uppercase;
} }
section.main .content .markdown abbr[title] { section.main .content .markdown abbr[title] {
cursor: help; cursor: help;
border-bottom: 1px dotted #808080; border-bottom: 1px dotted #808080;
} }
section.main .content .markdown blockquote { section.main .content .markdown blockquote {
padding: .5rem 1rem; padding: .5rem 1rem;
margin: .8rem 0; margin: .8rem 0;
color: #7a7a7a; color: #7a7a7a;
border-left: .25rem solid #e5e5e5; border-left: .25rem solid #e5e5e5;
} }
section.main .content .markdown blockquote p:last-child { section.main .content .markdown blockquote p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
section.main .content .markdown figure { section.main .content .markdown figure {
width: 100%; width: 100%;
background: #fff; background: #fff;
margin-bottom: 1em; margin-bottom: 1em;
} }
section.main .content .markdown figure img { section.main .content .markdown figure img {
width: 100%; width: 100%;
height: auto; height: auto;
@ -587,31 +773,38 @@ section.main .content .markdown figure img {
position: static; position: static;
margin: auto; margin: auto;
} }
section.main .content .markdown table { section.main .content .markdown table {
margin-bottom: 1rem; margin-bottom: 1rem;
width: 100%; width: 100%;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
border-collapse: collapse; border-collapse: collapse;
} }
section.main .content .markdown td, section.main .content .markdown td,
section.main .content .markdown th { section.main .content .markdown th {
padding: .25rem .5rem; padding: .25rem .5rem;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
} }
section.main .content .markdown tbody tr:nth-child(odd) td, section.main .content .markdown tbody tr:nth-child(odd) td,
section.main .content .markdown tbody tr:nth-child(odd) th { section.main .content .markdown tbody tr:nth-child(odd) th {
background-color: #f7f7f7; background-color: #f7f7f7;
} }
section.main .content .markdown .footnotes ol { section.main .content .markdown .footnotes ol {
list-style-type: decimal; list-style-type: decimal;
margin-left: 16px; margin-left: 16px;
} }
section.main .content .markdown .footnotes li { section.main .content .markdown .footnotes li {
list-style-type: unset; list-style-type: unset;
} }
section.main .content .markdown .footnote-ref { section.main .content .markdown .footnote-ref {
font-size: 0.7em; font-size: 0.7em;
} }
section.main .content .navigation { section.main .content .navigation {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -628,6 +821,7 @@ section.main .content .navigation {
align-items: center; align-items: center;
padding: 2em; padding: 2em;
} }
section.main .content .navigation div { section.main .content .navigation div {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
@ -644,10 +838,12 @@ section.main .content .navigation div {
align-items: center; align-items: center;
margin-top: 1em; margin-top: 1em;
} }
section.main .content .navigation .icon { section.main .content .navigation .icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
section.main .content .navigation a { section.main .content .navigation a {
width: 250px; width: 250px;
margin: 0 1em; margin: 0 1em;
@ -655,7 +851,9 @@ section.main .content .navigation a {
font-style: italic; font-style: italic;
color: #313537; color: #313537;
} }
section.main .content .share, section.main .content .share div {
section.main .content .share,
section.main .content .share div {
display: -webkit-flex; display: -webkit-flex;
display: -moz-flex; display: -moz-flex;
display: -ms-flexbox; display: -ms-flexbox;
@ -671,10 +869,12 @@ section.main .content .share, section.main .content .share div {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
section.main .content .share { section.main .content .share {
background-color: rgba(152, 152, 152, 0.07); background-color: rgba(152, 152, 152, 0.07);
padding: 1em 0; padding: 1em 0;
} }
section.main .content .share a { section.main .content .share a {
margin: 0 6px; margin: 0 6px;
} }
@ -703,8 +903,7 @@ section.main .content .share a {
font-family: 'Ubuntu Mono'; font-family: 'Ubuntu Mono';
} }
.book-recommendations { .book-recommendations {}
}
#adblock-detected-message { #adblock-detected-message {
display: none; display: none;

View File

@ -4,82 +4,104 @@ body {
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
} }
.non-narrow.zero-top-spacing { .non-narrow.zero-top-spacing {
padding-top: 0 !important; padding-top: 0 !important;
} }
section { section {
padding: 0 16px; padding: 0 16px;
margin-left: 100px; margin-left: 100px;
margin-right: 100px; margin-right: 100px;
max-width: 750px; max-width: 750px;
} }
section.header { section.header {
background-color: transparent; background-color: transparent;
} }
section.header .container { section.header .container {
-webkit-justify-content: flex-start; -webkit-justify-content: flex-start;
-moz-justify-content: flex-start; -moz-justify-content: flex-start;
-ms-justify-content: flex-start; -ms-justify-content: flex-start;
justify-content: flex-start; justify-content: flex-start;
} }
section.header .container .logo { section.header .container .logo {
display: block;
margin-left: 0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
section.header-home .container .logo { section.header-home .container .logo {
max-width: 180px; max-width: 180px;
margin-left: 0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
section.header-home .name-home {
section.header-home .name {
padding-top: 30px; padding-top: 30px;
font-size: 40px; font-size: 40px;
} }
section.header-home nav ul li { section.header-home nav ul li {
font-size: 18px; font-size: 18px;
} }
section.header .content { section.header .content {
-webkit-align-items: flex-start; -webkit-align-items: flex-start;
-moz-align-items: flex-start; -moz-align-items: flex-start;
-ms-align-items: flex-start; -ms-align-items: flex-start;
align-items: flex-start; align-items: flex-start;
} }
section.header .name { section.header .name {
color: #333333; color: #333333;
} }
section.header nav { section.header nav {
font-size: 14px; font-size: 14px;
margin-bottom: 0; margin-bottom: 0;
} }
section.header nav ul { section.header nav ul {
text-align: left; text-align: left;
} }
section.header nav ul li { section.header nav ul li {
color: #666666; color: #666666;
} }
section.header nav ul li:hover { section.header nav ul li:hover {
color: #333333; color: #333333;
} }
section.footer { section.footer {
background-color: transparent; background-color: transparent;
} }
section.footer .container { section.footer .container {
flex-direction: row; flex-direction: row;
} }
section.footer .container a { section.footer .container a {
margin-left: 3px; margin-left: 3px;
margin-right: 3px; margin-right: 3px;
color: #666666; color: #666666;
} }
section.footer .container a:hover { section.footer .container a:hover {
color: #333333; color: #333333;
} }
section.footer .container a .icon { section.footer .container a .icon {
font-size: 18px; font-size: 18px;
} }
section.footer .container a .icon.larger { section.footer .container a .icon.larger {
font-size: 20px; font-size: 20px;
} }
section.main .content .front-matter .date, section.main .content .front-matter .date,
section.main .content .front-matter .author, section.main .content .front-matter .author,
section.main .content .front-matter .tags, section.main .content .front-matter .tags,
@ -87,61 +109,75 @@ section.main .content .front-matter .word-count,
section.main .content .front-matter .reading-time .middot { section.main .content .front-matter .reading-time .middot {
display: initial; display: initial;
} }
section.main .container.f04 { section.main .container.f04 {
-webkit-justify-content: flex-start; -webkit-justify-content: flex-start;
-moz-justify-content: flex-start; -moz-justify-content: flex-start;
-ms-justify-content: flex-start; -ms-justify-content: flex-start;
justify-content: flex-start; justify-content: flex-start;
} }
section.main .container.f04 .content { section.main .container.f04 .content {
-webkit-align-items: flex-start; -webkit-align-items: flex-start;
-moz-align-items: flex-start; -moz-align-items: flex-start;
-ms-align-items: flex-start; -ms-align-items: flex-start;
align-items: flex-start; align-items: flex-start;
} }
section.main .container.f04 .content .num { section.main .container.f04 .content .num {
margin: 0 0 10px 0; margin: 0 0 10px 0;
font-size: 32px; font-size: 32px;
} }
section.main .container.f04 .content .detail { section.main .container.f04 .content .detail {
margin-bottom: 30px; margin-bottom: 30px;
} }
.container { .container {
padding: 0 30px; padding: 0 30px;
} }
section.header { section.header {
padding-top: 60px; padding-top: 60px;
padding-bottom: 60px; padding-bottom: 60px;
} }
section.footer { section.footer {
padding-top: 30px; padding-top: 30px;
padding-bottom: 60px; padding-bottom: 60px;
} }
section.main { section.main {
padding-top: 0; padding-top: 0;
} }
section.main .container .content .post-item { section.main .container .content .post-item {
display: flex; display: flex;
list-style: none; list-style: none;
padding-left: 1.5em; padding-left: 1.5em;
} }
section.main .container .content .post-item .meta { section.main .container .content .post-item .meta {
display: block; display: block;
} }
section.main.post { section.main.post {
padding-top: 60px; padding-top: 60px;
padding-bottom: 60px; padding-bottom: 60px;
} }
section.main .content .markdown blockquote { section.main .content .markdown blockquote {
padding-right: 5rem; padding-right: 5rem;
padding-left: 1.25rem; padding-left: 1.25rem;
} }
section.main .content .navigation { section.main .content .navigation {
-webkit-flex-direction: row; -webkit-flex-direction: row;
-moz-flex-direction: row; -moz-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
} }
section.main .content .navigation div { section.main .content .navigation div {
margin-top: 0em; margin-top: 0em;
} }

View File

@ -1,15 +1,18 @@
section.main .content .page-heading { section.main .content .page-heading {
font-size: 36px; font-size: 36px;
} }
section.main .content .markdown figure { section.main .content .markdown figure {
width: 110%; width: 110%;
margin-left: -4%; margin-left: -4%;
} }
section.main .content .markdown img { section.main .content .markdown img {
max-width: 110%; max-width: 110%;
width: 110%; width: 110%;
margin-left: -4%; margin-left: -4%;
} }
section.main .content .markdown pre { section.main .content .markdown pre {
width: 110%; width: 110%;
margin-left: -4%; margin-left: -4%;

View File

@ -1 +1,47 @@
.progressive{overflow:hidden;position:relative;background:#efefef}.progressive__img{width:100%;height:100%;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}.progressive--not-loaded{filter:blur(30px);-webkit-filter:blur(30px)}.progressive--is-loaded{filter:blur(20px);-webkit-filter:blur(20px);-webkit-animation:sharpen .5s both;animation:sharpen .5s both}@-webkit-keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}}@keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}} .progressive {
overflow: hidden;
position: relative;
background: #efefef
}
.progressive__img {
width: 100%;
height: 100%;
position: absolute;
-webkit-transform: translateZ(0);
transform: translateZ(0)
}
.progressive--not-loaded {
filter: blur(30px);
-webkit-filter: blur(30px)
}
.progressive--is-loaded {
filter: blur(20px);
-webkit-filter: blur(20px);
-webkit-animation: sharpen .5s both;
animation: sharpen .5s both
}
@-webkit-keyframes sharpen {
from {
filter: blur(20px);
-webkit-filter: blur(20px)
}
to {
filter: blur(0);
-webkit-filter: blur(0)
}
}
@keyframes sharpen {
from {
filter: blur(20px);
-webkit-filter: blur(20px)
}
to {
filter: blur(0);
-webkit-filter: blur(0)
}
}

File diff suppressed because one or more lines are too long