Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(177 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


@font-face {
.gallowmere-bg {
   font-family: Tico;
   position: relative;
   src: url('fonts/Tico/font.woff') format('woff'),
  z-index: 1;
      url('fonts/Tico/font.woff2') format('woff2');
   background-position: inherit;
}
}


.main-page-row {
.gallowmere-bg::before {
   display: flex;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  opacity: .2;
  z-index: -1;
  background-color: black;
  background-image: url("https://medievil.wiki/images/e/ea/MediEvil1998-MapOfGallowmere.png");
  background-repeat: no-repeat;
   background-position: inherit;
}
}


@media screen and (max-width: 580px) {
.page-Main_Page #bottom-notice-ns {
    .main-page-row {
    display: none;
        flex-wrap: wrap;
    }
}
}


.sitedir-ltr .mw-dismissable-notice-body {
    margin: 0 !important;
}


.graveyard-bg {
.sitedir-ltr .mw-dismissable-notice-close {
  background-image: url("/images/b/b0/MediEvilRollingDemo-GraveyardDansCrypt.png");
    font-size: larger;
    position: relative;
    z-index: 6;
}
}


.church-bg {
dl {
  background-image: url("images/3/3f/MediEvilRollingDemo-ChurchDemonRoom.png");
    margin: 0.2em auto !important;
}
}


.scarecrow-bg {
.chronology .real, .chronology .res, .chronology .ghosthunter {
  background-image: url("/images/c/c2/MediEvilRollingDemo-ScarecrowFieldsHouse.png");
    opacity: 0.9;
}
}


.ant-bg {
.cdx-thumbnail__image {
  background-image: url("/images/a/a2/MediEvilRollingDemo-AntCavesTunnel.png");
    background-position: top !important;
}
}


.pumpkin-bg {
.note a img {
  background-image: url("/images/d/dd/MediEvilRollingDemo-PumpkinGorgeStart.png");
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    height: auto;
}
}


.mw-logo {
/**************************
  color: black;
* Comments extension mods *
  font-family: Tico;
**************************/
  text-transform: uppercase;
.c-avatar img {
    background-color: transparent;
}
}


.mw-logo a:visited {
.c-item {
  color: black;
    clear: both;
}
}


.mw-logo-wordmark {
.c-item.full {
  font-weight: normal;
    width: 100%;
}
}


.mobileonly {
.c-item.reply {
  display: none;
    float: right;
    width: 90%;
}
}


.mw-sidebar-action-link {
.c-order {
  display: none;
    padding-top: 0px;
    padding-bottom: 40px;
}
}


pre {
.c-form-title {
     width: fit-content;
     color: inherit;
}
}


/* Default skin for navigation boxes */
textarea#comment {
    resize: none;
}


.plainlinks.hlist.navbar.mini {
/**********************************
    float: left;
* Related Articles modifications *
}
**********************************/


.client-dark-mode table.navbox {
.ra-read-more h2 {
     border: 1px solid #222;
     font-family: Tico;
}
}


 
/**********************************************************
@media screen and (max-width: 910px) {
* PageNotice Extension Footer Fixes for Packed Galleries *
    .smart-clear {
**********************************************************/
        clear: both;
#bottom-notice-ns ul.mw-gallery-packed,
    }
#bottom-notice-ns ul.mw-gallery-packed-overlay,
#bottom-notice-ns ul.mw-gallery-packed-hover {
    text-align: center;
}
}


@media screen and (max-width: 580px) {
#bottom-notice-ns ul.gallery {
     .infobox {
     margin: 2px;
        float: none;
    padding: 2px;
        width: 100%;
     display: block;
     }
}
}


.filelisting {
#bottom-notice-ns li.gallerybox {
     border: none !important;  
     vertical-align: top;
     background: none !important;
     display: inline-block;
    white-space: pre;
    width: auto;
    overflow: auto;
}
}


table.navbox {           /* Navbox container style */
#bottom-notice-ns li.gallerybox div.thumb {
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
     text-align: center;
     text-align: center;
     padding: 1px;
     margin: 2px;
}
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
 
     margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
#bottom-notice-ns ul.mw-gallery-packed li.gallerybox div.thumb,
#bottom-notice-ns ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
#bottom-notice-ns ul.mw-gallery-packed-hover li.gallerybox div.thumb {
     background-color: transparent;
    border: 0;
}
}
.navbox-title,
 
.navbox-abovebelow {
.leaflet-container {
    text-align: center !important;      /* Title and above/below styles */
  background: black !important;
    padding-left: 1em;
    padding-right: 1em;
}
}


table.navbox th {
@font-face {
    text-align: right;     /* Title and above/below styles */
  font-family: Tico;
    padding-left: 1em;
  src: url('fonts/Tico/font.woff') format('woff'),
    padding-right: 1em;
      url('fonts/Tico/font.woff2') format('woff2');
}
}


.navbox-group {             /* Group style */
ul.gallery.mw-gallery-slideshow {
    white-space: nowrap;
     display: block;
     /* @noflip */text-align: right;
     margin: 0;
     font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}
}


.navbox-title,
.embedvideo.ev_right, embedvideo.ev_left {
table.navbox th {
  padding: 5px;
    background: #ccccff;     /* Level 1 color */
}
}


.client-dark-mode .invert {
.mw-footer-container {
    filter: invert(1);
  padding-top: 0px !important;
}
}


.client-dark-mode .navbox-title,
cite {
.client-dark-mode .table.navbox th,
  font-style: normal;
.client-dark-mode .navbox-abovebelow,
.client-dark-mode .navbox-group,
.client-dark-mode .navbox-subgroup .navbox-title {
    background: #663399;
}
}


.client-dark-mode .navbox-subgroup .navbox-group,
@media screen and (max-width: 910px) {
.client-dark-mode .navbox-subgroup .navbox-abovebelow {
    .main-page-box {
     background: #4a1d78;    /* Level 3 color */
        width: -webkit-fill-available;
     }
}
}
.client-dark-mode .navbox-even {
 
    background: #222;    /* Even row striping */
.graveyard-bg {
  background-image: url("/images/b/b0/MediEvilRollingDemo-GraveyardDansCrypt.png");
}
}


.navbox-abovebelow,
.church-bg {
.navbox-group,
  background-image: url("images/3/3f/MediEvilRollingDemo-ChurchDemonRoom.png");
.navbox-subgroup .navbox-title {
    background: #ddddff;    /* Level 2 color */
}
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
 
    background: #e6e6ff;    /* Level 3 color */
.scarecrow-bg {
  background-image: url("/images/c/c2/MediEvilRollingDemo-ScarecrowFieldsHouse.png");
}
}
.navbox-even {
 
    background: #f7f7f7;    /* Even row striping */
.ant-bg {
  background-image: url("/images/a/a2/MediEvilRollingDemo-AntCavesTunnel.png");
}
}
.navbox-odd {
 
    background: transparent; /* Odd row striping */
.pumpkin-bg {
  background-image: url("/images/d/dd/MediEvilRollingDemo-PumpkinGorgeStart.png");
}
}
 
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
.village-bg {
    /* @noflip */float: right;          /* by the CollapsibleTables javascript in    */
  background-image: url("/images/c/cd/MediEvilRollingDemo-SleepingVillageStart.png");
    font-weight: normal;  /* [[MediaWiki:Common.js]] are styled here  */
    /* @noflip */text-align: right;    /* so they can be customised.               */
    width: auto;
}
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
 
    width: 6em;            /* the vde links from [[Template:Navbar]],    */
.pools-bg {
}                          /* so they need to be the same width.        */
  background-image: url("/images/0/07/MediEvilRollingDemo-PoolsBattlefield.png");
.navbar {                  /* Navbox template links */
    font-size: 88%;        /* Default font-size */
    font-weight: normal;
}
}
.navbox .navbar {
 
    font-size: 100%;       /* Font-size when nested within navbox */
.mobileonly {
  display: none;
}
}


/* Horizontal List Class
.mw-sidebar-action-link {
/* Style for horizontal lists (separator following item).
  display: none;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 8 (2016-05-21)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
pre {
.hlist dt,
     width: fit-content;
.hlist li {
     margin: 0;
    display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
/* Default skin for navigation boxes */
.hlist.inline dl,
 
.hlist.inline ol,
.plainlinks.hlist.navbar.mini {
.hlist.inline ul,
     float: left;
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
     display: inline;
}
}
/* Hide empty list items */
 
.hlist .mw-empty-li {
 
    display: none;
@media screen and (max-width: 910px) {
    .smart-clear {
        clear: both;
    }
}
}
/* Generate interpuncts */
 
.hlist dt:after {
@media screen and (max-width: 580px) {
     content: ": ";
    .locationcontainer {
        display: flex;
        justify-content: center;
        clear: both;
    }
   
    .location {
        float: none !important;
        width: 350px !important;
    }
 
     .wikipediainfo {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 4px 0 !important;
    }
 
    .infobox, .fright {
        margin-left: 0px !important;
        float: none !important;
        width: 100%;
    }
 
    .embedvideo.ev_right, embedvideo.ev_left {
        float: none !important;
    }
}
}
.hlist dd:after,
 
.hlist li:after {
.pagination td:not(:has(.mw-selflink)) {
     content: " · ";
    display: inline-block;
     font-weight: bold;
     float: left;
     margin-bottom: 4px;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
.pagination td {
.hlist li:last-child:after {
    -webkit-transition: all 0.1s linear 0s;
     content: none;
    -moz-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
     -o-transition: all 0.1s linear 0s;
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.pagination td:has(.mw-selflink) {
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
     border-radius: 3px 3px 0 0;
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
     float: left;
    content: " (";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
     counter-reset: listitem;
}
.hlist ol > li {
     counter-increment: listitem;
}
.hlist ol > li:before {
    content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) "\a0";
}
}

Latest revision as of 11:42, 4 April 2025

/* CSS placed here will be applied to all skins */

.gallowmere-bg {
  position: relative;
  z-index: 1;
  background-position: inherit;
}

.gallowmere-bg::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;  
  opacity: .2; 
  z-index: -1;
  background-color: black;
  background-image: url("https://medievil.wiki/images/e/ea/MediEvil1998-MapOfGallowmere.png");
  background-repeat: no-repeat;
  background-position: inherit;
}

.page-Main_Page #bottom-notice-ns {
    display: none;
}

.sitedir-ltr .mw-dismissable-notice-body {
    margin: 0 !important;
}

.sitedir-ltr .mw-dismissable-notice-close {
    font-size: larger;
    position: relative;
    z-index: 6;
}

dl {
    margin: 0.2em auto !important;
}

.chronology .real, .chronology .res, .chronology .ghosthunter {
    opacity: 0.9;
}

.cdx-thumbnail__image {
    background-position: top !important;
}

.note a img {
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    height: auto;
}

/**************************
 * Comments extension mods *
 **************************/
.c-avatar img {
    background-color: transparent;
}

.c-item {
    clear: both;
}

.c-item.full {
    width: 100%;
}

.c-item.reply {
    float: right;
    width: 90%;
}

.c-order {
    padding-top: 0px;
    padding-bottom: 40px;
}

.c-form-title {
    color: inherit;
}

textarea#comment {
    resize: none;
}

/**********************************
 * Related Articles modifications *
 **********************************/

.ra-read-more h2 {
    font-family: Tico;
}

/**********************************************************
 * PageNotice Extension Footer Fixes for Packed Galleries * 
 **********************************************************/
#bottom-notice-ns ul.mw-gallery-packed, 
#bottom-notice-ns ul.mw-gallery-packed-overlay, 
#bottom-notice-ns ul.mw-gallery-packed-hover {
    text-align: center;
}

#bottom-notice-ns ul.gallery {
    margin: 2px;
    padding: 2px;
    display: block;
}

#bottom-notice-ns li.gallerybox {
    vertical-align: top;
    display: inline-block;
}

#bottom-notice-ns li.gallerybox div.thumb {
    text-align: center;
    margin: 2px;
}

#bottom-notice-ns ul.mw-gallery-packed li.gallerybox div.thumb, 
#bottom-notice-ns ul.mw-gallery-packed-overlay li.gallerybox div.thumb, 
#bottom-notice-ns ul.mw-gallery-packed-hover li.gallerybox div.thumb {
    background-color: transparent;
    border: 0;
}

.leaflet-container {
  background: black !important;
}

@font-face {
  font-family: Tico;
  src: url('fonts/Tico/font.woff') format('woff'),
       url('fonts/Tico/font.woff2') format('woff2');
}

ul.gallery.mw-gallery-slideshow {
    display: block;
    margin: 0;
}

.embedvideo.ev_right, embedvideo.ev_left {
  padding: 5px;
}

.mw-footer-container {
  padding-top: 0px !important;
}

cite {
  font-style: normal;
}

@media screen and (max-width: 910px) {
    .main-page-box {
        width: -webkit-fill-available;
    }
}

.graveyard-bg {
  background-image: url("/images/b/b0/MediEvilRollingDemo-GraveyardDansCrypt.png");
}

.church-bg {
  background-image: url("images/3/3f/MediEvilRollingDemo-ChurchDemonRoom.png");
}

.scarecrow-bg {
  background-image: url("/images/c/c2/MediEvilRollingDemo-ScarecrowFieldsHouse.png");
}

.ant-bg {
  background-image: url("/images/a/a2/MediEvilRollingDemo-AntCavesTunnel.png");
}

.pumpkin-bg {
  background-image: url("/images/d/dd/MediEvilRollingDemo-PumpkinGorgeStart.png");
}

.village-bg {
  background-image: url("/images/c/cd/MediEvilRollingDemo-SleepingVillageStart.png");
}

.pools-bg {
  background-image: url("/images/0/07/MediEvilRollingDemo-PoolsBattlefield.png");
}

.mobileonly {
  display: none;
}

.mw-sidebar-action-link {
  display: none;
}

pre {
    width: fit-content;
}

/* Default skin for navigation boxes */

.plainlinks.hlist.navbar.mini {
    float: left;
}


@media screen and (max-width: 910px) {
    .smart-clear {
        clear: both;
    }
}

@media screen and (max-width: 580px) {
    .locationcontainer {
        display: flex;
        justify-content: center;
        clear: both;
    }
    
    .location {
        float: none !important;
        width: 350px !important;
    }

    .wikipediainfo {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 4px 0 !important;
    }

    .infobox, .fright {
        margin-left: 0px !important;
        float: none !important;
        width: 100%;
    }

    .embedvideo.ev_right, embedvideo.ev_left {
        float: none !important;
    }
}

.pagination td:not(:has(.mw-selflink)) {
    display: inline-block;
    float: left;
    margin-bottom: 4px;
}

.pagination td {
    -webkit-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
    -o-transition: all 0.1s linear 0s;
}

.pagination td:has(.mw-selflink) {
    border-radius: 3px 3px 0 0;
    float: left;
}