MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 56: | Line 56: | ||
} | } | ||
/* | /* Clean up first TOC entry: TFRs and NOTAMs */ | ||
#toc > ul > li:first-child > a { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 8px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Remove section number 1 completely */ | |||
#toc > ul > li:first-child > a .tocnumber { | #toc > ul > li:first-child > a .tocnumber { | ||
display: none !important; | display: none !important; | ||
width: 0 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Keep graphic and title together */ | |||
#toc > ul > li:first-child > a .toctext { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 8px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
line-height: 1.2 !important; | |||
} | |||
/* Control only the image inside the first TOC entry */ | |||
#toc > ul > li:first-child > a .toctext img { | |||
flex: 0 0 auto !important; | |||
margin: 0 !important; | |||
vertical-align: middle !important; | |||
} | } | ||
Revision as of 19:10, 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;
}
}
/* Clean up first TOC entry: TFRs and NOTAMs */
#toc > ul > li:first-child > a {
display: flex !important;
align-items: center !important;
gap: 8px !important;
margin: 0 !important;
padding: 0 !important;
}
/* Remove section number 1 completely */
#toc > ul > li:first-child > a .tocnumber {
display: none !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Keep graphic and title together */
#toc > ul > li:first-child > a .toctext {
display: flex !important;
align-items: center !important;
gap: 8px !important;
margin: 0 !important;
padding: 0 !important;
line-height: 1.2 !important;
}
/* Control only the image inside the first TOC entry */
#toc > ul > li:first-child > a .toctext img {
flex: 0 0 auto !important;
margin: 0 !important;
vertical-align: middle !important;
}
/* NOTAM / TFR sidebar heading graphic */
#p-_.vector-menu-heading,
#p-_ h3 {
display: block !important;
padding-left: 0 !important;
margin: 0 !important;
min-height: 32px;
background: none !important;
overflow: visible !important;
font-size: 0 !important;
line-height: 0 !important;
color: transparent !important;
}
#p-_.vector-menu-heading::before,
#p-_ h3::before {
content: "";
display: block;
width: 100px;
height: 32px;
margin: 0 0 0 5px;
padding: 0;
background-image: url("/images/0/08/TFR_NOTAM2.png");
background-repeat: no-repeat;
background-position: left center;
background-size: 100px auto;
}
#p-_.vector-menu-content {
margin: 0 !important;
padding: 0 !important;
}
#p-_ .vector-menu-content-list {
margin-top: -4px !important;
padding-top: 0 !important;
}
#p-_ .vector-menu-content-list li {
margin-top: 0 !important;
}