BHL Dark Sidebar
STÁT
Tuto šablonu interně používá SCP Wiki.
Pokud chcete opravit chybu nebo provést jakékoliv změny,
poraďte se nejdříve s jedním z techniků stránky.
Použití
Přidejte do kódu tento modul. Nezapomeňte, že musí být až pod modulem, který přidává Black Highlighter Theme.
[[include :scp-cs:component:bhl-dark-sidebar]]
hbdfhbfq
#side-bar{ /* ===SECONDARY & TERTIARYCOLORS=== */ /*Editingthesewilleditavastmajorityofthemeelements. Usefulformakingdarkthemes*/ /*ColorsforSecondary & TertiaryitemslikeBlockquoteandYUITabs*/ --swatch-secondary-color: var(--swatch-menubg-dark-color); --swatch-tertiary-color: var(--swatch-menubg-medium-color); --swatch-alternate-color: var(--swatch-menubg-light-color); /*TextColorsforSecondary & TertiaryitemslikeSidebarHeadersandTop-BarMenuText*/ --swatch-text-secondary-color: var(--swatch-menutxt-dark-color); --swatch-text-tertiary-color: var(--swatch-menutxt-light-color); /* ===SIDE-BARELEMENTS=== */ /* ===SIDE-BARGENERAL=== */ --sidebar-bg-color: var(--swatch-menubg-dark-color); --sidebar-resources-bg-color:0,0,0,0; --sidebar-media-bg-color:0,0,0,0; /* ===SIDEBLOCKMENU=== */ --sideblock-heading-border-color: var(--bright-accent); --sideblock-heading-bg-color:0,0,0,0; /*Transparent*/ --sideblock-heading-text-color: var(--swatch-text-tertiary-color); /* ===MENU-ITEMS=== */ --sidebar-border-color: var(--swatch-primary), 0.08; --sidebar-subtest-color: var(--swatch-text-tertiary-color); --sidebar-links-text: var(--swatch-text-tertiary-color); --sidebar-links-hover-bg-color: var(--bright-accent); --sidebar-links-hover-text-color: var(--swatch-text-tertiary-color); /* ===SIDEBARCOLLAPSIBLES=== */ /*FoldedColors*/ --sidebar-collapsible-fld-link-bg: var(--swatch-primary), 0.25; --sidebar-collapsible-fld-link-color: var(--swatch-text-tertiary-color); --sidebar-collapsible-fld-link-hover-color: var(--swatch-text-tertiary-color); --sidebar-collapsible-fld-arrow-hover-color: var(--swatch-text-tertiary-color); /*UnfoldedColors*/ --sidebar-collapsible-ufld-link-bg: var(--swatch-primary-darker), 0.25; --sidebar-collapsible-ufld-link-color: var(--swatch-text-tertiary-color); --sidebar-collapsible-ufld-link-hover-color: var(--swatch-text-tertiary-color); --sidebar-collapsible-ufld-arrow-hover-color: var(--swatch-text-tertiary-color); /*UnfoldedBodyColors*/ --sidebar-collapsible-link-color: var(--swatch-text-tertiary-color); --sidebar-collapsible-link-hover-color: var(--swatch-text-tertiary-color); scrollbar-color: rgba(var(--swatch-primary-darker), 0.1) /* Thumb */ rgba(var(--swatch-secondary-color), 0.05); /*Track*/ border-color: rgba(var(--swatch-secondary-color), 0.4); } /*HoverScrollbarBehavior*/ #side-bar:hover, #side-bar:active{scrollbar-color: rgb(var(--swatch-primary-darker), 1) /* Thumb */ rgb(var(--swatch-menubg-dark-color), 1); /*Track*/ }#side-bar:focus-within{scrollbar-color: rgb(var(--swatch-primary-darker), 1) /* Thumb */ rgb(var(--swatch-menubg-color), 1); /*Track*/ }#side-bar::-webkit-scrollbar-track{background-color: rgba(var(--swatch-tertiary-color), 0.8); }#side-bar::-webkit-scrollbar, #side-bar::-webkit-scrollbar-thumb, #side-bar::-webkit-scrollbar-corner{background-color: rgba(var(--swatch-menubg-dark-color), 0); }#side-bar.side-block.mediaa:any-link{background: rgba(var(--swatch-menubg-light-color),0.75) !important; }#side-bar.side-block.mediaa::before{background: rgb(var(--social-color)); }#side-bar.side-block.mediaaimg{filter: drop-shadow(000 rgba(var(--swatch-alternate-color),0)); transition: filter 200ms cubic-bezier(0.4, 0, 0.2, 1); }#side-bar.side-block.mediaa:hoverimg, #side-bar.side-block.mediaa:activeimg{filter: drop-shadow(0.1875rem 0.1875rem 0 rgb(var(--swatch-alternate-color))); }#side-bar.side-block.mediaa:focus-withinimg{filter: drop-shadow(0.1875rem 0.1875rem 0 rgb(var(--swatch-alternate-color))); }html:not(:lang(cn)) div.scpnet-interwiki-wrapperp::before{box-shadow:inherit; }#side-bariframe.scpnet-interwiki-frame:not(:lang(cn)) {filter:invert(1); }#side-bar.scpnet-interwiki-wrapper:not(:lang(cn))::before, #side-bar.scpnet-interwiki-wrapper:not(:lang(cn)) p::before, #side-bar.scpnet-interwiki-wrapper:not(:lang(cn)) p::after{background-color: rgb(var(--swatch-menubg-dark-color)); }#side-bar.scpnet-interwiki-wrapper:not(:lang(cn))::before{mix-blend-mode: lighten; }
<html><head></head><body><scripttype="text/javascript"> function sendStyle() { try { window.parent.window.interwikiFrame.bhlDark(); } catch(e) {} } sendStyle(); </script></body></html>
[フレーム]
Footnotes
. boi
revize stránky: 44, naposledy editováno: 15 Aug 2021 16:42