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


.mw-logo {
.cdx-thumbnail__image {
  color: black;
    background-position: top !important;
  font-family: Tico;
  text-transform: uppercase;
}
}


.mw-logo a:visited {
.note a img {
  color: black;
    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-wordmark {
/**************************
  font-weight: normal;
* Comments extension mods *
**************************/
.c-avatar img {
    background-color: transparent;
}
}


.mobileonly {
.c-item {
  display: none;
    clear: both;
}
}


.mw-sidebar-action-link {
.c-item.full {
  display: none;
    width: 100%;
}
}


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


/* Default skin for navigation boxes */
.c-order {
    padding-top: 0px;
    padding-bottom: 40px;
}


.plainlinks.hlist.navbar.mini {
.c-form-title {
     float: left;
     color: inherit;
}
}


.client-dark-mode table.navbox {
textarea#comment {
     border: 1px solid #222;
     resize: none;
}
}


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


@media screen and (max-width: 900px) {
.ra-read-more h2 {
     .smart-clear {
     font-family: Tico;
        clear: both;
    }
}
}


table.navbox {            /* Navbox container style */
/**********************************************************
    border: 1px solid #aaa;
* PageNotice Extension Footer Fixes for Packed Galleries *
    width: 100%;
**********************************************************/
    margin: auto;
#bottom-notice-ns ul.mw-gallery-packed,
    clear: both;
#bottom-notice-ns ul.mw-gallery-packed-overlay,
    font-size: 88%;
#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 {
     text-align: center !important;     /* Title and above/below styles */
     vertical-align: top;
     padding-left: 1em;
     display: inline-block;
    padding-right: 1em;
}
}


table.navbox th {
#bottom-notice-ns li.gallerybox div.thumb {
     text-align: right;     /* Title and above/below styles */
     text-align: center;
     padding-left: 1em;
     margin: 2px;
    padding-right: 1em;
}
}


.navbox-group {              /* Group style */
#bottom-notice-ns ul.mw-gallery-packed li.gallerybox div.thumb,
    white-space: nowrap;
#bottom-notice-ns ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
    /* @noflip */text-align: right;
#bottom-notice-ns ul.mw-gallery-packed-hover li.gallerybox div.thumb {
    font-weight: bold;
     background-color: transparent;
     padding-left: 1em;
     border: 0;
     padding-right: 1em;
}
}


.navbox-title,
.leaflet-container {
table.navbox th {
  background: black !important;
    background: #ccccff;     /* Level 1 color */
}
}


.client-dark-mode .navbox-title,
@font-face {
.client-dark-mode .table.navbox th,
  font-family: Tico;
.client-dark-mode .navbox-abovebelow,
  src: url('fonts/Tico/font.woff') format('woff'),
.client-dark-mode .navbox-group,
      url('fonts/Tico/font.woff2') format('woff2');
.client-dark-mode .navbox-subgroup .navbox-title {
    background: #663399;
}
}


.client-dark-mode .navbox-subgroup .navbox-group,
ul.gallery.mw-gallery-slideshow {
.client-dark-mode .navbox-subgroup .navbox-abovebelow {
     display: block;
     background: #4a1d78;    /* Level 3 color */
     margin: 0;
}
}
.client-dark-mode .navbox-even {
 
    background: #222;     /* Even row striping */
.embedvideo.ev_right, embedvideo.ev_left {
  padding: 5px;
}
}


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


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