Skip to content

PokemonDB Dark Mode by nyxton

Screenshot of PokemonDB Dark Mode

Details

Authornyxton

LicenseNo License

CategoryPokemonDB.net

Created

Updated

Size32 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simple Stylesheet that converts PokemonDB to dark mode.

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           pokemondb.net - 8/1/2022, 12:12:20 AM
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("pokemondb.net") {
    /* Insert code here... */
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
html {
    min-height: 100%;
    color: #b0b0b0;
    font-family: "Fira Sans", "Trebuchet MS", Ubuntu, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none
}
body {
    margin: 0;
    padding: 0;
    background-color: #202020;
    background-size: 16px 16px;
    font-size: 1rem
}
main,
header,
nav,
article,
section,
aside,
footer,
details,
figcaption,
figure,
hgroup,
menu {
    display: block
}
h1,
h2,
h3,
h4,
p,
dl,
pre {
    margin: 0 0 1rem;
    padding: 0
}
ul,
ol,
blockquote,
dd {
    margin: 0 0 1rem 2rem;
    padding: 0
}
h1,
h2,
h3,
h4 {
    color: #fff;
    font-family: "Fira Sans", "Trebuchet MS", Ubuntu, Helvetica, Arial sans-serif;
    font-weight: bold;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word
}
h1 > a,
h2 > a,
h3 > a,
h4 > a {
    color: #000
}
h1,
.text-tera {
    font-size: 2.5rem;
    text-align: center
}
h2,
.text-giga {
    font-size: 2rem
}
h3,
.text-mega {
    font-size: 1.5rem
}
h4,
.text-kilo {
    font-size: 1.25rem
}
table {
    margin: 0 auto 1rem;
    border-collapse: collapse;
    border-spacing: 0
}
th,
td {
    padding: 4px 10px
}
a {
    color: #2769be;
    text-decoration: none;
    transition: color .2s, background-color .2s
}
a:hover,
a:active,
a:focus {
    color: #a42121;
    text-decoration: underline;
    outline: 0
}
img {
    border: 0;
    max-width: 100%;
    height: auto;
    font-size: .75rem;
    color: #a3a3a3
}
img:-moz-loading {
    color: #fff
}
b,
strong,
th {
    font-weight: bold
}
q::before {
    content: "‘"
}
q::after {
    content: "’"
}
blockquote {
    padding: 0 8px;
    border-left: 3px solid #6fad57;
    color: #484848;
    font-style: italic
}
small {
    font-size: .875rem
}
abbr[title],
dfn[title] {
    cursor: help;
    border: 0;
    text-decoration: underline dotted #a3a3a3;
    text-decoration-thickness: 1px;
    text-underline-offset: 1px
}
ins {
    background-color: #d1e1ad;
    color: #405a04;
    text-decoration: none
}
del {
    background-color: #e5bdb2;
    color: #a82400;
    text-decoration: line-through
}
code,
tt,
samp,
kbd {
    padding: 1px 3px;
    border: 1px solid #dbdbdb;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-family: "Consolas", "Ubuntu Mono", "Menlo", "Bitstream Vera Sans Mono", "Courier New", monospace;
    font-size: 14px;
    color: #080
}
pre code {
    display: block;
    overflow: auto;
    max-height: 300px;
    margin-left: 2rem;
    padding: .75rem
}
hr {
    height: 1px;
    margin: 2rem auto;
    background: #dbdbdb;
    border: 0;
    clear: both
}
dt {
    font-weight: bold
}
sup,
sub {
    line-height: 1
}
:target {
    background-color: #f0f0f0
}
@media(max-width: 619px) {
    h1 {
        font-size: 2rem
    }
    h2 {
        font-size: 1.5rem
    }
    h3 {
        font-size: 1.25rem
    }
}
.grid-container {
    margin: 0 auto;
    max-width: 1220px
}
.grid-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 -1rem
}
.grid-col {
    margin-bottom: 1rem;
    padding: 0 1rem;
    width: 100%
}
.grid-col > :last-child {
    margin-bottom: 0
}
.grid-col-center {
    margin-left: auto;
    margin-right: auto
}
@media(min-width: 620px) {
    .span-sm-1 {
        width: 8.3333333333%
    }
    .span-sm-2 {
        width: 16.6666666667%
    }
    .span-sm-3 {
        width: 25%
    }
    .span-sm-4 {
        width: 33.3333333333%
    }
    .span-sm-5 {
        width: 41.6666666667%
    }
    .span-sm-6 {
        width: 50%
    }
    .span-sm-7 {
        width: 58.3333333333%
    }
    .span-sm-8 {
        width: 66.6666666667%
    }
    .span-sm-9 {
        width: 75%
    }
    .span-sm-10 {
        width: 83.3333333333%
    }
    .span-sm-11 {
        width: 91.6666666667%
    }
    .span-sm-12 {
        width: 100%
    }
    .grid-col-sep-sm {
        border-left: 1px solid #dbdbdb
    }
}
@media(min-width: 900px) {
    .span-md-1 {
        width: 8.3333333333%
    }
    .span-md-2 {
        width: 16.6666666667%
    }
    .span-md-3 {
        width: 25%
    }
    .span-md-4 {
        width: 33.3333333333%
    }
    .span-md-5 {
        width: 41.6666666667%
    }
    .span-md-6 {
        width: 50%
    }
    .span-md-7 {
        width: 58.3333333333%
    }
    .span-md-8 {
        width: 66.6666666667%
    }
    .span-md-9 {
        width: 75%
    }
    .span-md-10 {
        width: 83.3333333333%
    }
    .span-md-11 {
        width: 91.6666666667%
    }
    .span-md-12 {
        width: 100%
    }
    .grid-col-sep-md {
        border-left: 1px solid #dbdbdb
    }
}
@media(min-width: 1220px) {
    .span-lg-1 {
        width: 8.3333333333%
    }
    .span-lg-2 {
        width: 16.6666666667%
    }
    .span-lg-3 {
        width: 25%
    }
    .span-lg-4 {
        width: 33.3333333333%
    }
    .span-lg-5 {
        width: 41.6666666667%
    }
    .span-lg-6 {
        width: 50%
    }
    .span-lg-7 {
        width: 58.3333333333%
    }
    .span-lg-8 {
        width: 66.6666666667%
    }
    .span-lg-9 {
        width: 75%
    }
    .span-lg-10 {
        width: 83.3333333333%
    }
    .span-lg-11 {
        width: 91.6666666667%
    }
    .span-lg-12 {
        width: 100%
    }
    .grid-col-sep-lg {
        border-left: 1px solid #dbdbdb
    }
}
.wrap-left {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem
}
.wrap-right {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem
}
@media(max-width: 619px) {
    .wrap-left,
    .wrap-right {
        display: block !important;
        float: none;
        margin-left: auto;
        margin-right: auto
    }
    table.wrap-left,
    table.wrap-right {
        display: table !important
    }
}
.clear {
    clear: both
}
.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}
.resp-scroll {
    margin-bottom: 1rem
}
@media(max-width: 1219px) {
    .resp-scroll {
        overflow-x: auto
    }
}
.resp-scroll > :last-child {
    margin-bottom: 0
}
.component {
    margin-bottom: 1rem
}
.component-lg {
    margin-bottom: 1.5rem
}
.block-wide {
    width: 100%
}
.pull-up {
    margin-top: -0.75rem
}
.panel-success {
    text-align: center
}
.panel-warning {
    text-align: center
}
.panel-error {
    text-align: center
}
.col-split-4 {
    column-count: 3;
    column-gap: 1rem;
    -webkit-column-count: 3;
    -webkit-column-gap: 1rem
}
@media(min-width: 620px) {
    .col-split-4 {
        column-count: 4;
        -webkit-column-count: 4
    }
}
.text-small {
    font-size: .875rem
}
.text-large {
    font-size: 1.25rem
}
.text-muted {
    color: #737373
}
.text-center {
    text-align: center
}
.text-right {
    text-align: right
}
.text-shadow-dark {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7)
}
.text-shadow-light {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, .6)
}
.text-positive {
    color: #184
}
.text-negative {
    color: #c11
}
.nav-forward {
    font-weight: bold
}
.nav-forward::after {
    content: " »"
}
.nav-backward {
    font-weight: bold
}
.nav-backward::before {
    content: "« "
}
.fraction > sup {
    font-size: .66em;
    vertical-align: .5em
}
.fraction > sub {
    font-size: .66em;
    vertical-align: -0.2em
}
@keyframes target {
    0% {
        background-color: #ffc
    }
    100% {
        background-color: #fff
    }
}
.target-anim:target {
    animation: target 2s ease-in-out forwards
}
@keyframes spin {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.25rem 1.5rem
}
.loader::after {
    content: "";
    width: 50px;
    height: 50px;
    margin: 2rem auto;
    border: 8px solid #f0f0f0;
    border-top-color: #f34444;
    border-radius: 50%;
    animation: spin 2s linear infinite
}
.text-red {
    color: #f34444
}
.text-yellow {
    color: #ffdd57
}
.text-green {
    color: #23cd5e
}
.text-turquoise {
    color: #00c2b8
}
.text-blue {
    color: #3273dc
}
.text-pink {
    color: #ff6bce
}
input,
button,
select,
option,
textarea {
    margin: 0;
    padding: .5rem .75rem;
    color: inherit;
    font: inherit;
    vertical-align: middle
}
input[disabled],
button[disabled],
select[disabled],
option[disabled],
textarea[disabled] {
    color: #888
}
label[for] {
    cursor: pointer
}
::-webkit-input-placeholder {
    color: #a3a3a3;
    font: inherit;
    line-height: 2;
    font-size: .875rem;
    opacity: 1
}
:-ms-input-placeholder {
    color: #a3a3a3;
    font: inherit;
    line-height: 2;
    font-size: .875rem;
    opacity: 1
}
::placeholder {
    color: #a3a3a3;
    font: inherit;
    line-height: 1.5;
    font-size: .875rem;
    opacity: 1
}
::-moz-placeholder {
    color: #a3a3a3;
    font: inherit;
    line-height: 1.5;
    font-size: .875rem;
    opacity: 1
}
@media(min-width: 620px)and (max-width: 899px) {
    ::-moz-placeholder {
        line-height: 2.25
    }
}
.input-text,
.input-number,
.input-long-text,
.input-date,
.input-datetime-local,
textarea {
    width: 250px;
    max-width: 100%;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 4px
}
.input-text:focus,
.input-number:focus,
.input-long-text:focus,
.input-date:focus,
.input-datetime-local:focus,
textarea:focus {
    outline: 0;
    border-color: #3273dc
}
.input-number {
    max-width: 100px
}
.input-long-text {
    width: 100%
}
textarea {
    w...

Reviews

No reviews yet.