summaryrefslogtreecommitdiff
path: root/public/css/extra.css (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-30Fix hidden MathJax outputSheogorath1-1/+11
In order to have a better experience when linking to headlines based on their ID, a patch[1] introduced a new CSS construct to add some space in front of HTML tags with an id field. Therefore they would no longer be hidden by a visible navbar. This cause a regression bug by moving the rendered mathjax out of its visible area. This patch fixes the problem by restricting the previous change to headlines only. [1]: commit c9af13cf34d1b4d66e4c3a590b875669455122a4 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-24Fix hidden header on linkSheogorath1-0/+8
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>
2018-07-04ToC: Some HTML improvements and style fixesSheogorath1-0/+4
The ToC generated broken HTML with unclosed `<li>` tags. This got fixed as well as some minor optimisation and adding list elements for the subentries so the elements appear in the ToC while scrolling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico1-4/+27
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
2016-10-29Fix to hide duplicated MathML elements in static HTML exportingWu Cheng-Han1-0/+4
2016-08-14Update markdown styles, follow github styles and font familyWu Cheng-Han1-3/+3
2016-08-14Update toc styles to make toc menu always accessible without scrollingWu Cheng-Han1-1/+6
2016-08-02Update to add expand and collapse toggle for TOC, keep showing second level ↵Wu Cheng-Han1-3/+11
TOC if there is only one first level TOC
2016-07-30Update to support slide preview in both modeWu Cheng-Han1-0/+2
2016-07-02Update to make slide mode support all extra syntax and change it's rendering ↵Wu Cheng-Han1-2/+1
engine
2016-04-20Update to support octicon and change header anchor stylesCheng-Han, Wu1-24/+0
2016-01-31Updated to support ja, zh-TW, zh-CN font and removed non-latin font in all ↵Cheng-Han, Wu1-0/+24
default styles to allow font fallbacks
2016-01-17Updated external media layouts, too keep its ratio and enlarge to 100% widthWu Cheng-Han1-5/+45
2016-01-12Support show last change user with profile and support YAML config inside ↵Wu Cheng-Han1-0/+63
the note with robots, lang, dir, breaks options
2015-09-25Updated toc-dropdown margin-topWu Cheng-Han1-1/+1
2015-09-25Added support of print and unselectable styles, updated vimeo and youtube ↵Wu Cheng-Han1-6/+35
parsing method for this
2015-07-02Jump to 0.3.1Wu Cheng-Han1-1/+171
2015-05-04First commit, version 0.2.7Wu Cheng-Han1-0/+47