Last active
June 24, 2021 07:46
-
-
Save jbosboom/a419649f68b67e4e954a213d141dfc75 to your computer and use it in GitHub Desktop.
SQLite documentation dark mode user CSS
This file contains hidden or 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
/* ==UserStyle== | |
@name SQLite documentation dark mode | |
@namespace jeffreybosboom.com | |
@version 1.0.0 | |
@description SQLite documentation dark mode | |
@author Jeffrey Bosboom | |
==/UserStyle== */ | |
@-moz-document domain("sqlite.org") { | |
:root { | |
/* TODO: UserCSS lets us make these customizable? */ | |
--bg-color: black; | |
--highlight-bg-color: #181818; | |
--text-color: darkgray; | |
} | |
body, .fancy .codeblock { | |
background-color: var(--bg-color); | |
color: var(--text-color); | |
border-color: slategrey; | |
} | |
pre { | |
background-color: var(--highlight-bg-color); | |
color: var(--text-color); | |
border-color: slategrey; | |
} | |
a, pre a:link { | |
color: slategray; | |
} | |
a:visited, pre a:visited { | |
color: dimgrey; | |
} | |
a:hover { | |
background-color: var(--highlight-bg-color) !important; | |
} | |
.showhide > li > a { | |
color: var(--text-color); | |
} | |
.yyterm, .yynonterm { | |
background-color: var(--highlight-bg-color); | |
border-color: var(--text-color); | |
} | |
svg polygon, svg text { | |
background-color: var(--bg-color); | |
fill: var(--text-color) !important; | |
} | |
svg path, svg circle { | |
stroke: var(--text-color) !important; | |
} | |
button { | |
background-color: var(--highlight-bg-color); | |
color: var(--text-color); | |
border-color: slategrey; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment