]> git.0d.be Git - panikdb.git/commitdiff
style: add hack to anchor titles after wiki sticky header
authorFrédéric Péters <fpeters@0d.be>
Fri, 4 Sep 2020 12:38:26 +0000 (14:38 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 4 Sep 2020 12:38:26 +0000 (14:38 +0200)
panikdb/static/css/style.scss

index 80b86e905b3e5527236aafceac11b3e3d5f77b86..9baca784c856a79ab8111aeff719e50d4fc33e89 100644 (file)
@@ -892,6 +892,15 @@ div.wiki-section {
                        }
                }
        }
+       h4[id]::before {
+               content: "";
+               display: block;
+               position: relative;
+               width: 0px;
+               height: 10px;
+               margin-top: -60px;
+               height: 60px;
+       }
 }
 
 div#content div.wiki-section > h3 {