Skip to content

Commit

Permalink
Merge pull request #292 from Xinayder/patch-1
Browse files Browse the repository at this point in the history
Fix code block bg and fg colors. Thank you for contributing @Xinayder
  • Loading branch information
ddemaio authored Jan 9, 2025
2 parents 47aa4a3 + 814e48b commit 93e7f87
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,18 @@ img.emoji{

/* Dark Theme Styling */
@media (prefers-color-scheme: dark) {
pre {
pre.highlight {
border: 1px solid #373737;
background-color: #1e1e1e; /* Darker gray background */
color: #a8d5ba; /* Soft green text */
}
}

/* Light Theme Styling */
@media (prefers-color-scheme: light) {
pre {
background-color: #ffffff; /* White background */
pre.highlight {
border: 1px solid #ddd;
background-color: #f6f6f6; /* White background */
color: #444; /* Darker gray text */
}
}
Expand All @@ -125,10 +127,6 @@ pre {
}






.text-black:hover {
color: #444
}
Expand Down Expand Up @@ -161,10 +159,8 @@ pre {
}

pre.highlight {
border: 1px solid #ddd;
padding: 1rem;
border-radius: 0.25rem;
background: #f6f6f6;
}

/* https://github.com/jwarby/jekyll-pygments-themes UNLICENSE github.css */
Expand Down

0 comments on commit 93e7f87

Please sign in to comment.