Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
export default {
extends: "stylelint-config-standard",
plugins: [
"stylelint-use-nesting",
"./scripts/lint/stylelint-custom/index.js",
],
customSyntax: "postcss-less",
rules: {
"csstools/use-nesting": "always",

"catppuccin/optimized-svgs": true,
"catppuccin/color-operations": true,
"catppuccin/no-redundant-parent-selector": true,
Expand Down
1 change: 1 addition & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"stylelint": "npm:stylelint@^16.12.0",
"stylelint-config-recommended": "npm:[email protected]",
"stylelint-config-standard": "npm:[email protected]",
"stylelint-use-nesting": "npm:stylelint-use-nesting@^6.0.0",
"svgo": "npm:[email protected]",
"type-fest": "npm:type-fest@^4.30.2",
"usercss-meta": "npm:[email protected]"
Expand Down
73 changes: 52 additions & 21 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/lint/stylelint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "postcss-less";
import stylelint from "stylelint";
import "stylelint-config-standard";
import "stylelint-config-recommended";
import "stylelint-use-nesting";

import { log } from "@/logger.ts";

Expand Down
24 changes: 12 additions & 12 deletions styles/advent-of-code/catppuccin.user.less
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,21 @@
}
.supporter-badge {
color: @yellow;
}

.supporter-badge:hover {
color: @yellow;
text-shadow: 0 0 5px @yellow;
&:hover {
color: @yellow;
text-shadow: 0 0 5px @yellow;
}
}

.sponsor-badge {
color: @blue;
}

.sponsor-badge:hover,
.sponsor-badge:focus {
color: @blue;
text-shadow: 0 0 5px @blue;
&:hover,
&:focus {
color: @blue;
text-shadow: 0 0 5px @blue;
}
}

.leaderboard-entry {
Expand All @@ -150,10 +150,10 @@
.leaderboard-daylinks-selected {
color: @text;
text-shadow: 0 0 5px @text;
}

.leaderboard-daylinks-selected:hover {
color: @green;
&:hover {
color: @green;
}
}

.leaderboard-anon {
Expand Down
6 changes: 3 additions & 3 deletions styles/anilist/catppuccin.user.less
Original file line number Diff line number Diff line change
Expand Up @@ -526,12 +526,12 @@
color: @accent;
}
/* --------HIDE SCROLLBAR IN BIO----- */
.section::-webkit-scrollbar {
display: none;
}
.section {
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
/* --------REMOVE DROPDOWN SHADOWS----- */
.dropdown.dropdown {
Expand Down
Loading
Loading