A dark mode for RFCs.
Dark IETF by lennybacon
Details
Authorlennybacon
LicenseNo License
Categoryuserstyles, dark
Created
Updated
Size2.4 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name IETF Dark
@namespace https://gist.github.com/lennybacon
@version 1.0.2
@description Dark theme for IETF
@author lennybacon
@homepageURL https://gist.github.com/lennybacon/aa4b520e6a04e17c820b70fca793db6a
@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, #external-updates, #external-metadata{
background-color: #222 !important;
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, a.relref{
color: rgb(0, 174, 240)!important;
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;
}
#toc, #toc h2 {
background-color: #333;
}
th{
background-color: #222;
}
tr:nth-child(2n+1) > td{
background-color: #333;
}
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, pre.sourcecode{
font-family: 'FiraCode NF', 'Cascadia Code', Consolas, 'Lucida Sans', mono !important;
background-color: #333;
color: rgb(183, 183, 183);
border:0;
}
}