MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
| (23 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
:root { | :root { | ||
--background-color-neutral-subtle: #f6f9fd; | --background-color-neutral-subtle: #f6f9fd; | ||
} | |||
.mediawiki .mw-body a.external.text:after, | |||
.mediawiki .mw-body a.external.autonumber:after { | |||
content: none; | |||
} | } | ||
.mw-logo-container { | .mw-logo-container { | ||
text-wrap: balance; | text-wrap: balance; | ||
} | |||
#mw-content-text { | |||
text-align: justify; | |||
} | } | ||
.vector-main-menu-action-opt-out a, .vector-menu-content #ca-talk, #footer-places-about { | .vector-main-menu-action-opt-out a, .vector-menu-content #ca-talk, #footer-places-about { | ||
| Line 36: | Line 43: | ||
max-width: 1024px; | max-width: 1024px; | ||
border-style: dashed; | border-style: dashed; | ||
} | } | ||
.mainpage-box-buttons a img:hover, .skin-theme-clientpref-night .mainpage-box img:last-child { | .mainpage-box-buttons a img:hover, .skin-theme-clientpref-night .mainpage-box img:last-child { | ||
| Line 48: | Line 50: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
margin: | margin: 20px auto; | ||
border- | border: inherit; | ||
border-radius: inherit; | |||
background-color: var(--background-color-backdrop-light); | |||
} | } | ||
.mainpage-box-buttons > div { | .mainpage-box-buttons > div { | ||
| Line 82: | Line 85: | ||
background: linear-gradient(to right,rgba(128,128,128,0.5),transparent 50%); | background: linear-gradient(to right,rgba(128,128,128,0.5),transparent 50%); | ||
margin: 1em 0; | margin: 1em 0; | ||
} | |||
.mainpage-box .footer-img img { | |||
border-radius: 0 0 10px 10px; | |||
mask-image: linear-gradient(to bottom, transparent, black 50%); | |||
margin-top: 10px; | |||
} | } | ||
| Line 90: | Line 98: | ||
.dynamic-catlist a > img { | .dynamic-catlist a > img { | ||
max-width: unset !important; | max-width: unset !important; | ||
} | |||
.info-box { | |||
width: 100% !important; | |||
} | } | ||
} | } | ||
| Line 95: | Line 106: | ||
float: right; | float: right; | ||
padding: 10px; | padding: 10px; | ||
margin: 0 0 | margin: 0 0 20px 20px !important; | ||
max-width: 328px; | max-width: 328px; | ||
text-indent: hanging 1em; | text-indent: hanging 1em; | ||
border-style: solid; | border-style: solid; | ||
display: table !important; | display: table !important; | ||
outline: 10px solid var(--background-color-base); | |||
} | } | ||
.info-box tr:first-child { | .info-box tr:first-child { | ||
| Line 105: | Line 117: | ||
text-wrap: balance; | text-wrap: balance; | ||
text-indent: initial; | text-indent: initial; | ||
} | |||
.info-box .info-box-head { | |||
text-align: left; | |||
min-width: max-content; | |||
} | } | ||
.info-box tr li { | .info-box tr li { | ||
| Line 126: | Line 142: | ||
.info-box tr:last-child td { | .info-box tr:last-child td { | ||
text-align: right; | text-align: right; | ||
} | |||
.info-box tr:has(.info-hide) { | |||
display: none; | |||
} | } | ||
.quote-box { | .quote-box { | ||
margin: 25px 2% !important; | |||
margin: 25px | color: #777; | ||
color: # | background-color: var(--background-color-interactive-subtle); | ||
background-color: | |||
} | } | ||
.page-Main_Page figure[typeof="mw:File"] img { | .page-Main_Page figure[typeof="mw:File"] img { | ||
| Line 141: | Line 158: | ||
.catlinks { | .catlinks { | ||
border-color: var(--border-color-subtle); | border-color: var(--border-color-subtle); | ||
} | |||
ul.gallery.gallery.gallery, .dynamic-catlist li { | |||
text-align: left; | |||
} | } | ||
li.gallerybox div.thumb, .catlink-thumb, .catlinks { | li.gallerybox div.thumb, .catlink-thumb, .catlinks { | ||
border-radius: 10px; | border-radius: 10px; | ||
} | |||
div.gallerytext { | |||
text-align: left; | |||
font-size: 85%; | |||
} | } | ||
.mw-category-group { | .mw-category-group { | ||