diff --git a/theme/static/src/scss/index.scss b/theme/static/src/scss/index.scss index 55e2be7..2e68d1a 100644 --- a/theme/static/src/scss/index.scss +++ b/theme/static/src/scss/index.scss @@ -87,3 +87,15 @@ p a { .highlight.ansi-up { font-weight: 600; } + +.media.category { + .media-left { + min-width: 100px; + height: 100px; + + .image { + width: 100%; + height: 100%; + } + } +} diff --git a/theme/templates/category.html b/theme/templates/category.html index ec1bcfe..a2f1216 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -31,14 +31,12 @@
{% for article in articles|sort(attribute="title") %} -
- {% if article.image %} -
- - - -
- {% endif %} +
+
+ {% if article.image %} +
+ {% endif %} +