A minimal implementation of a darkmode.
Darkmode portal by berzi
Details
Authorberzi
LicenseNo License
Categoryportal.ambient.digital
Created
Updated
Size1.9 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 Darkmode portal
@version 20240802.11.01
@namespace https://userstyles.world/user/F S
@description A minimal implementation of a darkmode.
@author F S
==/UserStyle== */
@-moz-document domain("portal.ambient.digital") {
body {
color: #fff;
background-color: #333;
}
a:hover, a:focus {
color: #3481c5;
}
.navbar-default {
background-color: #020202;
border-color: #131313;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
background-color: #000;
border-color: #444;
}
.nav > li > a:hover, .nav > li > a:focus, .modal-content {
background-color: #222;
}
.nav-tabs > li > a:hover {
border-color: #222 #222 #333;
}
.well {
background-color: #0e0e0e;
border-color: #2c2c2c;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05)
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top-color: #444;
background-color: #0e0e0e;
}
.form-control, .img-thumbnail, .choices__inner, .choices__list {
color: #aaa;
background-color: #000;
border-color: #333;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
background-color: #000;
border-color: #777;
color: #eee;
}
.controls .flatpickr-date, .controls .flatpickr-datetime, .select2-dropdown, button, input, optgroup, select, textarea {
background-color: #000;
}
.btn-default, .select2-search__field {
color: #ddd;
background-color: #000;
border-color: #444;
}
.select2-results__option[aria-selected="true"], .is_highlighted {
background-color: #444;
}
[disabled]:is(button, input, optgroup, select, textarea, .form-control) {
background-color: #333;
}
}