MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
No edit summary
Line 42: Line 42:
h3.link + p > a,
h3.link + p > a,
h4.link + p > a,
h4.link + p > a,
h5.link + p > a {
h5.link + p > a,
h2.link + section > p > a,
h3.link + section > p > a,
h4.link + section > p > a,
h5.link + section > p > a {
font-weight:bold;
font-weight:bold;
}
}
Line 48: Line 52:
h3.link + p > a::before,
h3.link + p > a::before,
h4.link + p > a::before,
h4.link + p > a::before,
h5.link + p > a::before {
h5.link + p > a::before,
h2.link + section > p > a::before,
h3.link + section > p > a::before,
h4.link + section > p > a::before,
h5.link + section > p > a::before {
content: '[';
content: '[';
}
}
Line 55: Line 63:
h3.link + p > a::after,
h3.link + p > a::after,
h4.link + p > a::after,
h4.link + p > a::after,
h5.link + p > a::after{
h5.link + p > a::after,
h2.link + section > p > a::after,
h3.link + section > p > a::after,
h4.link + section > p > a::after,
h5.link + section > p > a::after {
content: ']';
content: ']';
}
}

Revision as of 08:43, 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 */
h2.link,
h3.link,
h4.link,
h5.link {
display:inline;
}

h2.link + p,
h3.link + p,
h4.link + p,
h5.link + p {
display:inline;
font-weight:bold;
margin-left:.5em;
}

h2.link + p > a,
h3.link + p > a,
h4.link + p > a,
h5.link + p > a,
h2.link + section > p > a,
h3.link + section > p > a,
h4.link + section > p > a,
h5.link + section > p > a {
font-weight:bold;
}
h2.link + p > a::before,
h3.link + p > a::before,
h4.link + p > a::before,
h5.link + p > a::before,
h2.link + section > p > a::before,
h3.link + section > p > a::before,
h4.link + section > p > a::before,
h5.link + section > p > a::before {
content: '[';
}

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