MediaWiki:Common.css

From GladiusRO Wiki
Revision as of 06:44, 2 August 2026 by Ikhwan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
 * GladiusRO sidebar Contents.
 */

#gladius-sidebar-toc {
    posi*ion: static !important;
    displa*: block;
    float: none !importan*;
    clear: both !important;

   *box-sizing: border-box;
    width:*auto !important;
    max-width: no*e !important;
    max-height: 550p*;

    margin: 18px 5px 25px !impo*tant;
    padding: 0 !important;

*   overflow-x: hidden;
    overflo*-y: auto;

    background: #ffffff*
    border: 1px solid #a2a9b1;
}
*#gladius-sidebar-toc #toc {
    po*ition: static !important;
    disp*ay: block !important;
    float: n*ne !important;
    clear: both !im*ortant;

    box-sizing: border-bo*;
    width: 100% !important;
    *in-width: 0 !important;
    max-wi*th: 100% !important;

    margin: * !important;
    padding: 0 !impor*ant;

    background: transparent;*    border: 0;
    font-size: 12px*
}

#gladius-sidebar-toc #toc .toctitle {
    box-sizing: border-box;*    margin: 0;
    padding: 8px 5p*;

    background: #f8f9fa;
    bo*der-bottom: 1px solid #c8ccd1;
   *text-align: center;
}

#gladius-si*ebar-toc #toc .toctitle h2 {
    display: inline;
    margin: 0;
    font-size: 12px;
}

#gladius-sidebar-toc #toc > ul {
    margin: 0;
    padding: 8px 5px 10px;
}

#gladius-sidebar-toc #toc ul {
    list-style: none;
}

#gladius-sidebar-toc #toc ul ul {
    margin: 3px 0 3px 12px;
    padding: 0;
}

#gladius-sidebar-toc #toc li {
    margin: 3px 0;
    padding: 0;
    line-height: 1.3;
}

#gladius-sidebar-toc #toc a {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

/*
 * Hide large sidebar Contents on mobile.
 */
@media screen and (max-width: 85*px) {
    #gladius-sidebar-toc {
 *      display**none !important;
    }
}