Trim down lite version even more

This commit is contained in:
2021-07-26 19:22:05 +00:00
parent 600cc9e51f
commit 8f5f042794
7 changed files with 50 additions and 122 deletions

View File

@@ -1,56 +1,8 @@
{% extends "base.html" %}
{% block style %}
.summary {
font-style: italic;
}
.metadata {
color: #555;
}
pre {
font-size: 0.9rem;
line-height: 1.2;
padding: 1rem;
overflow-x: auto;
background-color: #ddd;
}
:not(pre)>code {
padding: 0 2px;
font-size: 0.8rem;
background-color: #ddd;
}
.aside {
display: inline;
float: left;
position: relative;
width: 8rem;
margin-left: -9rem;
font-size: 0.9rem;
}
img {
width: 100%;
height: auto;
}
{% endblock %}
{% block content %}
<h2>{{ article.title }}</h2>
<header>
<div class="summary">
{{ article.summary }}
</div>
<p class="metadata">
{{ article.locale_date }}
{% if article.modified %}
— updated {{ article.locale_modified }}
{% endif %}
</p>
</header>
<hr />
<article>
{{ article.content }}
</article>
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
{% endblock %}