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
Tag: Reverted
No edit summary
 
(205 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 */
.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-face {
Line 7: Line 138:
}
}


.mw-logo {
ul.gallery.mw-gallery-slideshow {
   color: black;
    display: block;
   font-family: Tico;
    margin: 0;
   text-transform: uppercase;
}
 
.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");
}
}


.mw-logo a:visited {
.pools-bg {
   color: black;
   background-image: url("/images/0/07/MediEvilRollingDemo-PoolsBattlefield.png");
}
}


.mw-logo-wordmark {
.mobileonly {
   font-weight: normal;
   display: none;
}
}


Line 25: Line 197:
}
}


.client-dark-mode .infobox {
pre {
     border: 1px solid #222222;
    width: fit-content;
     float: right;
}
     font-size: 0.85em;
 
     margin-left: 15px;
/* Default skin for navigation boxes */
     background-color: #3b3b3b;
 
     padding: 5px;
.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;
}
}

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