MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(93 intermediate revisions by 2 users not shown)
Line 14: Line 14:
     display: none !important;
     display: none !important;
}
}
h1 {
    font-weight: bold;
}
body.page-Main_Page #mp-topbanner {
body.page-Main_Page #mp-topbanner {
     clear: both;
     clear: both;
Line 320: Line 325:
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
.mw-collapsible-toggle {
    float: left;
     font-weight: normal;
     font-weight: normal;
     /* @noflip */
     /* @noflip */
     text-align: right;
     text-align: left;
    padding: 2px 5px;
    height: 0.8em;
}
}
.navbox .mw-collapsible-toggle {
.navbox .mw-collapsible-toggle {
     width: 6em;
     width: 6em;
Line 1,011: Line 1,020:
     top: 0;
     top: 0;
     /* @noflip */
     /* @noflip */
     right: 3px;
     left: 3px;
     font-weight: normal;
     font-weight: normal;
     font-size: 90%;
     font-size: 90%;
Line 1,133: Line 1,142:


/* Minimum thumb width */
/* Minimum thumb width */
.thumbinner {
div.thumb .thumbinner {
    border: 1px solid #ffffff;
    background-color: #ffffff;
     min-width: 100px;
     min-width: 100px;
    padding-right: 30px;
}
}


Line 1,140: Line 1,152:
   Only visible with transparent images. */
   Only visible with transparent images. */
div.thumb .thumbimage {
div.thumb .thumbimage {
     background-color: #fff;
    border: 1px solid #ffffff;
     background-color: #ffffff;
    padding: 10px;
}
}


/* The backgrounds for galleries. */
/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
div#content .gallerybox div.thumb {
     /* Light gray padding */
     /* Light gray padding */
     background-color: #F9F9F9;
     background-color: #ffffff;
}
}
/* Put a chequered background behind images, only visible if they have transparency.
/* Put a chequered background behind images, only visible if they have transparency.
Line 1,379: Line 1,394:
}
}


/* [[MediaZilla:35337]] */
/* remove Toolbox and some tabs */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
#p-tb { display:none !important; }
        #p-logo a {
#ca-talk { display: none !important; }
                background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/204px-Wikipedia-logo-v2-en.svg.png") !important;
#ca-history { display: none !important; }
                background-size: 136px auto;
#ca-language { display: none !important; }
#p-lang { display: none !important; }
#p-coll-print_export { display: none !important; }
#pt-uls { display: none !important; }
#pt-userpage { display: none !important; }
#pt-mytalk { display: none !important; }
#pt-preferences { display: none !important; }
#pt-watchlist { display: none !important; }
#pt-mycontris { display: none !important; }
#ca-watch { display: none !important; }
#pt-anonuserpage { display: none !important; }
#pt-anontalk { display: none !important; }
#ca-viewsource { display: none !important; }
 
.mw-translate-page-info {
    display: none !important;
}
 
.onlyinprint {
    display: none;
}
 
    hr {
  height: 0px;
    }
 
.field_blue {
  background-color:rgb(60, 60, 255);
  color: white;
  border-color:black;
}
 
.field_red {
  background-color:rgb(255, 60, 60);
  color: white;
  border-color:black;
}
 
.field_blue_bl {
  background-color:rgb(145, 200, 255);
  color: white;
  border-color:black;
}
 
.field_red_bl {
  background-color:rgb(255, 190, 190);
  color: white;
  border-color:black;
}
 
.field_vio {
  background-color:rgb(255, 160, 255);
  color: white;
  border-color:black;
}
 
.field_none {
  background-color:rgb(241, 241, 241);
  color: white;
  border-color:black;
}
 
img.ios {
  border-radius: 5%;
  height: 350px;
}
 
div.iosgallery {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    padding-right: 100px;
}
 
div.iostext {
  display: block;
  width: 220px;
  font-style: small;
}
 
.ios-gallery-container {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            gap: 50px;
        }
 
        .ios-gallery-item {
            width: 250px;
            text-align: center;
        }
 
        .ios-gallery-image {
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
 
        .ios-gallery-image img {
            width: 100%;
            height: auto;
            display: block;
         }
         }
}
 
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
        .ios-gallery-text {
        #p-logo a {
            margin-top: 20px;
                background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/270px-Wikipedia-logo-v2-en.svg.png") !important;
            margin-bottom: 10px;
                background-size: 135px auto;
         }
         }
}