Skip to content
Closed
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
7 changes: 3 additions & 4 deletions src/components/Search/Search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
so these styles must NOT be nested under #search-bar. */
.modal-content {
mark {
color: #003dff;
color: var(--theme-link);
background: transparent;
font-weight: 500;
}
Expand Down Expand Up @@ -48,6 +48,5 @@
background: var(--theme-bg-hover) !important;
}

.theme-dark .modal-content mark {
color: #5468ff;
}
/* Dark mode mark color comes from --theme-link's dark-mode remap;
no separate override needed. */
4 changes: 2 additions & 2 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ pre {
color: var(--theme-text-muted);
}

#main-content h2:not(.content-subtitle):not(.home-title) {
#main-content h2:not(.content-subtitle) {
font-size: 1.5rem;
font-weight: 500;
line-height: 1.3;
Expand Down Expand Up @@ -921,7 +921,7 @@ article.content {
position: relative;
}

.content h2:not(.content-subtitle, .home-title):not(.no-counter)::before {
.content h2:not(.content-subtitle):not(.no-counter)::before {
content: counter(h2-section);
font-weight: 500;
margin-right: 0.55rem;
Expand Down
Loading