summaryrefslogtreecommitdiff
path: root/public/css (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix hidden MathJax outputSheogorath2019-05-301-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>
* Merge pull request #81 from SISheogorath/fix/codemirrorBottomCSSSheogorath2019-05-261-1/+4
|\ | | | | Fix CodeMirror toolbar hiding content
| * Fix CodeMirror toolbar hiding contentSheogorath2019-05-261-1/+4
| | | | | | | | | | | | | | | | | | As it may happens that the codemirror content flows underneath the status bar, this patch should help to avoid it. It adds the size of the status bar as margin-bottom so the codemirror window itself is forced above the statusbar. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Fix hidden header on linkSheogorath2019-05-241-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>
* Fix toolbar day modePedro Ferreira2019-05-122-18/+33
| | | | | | Also moved the code to SCSS Signed-off-by: Pedro Ferreira <pedro@dete.st>
* Fix button background colorSheogorath2019-03-291-1/+1
| | | | | | | | | | When introducing night mode the rule for the background of the view switches seems to be generated from the view button. This patch should change the introduced rule to fix for all default buttons. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Remove dead package octiconSheogorath2018-10-101-18/+19
| | | | | | | | Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #886 from SISheogorath/fix/ToCHeaderChristoph (Sheogorath) Kern2018-07-041-0/+4
|\ | | | | Refactor generation of ToC
| * ToC: Some HTML improvements and style fixesSheogorath2018-07-041-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>
* | Fix some night mode colorsSheogorath2018-07-032-1/+14
|/ | | | | | | | We have some issues with night mode and the font color. This should fix this in the permission table and the delete node modal. As well as some picture styling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add a toolbar to Codemirror editorEdgar Zanella Alvarenga2018-06-191-0/+18
| | | | Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io>
* fix(slide): adjust checkbox sizeliuderchi2018-05-311-1/+2
| | | | | | - to override rules in css/github-extract.css with `!important` already Signed-off-by: liuderchi <liuderchi@gmail.com>
* Fix code blocks color in night modeSheogorath2018-04-051-0/+5
| | | | | | This provides more eye-friendly code boxes when night mode is active. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix modal and panel colors in night modeSheogorath2018-03-291-2/+16
| | | | | | | | Night mode provides a generally, dark interface. This fix provides the needed CSS to also turn modal and panels into night mode design as well. This mainly effects the help modal. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Update styles of details, summary and figureMax Wu2018-02-261-2/+14
| | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* Extend HTML5 support by whitelisting various tagsSheogorath2018-02-251-0/+9
| | | | | | | | | | | | HTML5 provides a wide feature set of useful elements. Since Markdown usually supports HTML it should be able to use these HTML5 tags as well. As they were requested by some users and they where checked for being safe, whitelisting them isn't a problem. To make the experience the same as on GitHub when it comes to the basic look and feel of the rendered markdown, some CSS was added to make the summary and the details tag look like on GitHub. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* :sparkles: Implemented dark theme.Edoardo Odorico2018-01-054-10/+174
| | | | Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
* Externalise trivial inline styles from slide.ejsLiterallie2017-10-231-1/+18
| | | | Dynamic background images need some further work
* Add support of abcjsWu Cheng-Han2017-03-262-6/+12
|
* Add screenshot on index pageWu Cheng-Han2017-01-211-0/+6
|
* Update index layout to add profile on navbarWu Cheng-Han2017-01-161-3/+19
|
* Fix permission dropdown text might out of range in smaller screenWu Cheng-Han2017-01-131-0/+3
|
* Workaround text shadow for font antialias might cause cut off in EdgeWu Cheng-Han2017-01-121-1/+1
|
* Fix slide print-pdf mode scrollbar might be visibleWu Cheng-Han2016-12-181-1/+1
|
* Fix gist-embed styles conflictsWu Cheng-Han2016-12-151-0/+13
|
* Fix reveal fade class conflict with bootstrap tooltip css and scrollbar ↵Wu Cheng-Han2016-12-121-0/+7
| | | | might show up in print mode
* Fix preferences checkbox might not vertical aligned in some browsersWu Cheng-Han2016-12-041-0/+5
|
* Add preferences to editor status bar and make allow override browser keymap ↵Wu Cheng-Han2016-12-041-2/+14
| | | | option
* Update to support optional email register and signinWu Cheng-Han2016-12-021-0/+3
|
* Remove unused css filesWu Cheng-Han2016-11-2810-38934/+0
|
* Fix slide preview styles might overwrite code block stylesWu Cheng-Han2016-11-281-2/+6
|
* Update editor other cursor classes and adding option for other cursors ↵Wu Cheng-Han2016-11-281-11/+2
| | | | features in CodeMirror
* Remove uesless executable permission for static filesPeter Dave Hello2016-11-142-0/+0
|
* Fix index social foot styleWu Cheng-Han2016-11-071-0/+1
|
* Merge pull request #243 from Yukaii/google-font-optional-cdnMax Wu2016-11-043-2/+210
|\ | | | | Google font optional cdn
| * Rename google font cssYukai Huang2016-11-031-0/+0
| |
| * Seperate cdn/local google font cssYukai Huang2016-11-033-2/+210
| |
* | Remove html.min.css since it will be built via webpack afterwardsWu Cheng-Han2016-11-031-1/+0
|/
* Fix slide export pdf styles not applied issue and add shiv and shim for IEWu Cheng-Han2016-10-291-0/+12
|
* Fix to hide duplicated MathML elements in static HTML exportingWu Cheng-Han2016-10-292-1/+5
|
* Fix index select2 input padding and font-family to meet bootstrap input styleWu Cheng-Han2016-10-251-0/+4
|
* Update html.min.css for export html templateWu Cheng-Han2016-10-211-1/+1
|
* Fix markdown styles conflicting bootstrap on p and ul under alert areaWu Cheng-Han2016-10-211-1/+6
|
* Fix index social-foot stylesWu Cheng-Han2016-10-191-1/+2
|
* Fix index styleWu Cheng-Han2016-10-151-1/+1
|
* Update to support wrap syntax for code blockWu Cheng-Han2016-10-141-0/+8
|
* Fix text might get cutoff again for IE and Edge seriesWu Cheng-Han2016-09-181-1/+1
|
* Add support of i18n with related patches and support "en" and "zh" locales ↵Wu Cheng-Han2016-08-191-0/+4
| | | | for now
* Update to hide scrollbar (but scrollable) in the slide modeWu Cheng-Han2016-08-151-0/+19
|
* Update slide mode to show extra info and support url actions and support ↵Wu Cheng-Han2016-08-151-0/+26
| | | | disqus via yaml-metadata