diff options
author | Sheogorath | 2019-05-30 19:16:34 +0200 |
---|---|---|
committer | GitHub | 2019-05-30 19:16:34 +0200 |
commit | ac0bcb1c818402e794204bbb22e96e55c535330d (patch) | |
tree | baad24f397658661cd697290e80f9969dec62fd1 /public/css | |
parent | 3eca0a74ae3d87a42acb7c7b8e39e2c389e3c96c (diff) | |
parent | 6f4841dcd27cbf0abec628fdcd4825287a70db07 (diff) |
Merge pull request #94 from SISheogorath/fix/mathjax
Fix hidden MathJax output
Diffstat (limited to '')
-rw-r--r-- | public/css/extra.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/public/css/extra.css b/public/css/extra.css index b36a69fe..d5945ba9 100644 --- a/public/css/extra.css +++ b/public/css/extra.css @@ -384,7 +384,17 @@ small .dropdown a:focus, small .dropdown a:hover { color: #eee; } -*[id]:before { + +/* Prevent linked heading from being hidden underneath navbar. + * Example: http://localhost:3000/features#Editor-Modes would open and + * hide the headline "Editor Modes" underneath the navbar without this CSS rule. + */ +.markdown-body h1[id]:before, +.markdown-body h2[id]:before, +.markdown-body h3[id]:before, +.markdown-body h4[id]:before, +.markdown-body h5[id]:before, +.markdown-body h6[id]:before { display: block; content: " "; margin-top: -55px; |