Skip to content

dark theme adacore blog & gems by f11

Details

Authorf11

LicenseNo License

Categoryadacore

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

dark theme for the adacore blog and ada gems

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         dark theme adacore blog & gems
@version      20220626.17.30
@namespace    userstyles.world/user/f11
@description  dark theme for the adacore blog and ada gems
@author       f11
@license      No License
==/UserStyle== */

@-moz-document domain("blog.adacore.com"), regexp(".*adacore\\.com/gems.*") {
:root {
    --dm-bg1: #0d1117;
    --dm-bg2: #161b22;
    --dm-fg1: #c1d1d9;
}

#categoryNavWrap {
    background-color: var(--dm-bg2);
    border-bottom: none;
}

#categoryNavWrap nav#main a {
    color: inherit;
}

.container.resources ul.standardListMenu li a {
    background-color: var(--dm-bg2);
}

.container.resources ul.standardListMenu li a em {
    color: inherit;
    font-size: 14px;
    margin-left: 1em;
}

#blog-index article a.entry {
    color: inherit;
}

header#main.sub {
    background-color: var(--dm-bg2);
}

html {
    background-color: var(--dm-bg1);
    color: var(--dm-fg1);
}

#indexingPage {
    background-color: initial;
}

.prettyprint {
    background-color: var(--dm-bg2);
}

pre.prettyprint.nocolor * {
    color: inherit !important;
}

/* colorscheme based on ayu dark */
.prettyprint .com { color: #788189; }
.prettyprint .kwd { color: #ff8f40; }
.prettyprint .lit { color: #d2a6ff; }
.prettyprint .pln { color: inherit; }
.prettyprint .pun { color: #e6b673; }

section.index {
    color: inherit;
}

::selection {
    background: rgba(56, 139, 256, 0.4);
}
}

Reviews

No reviews yet.