create post layout styles

main
anna 3 years ago
parent 9aff58530e
commit 4fc4c417c5
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -0,0 +1,13 @@
---
layout: default
---
<small>{{ page.date | date: "%Y-%m-%d" }}</small>
<h2 class="page-title">{{ page.title }}</h2>
{{ content }}
{% if page.tags %}
<small>tags: <em>{{ page.tags | join: ' ' }}</em></small>
{% endif %}

@ -42,6 +42,22 @@ h1, h2, h3, h4, h5, h6 {
color: $color-primary;
}
.page-title {
padding-bottom: 16px;
border-bottom: thin solid rgba(255, 255, 255, 0.2);
}
p, code {
font-size: 1rem;
line-height: 1.5rem;
font-weight: 400;
}
code {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 4px;
}
header h1 {
text-align: center;
margin: 20px 0 0;

Loading…
Cancel
Save