MediaWiki:Common.css: Difference between revisions

From ASXResearch
Jump to navigation Jump to search
No edit summary
No edit summary
Line 78: Line 78:
     background-position: center;
     background-position: center;
     background-size: contain;
     background-size: contain;
}
/* Tighten and slightly raise NOTAMs heading text */
#p-NOTAMs .vector-menu-heading-label {
    margin-left: -2px !important;
    transform: translateY(-2px);
}
}

Revision as of 16:46, 13 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 sidebar heading icon */
#p-NOTAMs .vector-menu-heading,
#p-NOTAMs h3 {
    display: flex !important;
    align-items: center !important;
    gap: 2px;
    padding-left: 0 !important;
    min-height: 18px;
    background: none !important;
}

#p-NOTAMs .vector-menu-heading::before,
#p-NOTAMs h3::before {
    content: "";
    display: inline-block;
    width: 60px;
    height: 24px;
    flex: 0 0 60px;
    background-image: url("/images/0/01/NOTAM.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Tighten and slightly raise NOTAMs heading text */
#p-NOTAMs .vector-menu-heading-label {
    margin-left: -2px !important;
    transform: translateY(-2px);
}