Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit 25334ae

Browse files
committed
more minor adjustments
the primary change here is making the `.card` elements for the category overviews also have a dark theme, as well as some small changes in regards to which colours are being used where for contrast's sake hope I did not miss anything ;w;
1 parent 625f3ea commit 25334ae

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/css/custom.css

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
}
2727

2828
@media (prefers-color-scheme: dark) {
29+
:root {
30+
--ifm-toc-link-color: hsl(0, 0%, 75%);
31+
}
2932
[class*="clean-btn"]::after,
3033
[class*="clean-btn"]::before,
3134
.breadcrumbs__item::after {
@@ -39,7 +42,16 @@
3942
border-color: #404040;
4043
}
4144
[class*="docCardListItem"] {
42-
color: black;
45+
color: white;
46+
}
47+
.card {
48+
background: black;
49+
}
50+
.card:not(:hover) {
51+
border-color: var(--ifm-menu-color)!important;
52+
}
53+
.card:hover {
54+
color: var(--ifm-color-primary);
4355
}
4456
[class*="sidebar"] {
4557
color: white!important;
@@ -63,10 +75,6 @@
6375
color: light-dark(black, white);
6476
}
6577

66-
.table-of-contents__link:not(.toc-highlight) {
67-
color: light-dark(hsl(0, 0%, 40%), hsl(0, 0%, 75%));
68-
}
69-
7078
.theme-back-to-top-button {
7179
background-color: light-dark(white, black)!important;
7280
}

0 commit comments

Comments
 (0)