HackMD/public/css
Sheogorath c9af13cf34
Fix hidden header on link
When people link a section or use the ToC to scroll to it upwards, it
happens that those become hidden behind the navbar.

This patch adds a little hack from StackOverflow[1] in order to fix this
problem. By adding a pseudo element in front of any field that contains
an id, it's possible to add the needed space.

There was no negative impact found except of marking around the header
areas in the rendered view requires a bit preciser work. This needs some
more detailed testing.

[1]: https://stackoverflow.com/a/24298427

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-24 15:00:41 +02:00
..
ui Fix toolbar day mode 2019-05-12 20:15:46 +02:00
bootstrap-social.css Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
center.css First commit, version 0.2.7 2015-05-04 15:53:29 +08:00
cover.css Add screenshot on index page 2017-01-21 12:52:26 +08:00
extra.css Fix hidden header on link 2019-05-24 15:00:41 +02:00
font.css Seperate cdn/local google font css 2016-11-03 14:20:35 +08:00
github-extract.css Remove dead package octicon 2018-10-10 23:42:41 +02:00
google-font.css Rename google font css 2016-11-03 14:51:04 +08:00
index.css Fix toolbar day mode 2019-05-12 20:15:46 +02:00
markdown.css Fix some night mode colors 2018-07-03 21:25:45 +02:00
mermaid.css Support mermaid in code block diagram and updated all diagram rendering method and styles 2016-03-04 23:26:27 +08:00
site.css Workaround text shadow for font antialias might cause cut off in Edge 2017-01-12 17:13:52 +08:00
slide-preview.css Fix slide preview styles might overwrite code block styles 2016-11-28 02:14:29 +08:00
slide.css fix(slide): adjust checkbox size 2018-05-31 23:44:03 +08:00