25 Commits

Author SHA1 Message Date
Daniil Krymov
6e296d0743
Merge branch 'master' 2022-02-12 22:34:53 +01:00
Daniil Krymov
f7f25920fd
Move theme toggle to the end of menu 2022-02-12 21:40:52 +01:00
Daniil Krymov
b65fe6de6b
Merge base to develop 2022-01-15 20:31:58 +04:00
Daniil Krymov
fa0df24ede
Merge branch 'base' 2021-12-30 11:30:11 +04:00
Aditya Telange
386d845782
Prevent code-copy btn and anchored headings from getting selected 2021-11-20 18:32:25 +05:30
Daniil Krymov
024d36d642
Upgrade theme to latest version 2021-10-27 19:43:27 +02:00
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
7072a79f71
Refine [draft] tag display 2021-09-04 12:03:12 +05:30
Aditya Telange
2aad433ae5
Fix title(entry-header) line height in regular mode
fixes: #527
2021-09-02 20:41:54 +05:30
Ian Grünig
dcbe6277bb
Add width and height attributes to cover images (#519)
- Ensures that the browser can allocate the correct amount of space in the document while the image is loading.
- Reduces CLS #499
2021-08-22 11:45:28 +05:30
Aditya Telange
129b5bd063 Fix image margin too close to text 2021-08-02 16:14:40 +05:30
Aditya Telange
d35056c664
Better way of centering profile mode 2021-06-11 18:34:18 +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
Daniil Krymov
3b8b42903e
Update theme 2021-05-04 19:11:45 +02:00
Aditya Telange
20b91ad2aa
Use less space in footer for 'Powered by' strings;
Don't break the 'Powered by' string in between
2021-05-01 11:32:11 +05:30
Daniil Krymov
f22f964fba
Merge branch 'base' into develop 2021-04-27 20:39:18 +02:00
Aditya Telange
10745dd537
Add margin below figure
- adds space below when using figure shortcode

Fixes: #377
2021-04-24 09:36:27 +05:30
Daniil Krymov
ab645cd1be
Merge branch 'base' into develop 2021-04-17 12:25:35 +02:00
Aditya Telange
98c17559e9
Add checks for adding the copy button in code-blocks
- adds checks to put copy button for code
 inside table and highlight code block

- Fixes #363
2021-04-16 10:00:47 +05:30
Daniil Krymov
e96846c820
Add border to avatar in Profile Mode 2021-04-13 20:10:23 +02:00
Kian Kasad
17c4da86b5
Add copy button to copy code block contents (#345)
* add buttons to copy code block contents

Adds a clickable "copy" link in the top-right corner of each code block.

If available, uses the navigator.clipboard API. Falls back to selecting
the text and calling document.execCommand('copy') to copy text.

* hides copy button unless mouse is hovering over code block

* change text of copy button when text is copied

* add translation keys for copy button text  `code_copy` and `code_copied`

* To disable use `Params.disableCodeCopy: true` in site config
2021-04-10 11:33:31 +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