Commit Graph

19 Commits

Author SHA1 Message Date
Served Smart
65a50ff643 Only generate css classes for used repo colors
This in most cases will reduce the size of main.bundle.css dramatically. Before I had around ~+32kB, now it is ~+228B
2025-07-09 19:19:10 +02:00
Served Smart
cc2e90233a ♻️ Refactor: Use universal json and move styles out of line 2025-07-09 19:18:54 +02:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Nuno Coração
472a89c7a5 Merge pull request #2211 from servedsmart/move-most-inline-styles-out-of-line
♻️ refactor: Move most inline styles out of line
2025-06-17 22:56:25 +01:00
Served Smart
9f85c0566e ♻️ refactor: Move most inline styles out of line
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
Served Smart
4ff3d07d30 🎨 structure: Use more explicit naming in fetchRepo() 2025-06-12 13:58:59 +02:00
Served Smart
37ab1055e7 ♻️ refactor: Move similar javascript inline code out of line
- Move variables oid, oid_likes out of line
- Move background-blur out of line
- Move fetch-repo code out of line
2025-06-12 13:58:59 +02:00
Nuno Coração
94424416bc polish 2025-05-27 00:58:36 +01:00
Aleksey @soar Smyrnov
2bbcd3ab8c feat(shortcodes): Display a thumbnail for GitHub repos 2025-05-25 16:08:20 -07:00
ZhenShuo Leo
7072628632 🐛 fix: hugo minify breaks github card (#1434)
Add a div wrapper to avoid incorrect minification by hugo.

Tested with sample https://codeberg.org/cthru/blowfish_test/src/branch/master/content/tests/1716983769844-github-card-test/index.md#
2025-05-02 14:46:32 +08:00
W.T. Chang
121909e809 fix warning caused by getJSON 2024-07-18 23:33:44 +08:00
Zoe Roux
9dc7940718 Use markdown emojify instead of dump emojify 2024-05-31 12:37:29 +02:00
MaikelChan
9cfc07565c New way to generate UIDs. 2024-01-13 01:24:45 +01:00
Ryan Gibson
854f773c65 Remove extraneous backdrop-blurs across partials 2023-12-18 13:35:45 -05:00
Nuno Coração
c78d68dc0b made github and gitlab shortcodes dynamic 2023-11-02 23:30:55 +00:00
Nuno Coração
096fa3e919 fixed 🎨 List hover styling too bright 2023-04-22 12:54:31 +01:00
Nuno Coração
bc1d46dc19 🐛 fixed github null language 2023-02-03 21:53:17 +00:00
Nuno Coração
98b48ac6bb add github shortcode 2023-01-14 11:39:17 +00:00
Nuno Coração
4c5d367b12 add github shortcode 2023-01-14 11:13:28 +00:00