Skip to content

Commit

Permalink
Merge pull request #2 from QTRCodes/css-improvements
Browse files Browse the repository at this point in the history
Update style.scss
  • Loading branch information
OllieJC authored Oct 14, 2024
2 parents 95ceb69 + dc71600 commit a676ace
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ h1:not(#welcome-to-qtrcodesorg) {
display: none;
}

@media (prefers-color-scheme: light) {
h1, h2, h3, h4 { border-bottom: 2px solid #4169e14d !important; }
hr { background-color: #4169e14d !important; }
}
@media (prefers-color-scheme: dark) {
h1, h2, h3, h4 { border-bottom: 2px solid #698aeb91 !important; }
hr { background-color: #698aeb91 !important; }
}

.logo {
width: 10em;
content:url(/assets/images/qtr-codes-logo-lightmode.svg);
Expand All @@ -28,7 +37,7 @@ h1:not(#welcome-to-qtrcodesorg) {
background-color: #121212;
color: #f0f0f0;
}

a { color: #698aeb }
.logo {
content:url(/assets/images/qtr-codes-logo-darkmode.svg);
}
Expand Down

0 comments on commit a676ace

Please sign in to comment.