MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ .mobileonly { display: none; }

/************************************************************* /* this CSS governs the responsive 2 column main page layout */ /*************************************************************/ .fpcontent { width: 100%; overflow: hidden; z-index: 1; }

.fpmaybecols { overflow: hidden; margin: -5px 0 -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px 0; }

.fpbox { border-radius: 5px; margin: 5px 5px 5px 5px; padding: 9px; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fpbox .welcome { font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; }

.fpbox .heading { border-bottom: 1px solid #505050; color: #FFFFFF; /* change for hydra (light) wikis */ }

.fpbox .heading .smalllink { font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

.fplinks { margin: -5px; }

.fplinks .linkslabel { background: rgba(0, 0, 0, 0); border-bottom: 2px solid #505050; margin: 15px 5px 5px 5px; padding: 0 0 5px 0; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { border-collapse: separate; border-spacing: 10px; display: table; width: 100%; }

.fplink .box .row { display: table-row; }

.fplink .box .row .cell { border-radius: 4px; display: table-cell; padding: 0 6px; position: relative; text-align: center; vertical-align: middle; }

.fplink.wide .box .row .cell { padding: 0 5px; }

height: 114px; width: 114px; }
 * 1) fptopsection .fplink.image,
 * 2) fpflexsection .fplink.image,
 * 3) fpbottomsection .fplink.image {

.fplink.image .box .row .cell { height: 100px; width: 100px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { height: 100px; width: 100px; }

@media (min-width: 470px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 580px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 690px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; } }

@media (min-width: 800px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 910px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

@media (min-width: 990px) { .fpcontent { padding-right: 0px; width: auto; }

#fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px }

#fpbottomsection { float: left; width: 100%; margin-top: -5px; }

#fptopsection .fplink, #fpbottomsection .fplink { width: 50%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 100%; }

#fpflexsection .fplink { width: 25%; }

#fpflexsection .fplink.wide { width: 50%; } }

@media (min-width: 1100px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 33.333%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 66.666%; } }

@media (min-width: 1210px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 25%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 50%; } }

@media (min-width: 1320px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 20%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 40%; } }

@media (min-width: 1430px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 16.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 33.333%; }

.fplink a { padding: 3px 5px; } }

@media (min-width: 1540px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 14.285%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 28.571%; }

#fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox { background-image: none; }

.fpmaybelcol { float: left; width: 70.886%; }

#fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 20%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 40%; }

.fpmaybercol { float: right; width: 29.113%; }

#fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 50%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 100%; } }

@media (min-width: 1650px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 12.5%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 25%; } }

@media (min-width: 1697px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 16.666%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 33.333%; } }

@media (min-width: 1760px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 11.111%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 22.222%; } }

@media (min-width: 1850px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 14.285%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 28.571%; } }

@media (min-width: 1870px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 10%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 20%; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 134px; height: 134px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 120px; height: 120px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

@media (min-width: 1918px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 33.333%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 66.666%; } }

@media (min-width: 1980px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 9.09%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 18.181%; } }

@media (min-width: 2006px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 12.5%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 25%; } }

@media (min-width: 2090px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 8.33%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 16.666%; } }

@media (min-width: 2161px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 11.111%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 22.222%; } }

@media (min-width: 2200px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.692%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 15.384%; } }

@media (min-width: 2296px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 25%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 50%; } }

@media (min-width: 2310px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.142%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 14.285%; } }

@media (min-width: 2316px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 10%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 20%; } }

@media (min-width: 2420px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 6.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 13.333%; }

.fplink a { padding: 5px 5px; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 164px; height: 164px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 150px; height: 150px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 150px; height: 150px; } }

.fplink.image .image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 75%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 1px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { background: rgba(0, 0, 0, 0.1); border-top: 2px solid #505050; }

.fplink.wide a { margin: 0 -5px; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; }

.fpvideo { display: inline-block; margin: 0 5px; }

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* hydradark fpboxes start */

.fpbox { background: rgba(0, 0, 0, 0.1); border: 1px solid #505050; color: #e0e0e0; /* change for hydra (light) wikis */ }

.fpbox .welcome { border-bottom: 1px solid #505050; color: #AFAEAB; /* change for hydra (light) wikis */ }

.fpbox .heading { border-bottom: 1px solid #505050; color: #FFFFFF; /* change for hydra (light) wikis */ }

.fpbox .heading .smalllink { color: #e0e0e0; /* change for hydra (light) wikis */ }

.fplink .box .row .cell { background: #130d13; border: 1px solid #c0c0c0; color: #130d13; }

.fplink a { color:white !important; }

/* "create page" form */ .nomobile { padding: 20px; } .nomobile form.createbox { margin: 10px; }

/* hydradark fpboxes end */

/* custom theme start */


 * root {

--bg-color: #151015ea; --bg-color-solid: #151015; --txt-color: #eee; --txt-color-dark: #bbb; --url-color: #fab; --url-color-visited: #c8a; --light-border-color: #fff6; --dark-pink: #867; --dark-green: #676; --table-bg-header: #0009; --table-bg: #0005; --edit-url-color: #c9b; --toc-bg-color: #0002; --toc-num-color: #aaa; --leftnavbar-url-color: #fef; --leftnavbar-header-color: #ddd; --header-bg-color: #12101250; --header-tab-bg: linear-gradient(#302530da,#151015da); --header-tab-color: #eee; --embed-bg: #171017b0; --diff-delete: #955; --diff-add: #595; }

/* main */ body { background-color: var(--bg-color-solid); background-image: url(https://static.miraheze.org/rainworldwiki/d/d6/Slugs.png); background-position: center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; } .mw-body { background-color: var(--bg-color); color: var(--txt-color); border: 1px solid var(--light-border-color); } .mw-body h1, h2, h3, h4, h5, h6 { color: var(--txt-color); } .mw-body a, .mw-parser-output a.external { color: var(--url-color); } .mw-body a:visited, .mw-parser-output a.external:visited { color: var(--url-color-visited) } .mw-body .mw-editsection a { color: var(--edit-url-color); } ul { list-style: circle; }

/* table of contents */ .toc { background-color: var(--toc-bg-color); border-radius: 4px; } .tocnumber { color: var(--toc-num-color); } .toctext { color: var(--leftnavbar-url-color) }

/* left nav bar */ background-color: var(--header-bg-color); } color: var(--leftnavbar-url-color); font-weight: 600; } color: var(--leftnavbar-header-color); }
 * 1) mw-panel {
 * 1) mw-panel a {
 * 1) mw-panel span {

/* header */ background: none; } background-color: var(--header-bg-color); } background-image: var(--header-tab-bg); } color: var(--header-tab-color); } background-image: none; } .oo-ui-icon-tray, .oo-ui-icon-bell { background-color: var(--txt-color); } color: var(--leftnavbar-url-color); }
 * 1) mw-page-base {
 * 1) mw-head {
 * 1) mw-head .vector-menu-content-list li {
 * 1) mw-head a {
 * 1) mw-head #p-personal li {
 * 1) mw-head #p-personal #pt-userpage a {

/* thumbnails and embeds */ .thumbinner, .catlinks { background-color: var(--embed-bg) !important; } .catlinks { border-radius: 4px; } .catlinks a { color: var(--leftnavbar-url-color) } .thumbimage { background-color: var(--embed-bg); }

/* infoboxes */ .infoboxtable { float: right; padding: 10px; border: 1px solid var(--txt-color); border-radius: 4px; font-size: 90%; margin-left: 1em; margin-bottom: 0.5em; width: 300px } .infoboxtable td { vertical-align: top } .infoboxtable td > div { background-color: var(--embed-bg); font-weight: bold; padding: 0.5px 7px } .infoboxname { background-color: var(--embed-bg); font-size: 110%; font-weight: bold; padding: 0.4em } .infoboxdetails { background-color: var(--embed-bg); padding: 0.15em; } .infoboxname, .infoboxdetails, .infoboxtable .mw-collapsible th{ border-radius: 2px !important; border: 1px solid #767; } .mw-collapsible th { background-color: var(--embed-bg) !important; }

/* file history */ background-color: var(--toc-bg-color); border: 1px solid var(--txt-color); border-radius: 2px; }
 * 1) filetoc {

/* footer */ color: var(--leftnavbar-header-color); } color: var(--leftnavbar-url-color); font-weight: 800; }
 * 1) footer-info li {
 * 1) footer-info a, #footer-places a {

/* image gallery */ li.gallerybox div.thumb { background-color: var(--toc-bg-color); border-radius: 3px; }

/* general tables */ .wikitable { background-color: var(--table-bg-color) !important; color: var(--txt-color) !important; } .wikitable th { background-color: var(--table-bg-header) !important; }

/* page history comparer */ background-color: transparent; outline: none; color: var(--txt-color); border: 1px dashed var(--txt-color); }
 * 1) pagehistory li.selected {

/* page diff */ .diff-context { background-color: var(--embed-bg); color: var(--txt-color); } .diff-deletedline { border-color: var(--diff-delete); } .diff-deletedline .diffchange { background-color: var(--diff-delete); } .diff-addedline { border-color: var(--diff-add); } .diff-addedline .diffchange { background-color: var(--diff-add); }

/* recent changes page */ .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background-color: var(--embed-bg); border-radius: 3px; } .mw-rcfilters-ui-filterTagItemWidget .oo-ui-labelElement-label, .oo-ui-buttonElement-button .oo-ui-labelElement-label { color: var(--txt-color-dark); } .mw-rcfilters-ui-filterWrapperWidget-showNewChanges .oo-ui-labelElement-label, .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-labelElement-label { color: var(--txt-color); }

/* file metadata and licensing */ .toccolours { background-color: var(--embed-bg); } .fileinfo-paramfield { background-color: var(--bg-color-solid) } .licensetpl_wrapper, .licensetpl, .layouttemplate table { background-color: var(--embed-bg) !important; } background-color: var(--embed-bg); }
 * 1) mw_metadata th, #mw_metadata td {

/* uploaded files list */ .mw-datatable th, .mw-datatable td { background-color: var(--embed-bg); } .mw-datatable tr:hover td { background-color: var(--bg-color-solid); }

/* search bar */ background-color: var(--embed-bg); border-color: var(--light-border-color); color: var(--txt-color); }
 * 1) searchInput {

/* deleted pages page text box & email text box */ .oo-ui-textInputWidget .oo-ui-inputWidget-input { color: var(--txt-color); }

/* help text (extensions manager, etc.) */ .oo-ui-inline-help { color: var(--txt-color-dark) !important; }

/* main page page creator */ .createboxInput { background-color: var(--embed-bg); border-color: var(--txt-color-dark); color: var(--txt-color) } .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:disabled { background-color: var(--embed-bg); border: 1px solid var(--txt-color-dark); transition: ease-in-out 0.3s; } .mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:disabled:hover { background-color: var(--embed-bg); border: 1px solid var(--url-color); } .mw-body-content blockquote { border-left: 2px solid #eaecf040; }

/* userprofile extension support */ background-color: transparent; border-radius: 4px; } .no-info-container, .profile-info-container, .profile-on { background-color: var(--embed-bg); border: 1px solid var(--txt-color); border-radius: 4px; color: var(--txt-color); } .profile-info-container { margin-bottom: 20px; } .profile-info-container div { padding: 10px 20px; color: var(--txt-color); } .profile-info-container div b { color: var(--txt-color-dark); font-size: 0.9em; } background-color: var(--embed-bg); border: 1px solid var(--txt-color-dark); border-radius: 3px; } .profile-tab-on { background-color: var(--dark-pink); } .profile-on { background-color: var(--dark-green); color: white; padding: 5px; } .profile-update-title, .profile-update-unit-left { color: var(--txt-color); } .eye-container { opacity: 0.8; } .eye-container .title { color: black; } .eye-container .menu .item, .eye-container .menu .item:hover { color: black; } .tux-editor-header { color: #fff; font-size: 14px; } .group-warning { background: #371425; padding: 5px; margin: 5px 0; } .tux-breadcrumb { color: #fff; font-size: 14pt; line-height: 1.25em; } .tux-breadcrumb__item--aggregate { cursor: pointer; color: #FEF; } .ext-translate-language-selector-label { color: #fff; } .ext-translate-language-selector .uls { color: #FEF; cursor: pointer; min-height: 1px; position: relative; } .toctogglelabel { cursor: pointer; color: #fff; }
 * 1) profile-image img {
 * 1) profile-toggle-button, .profile-tab-on, .profile-tab {

/* custom theme end */