Commit Graph

16 Commits

Author SHA1 Message Date
Reorx 66447d9a38 move .image-size-control to main.css 2022-06-01 16:54:11 +08:00
Reorx 80f443ec36 add mark and .telegram-channel style for home page entry 2022-06-01 00:51:18 +08:00
Reorx 01ea8e8a8c add standout shortcode 2022-05-12 16:43:06 +08:00
Reorx 402e1d8924 fix image blur 2022-05-09 22:26:30 +08:00
Reorx 9d5184cae4 add css for links page 2022-05-09 22:26:24 +08:00
Reorx 8ab5cf130f fix meta item break into multiple lines 2022-05-05 17:29:31 +08:00
Reorx 8deaaf2d04 update meta style in home page 2022-04-22 15:00:00 +08:00
Reorx 4d93247e53 change post nav and footer style 2022-04-22 01:13:25 +08:00
Reorx 5b8b8241f3 add link hover style to social icons 2022-04-21 14:56:33 +08:00
Reorx 8c5d10925e allow customize post page width 2022-04-09 23:31:15 +08:00
Aditya Telange 386d845782
Prevent `code-copy` btn and `anchored` headings from getting selected 2021-11-20 18:32:25 +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 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
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
Renamed from assets/css/main.css (Browse further)