Information: 0.2.5 is officially out! Please bear with us while we are working on updating the wiki. This patch is massive so a lot of work will be needed. Enjoy the game in the meantime!

MediaWiki:Main 2.css

From Tiny Rogues Wiki
Revision as of 17:05, 19 January 2024 by Ken (talk | contribs) (Created page with "→‎Infobox: .infobox-wrap { padding: 0; float: right; clear: right; position: relative; } table.infobox div.tabdiv:not(.forceport) > ul { background-color: #f7f7f7; padding: 7px 0 7px 0; border-bottom: 2px solid var(--theme-tone-2); align-items: center; justify-content: center; } .infobox .tabber-new > .tabber-content { margin-top: 10px; } table.infobox div.tabdiv:not(.forceport) > ul ~ div ul { margin-top: -10px; marg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* Infobox */
.infobox-wrap {
    padding: 0;
    float: right;
    clear: right;
    position: relative;
}

table.infobox div.tabdiv:not(.forceport) > ul {
    background-color: #f7f7f7;
    padding: 7px 0 7px 0;
    border-bottom: 2px solid var(--theme-tone-2);
    align-items: center;
    justify-content: center;
}

.infobox .tabber-new > .tabber-content {
    margin-top: 10px;
}

table.infobox div.tabdiv:not(.forceport) > ul ~ div ul {
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    background: none;
    border-bottom: none;
}

table.infobox div.tabdiv:not(.forceport) > ul > li {
    padding-top: 0;
}

.infobox div.tabdiv > ul > li:hover,
.infobox div.tabdiv > ul > li.active {
    background: none;
    color: var(--accent-color);
    border-radius: 0;
}

table.infobox div.tabdiv:not(.forceport) > ul > li {
    background: none;
}

.infobox div.tabdiv > ul > li {
    padding: 5px 10px;
    margin-right: 5px !important;
}

.infobox .tabber-content p:first-child {
    margin-top: 5px;
}

.infobox div.tabdiv > ul > li.active a,
.infobox div.tabdiv > ul > li:hover a {
    color: var(--accent-color) !important;
}

/* Remove .mw-body-content stacking context so the tooltip can
   overlap with elements outside content area and be shown properly */
.mw-body-content {
    z-index: auto;
}

/* Template fix */
dfn {
    display: none !important;
}

/* Image margin in headlines */
.mw-headline .image img {
    padding-bottom: 5px;
}

/* Navbar */
.sidebar-chunk,
#p-logo,
#p-banner,
#personal,
#personal-inner,
#mw-data-after-content img,
#mw-data-after-content a,
::placeholder {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

::-moz-placeholder {
    user-select: none;
    -moz-user-select: none;
}

::-webkit-placeholder {
    user-select: none;
    -webkit-user-select: none;
}

#p-logo {
    border: 1px solid var(--border-color);
    border-bottom: 0;
}

.mw-wiki-logo {
    margin-top: 0;
    background-position: center!important;
    padding-bottom: 0;
    height: 8.65rem!important;
}

.sidebar-chunk:not(#site-navigation) {
    padding-top: 0 !important;
}

#mw-site-navigation {
    z-index: 3;
    padding: 0.85rem;
    padding-top: 0;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 1rem;
    padding: 0 !important;
    max-width: 11.5rem;
}

#mw-site-navigation .sidebar-chunk li {
    padding: 0;
}