|
14 | 14 | @var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"] |
15 | 15 | @var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"] |
16 | 16 | ==/UserStyle== */ |
| 17 | + |
17 | 18 | @import "https://userstyles.catppuccin.com/lib/lib.less"; |
18 | 19 |
|
19 | 20 | @-moz-document domain("codeberg.org") { |
20 | | - // GITEA |
| 21 | + /* GITEA */ |
21 | 22 | @import (css) |
22 | 23 | url("https://catppuccin.github.io/gitea/theme-catppuccin-@{lightFlavor}-@{accentColor}.css") |
23 | 24 | (prefers-color-scheme: light); |
24 | 25 | @import (css) |
25 | 26 | url("https://catppuccin.github.io/gitea/theme-catppuccin-@{darkFlavor}-@{accentColor}.css") |
26 | 27 | (prefers-color-scheme: dark); |
27 | | - // We need CodeMirror lib too! |
| 28 | + /* @import url(CM_LIB_URL); */ |
28 | 29 | } |
29 | 30 |
|
30 | 31 | @-moz-document domain("blog.codeberg.org") { |
|
35 | 36 | @import url("https://prismjs.catppuccin.com/variables.important.css"); |
36 | 37 | } |
37 | 38 |
|
38 | | -// @-moz-document domain("donate.codeberg.org") { |
39 | | -// @import url(PICO_LIB_URL); |
40 | | -// } |
| 39 | +/* |
| 40 | + * @-moz-document domain("donate.codeberg.org") { |
| 41 | + * @import url(PICO_LIB_URL); |
| 42 | + * } |
| 43 | + */ |
41 | 44 |
|
42 | 45 | @-moz-document domain("codeberg.org") { |
43 | 46 | [data-theme="codeberg-dark"], |
|
54 | 57 |
|
55 | 58 | #catppuccin(@flavor) { |
56 | 59 | #lib.palette(); |
57 | | - // #lib.defaults(); isn't needed, themed in upstream Gitea port. |
| 60 | + /* |
| 61 | + * #lib.defaults(); |
| 62 | + * This isn't needed, themed in upstream Gitea port. |
| 63 | + */ |
58 | 64 |
|
59 | 65 | --color-body: @base; |
60 | 66 | --color-nav-text: @crust; |
|
242 | 248 | background-color: darken(@accent, 10%); |
243 | 249 | } |
244 | 250 | } |
245 | | - } // HOMEPAGE |
| 251 | + } |
| 252 | + |
| 253 | + /* HOMEPAGE */ |
246 | 254 | main { |
247 | 255 | a.button { |
248 | 256 | svg { |
|
304 | 312 | } |
305 | 313 |
|
306 | 314 | section#home-section-support { |
307 | | - color: @text; // Yellow buttons |
| 315 | + color: @text; |
| 316 | + |
| 317 | + /* Yellow buttons */ |
308 | 318 | div a { |
309 | 319 | color: @base; |
310 | 320 | text-shadow: -1px -2px 0 @yellow; |
|
314 | 324 | text-shadow: -1px -2px 0 darken(@yellow, 10%); |
315 | 325 | background-color: darken(@yellow, 5%); |
316 | 326 | } |
317 | | - } // Your support helps us grow! :hearts: |
| 327 | + } |
| 328 | + |
| 329 | + /* Your support helps us grow! :hearts: */ |
318 | 330 | h3 svg.svg.codeberg-icon-hearts { |
319 | 331 | path:nth-child(1) { |
320 | 332 | fill: @peach !important; |
|
0 commit comments