summaryrefslogtreecommitdiff
path: root/public/css (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-28Improved CSS in night-modeErik Michelson1-19/+8
A general invert-filter is applied to all pre elements in night mode. As diagrams are embedded inside pre tags, they're inverted as well. For sequence-diagrams and flow-charts this looks well, if we wouldn't additionally set the stroke and text color to white in night-mode. These additional white rules invert the already inverted diagram again and make it not good visible. The graphviz and abc embeddings aren't really optimized to be inverted, therefore they're now excluded from invertion and stay in day mode. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-01-14fixed a problem that the last line of code becomes covered by status bar and ↵Philip Molares1-1/+1
can't be moved without changing the note. Thanks to @mhdrone for reporting this and suggesting the fix fixes #724 Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-16Fix image width on mobile view for front pageTilman Vatteroth1-1/+5
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-14Replace CodiMD with HedgeDocErik Michelson1-0/+15
Signed-off-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in public/views Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in README Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in SECURITY.md Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in LICENSE Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in docs/configuration.md Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in bin/setup Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in docs/guides Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in docs/dev Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in docs/guides/auth Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in docs/setup Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update various links in code to the new GitHub org. Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: codiMDVersion.js is now hedgeDocVersion.js Signed-off-by: David Mehren <git@herrmehren.de> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: References in docs/setup/yunohost Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rebrand to HedgeDoc: Add banner and logo Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Update links in docs/guides/migrate-etherpad Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Remove note in docs/guides/auth/github Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Replace links in public/docs/features Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Add todo placeholder in docs/history Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Replace github link in public/views/index/body Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Replace github link in README Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Add logo to README Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Rename to HedgeDoc: Add note about the renaming to the front page Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Removed Travis from README.md and change CodiMD to HedgeDoc in some places Signed-off-by: Yannick Bungers <git@innay.de> Some more renaming to HedgeDoc - Fixed capitalization of HedgeDoc - Added renaming for etherpad migration doc Signed-off-by: Yannick Bungers <git@innay.de> Changed Repo name to hedgedoc Signed-off-by: Yannick Bungers <git@innay.de>
2020-03-23Make "transform-style: preserve-3d;" screen-only.Marvin Gaube1-2/+4
Signed-off-by: Marvin Gaube <dev@marvingaube.de>
2020-01-15Fix font path when useCND is false and `urlPath` is usedEnrico Guiraud1-26/+26
Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
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-30fixed styling of slides previewToma Tasovac1-0/+61
Signed-off-by: Toma Tasovac <ttasovac@humanistika.org>
2019-05-26Fix CodeMirror toolbar hiding contentSheogorath1-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>
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>
2019-05-12Fix toolbar day modePedro Ferreira2-18/+33
Also moved the code to SCSS Signed-off-by: Pedro Ferreira <pedro@dete.st>
2019-03-29Fix button background colorSheogorath1-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>
2018-10-10Remove dead package octiconSheogorath1-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>
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-07-03Fix some night mode colorsSheogorath2-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>
2018-06-19Add a toolbar to Codemirror editorEdgar Zanella Alvarenga1-0/+18
Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io>
2018-05-31fix(slide): adjust checkbox sizeliuderchi1-1/+2
- to override rules in css/github-extract.css with `!important` already Signed-off-by: liuderchi <liuderchi@gmail.com>
2018-04-05Fix code blocks color in night modeSheogorath1-0/+5
This provides more eye-friendly code boxes when night mode is active. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-29Fix modal and panel colors in night modeSheogorath1-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>
2018-02-26Update styles of details, summary and figureMax Wu1-2/+14
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-25Extend HTML5 support by whitelisting various tagsSheogorath1-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>
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico4-10/+174
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
2017-10-23Externalise trivial inline styles from slide.ejsLiterallie1-1/+18
Dynamic background images need some further work
2017-03-26Add support of abcjsWu Cheng-Han2-6/+12
2017-01-21Add screenshot on index pageWu Cheng-Han1-0/+6
2017-01-16Update index layout to add profile on navbarWu Cheng-Han1-3/+19
2017-01-13Fix permission dropdown text might out of range in smaller screenWu Cheng-Han1-0/+3
2017-01-12Workaround text shadow for font antialias might cause cut off in EdgeWu Cheng-Han1-1/+1
2016-12-18Fix slide print-pdf mode scrollbar might be visibleWu Cheng-Han1-1/+1
2016-12-15Fix gist-embed styles conflictsWu Cheng-Han1-0/+13
2016-12-12Fix reveal fade class conflict with bootstrap tooltip css and scrollbar ↵Wu Cheng-Han1-0/+7
might show up in print mode
2016-12-04Fix preferences checkbox might not vertical aligned in some browsersWu Cheng-Han1-0/+5
2016-12-04Add preferences to editor status bar and make allow override browser keymap ↵Wu Cheng-Han1-2/+14
option
2016-12-02Update to support optional email register and signinWu Cheng-Han1-0/+3
2016-11-28Remove unused css filesWu Cheng-Han10-38934/+0
2016-11-28Fix slide preview styles might overwrite code block stylesWu Cheng-Han1-2/+6
2016-11-28Update editor other cursor classes and adding option for other cursors ↵Wu Cheng-Han1-11/+2
features in CodeMirror
2016-11-14Remove uesless executable permission for static filesPeter Dave Hello2-0/+0
2016-11-07Fix index social foot styleWu Cheng-Han1-0/+1
2016-11-03Rename google font cssYukai Huang1-0/+0
2016-11-03Remove html.min.css since it will be built via webpack afterwardsWu Cheng-Han1-1/+0
2016-11-03Seperate cdn/local google font cssYukai Huang3-2/+210
2016-10-29Fix slide export pdf styles not applied issue and add shiv and shim for IEWu Cheng-Han1-0/+12
2016-10-29Fix to hide duplicated MathML elements in static HTML exportingWu Cheng-Han2-1/+5
2016-10-25Fix index select2 input padding and font-family to meet bootstrap input styleWu Cheng-Han1-0/+4
2016-10-21Update html.min.css for export html templateWu Cheng-Han1-1/+1
2016-10-21Fix markdown styles conflicting bootstrap on p and ul under alert areaWu Cheng-Han1-1/+6
2016-10-19Fix index social-foot stylesWu Cheng-Han1-1/+2
2016-10-15Fix index styleWu Cheng-Han1-1/+1
2016-10-14Update to support wrap syntax for code blockWu Cheng-Han1-0/+8