Commit Graph

11 Commits

Author SHA1 Message Date
TNeitzel
60e69c267c Make CSS selector more specific
Added the .highlight class for the non radius CSS rule.
2021-12-26 07:02:38 +01:00
TNeitzel
cb8ae2fc53 Fix border radius when using line numbers
When using line numbers with table style, the border radius for the
corresponding codeblocks leads to annoying gaps between the line numbers
and the actual code.

This commit removes the border radius when the corresponding element is
displayed inside a table (which is the case when line numbers are used
with table format).
2021-12-25 08:59:39 +01:00
Aditya Telange
386d845782
Prevent code-copy btn and anchored headings from getting selected 2021-11-20 18:32:25 +05:30
Johnny Metz
60cbb311b7
Fix code line highlighting (#575) 2021-10-22 20:19:34 +05:30
Aditya Telange
7c930ee4ea
Converts colour values from rgba/hex to rgb (#560)
- Except for code-copy btn
- Emojis were affected by theme opacity values, fixes: #557
2021-09-20 21:08:44 +05:30
Aditya Telange
129b5bd063 Fix image margin too close to text 2021-08-02 16:14:40 +05:30
Aditya Telange
df544469c9
Apply prettier to css 2021-06-11 13:34:55 +05:30
Kian Kasad
87fbe01124
Add missing semicolons in CSS files (#408)
Many of the CSS files had no semicolon after the last rule in a block,
which is proper syntax, but it's annoying when adding more rules. Since
omitting the semicolons doesn't really have a benefit, I've decided to
add them.
2021-06-11 13:29:56 +05:30
Aditya Telange
378b81cb36
Use default code font-family 2021-06-10 22:49:39 +05:30
Aditya Telange
10745dd537
Add margin below figure
- adds space below when using figure shortcode

Fixes: #377
2021-04-24 09:36:27 +05:30
Aditya Telange
e503367a1a
[BREAKING] Split-up css into sub-parts (#317)
* Move styles into 3 different locations
- core
- common
- hljs

* Load all stylesheets in proper order
2021-03-27 11:28:55 +05:30