Add style to articles

master
Tanner Collin 3 years ago
parent 2ca498cf20
commit 035a3c2110
  1. 25
      themes/lite/templates/article.html

@ -1,4 +1,29 @@
{% 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 %}
<h1>{{ article.title }}</h1>
{{ article.summary }}

Loading…
Cancel
Save