A simple carbon-dark theme for pythex.org
Dark Carbon Pythex.org by DazFather
Details
AuthorDazFather
LicenseNo License
Categorypythex.org
Created
Updated
Size1.0 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 Dark Carbon Pythex.org
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A simple carbon-dark theme for pythex.org
@author DazFather
==/UserStyle== */
@-moz-document domain("pythex.org") {
/* Insert code here... */
:root {
--carbon: #333;
--white: whitesmoke;
--dark-bg: var(--carbon, black);
--dark-font: var(--white, white);
}
html, body, #main {
width: 100%;
height: 100%;
background-color: var(--dark-bg, black);
}
#header #title {
color: var(--dark-font, white);
}
#cheatsheet {
--bg: hsla(0, 0%, 0%, 0.25);
background-color: var(--bg, gray);
color: darkgray;
.round, h3 {
color: inherit;
}
code {
width: max-content;
display: inline-block;
color: var(--white, white);
background-color: var(--bg, lightgray);
}
}
}