MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
span.mw-cite-backlink {
display: none !important;
}
/* Custom logo fix for Vector Legacy (2010) */
#p-logo a {
background-image: url("/images/9/9e/Wikiflag.png") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
height: 150px !important;
width: 150px !important;
}
.new {
color: inherit;
pointer-events: none;
text-decoration: none;
}
/* Re-enable redlinks in search results ONLY */
.mw-search-result-data a.new {
color: #ba0000 !important;
pointer-events: auto !important;
text-decoration: underline dotted !important;
}
p {
margin-bottom: 1.05em !important;
line-height: 1.2em;
}
/* {{pp|small=y}} */
.hatnote {
font-style: italic;
}
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.hatnote i {
font-style: normal;
}
/* The templatestyles element inserts a link element before hatnotes.
* TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
margin-top: -0.5em;
}
@media print {
body.ns-0 .hatnote {
display: none !important;
}
}
/* FORCE ALL TABLES FLUSH LEFT IF THEY DECLARE margin-left: 0 */
body .mw-body-content table {
margin-left: 0 !important;
margin-right: auto !important;
padding-left: 0 !important;
}
/* ASX Historic Table Link Styling */
.asxlink a {
color: #40E0D0 !important;
font-weight: normal !important;
text-decoration: none;
}
.asxlink a:hover {
color: #35857d !important;
text-decoration: underline;
}
.mw-body-content {
margin-top: 0 !important;
padding-top: 0 !important;
}
.firstHeading {
margin-bottom: 0 !important;
}
.page-ASX_Latest_Accidents .mw-body-content {
margin-top: 0 !important;
padding-top: 0 !important;
}
.page-ASX_Latest_Accidents .firstHeading {
margin-bottom: 0 !important;
}
/*
body.page-Main_Page {
background: url("https://wiki.alsresume.com/images/1/10/B-58_ASX_7d.jpg") no-repeat center center fixed;
background-size: cover;
}
*/
body.page-Main_Page #content,
body.page-Main_Page #mw-page-base,
body.page-Main_Page .mw-body {
background: transparent !important;
}
body.page-Main_Page #content,
body.page-Main_Page #mw-page-base,
body.page-Main_Page .mw-body,
body.page-Main_Page .vector-body,
body.page-Main_Page .mw-parser-output {
background: transparent !important;
box-shadow: none !important;
}
#toc {
background-color: transparent !important; /* Transparent background */
border: 1px solid #ccc !important; /* Light gray line around the box */
box-shadow: none !important; /* No shadow */
}
#t-specialpages {
display: none;
}
#t-recentchangeslinked {
display: none;
}
#t-specialpages {
display: none;
}
#t-whatlinkshere {
display: none;
}
#t-recentchangeslinked {
display: none;
}
#p-tb:after {
content: "";
display: block;
margin-top: 15px;
background-image: url('https://wiki.alsresume.com/images/d/d8/Marquis_Evg_NTSB_FAA2.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 120px;
height: 440px; /* Optimized for full vertical badge visibility */
margin-left: auto;
margin-right: auto;
border-radius: 8px;
}
#asx-modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.75);
z-index: 9999;
}
#asx-modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
background: white;
padding: 20px;
border-radius: 12px;
text-align: center;
box-shadow: 0 0 15px #000;
}
#asx-modal img {
max-width: 100%;
height: auto;
margin-bottom: 15px;
}
#asx-modal-close {
position: absolute;
top: 5px;
right: 10px;
cursor: pointer;
font-weight: bold;
color: #888;
}
span.error,
.mw-parser-output .error,
.mw-ext-cite-error,
cite-error {
display: none !important;
}
/* 4-column TOC layout for NOTAM Acronyms page */
body.page-NOTAM_Notice_to_Airmen_Acronyms .toc ul {
column-count: 4;
column-gap: 20px;
padding-left: 0 !important;
}
.mw-hidden-cats {
display: none !important;
}