MediaWiki:Minerva.css: Difference between revisions
m testing - jpg and jpeg |
m fixing the last edit |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 42: | Line 42: | ||
/* blob for framing of the JPGs */ | /* blob for framing of the JPGs */ | ||
figure[typeof~="mw:File/Thumb"]:has(> a > img[src$=".jpg", src$=".jpeg"]) { | 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", src$=".jpeg"]) > 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 112: | 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 120: | 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 126: | 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; | |||
} | } | ||