diff --git a/static/css/styles.css b/static/css/styles.css index 632445f..1f4d8cb 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2413,9 +2413,13 @@ details[open] summary ~ *{ border-radius: 20px; } -.news_item>div{ +.news_item>a>div{ margin: 10px; } +.news_item>a{ + color: black; +} + .news_img>img{ object-fit: cover; diff --git a/templates/pages/p_articles.html b/templates/pages/p_articles.html index 4e3a6b1..32732cd 100644 --- a/templates/pages/p_articles.html +++ b/templates/pages/p_articles.html @@ -11,16 +11,18 @@
{% for art in articles %} - +
-
-
{{ art.name }}
-
- {{ art.description|truncatechars:100 }} -
-
+
+
+
{{ art.name }}
+
+ {{ art.description|truncatechars:100 }} +
+
+
- + {#
{{ art.text|safe }}
#} {% endfor %}