Skip to content
Merged
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
17 changes: 8 additions & 9 deletions assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ textarea:not([rows]) {
--overflow-gutter-extension: 1rem;

/* vars for the primary grid setup */
--grid-sidebar: 24rem;
--grid-sidebar-gutter: 3rem;
--grid-content: minmax(34rem, 50rem);
--grid-content-mobile: minmax(20rem, 50rem);
--grid-side-callout: minmax(18rem, 26rem);
Expand Down Expand Up @@ -281,7 +279,7 @@ textarea:not([rows]) {

--header-height: 4rem;

--sidebar-width: 22rem;
--sidebar-width: 24rem;
--sidebar-item-padding-lr: 0.75rem;
--sidebar-item-padding-tb: 0.25rem;
--content-max-width: 88rem;
Expand Down Expand Up @@ -602,7 +600,7 @@ ol li:last-child {
.header__sidebar__panel,
.sidebar__panel {
cursor: pointer;
color: var(--color-foreground);
color: oklch(var(--color-foreground));
label {
cursor: pointer;
}
Expand Down Expand Up @@ -1188,7 +1186,7 @@ nav.sidebar.sidebar__mobile-open {

.sidebar {
grid-area: sidebar;
--color-foreground: oklch(0 0 0 / 0.75);
color: oklch(var(--color-foreground) / 0.75);

display: flex;
flex-direction: column;
Expand Down Expand Up @@ -1238,7 +1236,7 @@ nav.sidebar.sidebar__mobile-open {
padding: 0.25rem 0.5rem;
border-radius: 5px 0 0 5px;
font-weight: 500;
color: var(--color-foreground);
color: oklch(var(--color-foreground));

&:hover {
background-color: oklch(var(--color-brand) / 0.06);
Expand Down Expand Up @@ -1298,15 +1296,16 @@ nav.sidebar.sidebar__mobile-open {
.sidebar__toc {
#TableOfContents {
padding: 0 0.75rem 0 0;
margin: 0.5rem 0.25rem 0.5rem 0.8rem;
border-left: 1px solid var(--color-divider);
color: oklch(0 0 0 / 0.75);
margin: 0.5rem 0.25rem 0.5rem 0.875rem;
border-left: 1px solid oklch(var(--color-divider));
color: oklch(var(--color-foreground) / 0.75);

&[hidden] {
display: none;
}

a {
color: oklch(var(--color-foreground));
text-decoration: none;
}

Expand Down