Created
June 16, 2021 01:18
-
-
Save jbosboom/c265fdc6343258042edebf7c5cdff99b to your computer and use it in GitHub Desktop.
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 Dark Arch Linux manpages | |
@namespace jeffreybosboom.com | |
@version 1.0.0 | |
@description Dark Arch Linux manpages | |
@author Jeffrey Bosboom | |
==/UserStyle== */ | |
@-moz-document domain("man.archlinux.org") { | |
:root { | |
/* TODO: UserCSS lets us make these customizable? */ | |
--bg-color: black; | |
--highlight-bg-color: #181818; | |
--text-color: darkgray; | |
} | |
body { | |
background-color: var(--bg-color); | |
color: var(--text-color); | |
} | |
table.styled-table, table.styled-table th { | |
background-color: var(--bg-color); | |
color: var(--text-color); | |
} | |
table.styled-table tr:hover { | |
background-color: var(--highlight-bg-color); | |
} | |
.man-page-content table.tbl { | |
background-color: var(--bg-color); | |
} | |
.man-page-content table.tbl tr:first-child td:not(:only-child) { | |
background-color: var(--bg-color); | |
} | |
.man-page-content table.tbl tr:hover { | |
background-color: var(--highlight-bg-color); | |
} | |
pre, code { | |
background-color: var(--highlight-bg-color); | |
border: 0px; | |
} | |
#sidebar { | |
position: sticky; | |
align-self: start; | |
top: 20px; | |
overflow-y: auto; | |
max-height: calc(100vh - 20px); | |
} | |
.other-languages { | |
display: none; | |
} | |
.box { | |
background-color: var(--bg-color); | |
border: 0px; | |
} | |
select { | |
background-color: var(--highlight-bg-color); | |
color: var(--text-color); | |
border: 0px; | |
} | |
input { | |
background-color: var(--highlight-bg-color); | |
color: var(--text-color); | |
border: 0px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment