Add style to articles

This commit is contained in:
Tanner Collin 2021-07-27 03:56:42 +00:00
parent 2ca498cf20
commit 035a3c2110

View File

@ -1,4 +1,29 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block style %}
<style>
p {
margin: 0;
}
.highlight {
padding: 0.5rem;
overflow-x: auto;
background-color: #eee;
}
:not(pre)>code {
padding: 0 2px;
font-size: 0.8rem;
background-color: #eee;
}
.aside {
display: none;
}
.toc {
display: none;
}
</style>
{% endblock %}
{% block content %} {% block content %}
<h1>{{ article.title }}</h1> <h1>{{ article.title }}</h1>
{{ article.summary }} {{ article.summary }}