Created
December 29, 2019 14:22
-
-
Save Laim/6d153f9ccd2600821253b9286b611397 to your computer and use it in GitHub Desktop.
Dark Mode based on System
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: monospace; | |
background-color: #1d1f21; | |
color: #FFF; | |
} | |
a:link { | |
text-decoration:none; | |
color:#CC3300; | |
} | |
a:visited { | |
color:#009900; | |
} | |
a:hover { | |
color:#0066FF; | |
} | |
a:active { | |
color:#0066FF; | |
} | |
@media (prefers-color-scheme: light) { | |
body { | |
background-color: whitesmoke; | |
color: #1d1f21; | |
} | |
a:hover { | |
color:#1d1f21; | |
} | |
a:active { | |
color:#1d1f21; | |
} | |
} | |
hr { background-color: #41454a; height: 1px; border: 0; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment