From 5ce35be787d24bd234d0c0308ec0b0a7771a7313 Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Thu, 4 May 2023 13:53:45 +0000
Subject: [PATCH] drop obsolete CSS rule, fixes #2603

Closes #2603

Merge request studip/studip!1756
---
 .../assets/stylesheets/scss/typography.scss      | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/resources/assets/stylesheets/scss/typography.scss b/resources/assets/stylesheets/scss/typography.scss
index 0c2295d8842..e0ae8657a5f 100644
--- a/resources/assets/stylesheets/scss/typography.scss
+++ b/resources/assets/stylesheets/scss/typography.scss
@@ -37,7 +37,11 @@ h1, h2, h3, h4, h5, h6 {
   color: $headings-color;
 }
 
-h1,
+h1 {
+  margin-top: 0;
+  margin-bottom: calc($line-height-computed / 2);
+}
+
 h2,
 h3 {
   margin-top: $line-height-computed;
@@ -67,16 +71,6 @@ h1, h2 {
 }
 
 
-h1 {
-  margin-top: 0;
-  span:not([style]) {
-    display: block;
-    font-size: calc($font-size-h1 * 0.75);
-    font-weight: calc($headings-font-weight / 7);
-    padding: calc($line-height-computed / 4) 0;
-  }
-}
-
 // Body text
 // -------------------------
 
-- 
GitLab