Skip to content

Commit

Permalink
Add a dark colour scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
nomis committed Jun 26, 2023
1 parent a536da0 commit 956631f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,24 @@
input { font-size: large; }
.statements p { display: block !important; font-size: small !important; }
.source { margin-left: 2em; }
a.button { margin: 1ex; background-color: #fff; color: #000; text-decoration: none; }
a.button { margin: 1ex; color: #000 !important; background-color: #FFF !important; text-decoration: none; }
.emoji { font-size: 64px; vertical-align: bottom; }

@media (prefers-color-scheme: light) {
body { color: #000; background-color: #FFF; }
a { color: #00E; }
a:visited { color: #551A8B; }
a:active { color: #E00; }
nav a { border-color: #000; }
}

@media (prefers-color-scheme: dark) {
body { color: #FBFBFE; background-color: #1C1B22; }
a { color: #8C8CFF; }
a:visited { color: #FFADFF; }
a:active { color: #F66; }
nav a { border-color: #999; }
}
</style>
</head>
<body>
Expand Down

0 comments on commit 956631f

Please sign in to comment.