Skip to content

Commit

Permalink
webmail: add basic dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfbacon committed Apr 30, 2024
1 parent 78a59b3 commit b552625
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/website.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@ h2 { background: linear-gradient(90deg, #6dd5fd 0%, #77e8e3 100%); display: inli
.two { display: block; }
.two > div { max-width: auto; }
.toc { display: block; }
}
@media (prefers-color-scheme: dark) {
:root { filter: invert(0.9) hue-rotate(180deg); }
img, embed, video, iframe { filter: hue-rotate(180deg) invert(1.1111111); }
}
</style>
</head>
Expand Down

0 comments on commit b552625

Please sign in to comment.