MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 10: | Line 10: | ||
.reference .cite-bracket { font-size: 0; } | .reference .cite-bracket { font-size: 0; } | ||
/* Style caret symbol (^) to be bold and ensure only one caret appears */ | |||
/* Style caret symbol (^) to be bold */ | |||
.mw-cite-backlink > a::before { | .mw-cite-backlink > a::before { | ||
content: "^"; | content: "^"; /* Ensure only one caret symbol */ | ||
font-weight: bold; | font-weight: bold; /* Makes the caret bold */ | ||
} | } | ||
/* Style the links with lowercase letters for "many" references */ | /* Style the links with lowercase letters for "many" references (bold and italic) */ | ||
.mw-cite-backlink > a[rel="mw:referencedBy"]::before { | |||
content: counter(mw-ref-linkback, lower-alpha); | content: counter(mw-ref-linkback, lower-alpha); /* Use lowercase alphabetic counter */ | ||
font-size: 80%; | font-size: 80%; /* Optional: Reduce size of the counter */ | ||
font-weight: bold; | font-weight: bold; /* Bold the counter */ | ||
font-style: italic; | font-style: italic; /* Italicize the counter */ | ||
} | } | ||
/* Ensure no additional caret is added to the single citation backlink */ | |||
.mw-cite-backlink > a:only-child::before { | |||
content: ""; /* Remove any extra caret for single references */ | |||
} | |||
/* Notice */ | /* Notice */ | ||
Revision as of 04:25, 20 March 2025
/* Justify all text in content area */
#mw-content-text {
text-align: justify;
}
body {
background-color: white !important;
}
.reference .cite-bracket { font-size: 0; }
/* Style caret symbol (^) to be bold and ensure only one caret appears */
.mw-cite-backlink > a::before {
content: "^"; /* Ensure only one caret symbol */
font-weight: bold; /* Makes the caret bold */
}
/* Style the links with lowercase letters for "many" references (bold and italic) */
.mw-cite-backlink > a[rel="mw:referencedBy"]::before {
content: counter(mw-ref-linkback, lower-alpha); /* Use lowercase alphabetic counter */
font-size: 80%; /* Optional: Reduce size of the counter */
font-weight: bold; /* Bold the counter */
font-style: italic; /* Italicize the counter */
}
/* Ensure no additional caret is added to the single citation backlink */
.mw-cite-backlink > a:only-child::before {
content: ""; /* Remove any extra caret for single references */
}
/* Notice */
div.notice {
text-align: center;
margin: auto;
width: 65%;
padding: 0.5em;
}
div.notice.quality {
font-style: italic;
}
img.notice {
width: 1em;
}
/* curved */
.curved {
border-radius: 10px;
}
/* navigation */
.navigation {
display: block;
margin: 1em 40px;
font-style: italic;
}