Change category overview
This commit is contained in:
parent
c028559650
commit
8fe644a993
@ -1,10 +1,16 @@
|
||||
.inner.cover {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#categories {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.inner.cover > span {
|
||||
#categories span {
|
||||
width: 33%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ vim: ts=2 noexpandtab
|
||||
{% set active_page = "categories" %}
|
||||
{% block content %}
|
||||
<link href="{{ url_for("static", filename="css/categories.css") }}" rel="stylesheet">
|
||||
<h2 class="headline">Categories</h2>
|
||||
<div id="categories">
|
||||
{% for category in categories %}
|
||||
<span>
|
||||
<ul>
|
||||
@ -22,4 +24,5 @@ vim: ts=2 noexpandtab
|
||||
</ul>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock content%}
|
||||
|
Loading…
Reference in New Issue
Block a user