MediaWiki:Minerva.css: Difference between revisions
mNo edit summary |
m fixing the last edit |
||
| (38 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- | .infobox.vevent { | ||
.infobox- | border-radius: 8px; | ||
border: 1px solid | } | ||
@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); | |||
} | } | ||
.branding-box { | .branding-box { | ||
| Line 33: | Line 41: | ||
} | } | ||
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=.jpg]) { | /* blob for framing of the JPGs */ | ||
border: solid 1px; | 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; | border-bottom:none; | ||
} | } | ||
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg"]) > figcaption, | |||
figure[typeof~="mw:File/Thumb"]. | 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; | border: 1px solid var(--box-shadow-color-base); | ||
border-top: none; | border-top: none; | ||
background-color: #FFF; | background-color: #FFF; | ||
} | } | ||
/* end of blob for framing of the JPGs */ | |||
/* BACKGROUNDS, GENERAL DESING */ | /* BACKGROUNDS, GENERAL DESING */ | ||
| Line 53: | 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 72: | Line 82: | ||
background: #FFFD; | background: #FFFD; | ||
} | } | ||
#mw-mf-page-center::before { | #mw-mf-page-center::before { | ||
content: ""; | content: ""; | ||
background: url( | background: url(/images/c/c1/Sidebar_repeat.webp); | ||
transform: scaleX(-1); | transform: scaleX(-1); | ||
background-repeat: repeat-y; | background-repeat: repeat-y; | ||
| Line 82: | Line 92: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
pointer-events: none; | |||
} | } | ||
#mw-mf-page-center { | #mw-mf-page-center { | ||
background: url( | 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 103: | 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 111: | 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 117: | 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 126: | 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; | |||
} | |||
} | } | ||