MediaWiki:Minerva.css: Difference between revisions

mNo edit summary
m fixing the last edit
 
(43 intermediate revisions by the same user not shown)
Line 7: Line 7:
     border-radius: 4px;
     border-radius: 4px;
}
}
.wikitable > tr > th,
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > tr > td,
Line 15: Line 14:
}
}


.infobox-image,
.infobox.vevent {
.infobox-above.summary {
    border-radius: 8px;
     border: 1px solid #a2a9b1;
}
 
@media (min-width:640px) {
.infobox.vevent {
    margin-left: 1em;
}
}
 
.infobox-image {
    padding: 0px;
     border: 1px solid var(--box-shadow-color-base);
     border-radius: 4px;
     border-radius: 4px;
}
}
.infobox-above.summary {
.infobox-above.summary {
     padding-top: 6px;
     padding-top: 6px;
    border-radius: 4px;
    border: 1px solid var(--box-shadow-color-base);
}
}


.infobox {
 
    border-radius: 8px;
}


.branding-box {
.branding-box {
Line 33: Line 41:
}
}


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


/* BACKGROUNDS, GENERAL DESING */
/* BACKGROUNDS, GENERAL DESING */
Line 64: Line 62:
--background-color-progressive: #4ACB;
--background-color-progressive: #4ACB;
}
}
@media screen and (min-width:1250px) {
@media screen and (min-width:1250px) {
   .banner-container,
   .banner-container,
Line 83: Line 82:
   background: #FFFD;
   background: #FFFD;
}
}
 
#mw-mf-page-center::before {
#mw-mf-page-center::before {
     content: "";
     content: "";
     background: url(https://www.tradgear.nl/images/c/c1/Sidebar_repeat.webp);
     background: url(/images/c/c1/Sidebar_repeat.webp);
     transform: scaleX(-1);
     transform: scaleX(-1);
     background-repeat: repeat-y;
     background-repeat: repeat-y;
Line 93: Line 92:
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
    pointer-events: none;
}
}


#mw-mf-page-center {
#mw-mf-page-center {
     background: url(https://www.tradgear.nl/images/a/a6/Toprep.webp), url(https://www.tradgear.nl/images/c/c1/Sidebar_repeat.webp), black;
     background: url(/images/a/a6/Toprep.webp), url(/images/c/c1/Sidebar_repeat.webp), black;
     background-repeat: repeat-x, repeat-y;
     background-repeat: repeat-x, repeat-y;
     background-position: 200px top, 0 150px;
     background-position: 200px top, 0 150px;
Line 114: 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 122: 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 128: 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 137: Line 155:
.mw-body-content {
.mw-body-content {
     padding: 1em;
     padding: 1em;
}
/* Translation layout fix */
.tux-textarea-translation {
    width: inherit;
}
/* BACKGROUNDS OVERRIDE FOR PHONES */
@media (resolution >= 2x) and (max-width: 1000px) {
    #mw-mf-page-center::before {
        background-position: left 500px;
        background-size: 250px;
    }
    #mw-mf-page-center {
        background-position: 100px top, 0 75px;
        background-size: 305px, 250px;
    }
}
}