From 3bd089a49dbd86769f2e031c16b166e9e6fd8bae Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Thu, 3 Jun 2021 12:58:09 +0200
Subject: [PATCH] Use semantic html elements in announcements an notifications

---
 aleksis/core/static/style.scss                          | 6 ++++++
 aleksis/core/templates/core/index.html                  | 2 +-
 aleksis/core/templates/core/partials/announcements.html | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/aleksis/core/static/style.scss b/aleksis/core/static/style.scss
index 1e4f6c0fc..2b30ab896 100644
--- a/aleksis/core/static/style.scss
+++ b/aleksis/core/static/style.scss
@@ -517,6 +517,12 @@ th.orderable.desc > a {
   font-weight: 700;
 }
 
+.alert h1 {
+  font-weight: 700;
+  font-size: 17px;
+  margin: auto;
+}
+
 .alert > p, .alert > div {
   margin: 10px;
   padding: 10px;
diff --git a/aleksis/core/templates/core/index.html b/aleksis/core/templates/core/index.html
index 6bbbab8ec..d1606fca9 100644
--- a/aleksis/core/templates/core/index.html
+++ b/aleksis/core/templates/core/index.html
@@ -30,7 +30,7 @@
           </a>
         </div>
 
-        <strong>{{ notification.title }}</strong>
+        <h1>{{ notification.title }}</h1>
         <p>{{ notification.description|linebreaks }}</p>
       </div>
     </div>
diff --git a/aleksis/core/templates/core/partials/announcements.html b/aleksis/core/templates/core/partials/announcements.html
index 2c74bead6..b0032d0dd 100644
--- a/aleksis/core/templates/core/partials/announcements.html
+++ b/aleksis/core/templates/core/partials/announcements.html
@@ -26,7 +26,7 @@
       {% endif %}
 
       <p>
-        <strong>{{ announcement.title }}</strong> <br/>
+        <h1>{{ announcement.title }}</h1>
         {{ announcement.description }}
       </p>
 
-- 
GitLab