This wiki is still in active development, many areas of the site are unstable or broken.
In the meantime, consider adding content to pages you like!
MediaWiki:Timeless.css: Difference between revisions
From NBITTRPG Wiki
mNo edit summary |
mNo edit summary |
||
| (22 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Timeless skin */ | /* All CSS here will be loaded for users of the Timeless skin */ | ||
:root { | :root { | ||
--main-font: 'Rubik'; | --main-font: 'Rubik'; | ||
--header-font: 'Rubik'; | --header-font: 'Rubik'; | ||
--title-font: 'Lora'; | --title-font: 'Lora'; | ||
--ddd-bg: url(https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png); | /* BACKGROUNDS */ | ||
--ddd-bg: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png"); | |||
--ddd-bg2: url("https://nbittrpgwiki.pynappo.xyz/images/2/27/DDDTextureVertical.png"); | |||
/* COLORS */ | /* COLORS */ | ||
| Line 45: | Line 41: | ||
--button-color: rgba(104, 83, 68, 1); | --button-color: rgba(104, 83, 68, 1); | ||
--button-text-color: rgb(255, 255, 255); | --button-text-color: rgb(255, 255, 255); | ||
} | |||
/* || BACKGROUNDS */ | |||
.ddd-quote-bg { | |||
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png"); | |||
} | } | ||
| Line 104: | Line 104: | ||
} | } | ||
/* SEARCH BAR */ | |||
#simpleSearch { | #simpleSearch { | ||
background: var(--search-bg-color); | background: var(--search-bg-color); | ||
| Line 110: | Line 111: | ||
} | } | ||
.suggestions-results .suggestions-result { | |||
display: flex; | |||
align-items: center; | |||
flex-direction: row; | |||
justify-content: flex-start; | |||
height: 32px; | |||
} | |||
.suggestions-result:not(:has(.suggestion-thumbnail, .suggestion-nothumbnail)) { | |||
padding-left: calc(2em + 40px); | |||
} | |||
.suggestion-thumbnail { | |||
width: 32px; | |||
height: 32px; | |||
margin-right: 8px; | |||
object-fit: contain; | |||
transition: .25s all | |||
} | |||
.suggestion-nothumbnail { | |||
width: 32px; | |||
height: 32px; | |||
margin-right: 8px; | |||
border-radius: 4px; | |||
transition: .25s all | |||
} | |||
.suggestion-isredirectwrap { | |||
flex-grow: 1; | |||
order: 3; | |||
display: flex; | |||
justify-content: end; | |||
align-items: center; | |||
margin: auto; | |||
} | |||
.suggestion-isredirect { | |||
border-radius: 8px; | |||
background: var(--gradient-end); | |||
padding: 2px 5px; | |||
border: 1px solid var(--header-color); | |||
color: rgba(255, 255, 255, 0.6); | |||
font-size: small; | |||
margin: auto 0px; | |||
} | |||
.suggestions-result:hover .suggestion-thumbnail { | |||
width: 50px; | |||
} | |||
.color-bar { | .color-bar { | ||
| Line 163: | Line 214: | ||
background-image: linear-gradient(to left, #eacf1b70 50%, transparent 50%); | background-image: linear-gradient(to left, #eacf1b70 50%, transparent 50%); | ||
} | } | ||
clip-path: polygon(100% 0, 100% 100%, 99% 98%, 95% 99%, 92% 99%, 89% 100%, 86% 99%, 83% 100%, 77% 99%, 72% 100%, 66% 98%, 62% 100%, 59% 99%, 54% 99%, 49% 100%, 46% 98%, 43% 100%, 40% 98%, 38% 100%, 35% 99%, 31% 100%, 28% 99%, 25% 99%, 22% 100%, 19% 99%, 16% 100%, 13% 99%, 10% 99%, 7% 100%, 4% 99%, 0% 100%, 0% 0%); | |||
} | } | ||
} | } | ||
| Line 176: | Line 227: | ||
box-shadow: 0 0 8px rgba(0,0,0,0.2); | box-shadow: 0 0 8px rgba(0,0,0,0.2); | ||
border-radius: 20px; | border-radius: 20px; | ||
} | |||
#localNotice { | |||
background-color: var(--content-color); | |||
} | } | ||
| Line 252: | Line 307: | ||
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled { | .cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled { | ||
background: var(--cdx-button-color); | |||
&:hover { | |||
background-color: var(--cdx-button-hover); | |||
} | } | ||
} | |||
/* || PORTABLE INFOBOXES */ | /* || PORTABLE INFOBOXES */ | ||
| Line 282: | Line 337: | ||
color: var(--button-text-color); | color: var(--button-text-color); | ||
background-color:var(--button-color); | background-color:var(--button-color); | ||
} | } | ||
| Line 306: | Line 346: | ||
padding: 0.1em 0.5em; | padding: 0.1em 0.5em; | ||
text-align:left; | text-align:left; | ||
} | |||
.infobox-nav { | |||
background-position-x: 540px; | |||
background-position-y: 400px; | |||
color: grey; | |||
paint-order: stroke fill; | |||
-webkit-text-stroke: 3px #fff; | |||
text-align:center; | |||
font-size:small; | |||
padding: 0.2em; | |||
} | |||
table td + td { | |||
border-left:1px solid #c8ccd1; | |||
} | } | ||
} | } | ||
/* DDD | /* DDD Infobox */ | ||
.mw-parser-output table.wikitable.lua-infobox.ddd-theme { | .mw-parser-output table.wikitable.lua-infobox.ddd-theme { | ||
box-shadow: 0 0px 10px 1px #ffffffa6; | |||
border | margin-left: 0.75em; | ||
border: 3px solid #000; | |||
background-position-x: 700px; | background-position-x: 700px; | ||
background-position-y: 80px; | background-position-y: 80px; | ||
background-image: | background-image: var(--ddd-bg); | ||
background-blend-mode: screen; | background-blend-mode: screen; | ||
background-size: 700%; | background-size: 700%; | ||
background-color: #dadada; | background-color: #dadada; | ||
.infobox-title { | .infobox-title,.infobox-header { | ||
background-image: var(--ddd-bg); | |||
border-top: 2px solid #000; | |||
border-bottom: 3px solid #000; | |||
paint-order: stroke fill; | paint-order: stroke fill; | ||
-webkit-text-stroke: 4px #000; | -webkit-text-stroke: 4px #000; | ||
box-shadow:inset 0 3px 5px 0 #ffffffa6,inset 0 -3px 5px 0 #ffffffa6; | box-shadow:inset 0 3px 5px 0 #ffffffa6,inset 0 -3px 5px 0 #ffffffa6; | ||
background-position-x: 900px; | background-position-x: 900px; | ||
background-position-y: 330px; | background-position-y: 330px; | ||
background-blend-mode: darken; | background-blend-mode: darken; | ||
color: #fff; | color: #fff; | ||
background-color: #434343; | |||
} | |||
.infobox-title { | |||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
.infobox-header { | .infobox-header { | ||
font-variant:small-caps; | font-variant:small-caps; | ||
font-size:larger; | font-size:larger; | ||
} | } | ||
.infobox-data:not(.infobox-header) { | .infobox-data:not(.infobox-header) { | ||
| Line 361: | Line 406: | ||
box-shadow: inset 0 -1px 5px -5px #000; | box-shadow: inset 0 -1px 5px -5px #000; | ||
font-size:smaller; | font-size:smaller; | ||
} | } | ||
.infobox-img { | .infobox-img { | ||
background-image: var(--ddd-bg); | |||
text-align:center; | text-align:center; | ||
background-position-y: 300px; | background-position-y: 300px; | ||
background-size: 700%; | background-size: 700%; | ||
| Line 383: | Line 418: | ||
} | } | ||
} | } | ||
/* For [[Weathia: Resurrection]] */ | /* For [[Weathia: Resurrection]] */ | ||
| Line 392: | Line 426: | ||
/* || PRINT COMPATIBILITY */ | /* || PRINT COMPATIBILITY */ | ||
@media print { | @media print { | ||
:root { | :root { | ||
| Line 532: | Line 565: | ||
} | } | ||
#personal { | |||
color: var(--header-text-color); | |||
.dropdown { | |||
color: var(--text-color); | |||
} | } | ||
} | |||
/* Triangle position patch */ | /* Triangle position patch */ | ||
| Line 544: | Line 577: | ||
bottom: 0.5em; | bottom: 0.5em; | ||
} | } | ||
/* LOADS DDD THEME FRAMEWORK */ | |||
:root:has(.ddd-theme) { | |||
-- | --header-font: 'Instrument Serif'; | ||
-- | --title-font: 'Instrument Serif'; | ||
#mw-content, | |||
#mw-header-container, | |||
#mw-footer-container, | |||
.mw-first-heading, | |||
.read-more-container-card-list > li .cdx-card, | |||
.toc { | |||
-- | background-image: var(--ddd-bg); | ||
-- | background-blend-mode: overlay; | ||
-- | } | ||
.mw-body .mw-heading h1, | |||
.mw-body .mw-heading h2, | |||
-- | .mw-body .mw-heading h3, | ||
-- | .mw-body .mw-heading h4, | ||
.mw-body .mw-heading h5, | |||
.mw-body .mw-heading h6 { | |||
-- | letter-spacing: 0.1rem; | ||
-- | font-variant: small-caps; | ||
} | |||
-- | .mw-body .mw-heading h1, | ||
.mw-body .mw-heading h2 { | |||
font-size: 30px; | |||
} | |||
.mw-body .mw-heading h3 { | |||
font-size: 26px; | |||
} | |||
.mw-body .mw-heading h4 { | |||
font-size: 24px; | |||
} | |||
.mw-body .mw-heading h5 { | |||
font-size: 22px; | |||
} | |||
.mw-body .mw-heading h6 { | |||
font-size: 20px; | |||
} | |||
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, | |||
body:not(.skin-vector-2022) #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, | |||
.ext-themetoggle-simple-icon::before, | |||
#personal h2, | |||
#personal h2 span { | |||
filter:invert(1); | |||
} | |||
#personal { | |||
margin-right: 1em; | |||
.dropdown { | |||
color:#fff; | |||
background-image: var(--ddd-bg2); | |||
background-size: 300%; | |||
background-blend-mode: overlay; | |||
background-color: #222; | |||
border: 1px solid #ffffff2e; | |||
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6; | |||
} | } | ||
.dropdown::after, | |||
.dropdown::before { | |||
border-bottom-color: #222; | |||
} | } | ||
} | |||
#mw-content { | |||
border:1px solid | border: 1px solid var(--content-color); | ||
background-position-y: 1600px; | background-position-y: 1600px; | ||
background-size: 1000%; | background-size: 1000%; | ||
background-blend-mode: screen; | background-blend-mode: screen; | ||
background-color: | background-color: var(--content-color); | ||
box-shadow: inset 0 0 20px #a5a5a5; | box-shadow: inset 0 0 20px #a5a5a5; | ||
} | |||
.mw-wiki-title { | .mw-wiki-title { | ||
font-family: 'Instrument Serif' | font-family: 'Instrument Serif'; | ||
letter-spacing: 0.1rem; | letter-spacing: 0.1rem; | ||
font-style:italic; | font-style:italic; | ||
} | } | ||
#personal h2 span { | |||
letter-spacing: 0.2rem; | |||
font-weight:bold; | |||
} | |||
#mw-header-container { | |||
background-position-x: 70px; | background-position-x: 70px; | ||
background-position-y: 210px; | |||
background-color: #3b3b3b; | background-color: #3b3b3b; | ||
box-shadow: inset 0 0 10px #7b7b7b; | box-shadow: inset 0 0 10px #7b7b7b; | ||
} | |||
#sidebar-collapsible-toggle { | |||
color: #fff; | |||
} | |||
#catlinks-sidebar { | |||
background-image: var(--ddd-bg2); | |||
background-size: 300%; | |||
background-blend-mode: overlay; | background-blend-mode: overlay; | ||
background-color: #222; | background-color: #222; | ||
border: 1px solid #ffffff2e; | |||
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6; | |||
h3 { | |||
color: #fff; | |||
font-variant: small-caps; | |||
font-style: italic; | |||
text-align:center; | |||
border: 1px solid #ffffff2e; | border: 1px solid #ffffff2e; | ||
padding: 0.5em; | |||
border-radius: 12px; | |||
background-image: var(--ddd-bg); | |||
background-size: 200%; | background-size: 200%; | ||
background-blend-mode: overlay; | |||
background-color: #0c0c0c; | |||
} | |||
a { | |||
color: #fff; | |||
} | } | ||
} | |||
#mw-footer-container { | |||
background-position-x: 70px; | background-position-x: 70px; | ||
background-position-y: 210px; | |||
background-color: #191919; | background-color: #191919; | ||
} | |||
.read-more-container-card-list > li .cdx-card { | .read-more-container-card-list > li .cdx-card { | ||
background-position-x: 70px; | |||
background-position-y: 210px; | |||
background-color: #383837; | background-color: #383837; | ||
border:none; | |||
box-shadow:inset 0 1px 5px -5px #ffffffa6,inset 0 0px 10px 1px #ffffffa6; | |||
transition: 0.2s; | transition: 0.2s; | ||
&:hover { | &:hover { | ||
| Line 677: | Line 714: | ||
background-position-x: 400px; | background-position-x: 400px; | ||
background-position-y: 80px; | background-position-y: 80px; | ||
} | |||
.cdx-card__text__title, | |||
.read-more-container-heading { | |||
color: #fff; | |||
} | } | ||
.mw-first-heading { | |||
font-family: 'Instrument Serif' | font-family: 'Instrument Serif'; | ||
font-style:italic; | font-style:italic; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: #fff; | color: #fff; | ||
paint-order: stroke fill; | |||
-webkit-text-stroke: 8px #000; | |||
letter-spacing: 0.2rem; | |||
text-align: center; | |||
mask-image:linear-gradient(to right,transparent,black 15% 85%, transparent); | |||
padding: 0.3em; | |||
box-shadow:inset 0 3px 15px -5px #ffffffa6,inset 0 0px 15px 0 #ffffffa6; | |||
border-top: 3px solid #000; | |||
border-bottom: 3px solid #000; | |||
background-position-y: 120px; | |||
background-size: 150%; | |||
background-color: #333; | |||
} | |||
.toc { | |||
background-position-y: 320px; | |||
background-size: 650%; | |||
background- | background-color: #222; | ||
background- | |||
background-color: # | |||
box-shadow:inset 0 1px 5px -5px #ffffffa6,inset 0 0px 10px 1px #ffffffa6; | box-shadow:inset 0 1px 5px -5px #ffffffa6,inset 0 0px 10px 1px #ffffffa6; | ||
color: #fff; | |||
border:none; | |||
.toctogglelabel::after { | h2 { | ||
font-family: var(--header-font); | |||
letter-spacing: 0.05rem; | |||
font-size: 16px; | |||
} | |||
.toctogglelabel::after, .toctext, .tocnumber { | |||
color:#fff; | |||
} | } | ||
li { | |||
padding: 0.2em 0 0.2em 0.2em; | |||
} | } | ||
} | |||
#mw-content-container { | |||
background-image: url('https://nbittrpgwiki.pynappo.xyz/images/2/21/MonochromeForest.png'); | |||
background-color: #6a6866; | |||
background-blend-mode: multiply; | |||
} | |||
#mw-content-block { | #mw-content-block { | ||
background: #000000; | background: #000000; | ||
background: linear-gradient(90deg,rgba(0, 0, 0, 1) 5%, rgba(110, 110, 110, 0) 20%); | background: linear-gradient(90deg,rgba(0, 0, 0, 1) 5%, rgba(110, 110, 110, 0) 20%); | ||
} | } | ||
#mw-site-navigation .sidebar-chunk .mw-portlet > div, | |||
#mw-site-navigation .sidebar-chunk .mw-portlet > div, | #mw-site-navigation .sidebar-chunk .mw-portlet-body { | ||
#mw-site-navigation .sidebar-chunk .mw-portlet-body { | |||
margin-bottom: 1em; | margin-bottom: 1em; | ||
margin-left: -0.3em; | margin-left: -0.3em; | ||
} | } | ||
#mw-site-navigation { | |||
#mw-site-navigation { | & .sidebar-chunk { | ||
clip-path:none; | |||
background-image: var(--ddd-bg2); | |||
background-size: 700%; | background-size: 700%; | ||
background-blend-mode: overlay; | |||
background-color: #222; | |||
border:none; | border:none; | ||
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6; | box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6; | ||
h3 { | |||
font-family: var(--header-font); | |||
font-variant: small-caps; | |||
font-size: 20px; | |||
letter-spacing: 0.05rem; | |||
line-height: 0.3; | |||
font-weight: bold; | |||
border-bottom: 3px solid white; | |||
margin: 0.2em 0; | |||
background-color:unset; | |||
border-image: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0) 100%) 1; | |||
a:hover { | |||
text-decoration:none; | |||
} | |||
} | |||
li { | |||
padding: 0.5em; | |||
transition: 0.2s; | |||
&:hover { | |||
transform: translateX(8px); | |||
background: linear-gradient(90deg,#ffeb6736 40%, rgba(110, 110, 110, 0) 95%); | |||
box-shadow: inset 8px 0 10px -5px #ffeb6570 | |||
} | |||
} | |||
li > a { | |||
color: #fff; | |||
transition: 0.2s; | |||
} | |||
li > a:hover, | |||
li > a:hover::before { | |||
text-decoration:none; | |||
filter: drop-shadow(0 0 0.2rem #dcb114); | |||
} | |||
#p-Recent_changes .rc-sidebar-user a, | |||
.citizen-page-aside__panel--rcsidebar .rc-sidebar-user a { | |||
color: #808080; | |||
} | |||
p.rc-sidebar-user { | |||
margin:0; | |||
} | } | ||
} | } | ||
} | |||
.navbox:has(.ddd-theme) { | |||
background-image: var(--ddd-bg); | |||
background-color: #000; | |||
background-blend-mode: multiply; | |||
background-position-y: 150px; | |||
color: #fff; | |||
.mw-collapsible-text, | |||
.mw-customtoggle, | |||
.mw-collapsible-toggle { | |||
color:#fff; | |||
} | |||
.navbox-title { | |||
background: var(--ddd-bg); | |||
background-position-y: 150px; | |||
a, abbr { | |||
color: #fff; | color: #fff; | ||
} | } | ||
} | } | ||
.navbox-subgroup { | |||
background-image: var(--ddd-bg); | |||
background-blend-mode: screen; | |||
background-color: #fff; | |||
box-shadow: inset 0 0 20px #a5a5a5; | |||
} | |||
.navbox-list ul { | |||
color: #000; | |||
} | |||
} | |||
} | } | ||
Latest revision as of 19:55, 20 October 2026
/* All CSS here will be loaded for users of the Timeless skin */
:root {
--main-font: 'Rubik';
--header-font: 'Rubik';
--title-font: 'Lora';
/* BACKGROUNDS */
--ddd-bg: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png");
--ddd-bg2: url("https://nbittrpgwiki.pynappo.xyz/images/2/27/DDDTextureVertical.png");
/* COLORS */
--background-color: rgb(227, 227, 227);
--content-color: rgba(255, 250, 242);
--text-color: rgb(61, 44, 35, 1);
--link-color: #8346a0;
--link-hover-color: #5e188a;
--link-new-color: #ff3874;
--text-stroke-color: #fff;
--search-bg-color: rgba(255, 250, 242);;
--border-color: #be7e32;
--header-color: rgb(104 71 53);
--header-text-color: rgb(255, 255, 255);
--sidebar-header-color: #6f4229;
--sidebar-header-text: #fff;
--gradient-start: rgb(225, 225, 225);
--gradient-end: rgb(111, 111, 111);
--banner-color: #743f95;
--footer-color: #201a16;
--footer-text-color:#977b50;
--footer-link-color:#a88e67;
--footer-link-hover-color:#d9b299;
--cdx-button-color: #bea48b;
--cdx-button-hover: #f5dfca;
--button-color: rgba(104, 83, 68, 1);
--button-text-color: rgb(255, 255, 255);
}
/* || BACKGROUNDS */
.ddd-quote-bg {
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png");
}
/* || GENERAL */
body {
font-family: var(--main-font);
color: var(--text-color);
}
pre, code {
font-family:monospace;
}
a:not(.new),
#mw-content a:not(.new),
a:visited,
a:visited:hover {
color: var(--link-color);
}
.mw-wiki-title:hover {
color: var(--header-text-color) !important;
text-decoration:none;
}
.new a {
color: var(--link-new-color);
}
/* || HEADINGS */
.mw-heading {
h1, h2, h3, h4, h5 {
font-family: var(--header-font);
font-weight: bold;
}
}
.mw-body {
h1, h2, h3, h4, h5 {
font-family: var(--header-font);
font-weight: bold;
}
h1.firstHeading {
border-bottom: none;
}
}
/* || HEADER */
#mw-header-container {
background-color: var(--header-color);
}
#p-banner.mw-wiki-title {
color: var(--header-text-color);
font-family: var(--title-font);
font-weight:bold;
font-size: 18px;
margin-top: -0.2em;
}
/* SEARCH BAR */
#simpleSearch {
background: var(--search-bg-color);
border: 1px solid var(--border-color);
border-radius: 8px;
}
.suggestions-results .suggestions-result {
display: flex;
align-items: center;
flex-direction: row;
justify-content: flex-start;
height: 32px;
}
.suggestions-result:not(:has(.suggestion-thumbnail, .suggestion-nothumbnail)) {
padding-left: calc(2em + 40px);
}
.suggestion-thumbnail {
width: 32px;
height: 32px;
margin-right: 8px;
object-fit: contain;
transition: .25s all
}
.suggestion-nothumbnail {
width: 32px;
height: 32px;
margin-right: 8px;
border-radius: 4px;
transition: .25s all
}
.suggestion-isredirectwrap {
flex-grow: 1;
order: 3;
display: flex;
justify-content: end;
align-items: center;
margin: auto;
}
.suggestion-isredirect {
border-radius: 8px;
background: var(--gradient-end);
padding: 2px 5px;
border: 1px solid var(--header-color);
color: rgba(255, 255, 255, 0.6);
font-size: small;
margin: auto 0px;
}
.suggestions-result:hover .suggestion-thumbnail {
width: 50px;
}
.color-bar {
width:0;
}
/* || SIDEBAR */
#ca-delete { display: none !important; }
#page-tools { display: none !important;}
#t-cargopagevalueslink { display:none }
#t-smwbrowselink { display:none }
@keyframes highlight {
from {
background-position: 0;
}
to {
background-position: -100%;
}
}
/* Removes logo for now */
.mw-wiki-logo {
display: none;
}
#site-navigation .sidebar-chunk {
margin-top: 4.5em;
}
#mw-site-navigation {
padding-top: 0.2em;
.sidebar-chunk h3 {
border-bottom:none;
background-color: var(--sidebar-header-color);
color: var(--sidebar-header-text);
padding: 0.4em 0.4em 0.4em 1.5em;
clip-path: polygon(90% 50%, 100% 100%, 0% 100%, 0% 0%, 100% 0%);
}
.sidebar-chunk {
padding-top: 1em;
padding-bottom: 1em;
background-color: var(--content-color);
box-shadow: 0 0 8px rgba(0,0,0,0.2);
h3 > a {
color: var(--font-color);
}
ul > a:hover {
animation-name: highlight;
animation-duration: 0.25s;
animation-fill-mode: forwards;
background-size: 200%;
background-image: linear-gradient(to left, #eacf1b70 50%, transparent 50%);
}
clip-path: polygon(100% 0, 100% 100%, 99% 98%, 95% 99%, 92% 99%, 89% 100%, 86% 99%, 83% 100%, 77% 99%, 72% 100%, 66% 98%, 62% 100%, 59% 99%, 54% 99%, 49% 100%, 46% 98%, 43% 100%, 40% 98%, 38% 100%, 35% 99%, 31% 100%, 28% 99%, 25% 99%, 22% 100%, 19% 99%, 16% 100%, 13% 99%, 10% 99%, 7% 100%, 4% 99%, 0% 100%, 0% 0%);
}
}
#mw-related-navigation {
position: sticky;
top: 70px;
}
#mw-related-navigation .sidebar-chunk {
background: var(--content-color);
box-shadow: 0 0 8px rgba(0,0,0,0.2);
border-radius: 20px;
}
#localNotice {
background-color: var(--content-color);
}
/* Edit button changes */
#ca-ve-edit a::before {
content: "Visual edit";
}
#ca-ve-edit span {
display:none;
}
/* || WIKI CONTENT */
#mw-content-block,
#mw-content-container {
background: linear-gradient(180deg, var(--gradient-start) 0%, rgba(0, 0, 0, 0) 100%), var(--gradient-end);
background-color: var(--background-color);
border-bottom: none;
}
#mw-content {
padding-left: 1.5em;
padding-right: 1.5em;
box-shadow: 0 0 8px rgba(0,0,0,0.2);
background-color: var(--content-color);
}
/* || CATEGORY LINKS */
#catlinks {
padding: 0.5em;
padding-bottom: 0.1em;
border: 2px solid color-mix(in srgb, var(--link-color) 30%, transparent);
margin-top: 1em;
margin-bottom: 1em;
color: #000;
}
/* || RELATED PAGES */
.client-js .read-more-container {
padding: 0;
margin: 1em;
}
.read-more-container-heading {
color: var(--text-color);
border-bottom: 0;
padding-bottom: 0.5em;
font-size: 0.8em;
font-weight: normal;
letter-spacing: 1px;
text-transform: uppercase;
}
.cdx-card {
background: var(--content-color);
}
/* || FOOTER */
.mw-footer-container {
background-color: var(--footer-color);
color: var(--footer-text-color);
a {
color: var(--footer-link-color);
text-decoration:underline;
&:hover {
color: var(--footer-link-hover-color);
}
&.external {
color: var(--footer-link-color);
&:hover {
color: var(--footer-link-hover-color);
}
}
}
}
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled {
background: var(--cdx-button-color);
&:hover {
background-color: var(--cdx-button-hover);
}
}
/* || PORTABLE INFOBOXES */
.portable-infobox {
margin-right:3px;
border-radius:5px;
}
.portable-infobox .pi-navigation {
paint-order: stroke fill;
-webkit-text-stroke: 3px var(--text-stroke-color);
}
.portable-infobox .pi-item-spacing {
border-radius:2px;
}
.pi-section-navigation .pi-section-tab.pi-section-active, .pi-section-navigation .pi-section-tab.current, .pi-media-collection .pi-tab-link.current {
color: var(--banner-text-color);
border-radius:2px;
border-bottom: 1px solid var(--button-text-color);
}
.portable-infobox .pi-header, .portable-infobox .pi-title {
text-align: center;
color: var(--button-text-color);
background-color:var(--button-color);
}
.lua-infobox {
.infobox-label {
width: 5.5em;
}
.infobox-label, .infobox-data {
padding: 0.1em 0.5em;
text-align:left;
}
.infobox-nav {
background-position-x: 540px;
background-position-y: 400px;
color: grey;
paint-order: stroke fill;
-webkit-text-stroke: 3px #fff;
text-align:center;
font-size:small;
padding: 0.2em;
}
table td + td {
border-left:1px solid #c8ccd1;
}
}
/* DDD Infobox */
.mw-parser-output table.wikitable.lua-infobox.ddd-theme {
box-shadow: 0 0px 10px 1px #ffffffa6;
margin-left: 0.75em;
border: 3px solid #000;
background-position-x: 700px;
background-position-y: 80px;
background-image: var(--ddd-bg);
background-blend-mode: screen;
background-size: 700%;
background-color: #dadada;
.infobox-title,.infobox-header {
background-image: var(--ddd-bg);
border-top: 2px solid #000;
border-bottom: 3px solid #000;
paint-order: stroke fill;
-webkit-text-stroke: 4px #000;
box-shadow:inset 0 3px 5px 0 #ffffffa6,inset 0 -3px 5px 0 #ffffffa6;
background-position-x: 900px;
background-position-y: 330px;
background-blend-mode: darken;
color: #fff;
background-color: #434343;
}
.infobox-title {
padding: 0.5em;
}
.infobox-header {
font-variant:small-caps;
font-size:larger;
}
.infobox-data:not(.infobox-header) {
border:none;
}
.infobox-label {
color: #000;
font-style: italic;
font-variant:small-caps;
font-weight:bold;
}
.infobox-data {
border-bottom: 0;
box-shadow: inset 0 -1px 5px -5px #000;
font-size:smaller;
}
.infobox-img {
background-image: var(--ddd-bg);
text-align:center;
background-position-y: 300px;
background-size: 700%;
background-color: #c4c4c4;
background-blend-mode: overlay;
box-shadow:inset 0 3px 5px 0 #ffffffa6,inset 0 -3px 5px 0 #ffffffa6;
padding: 0.25em;
}
}
/* For [[Weathia: Resurrection]] */
.fluidimg100 img, .fluidimg img {
max-width:100%;
height:auto;
}
/* || PRINT COMPATIBILITY */
@media print {
:root {
--background-color: rgb(0, 0, 0);
--content-color: rgba(255, 255, 255);
--text-color: rgb(0, 0, 0);
--link-color: #7d7d7d;
--link-hover-color: #bfbfbf;
--link-new-color: #ff3838;
--text-stroke-color: #000;
--search-bg-color: rgba(255, 250, 242);;
--border-color: #b0b0b0;
--header-color: rgb(0 0 0);
--header-text-color: rgb(255, 255, 255);
--sidebar-header-color: #fff;
--sidebar-header-text: #fff;
--gradient-start: rgb(255, 255, 255);
--gradient-end: rgb(255, 255, 255);
--banner-color: #fff;
--footer-color: #fff;
--footer-text-color:#000;
--footer-link-color:#aaa;
--footer-link-hover-color:#aaa;
--cdx-button-color: #c9c9c9;
--cdx-button-hover: #fff;
--button-color: rgba(170, 170, 170);
--button-text-color: rgb(255, 255, 255);
}
#tabs,
.toc,
.navbox {
display:none;
}
#mw-content {
box-shadow: none;
margin:0;
}
.portable-infobox {
border: 2px solid #000 ;
}
.portable-infobox .pi-navigation {
-webkit-text-stroke: 0;
}
.portable-infobox .pi-header,
#mw-content-text .pi-title {
color: var(--text-color);
}
}
/* One-sided navigation menu - MEDIAWIKI SNIPPET */
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
margin-right:1em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
#mw-content,
#content-bottom-stuff {
margin-right:1em;
}
}
@media screen and (min-width: 851px) and (max-width: 1099px) {
#mw-content,
#content-bottom-stuff {
margin-left: 1em;
margin-right:1em;
}
#mw-content:before {
display:none;
}
#mw-content:after {
display:none;
}
}
@media screen and (max-width: 850px) {
#mw-content,
#content-bottom-stuff {
margin-right:1em;
}
}
@media screen and (max-width: 600px) {
#mw-content,
#content-bottom-stuff {
margin-right:0;
margin-left:-1em;
}
}
/* Align top colour bar with page columns */
.ts-inner {
padding: 0 0 0 1em;
}
/* Re-aligning bottom logos */
#mw-footer {
padding-right: 1em;
}
/* Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
height: 1.5em;
position:relative;
bottom:0.1em;
font-family: var(--header-font);
}
#personal {
color: var(--header-text-color);
.dropdown {
color: var(--text-color);
}
}
/* Triangle position patch */
#personal h2::after {
position: relative;
bottom: 0.5em;
}
/* LOADS DDD THEME FRAMEWORK */
:root:has(.ddd-theme) {
--header-font: 'Instrument Serif';
--title-font: 'Instrument Serif';
#mw-content,
#mw-header-container,
#mw-footer-container,
.mw-first-heading,
.read-more-container-card-list > li .cdx-card,
.toc {
background-image: var(--ddd-bg);
background-blend-mode: overlay;
}
.mw-body .mw-heading h1,
.mw-body .mw-heading h2,
.mw-body .mw-heading h3,
.mw-body .mw-heading h4,
.mw-body .mw-heading h5,
.mw-body .mw-heading h6 {
letter-spacing: 0.1rem;
font-variant: small-caps;
}
.mw-body .mw-heading h1,
.mw-body .mw-heading h2 {
font-size: 30px;
}
.mw-body .mw-heading h3 {
font-size: 26px;
}
.mw-body .mw-heading h4 {
font-size: 24px;
}
.mw-body .mw-heading h5 {
font-size: 22px;
}
.mw-body .mw-heading h6 {
font-size: 20px;
}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
body:not(.skin-vector-2022) #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
.ext-themetoggle-simple-icon::before,
#personal h2,
#personal h2 span {
filter:invert(1);
}
#personal {
margin-right: 1em;
.dropdown {
color:#fff;
background-image: var(--ddd-bg2);
background-size: 300%;
background-blend-mode: overlay;
background-color: #222;
border: 1px solid #ffffff2e;
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6;
}
.dropdown::after,
.dropdown::before {
border-bottom-color: #222;
}
}
#mw-content {
border: 1px solid var(--content-color);
background-position-y: 1600px;
background-size: 1000%;
background-blend-mode: screen;
background-color: var(--content-color);
box-shadow: inset 0 0 20px #a5a5a5;
}
.mw-wiki-title {
font-family: 'Instrument Serif';
letter-spacing: 0.1rem;
font-style:italic;
}
#personal h2 span {
letter-spacing: 0.2rem;
font-weight:bold;
}
#mw-header-container {
background-position-x: 70px;
background-position-y: 210px;
background-color: #3b3b3b;
box-shadow: inset 0 0 10px #7b7b7b;
}
#sidebar-collapsible-toggle {
color: #fff;
}
#catlinks-sidebar {
background-image: var(--ddd-bg2);
background-size: 300%;
background-blend-mode: overlay;
background-color: #222;
border: 1px solid #ffffff2e;
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6;
h3 {
color: #fff;
font-variant: small-caps;
font-style: italic;
text-align:center;
border: 1px solid #ffffff2e;
padding: 0.5em;
border-radius: 12px;
background-image: var(--ddd-bg);
background-size: 200%;
background-blend-mode: overlay;
background-color: #0c0c0c;
}
a {
color: #fff;
}
}
#mw-footer-container {
background-position-x: 70px;
background-position-y: 210px;
background-color: #191919;
}
.read-more-container-card-list > li .cdx-card {
background-position-x: 70px;
background-position-y: 210px;
background-color: #383837;
border:none;
box-shadow:inset 0 1px 5px -5px #ffffffa6,inset 0 0px 10px 1px #ffffffa6;
transition: 0.2s;
&:hover {
filter: brightness(1.2);
}
}
.read-more-container-card-list > li:nth-child(2n+1) .cdx-card {
background-position-x: 70px;
background-position-y: 110px;
}
.read-more-container-card-list > li:nth-child(3n) .cdx-card {
background-position-x: 400px;
background-position-y: 80px;
}
.cdx-card__text__title,
.read-more-container-heading {
color: #fff;
}
.mw-first-heading {
font-family: 'Instrument Serif';
font-style:italic;
text-transform: uppercase;
color: #fff;
paint-order: stroke fill;
-webkit-text-stroke: 8px #000;
letter-spacing: 0.2rem;
text-align: center;
mask-image:linear-gradient(to right,transparent,black 15% 85%, transparent);
padding: 0.3em;
box-shadow:inset 0 3px 15px -5px #ffffffa6,inset 0 0px 15px 0 #ffffffa6;
border-top: 3px solid #000;
border-bottom: 3px solid #000;
background-position-y: 120px;
background-size: 150%;
background-color: #333;
}
.toc {
background-position-y: 320px;
background-size: 650%;
background-color: #222;
box-shadow:inset 0 1px 5px -5px #ffffffa6,inset 0 0px 10px 1px #ffffffa6;
color: #fff;
border:none;
h2 {
font-family: var(--header-font);
letter-spacing: 0.05rem;
font-size: 16px;
}
.toctogglelabel::after, .toctext, .tocnumber {
color:#fff;
}
li {
padding: 0.2em 0 0.2em 0.2em;
}
}
#mw-content-container {
background-image: url('https://nbittrpgwiki.pynappo.xyz/images/2/21/MonochromeForest.png');
background-color: #6a6866;
background-blend-mode: multiply;
}
#mw-content-block {
background: #000000;
background: linear-gradient(90deg,rgba(0, 0, 0, 1) 5%, rgba(110, 110, 110, 0) 20%);
}
#mw-site-navigation .sidebar-chunk .mw-portlet > div,
#mw-site-navigation .sidebar-chunk .mw-portlet-body {
margin-bottom: 1em;
margin-left: -0.3em;
}
#mw-site-navigation {
& .sidebar-chunk {
clip-path:none;
background-image: var(--ddd-bg2);
background-size: 700%;
background-blend-mode: overlay;
background-color: #222;
border:none;
box-shadow:inset 0 3px 5px -5px #ffffffa6,inset 0 0px 5px 0 #ffffffa6;
h3 {
font-family: var(--header-font);
font-variant: small-caps;
font-size: 20px;
letter-spacing: 0.05rem;
line-height: 0.3;
font-weight: bold;
border-bottom: 3px solid white;
margin: 0.2em 0;
background-color:unset;
border-image: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0) 100%) 1;
a:hover {
text-decoration:none;
}
}
li {
padding: 0.5em;
transition: 0.2s;
&:hover {
transform: translateX(8px);
background: linear-gradient(90deg,#ffeb6736 40%, rgba(110, 110, 110, 0) 95%);
box-shadow: inset 8px 0 10px -5px #ffeb6570
}
}
li > a {
color: #fff;
transition: 0.2s;
}
li > a:hover,
li > a:hover::before {
text-decoration:none;
filter: drop-shadow(0 0 0.2rem #dcb114);
}
#p-Recent_changes .rc-sidebar-user a,
.citizen-page-aside__panel--rcsidebar .rc-sidebar-user a {
color: #808080;
}
p.rc-sidebar-user {
margin:0;
}
}
}
.navbox:has(.ddd-theme) {
background-image: var(--ddd-bg);
background-color: #000;
background-blend-mode: multiply;
background-position-y: 150px;
color: #fff;
.mw-collapsible-text,
.mw-customtoggle,
.mw-collapsible-toggle {
color:#fff;
}
.navbox-title {
background: var(--ddd-bg);
background-position-y: 150px;
a, abbr {
color: #fff;
}
}
.navbox-subgroup {
background-image: var(--ddd-bg);
background-blend-mode: screen;
background-color: #fff;
box-shadow: inset 0 0 20px #a5a5a5;
}
.navbox-list ul {
color: #000;
}
}
}
