Skip to content

Commit

Permalink
Merge pull request #1 from QTRCodes/logo
Browse files Browse the repository at this point in the history
Add QTRCodes logo for header
  • Loading branch information
OllieJC authored Oct 14, 2024
2 parents 9f8ecdb + 4d3a3d3 commit 95ceb69
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<img class="logo" src="/assets/images/qtr-codes-logo-darkmode.svg" width="100" title="QTRCodes Logo" />

# Welcome to QTRCodes.org
*Initial content and code specification still being drafted.*

Expand Down
19 changes: 17 additions & 2 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,27 @@ body {
color: #333;
}

img {
background-color: transparent !important;
}

h1:not(#welcome-to-qtrcodesorg) {
display: none;
}

.logo {
width: 10em;
content:url(/assets/images/qtr-codes-logo-lightmode.svg);
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #f0f0f0;
}
.imglink img { color: #121212 }
a:not(.imglink) { color: #75b6ff }

.logo {
content:url(/assets/images/qtr-codes-logo-darkmode.svg);
}
}

0 comments on commit 95ceb69

Please sign in to comment.