Skip to content

Instantly share code, notes, and snippets.

@lennybacon
Last active May 27, 2021 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lennybacon/aa4b520e6a04e17c820b70fca793db6a to your computer and use it in GitHub Desktop.
Save lennybacon/aa4b520e6a04e17c820b70fca793db6a to your computer and use it in GitHub Desktop.
Stylus dark theme for RFCs
/* ==UserStyle==
@name IETF Dark
@namespace https://gist.github.com/lennybacon
@version 1.0.1
@description Dark theme for IETF
@author lennybacon
@homepageURL https://gist.github.com/lennybacon/aa4b520e6a04e17c820b70fca793db6a
@updateURL https://gist.githubusercontent.com/lennybacon/aa4b520e6a04e17c820b70fca793db6a/raw/355f11c3c3f4e4aa2103e2fe9754d61f41e07ced/ietf-dark.css
@license CC-BY-SA-4.0
==/UserStyle== */
@-moz-document domain("tools.ietf.org"), domain("www.ietf.org"), domain("www.rfc-editor.org"), domain("datatracker.ietf.org") {
html,body, .meta-info{
background-color: #222;
color: rgb(196, 189, 151);
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
font-size: 1em;
}
.docinfo{
background-color: #222 !important;
color: rgb(196, 189, 151);
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
}
.top {
border-top: 0!important;
}
a{
color: rgb(0, 174, 240);
text-decoration: none;
}
a:hover{
color: rgb(0, 136, 240);
text-decoration: none;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
font-weight: normal;
}
h1{
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
font-weight: normal;
font-size: 1.4em;
width: 600px;
max-width: 600px;
display: block;
word-wrap: break-word;
white-space: normal;
}
h2{
font-size: 1.3em !important;
}
h2 > a{
font-size: 1em !important;
}
h3{
font-size: 1.2em;
}
h3> a{
font-size: 1em !important;
}
h4{
font-size: 1.1em;
}
h4 a{
font-size: 1em !important;
}
a.selflink{
text-decoration: none;
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
color: rgb(196, 189, 151);
}
h3 a.selflink{
text-decoration: none;
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
color: rgb(196, 189, 151);
font-size: 0.8em;
}
pre{
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment