aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-05-04 13:53:45 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-05-04 13:53:45 +0000
commit7b148af492f6adb5479cc3646c7b62a873e3e52e (patch)
tree2146333ba416434fb6ee4dbb6d87d48c5a73abd7
parent160e7b4faced96286d43a16e79f704707fdcea4f (diff)
drop obsolete CSS rule, fixes #2603
Closes #2603 Merge request studip/studip!1756
-rw-r--r--resources/assets/stylesheets/scss/typography.scss16
1 files changed, 5 insertions, 11 deletions
diff --git a/resources/assets/stylesheets/scss/typography.scss b/resources/assets/stylesheets/scss/typography.scss
index 0c2295d..e0ae865 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
// -------------------------