Skip to content

Commit fb369bb

Browse files
Fix comments and newlines.
Signed-off-by: Toria <ninetailedtori@uwu.gal>
1 parent 77dfae4 commit fb369bb

1 file changed

Lines changed: 21 additions & 9 deletions

File tree

styles/codeberg/catppuccin.user.less

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@
1414
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
1515
@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"]
1616
==/UserStyle== */
17+
1718
@import "https://userstyles.catppuccin.com/lib/lib.less";
1819

1920
@-moz-document domain("codeberg.org") {
20-
// GITEA
21+
/* GITEA */
2122
@import (css)
2223
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{lightFlavor}-@{accentColor}.css")
2324
(prefers-color-scheme: light);
2425
@import (css)
2526
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{darkFlavor}-@{accentColor}.css")
2627
(prefers-color-scheme: dark);
27-
// We need CodeMirror lib too!
28+
/* @import url(CM_LIB_URL); */
2829
}
2930

3031
@-moz-document domain("blog.codeberg.org") {
@@ -35,9 +36,11 @@
3536
@import url("https://prismjs.catppuccin.com/variables.important.css");
3637
}
3738

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+
*/
4144

4245
@-moz-document domain("codeberg.org") {
4346
[data-theme="codeberg-dark"],
@@ -54,7 +57,10 @@
5457

5558
#catppuccin(@flavor) {
5659
#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+
*/
5864

5965
--color-body: @base;
6066
--color-nav-text: @crust;
@@ -242,7 +248,9 @@
242248
background-color: darken(@accent, 10%);
243249
}
244250
}
245-
} // HOMEPAGE
251+
}
252+
253+
/* HOMEPAGE */
246254
main {
247255
a.button {
248256
svg {
@@ -304,7 +312,9 @@
304312
}
305313

306314
section#home-section-support {
307-
color: @text; // Yellow buttons
315+
color: @text;
316+
317+
/* Yellow buttons */
308318
div a {
309319
color: @base;
310320
text-shadow: -1px -2px 0 @yellow;
@@ -314,7 +324,9 @@
314324
text-shadow: -1px -2px 0 darken(@yellow, 10%);
315325
background-color: darken(@yellow, 5%);
316326
}
317-
} // Your support helps us grow! :hearts:
327+
}
328+
329+
/* Your support helps us grow! :hearts: */
318330
h3 svg.svg.codeberg-icon-hearts {
319331
path:nth-child(1) {
320332
fill: @peach !important;

0 commit comments

Comments
 (0)