MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
m test
Line 23: Line 23:


/* Header Link */
/* Header Link */
h2.link,
h3:has(>span.link),
h4:has(>span.link),
h5:has(>span.link) {
display:inline;
}
a.link {
a.link {
font-size:.6em;
font-size:.6em;
Line 35: Line 29:
h2.link + p {
h2.link + p {
display:inline;
display:inline;
font-weight:bold;
}
}
h2.link + p > a::before,
h2.link + p > a::before,

Revision as of 08:24, 17 January 2024

/* CSS placed here will be applied to all skins */

/* General */
.small {
font-size:.8em;
vertical-align:text-bottom;
}
.italic {
font-style:italic;
}

/* Small Link */
p:has(>span.small-link) {
margin-top:0;
}
span.small-link {
font-size:.8em;
font-weight:bold;
}
hr.small-link {
margin:-.8em 0 -.7em 0;
}

/* Header Link */
a.link {
font-size:.6em;
font-weight:bold;
}
h2.link + p {
display:inline;
font-weight:bold;
}
h2.link + p > a::before,
h3.link + p > a::before,
h4.link + p > a::before,
h5.link + p > a::before {
content: '[';
}

h2.link + p > a::after,
h3.link + p > a::after,
h4.link + p > a::after,
h5.link + p > a::after{
content: ']';
}