]> git.openstreetmap.org Git - rails.git/commitdiff
Remove more header font size overrides
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 19 Dec 2019 16:29:21 +0000 (17:29 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 19 Dec 2019 16:29:21 +0000 (17:29 +0100)
This smooths out inconsistencies in the hierarchies, for example when
using header sizes beyond h3 in profile descriptions.

app/assets/stylesheets/common.scss

index d052ce0a9fdbfb4f38f9d879076fdfbfc1750719..59f81353dcf156a612597462e63ab4b5d69c9f80 100644 (file)
@@ -1382,8 +1382,6 @@ tr.turn:hover {
 
 .content-heading {
   background: $lightgrey;
-
-  h1 { font-size: 22px; }
 }
 
 .content-body {
@@ -1680,7 +1678,6 @@ tr.turn:hover {
     h2 {
       margin-top: 0;
       margin-bottom: $lineheight/2;
-      font-size: 24px;
     }
   }
 
@@ -2309,18 +2306,6 @@ a.button {
     margin-bottom: $lineheight/2;
   }
 
-  h1 {
-    font-size: 24px;
-  }
-
-  h2 {
-    font-size: 18px;
-  }
-
-  h3 {
-    font-size: $typeheight;
-  }
-
   code {
     font-size: 13px;
     background: $lightgrey;