MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 56: | Line 56: | ||
/* SITENOTICE DEFAULT APPEARANCE */ | /* SITENOTICE DEFAULT APPEARANCE */ | ||
#namespace-notice .notice.sitewide-notice { | #namespace-notice div.notice.sitewide-notice { | ||
text-align: center; | text-align: center; | ||
margin: auto; | margin: 0.5em auto; /* Adjust top/bottom margin as needed */ | ||
width: 65%; | width: 65%; | ||
padding: 0.5em; | padding: 0.5em; | ||
border: 1px solid #a2a9b1; /* Add a default border if your regular notices have one */ | |||
background-color: #f8f9fa; /* Add a default background color */ | |||
} | } | ||
#namespace-notice .notice.sitewide-notice.quality { | #namespace-notice div.notice.sitewide-notice.quality { | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
| Line 72: | Line 74: | ||
/* CURVED STYLE FOR SITENOTICES */ | /* CURVED STYLE FOR SITENOTICES */ | ||
#namespace-notice .notice.sitewide-notice.curved { | #namespace-notice div.notice.sitewide-notice.curved { | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
/* DISMISS BUTTON STYLE FOR SITENOTICES */ | /* DISMISS BUTTON STYLE FOR SITENOTICES */ | ||
#namespace-notice .notice.sitewide-notice .dismiss-button { | #namespace-notice div.notice.sitewide-notice .dismiss-button { | ||
font-size: 1.5em; /* Adjust the size as needed */ | font-size: 1.5em; /* Adjust the size as needed */ | ||
color: #000000; /* Initial color */ | color: #000000; /* Initial color */ | ||
} | } | ||
#namespace-notice .notice.sitewide-notice .dismiss-button:hover { | #namespace-notice div.notice.sitewide-notice .dismiss-button:hover { | ||
color: #666666; /* Color on hover */ | color: #666666; /* Color on hover */ | ||
} | } | ||
Revision as of 23:21, 3 April 2025
/* JUSTIFY ALL TEXT IN CONTENT AREA */
#mw-content-text {
text-align: justify;
}
/* SET BACKGROUND COLOR TO WHITE */
:root {
--background-color-base: white;
}
/* 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 */
}
/* NOTICES DEFAULT APPEARANCE */
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;
}
.dismiss-button {
font-size: 1.5em; /* Adjust the size as needed */
color: #000000; /* Initial color */
}
.dismiss-button:hover {
color: #666666; /* Color on hover */
}
/* SITENOTICE DEFAULT APPEARANCE */
#namespace-notice div.notice.sitewide-notice {
text-align: center;
margin: 0.5em auto; /* Adjust top/bottom margin as needed */
width: 65%;
padding: 0.5em;
border: 1px solid #a2a9b1; /* Add a default border if your regular notices have one */
background-color: #f8f9fa; /* Add a default background color */
}
#namespace-notice div.notice.sitewide-notice.quality {
font-style: italic;
}
#namespace-notice img.notice {
width: 1em;
}
/* CURVED STYLE FOR SITENOTICES */
#namespace-notice div.notice.sitewide-notice.curved {
border-radius: 10px;
}
/* DISMISS BUTTON STYLE FOR SITENOTICES */
#namespace-notice div.notice.sitewide-notice .dismiss-button {
font-size: 1.5em; /* Adjust the size as needed */
color: #000000; /* Initial color */
}
#namespace-notice div.notice.sitewide-notice .dismiss-button:hover {
color: #666666; /* Color on hover */
}
/* NAVIGATION */
.navigation {
display: block;
margin: 1em 40px;
font-style: italic;
}