MediaWiki:Common.css

From ASXResearch
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.
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;
}