Jump to content

MediaWiki:Minerva.css: Difference between revisions

From Climbopedia
mNo edit summary
m fixing the last edit
 
(42 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"]:has(> a > img[src$=".jpg"]) > 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 63: 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 82: 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 92: 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 113: 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 121: 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 127: 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 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;
    }
}
}

Latest revision as of 10:25, 7 November 2025

/* All CSS here will be loaded for users of the MinervaNeue skin */


/* TABLES, INFOBOXES, HEADERS ETC */
.wikitable {
    background-color: transparent;
    border-radius: 4px;
}
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    background: white;
}

.infobox.vevent {
    border-radius: 8px;
}

@media (min-width:640px) {
.infobox.vevent {
    margin-left: 1em;
}
}

.infobox-image {
    padding: 0px;
    border: 1px solid var(--box-shadow-color-base);
    border-radius: 4px;
}
.infobox-above.summary {
    padding-top: 6px;
    border-radius: 4px;
    border: 1px solid var(--box-shadow-color-base);
}



.branding-box {
    font-weight: bold;
}

/* 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$=".jpeg"]) {
    border: solid 1px var(--box-shadow-color-base);
    border-bottom:none;
}
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;
    margin-top: 0px;
    border: 1px solid var(--box-shadow-color-base);
    border-top: none;
    background-color: #FFF;
}
/* end of blob for framing of the JPGs */

/* BACKGROUNDS, GENERAL DESING */

:root {
--background-color-progressive: #4ACB;
}

@media screen and (min-width:1250px) {
  .banner-container,
  .minerva-anon-talk-message,
  .minerva-header,
  .page-header-bar,
  .overlay-header,
  .content,
  .overlay-content,
  .content-unstyled,
  .pre-content,
  .post-content,
  #mw-content-text > form {
    max-width:1250px
  }
}

.overlay.search-overlay {
  background: #FFFD;
}
 
#mw-mf-page-center::before {
    content: "";
    background: url(/images/c/c1/Sidebar_repeat.webp);
    transform: scaleX(-1);
    background-repeat: repeat-y;
    background-position: left 1000px;
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#mw-mf-page-center {
    background: url(/images/a/a6/Toprep.webp), url(/images/c/c1/Sidebar_repeat.webp), black;
    background-repeat: repeat-x, repeat-y;
    background-position: 200px top, 0 150px;
}

.mw-body {
    background-color: #fff3;
}

.header-container.header-chrome,
.minerva-footer {
    border-bottom-width: 1px;
    border-style: solid;
    background-color: #FFFD;
    box-shadow: 0px 5px 1px #0003;
}

.heading-holder,
#bodyContent:has(.mw-body-content) {
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
    background-color: #FFFE;
    margin-top: 1em;
    padding-bottom: 1em;
    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;
}

.page-heading,
.minerva__tab-container {
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 0em;
}

.pre-content h1 {
    font-family: -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Inter','Helvetica','Arial',sans-serif;
}

.page-actions-menu {
    margin-left: 1em;
    margin-right: 1em;
}

.mw-body-content {
    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;
    }
}