MediaWiki:Minerva.css: Difference between revisions

m fixing the last edit
m fixing the last edit
 
(16 intermediate revisions by the same user not shown)
Line 14: Line 14:
}
}


.infobox {
.infobox.vevent {
     border-radius: 8px;
     border-radius: 8px;
}
}
@media (min-width:640px) {
.infobox.vevent {
    margin-left: 1em;
}
}
.infobox-image {
.infobox-image {
     padding: 0px;
     padding: 0px;
Line 35: Line 42:


/* blob for framing of the JPGs */
/* blob for framing of the JPGs */
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg"]) {
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg"]),
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpeg"]) {
     border: solid 1px var(--box-shadow-color-base);
     border: solid 1px var(--box-shadow-color-base);
     border-bottom:none;
     border-bottom:none;
}
}
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg"]) > figcaption {
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg"]) > figcaption,
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpeg"]) > figcaption {
     padding: 6px !important;
     padding: 6px !important;
     margin-top: 0px;
     margin-top: 0px;
Line 105: Line 114:


.heading-holder,
.heading-holder,
.mw-body-content {
#bodyContent:has(.mw-body-content) {
     border-radius: 8px;
     border-radius: 8px;
     border-width: 1px;
     border-width: 1px;
Line 113: Line 122:
     padding-bottom: 1em;
     padding-bottom: 1em;
     box-shadow: 5px 5px 1px #0003;
     box-shadow: 5px 5px 1px #0003;
}
#bodyContent:has(.mw-body-content) {
    margin-top: 0em;
    border-top-width: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.heading-holder {
    border-bottom-width: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
}


Line 119: Line 141:
     padding-left: 1em;
     padding-left: 1em;
     padding-right: 1em;
     padding-right: 1em;
    margin-bottom: 0em;
}
.pre-content h1 {
    font-family: -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Inter','Helvetica','Arial',sans-serif;
}
}


Line 136: Line 163:


/* BACKGROUNDS OVERRIDE FOR PHONES */
/* BACKGROUNDS OVERRIDE FOR PHONES */
@media (resolution >= 2x) {
@media (resolution >= 2x) and (max-width: 1000px) {
     #mw-mf-page-center::before {
     #mw-mf-page-center::before {
         background-position: left 250px;
         background-position: left 500px;
         background-size: 250px;
         background-size: 250px;
     }
     }


     #mw-mf-page-center {
     #mw-mf-page-center {
         background-position: 50px top, 0 50px;
         background-position: 100px top, 0 75px;
         background-size: 305px, 250px;
         background-size: 305px, 250px;
     }
     }
}
}