MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 24: | Line 24: | ||
} | } | ||
/* navigation */ | |||
.navigation { | |||
display: block; | |||
margin: 1em 40px; | |||
font-style: italic; | |||
} | |||
/* notices */ | |||
/* Notices Default Appearance */ | /* Notices Default Appearance */ | ||
div.notice { | div.notice { | ||
| Line 30: | Line 38: | ||
width: 65%; | width: 65%; | ||
padding: 0.5em; | padding: 0.5em; | ||
position: relative; /* Ensure the close button is positioned correctly */ | |||
background-color: #fffbdd; | |||
border: 1px solid black; | |||
font-size: 1.2em; | |||
line-height: 1.4; | |||
} | } | ||
/* | /* Curved corners for notices */ | ||
.curved { | div.notice.curved { | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
div.notice.quality { | |||
. | |||
font-style: italic; | font-style: italic; | ||
} | } | ||
img.notice { | |||
.notice { | width: 1em; | ||
} | } | ||
/* Close button */ | /* Close button for the notice */ | ||
.notice-close { | .notice-close { | ||
position: absolute; | |||
top: 0.2em; | |||
right: 0.5em; | |||
cursor: pointer; | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
color: black; | |||
background-color: transparent; | |||
border: none; | |||
} | } | ||
/* Main text styling for bolded | /* Optional: Main text styling for bolded sections */ | ||
.notice-main-text { | .notice-main-text { | ||
font-weight: bold; | |||
} | } | ||
Revision as of 02:53, 21 March 2025
/* Justify all text in content area */
#mw-content-text {
text-align: justify;
}
body {
background-color: white !important;
}
/* Cite Customizations */
/* Remove brackets around superscript citation numbers */
.reference .cite-bracket { font-size: 0; }
/* Target the caret (^) in single citation backlinks and make it bold */
.mw-cite-backlink > a {
font-weight: bold; /* Make caret bold */
font-style: normal; /* Ensure caret is not italicized */
}
/* Target the lowercase letters (a, b, c, ...) in many citation backlinks */
.mw-cite-backlink > sup > a {
font-weight: bold; /* Make letters bold */
font-style: italic; /* Make letters italic */
}
/* navigation */
.navigation {
display: block;
margin: 1em 40px;
font-style: italic;
}
/* notices */
/* Notices Default Appearance */
div.notice {
text-align: center;
margin: auto;
width: 65%;
padding: 0.5em;
position: relative; /* Ensure the close button is positioned correctly */
background-color: #fffbdd;
border: 1px solid black;
font-size: 1.2em;
line-height: 1.4;
}
/* Curved corners for notices */
div.notice.curved {
border-radius: 10px;
}
div.notice.quality {
font-style: italic;
}
img.notice {
width: 1em;
}
/* Close button for the notice */
.notice-close {
position: absolute;
top: 0.2em;
right: 0.5em;
cursor: pointer;
font-weight: bold;
font-size: 1.2em;
color: black;
background-color: transparent;
border: none;
}
/* Optional: Main text styling for bolded sections */
.notice-main-text {
font-weight: bold;
}