MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 56: | Line 56: | ||
} | } | ||
/* NOTAM sidebar heading | /* NOTAM / TFR sidebar heading graphic */ | ||
#p-_ .vector-menu-heading, | #p-_.vector-menu-heading, | ||
#p-_ h3 { | #p-_ h3 { | ||
display: | display: block !important; | ||
padding-left: 0 !important; | padding-left: 0 !important; | ||
min-height: | min-height: 48px; | ||
background: none !important; | background: none !important; | ||
overflow: visible !important; | |||
} | } | ||
#p-_ .vector-menu-heading::before, | #p-_.vector-menu-heading::before, | ||
#p-_ h3::before { | #p-_ h3::before { | ||
content: ""; | content: ""; | ||
display: | display: block; | ||
width: | width: 150px; | ||
height: 48px; | height: 48px; | ||
margin: 0; | |||
padding: 0; | |||
background-image: url("/images/7/76/TFR_NOTAM.png"); | background-image: url("/images/7/76/TFR_NOTAM.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center; | background-position: left center; | ||
background-size: | background-size: 150px auto; | ||
} | } | ||
#p-_ .vector-menu-content { | #p-_.vector-menu-content { | ||
transform: translateY(-6px); | transform: translateY(-6px); | ||
} | } | ||
Revision as of 18:35, 14 August 2026
a {
text-decoration: none !important;
}
a:hover {
text-decoration: underline; /* optional hover effect */
}
#f-poweredbyico img {
display: none !important;
}
#f-poweredbyico::after {
content: "";
display: inline-block;
width: 88px;
height: 31px;
background-image: url("/resources/assets/poweredby_asxresearch_88x31.png");
background-size: contain;
background-repeat: no-repeat;
}
#mw-panel-right {
font-family: sans-serif;
padding: 10px;
}
/* Wide multi-column Table of Contents */
#toc {
width: 800px;
max-width: 100%;
box-sizing: border-box;
}
#toc > ul {
column-count: 4;
column-gap: 30px;
}
#toc > ul > li {
break-inside: avoid;
page-break-inside: avoid;
}
/* Responsive layout */
@media screen and (max-width: 700px) {
#toc > ul {
column-count: 2;
}
}
@media screen and (max-width: 400px) {
#toc > ul {
column-count: 1;
}
}
/* NOTAM / TFR sidebar heading graphic */
#p-_.vector-menu-heading,
#p-_ h3 {
display: block !important;
padding-left: 0 !important;
min-height: 48px;
background: none !important;
overflow: visible !important;
}
#p-_.vector-menu-heading::before,
#p-_ h3::before {
content: "";
display: block;
width: 150px;
height: 48px;
margin: 0;
padding: 0;
background-image: url("/images/7/76/TFR_NOTAM.png");
background-repeat: no-repeat;
background-position: left center;
background-size: 150px auto;
}
#p-_.vector-menu-content {
transform: translateY(-6px);
}