MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Changing how stylesheets are loaded: now uses ResourceLoader and TemplateStyles instead of @import |
No edit summary |
||
| Line 9: | Line 9: | ||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=Noto+Sans+TC:wght@400;700&family=Noto+Sans+Thai:wght@400;700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Avestan:wght@400;700&family=El+Messiri:wght@400;700&family=Noto+Sans+Hebrew:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=Noto+Sans+TC:wght@400;700&family=Noto+Sans+Thai:wght@400;700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Avestan:wght@400;700&family=El+Messiri:wght@400;700&family=Noto+Sans+Hebrew:wght@400;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap'); | ||
/*=====================* | /*=====================* | ||
| Line 437: | Line 427: | ||
| STYLES | | | STYLES | | ||
*========*/ | *========*/ | ||
/* For [[Template:Card/styles.css]] | |||
and [[Template:Item/styles.css]] */ | |||
.card-image-container a.new, | |||
.mini-card .card-image-container a.new, | |||
.item-image > a.new, | |||
.item-image > span > span > a.new { | |||
background-image: var(--unknown-img); | background-image: var(--unknown-img); | ||
} | } | ||
| Line 445: | Line 438: | ||
.card-stars { | .card-stars { | ||
pointer-events: none; | pointer-events: none; | ||
} | |||
/* For [[Template:Quote/styles.css]] */ | |||
blockquote.pull-quote:has(.pull-quote__source) { | |||
margin-top: 25px !important; | |||
} | |||
.pull-quote__source { | |||
width: fit-content; | |||
} | } | ||