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
 
(201 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;
}
 
.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;
}
}


.mw-logo {
.page-Main_Page #bottom-notice-ns {
  color: black;
    display: none;
  font-family: Tico;
  text-transform: uppercase;
}
}


.mw-logo a:visited {
.sitedir-ltr .mw-dismissable-notice-body {
  color: black;
    margin: 0 !important;
}
}


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


.mw-sidebar-action-link {
dl {
  display: none;
    margin: 0.2em auto !important;
}
}


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


/* Default skin for navigation boxes */
.cdx-thumbnail__image {
    background-position: top !important;
}


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


.client-dark-mode table.navbox {
/**************************
     border: 1px solid #222;
* Comments extension mods *
**************************/
.c-avatar img {
     background-color: transparent;
}
}


table.navbox {           /* Navbox container style */
.c-item {
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
     clear: both;
     clear: both;
     font-size: 88%;
}
 
.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;
     text-align: center;
    padding: 1px;
}
}
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.gallery {
     margin: 2px;
    padding: 2px;
    display: block;
}
}
.navbox-title,
 
.navbox-abovebelow,
#bottom-notice-ns li.gallerybox {
table.navbox th {
     vertical-align: top;
     text-align: center;     /* Title and above/below styles */
     display: inline-block;
     padding-left: 1em;
    padding-right: 1em;
}
}
.navbox-group {             /* Group style */
 
     white-space: nowrap;
#bottom-notice-ns li.gallerybox div.thumb {
    /* @noflip */text-align: right;
     text-align: center;
     font-weight: bold;
     margin: 2px;
    padding-left: 1em;
    padding-right: 1em;
}
}


.navbox-title,
#bottom-notice-ns ul.mw-gallery-packed li.gallerybox div.thumb,
table.navbox th {
#bottom-notice-ns ul.mw-gallery-packed-overlay li.gallerybox div.thumb,  
     background: #ccccff;    /* Level 1 color */
#bottom-notice-ns ul.mw-gallery-packed-hover li.gallerybox div.thumb {
     background-color: transparent;
     border: 0;
}
}


.client-dark-mode .navbox-title, .client-dark-mode .table.navbox th {
.leaflet-container {
    background: #663399;
  background: black !important;
}
}


.navbox-abovebelow,
@font-face {
.navbox-group,
  font-family: Tico;
.navbox-subgroup .navbox-title {
  src: url('fonts/Tico/font.woff') format('woff'),
    background: #ddddff;    /* Level 2 color */
      url('fonts/Tico/font.woff2') format('woff2');
}
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
 
    background: #e6e6ff;     /* Level 3 color */
ul.gallery.mw-gallery-slideshow {
    display: block;
    margin: 0;
}
 
.embedvideo.ev_right, embedvideo.ev_left {
  padding: 5px;
}
 
.mw-footer-container {
  padding-top: 0px !important;
}
}
.navbox-even {
 
    background: #f7f7f7;     /* Even row striping */
cite {
  font-style: normal;
}
}
.navbox-odd {
 
    background: transparent; /* Odd row striping */
@media screen and (max-width: 910px) {
    .main-page-box {
        width: -webkit-fill-available;
    }
}
}
 
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
.graveyard-bg {
    /* @noflip */float: right;          /* by the CollapsibleTables javascript in    */
  background-image: url("/images/b/b0/MediEvilRollingDemo-GraveyardDansCrypt.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]],    */
.church-bg {
}                          /* so they need to be the same width.        */
  background-image: url("images/3/3f/MediEvilRollingDemo-ChurchDemonRoom.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 */
.scarecrow-bg {
  background-image: url("/images/c/c2/MediEvilRollingDemo-ScarecrowFieldsHouse.png");
}
}


/* Horizontal List Class
.ant-bg {
/* Style for horizontal lists (separator following item).
  background-image: url("/images/a/a2/MediEvilRollingDemo-AntCavesTunnel.png");
  @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,
.pumpkin-bg {
.hlist dt,
  background-image: url("/images/d/dd/MediEvilRollingDemo-PumpkinGorgeStart.png");
.hlist li {
    margin: 0;
    display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
.village-bg {
.hlist.inline dl,
  background-image: url("/images/c/cd/MediEvilRollingDemo-SleepingVillageStart.png");
.hlist.inline ol,
.hlist.inline ul,
.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 {
.pools-bg {
    display: none;
  background-image: url("/images/0/07/MediEvilRollingDemo-PoolsBattlefield.png");
}
}
/* Generate interpuncts */
 
.hlist dt:after {
.mobileonly {
    content: ": ";
  display: none;
}
}
.hlist dd:after,
 
.hlist li:after {
.mw-sidebar-action-link {
    content: " · ";
  display: none;
    font-weight: bold;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
pre {
.hlist li:last-child:after {
    width: fit-content;
    content: none;
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
/* Default skin for navigation boxes */
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
 
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
.plainlinks.hlist.navbar.mini {
     content: " (";
     float: left;
    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 {
@media screen and (max-width: 910px) {
    content: ")";
    .smart-clear {
     font-weight: normal;
        clear: both;
     }
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
@media screen and (max-width: 580px) {
     counter-reset: listitem;
    .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 ol > li {
 
     counter-increment: listitem;
.pagination td:not(:has(.mw-selflink)) {
     display: inline-block;
    float: left;
    margin-bottom: 4px;
}
}
.hlist ol > li:before {
 
     content: " " counter(listitem) "\a0";
.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;
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
.pagination td:has(.mw-selflink) {
.hlist li ol > li:first-child:before {
    border-radius: 3px 3px 0 0;
     content: " (" counter(listitem) "\a0";
     float: left;
}
}

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;
}