Skip to content

Commit

Permalink
Disable dark mode and correct code block colour
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Apr 18, 2024
1 parent 3592947 commit 24fa221
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions _sass/colormode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ html {
--main-background-color: #FFFFFF;
--main-text-color: #121212;
--main-code-color: #943000;
--sec-background-color: #B5B5B5;
--sec-border-color: #aaa;
--sec-background-color: #EFEFEF;
--title-background-color: #0d1c2c;
--breadcrumb-background-color: #4695EB;

Expand All @@ -16,7 +17,8 @@ html {

}

@media (prefers-color-scheme: dark) {
/* @media (prefers-color-scheme: dark) { */
@media screen and (max-width: 1px) {
html {
--link-color: #9BCAFA;
--link-color-hover: #CC0000;
Expand Down
3 changes: 2 additions & 1 deletion _sass/quarkus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ dl dt:not(:first-child) {
/* Over gray in text */
code {
color: var(--main-code-color);
background-color: var(--main-code-background-color);
}

/* Over black in code blocks */
Expand Down Expand Up @@ -478,7 +479,7 @@ pre {
}

pre.highlight, .literalblock pre, .listingblock > .content > pre {
border: 1px solid var(--sec-background-color);
border: 1px solid var(--sec-border-color);
padding: 1rem;
line-height: 1.2em;
overflow-x: auto;
Expand Down

0 comments on commit 24fa221

Please sign in to comment.