Moonlighter Wiki
No edit summary
No edit summary
Line 413: Line 413:
 
.mw-datatable td {
 
.mw-datatable td {
 
border: 1px solid #aaaaaa;
 
border: 1px solid #aaaaaa;
  +
}
  +
  +
  +
.TablePager {
  +
border: 1px solid #aaaaaa;
  +
color: #000000;
  +
padding:0 0.15em;
  +
}
  +
  +
.TablePager th {
  +
background-color: #4a3c2e;
  +
color: #ffffff;
  +
border:1px solid #aaaaaa;
  +
padding:0 0.15em;
  +
}
  +
  +
.TablePager tr:hover td {
  +
background-color: rgba(0, 0, 0, 0.2) !important;
  +
color: #FFFFFF;
  +
}
  +
  +
.TablePager th a {
  +
background-color: #4a3c2e;
  +
color: #FFFFFF !important;
  +
}
  +
  +
.TablePager td {
  +
background: transparent !important;
  +
border: 1px solid #aaaaaa;
  +
color: #000000;
  +
}
  +
  +
/* white sort arrows for sortable table headers */
  +
table.jquery-tablesorter th.headerSort {
  +
background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/e/e8/Sort_none.gif) !important;
  +
background-position: center right;
  +
background-repeat: no-repeat;
  +
}
  +
  +
table.jquery-tablesorter th.headerSortDown {
  +
background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/7/7a/Sort_down.gif) !important;
  +
background-position: center right;
  +
background-repeat: no-repeat;
  +
}
  +
  +
table.jquery-tablesorter th.headerSortUp {
  +
background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/5/5b/Sort_up.gif) !important;
  +
background-position: center right;
  +
background-repeat: no-repeat;
 
}
 
}

Revision as of 20:37, 8 October 2021

/* CSS placed here will be applied to all skins */
/* 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;
}

/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
    margin: 0em auto 1em;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

.doc-header {
    padding-bottom: 3px;
    border-bottom: 1px solid #BDCAC3;
    margin-bottom: 1ex;
}

.doc-footer {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
    text-align: left;
}

.desktopcenter {
    text-align: center;
}

.desktopright {
    text-align: right;
}

/* Front page structure */
.fpbox {
    border: 1px solid #4a3c2e;
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
}

.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none;
}

.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
    border-bottom: 1px solid #4a3c2e1;
    color: var(--theme-accent-color);
    margin: 0 0 10px;
    padding: 0 0 5px;
    overflow: auto;
}

.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    font-weight: bold;
}

.fpbox .heading {
    background-color: var(--theme-accent-color);
    border-bottom: 1px solid #4a3c2e;
    color: var(--theme-accent-label-color);
    text-align: center;
    font-size: 132%;
}

.linkslabel {
    margin: 15px 5px 5px;
    padding: 0 0 5px;
}

/* Template:FP links styles */
.fplinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    text-align: center;
}

.fplink-outer {
    padding: 5px;
    flex-basis: calc(25% - 10px);
    width: calc(25% - 15px);
    min-width: 115px;
    display: inline-block;
    vertical-align: middle;
}

.fplink-wide {
    flex-basis: calc(33% - 10px);
    width: calc(33% - 15px);
}

.fplink-fullwidth {
    flex-basis: 100%;
    width: calc(100% - 15px);
    font-weight: bold;
}

.fplink {
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: table;
}

.fplink-plain {
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

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

.fplink a {
    display: table-cell;
    vertical-align: middle;
}

.fplink img {
    max-width: 150px;
    width: 100%;
    height: auto;
}
/* Auto-resize front page video to fit smaller columns */
.fpbox .embedvideowrap {
    width: 100%!important;
    max-width: 480px;
    margin: 0 auto;
}

.fpbox .embedvideowrap iframe {
    width: 100%!important;
}

/* Multi-column box support */
.fp-container main .columns .leftcol,
.fp-container .columns .rightcol {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 990px) {
    .fp-container .columns .leftcol {
        float: left;
        width: 50%;
    }

    .fp-container .columns .rightcol {
        float: right;
        width: 50%;
    }
}

.fp-section {
    display: flex;
    flex-wrap: wrap;
}

/* This CSS governs the responsive 3 column main page layout */
#fptweets {
  min-height:calc(325px + 2.3em);
}

#fp-3column.fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c" "d";
    grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b" "c b" "c d";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b c" "d b c";
        grid-template-columns: 33.3% 33.3% 33.3%;
    }
}

#fp-1 {
    grid-area: a;
}

#fp-2 {
    grid-area: b;
}

#fp-3 {
    grid-area: c;
}

#fp-4 {
    grid-area: d;
}

/* end responsive 3 column main page layout */

/* ******************** */
/* End main page layout */
/* ******************** */

/******************
/*     Tabber     *
/******************/
.tabber .tabbertab {
  border: none;
  padding: 0;
}

ul.tabbernav {
    margin: 0;
    padding: 3px 0;
    border: 0;
    /*border-bottom: 1px solid #CCC;*/
    font: bold 14px Ariel, sans-serif !important;
}

ul.tabbernav li a {
    border-radius: 4px !important;
    padding: 3px .5em;
    margin-left: 3px;
    border: 1px solid #CCC;
    background: #F2F7FF;
    text-decoration: none;
    line-height: 1;
}

ul.tabbernav li.tabberactive a {
    background-color: #FFF;
    border: 1px solid #7ec0ee !important;
}

ul.tabbernav li.tabberactive a:hover {
    color: #000;
    background: #FFF;
    border: 1px solid #7ec0ee !important;
}

/* Ambox */
.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* tables */
table.wikitable {
    background: none repeat scroll 0 0 transparent;
}

table.wikitable > caption {
    color: #000000;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #4a3c2e;
    border: 1px solid #aaaaaa;
    color: #FFFFFF;
    text-align: center;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    border: 1px solid #aaaaaa;
    padding: 0.2em;
}

.wikitable th {
    background-color: #4a3c2e;
    border: 1px solid #aaaaaa;
    color: #FFFFFF;
    padding: 0.2em;
}

.wikitable td {
    border: 1px solid #aaaaaa;
    color: #000000;
    padding: 0.2em;
}

table.mw_metadata th {
    background: #4a3c2e;
    border: 1px solid #aaaaaa;
    color: #FFFFFF;
}

table.mw_metadata td {
    background-color: transparent;
    border: 1px solid #aaaaaa;
    color: #000000;
}

.mw-datatable th {
    border: 1px solid #aaaaaa;
}

.mw-datatable,
.mw-datatable td {
    border: 1px solid #aaaaaa;
}


.TablePager {
    border: 1px solid #aaaaaa;
    color: #000000;
    padding:0 0.15em;
}

.TablePager th {
    background-color: #4a3c2e;
    color: #ffffff;
    border:1px solid #aaaaaa;
    padding:0 0.15em;
}

.TablePager tr:hover td {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: #FFFFFF;
}

.TablePager th a {
    background-color: #4a3c2e;
    color: #FFFFFF !important;
}
 
.TablePager td {
    background: transparent !important;
    border: 1px solid #aaaaaa;
    color: #000000;
}

/* white sort arrows for sortable table headers */
table.jquery-tablesorter th.headerSort {
    background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/e/e8/Sort_none.gif) !important;
    background-position: center right;
    background-repeat: no-repeat;
}

table.jquery-tablesorter th.headerSortDown {
    background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/7/7a/Sort_down.gif) !important;
    background-position: center right;
    background-repeat: no-repeat;
}

table.jquery-tablesorter th.headerSortUp {
    background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/5/5b/Sort_up.gif) !important;
    background-position: center right;
    background-repeat: no-repeat;
}