MediaWiki:Common.css: Difference between revisions

From ASXResearch
Jump to navigation Jump to search
No edit summary
No edit summary
 
(92 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Shift content down to make room for banner */
a {
body {
  text-decoration: none !important;
    margin-top: 90px !important;
}
}


/* Properly pinned header banner */
a:hover {
#asx-top-banner {
  text-decoration: underline; /* optional hover effect */
     position: fixed;
}
     top: 0;
 
     left: 100px;
#f-poweredbyico img {
     width: 100%;
  display: none !important;
     background: transparent;
}
     margin: 0;
 
     padding: 0;
#f-poweredbyico::after {
     z-index: 9999;
  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;
     margin: 0 !important;
     min-height: 32px;
    background: none !important;
    overflow: visible !important;
    font-size: 0 !important;
     line-height: 0 !important;
    color: transparent !important;
}
}


/* Scale and constrain banner image */
#p-_.vector-menu-heading::before,
#asx-top-banner img {
#p-_ h3::before {
    content: "";
     display: block;
     display: block;
     height: auto;
     width: 100px;
     max-height: 90px;
     height: 32px;
    object-fit: contain;
     margin: 0 0 0 5px;
     margin: 0;
     padding: 0;
     padding: 0;
     float: left;
     background-image: url("/images/0/08/TFR_NOTAM2.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100px auto;
}
}


/* Clean transparent top tabs */
#p-_.vector-menu-content {
.vector-tabs,
     margin: 0 !important;
.vector-tabs li,
.vector-tabs li.selected,
.vector-tabs li.selected a,
.vector-tabs li a {
     background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    text-shadow: none !important;
     padding: 0 !important;
     padding: 0 !important;
    margin: 0 !important;
    z-index: 10000 !important;
}
}


/* Highlight for active tab */
#p-_ .vector-menu-content-list {
.vector-tabs li.selected a {
    margin-top: -4px !important;
     color: red !important;
    padding-top: 0 !important;
}
 
#p-_ .vector-menu-content-list li {
    margin-top: 0 !important;
}
 
#mw-panel a[href*="The_Impossible_Turn"] {
    color: #a60000;
}
 
#mw-panel a[href*="The_Impossible_Turn"]:hover {
    color: #700000;
}
 
#mw-panel a[href*="Support_ASX_Research"] {
    color: #00984b;
}
 
#mw-panel a[href*="Support_ASX_Research"]:hover {
    color: #006432;
}
 
#p-tb-label {
    display: none !important;
}
 
#t-upload {
    display: none !important;
}
 
#ca-talk {
    display: none !important;
}
 
/* Responsive ASX Research Editorial Principle */
.asx-motto {
    clear: both;
    width: 100%;
    max-width: 680px;
    margin: 18px auto 4px auto;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    top: 14px;
}
 
.asx-motto img {
     display: block;
    width: 100% !important;
    max-width: 680px !important;
    height: auto !important;
    margin: 0 auto;
}
}

Latest revision as of 17:38, 27 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;
    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;
}

#mw-panel a[href*="The_Impossible_Turn"] {
    color: #a60000;
}

#mw-panel a[href*="The_Impossible_Turn"]:hover {
    color: #700000;
}

#mw-panel a[href*="Support_ASX_Research"] {
    color: #00984b;
}

#mw-panel a[href*="Support_ASX_Research"]:hover {
    color: #006432;
}

#p-tb-label {
    display: none !important;
}

#t-upload {
    display: none !important;
}

#ca-talk {
    display: none !important;
}

/* Responsive ASX Research Editorial Principle */
.asx-motto {
    clear: both;
    width: 100%;
    max-width: 680px;
    margin: 18px auto 4px auto;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    top: 14px;
}

.asx-motto img {
    display: block;
    width: 100% !important;
    max-width: 680px !important;
    height: auto !important;
    margin: 0 auto;
}