MediaWiki:Mobile.css

From Unrailed! Wiki
Revision as of 18:08, 15 March 2020 by imported>Stencil
Jump to navigation Jump to search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.content p {
    margin: 0;
}

#main-article-tiles {
    margin-top: 2em;
    margin-bottom: 1em;
    white-space: nowrap;
    overflow-x: auto;
}

.article-tile {
    display: inline-block;
    position: relative;
    height: 129px;
    width: 191px;
    background-color: #E7D180;
    border: 3px solid #B3812C;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
}

.article-tile-container {
    position: absolute;
    top: 113px;
    width: 191px;
    line-height: 12px;
    z-index: 3;
}

.article-tile-label {
    background-color: #B3812C;
    padding: 2px;
    font-family: 'Linux Libertine','Georgia','Times',serif;
    font-size: 10pt;
    float: right;
}

.article-tile-label a, .article-tile-label a:hover, .article-tile-label a:active, .article-tile-label a:visited, #main-wagon-links a, #main-wagon-links a:hover, #main-wagon-links a:active, #main-wagon-links a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.article-tile-image {
    margin: 3px;
}

.article-tile-posh {
    border-color: transparent #B3812C #B3812C transparent;
    border-style: solid;
    border-width: 8px 8px 8px 8px;
    float: right;
}

#main-wagon-list {
    margin-top: 45px;
    border: 5px solid #1BAAEA;
    font-family: 'Linux Libertine','Georgia','Times',serif;
}

#wagons-header {
    background-color: #1BAAEA;
}

#main-wagon-items {
    white-space: nowrap;
    overflow-x: auto;
}

#main-wagon-list ul {
    display: inline-block;
    padding: 0;
    text-align: center;
    list-style: none;
}

#main-wagon-list ul:not(:last-child) {
    border-right: 1px solid #BDC2C8;
}

#main-wagon-list li {
    width: 7em;
    font-size: 10pt;
}

#main-wagon-list li:not(:last-child) {
    border-bottom: 1px solid #BDC2C8;
}

#steam-banner, #discord-banner {
    padding-left: 10px;
    font-family: 'Linux Libertine','Georgia','Times',serif;
    font-size: 10pt;
}

#steam-banner {
    background-color: #171A21;
}

#steam-banner img {
    margin-top: -3px;	
}

#discord-banner {
    background-color: #697EC4;
}

#discord-banner img {
    margin-top: -2px;
}

.mw-parser-output .external {
    background: none;
}

.article-table {
    background-color: #F8F9FA;
    border-collapse: collapse;
    border: 0px none #C8CCD1;
    margin: 1em 1em 1em 0;
}

.article-table th {
    padding: 6px 12px;
    background-color: #DFE0E1;
    border-bottom: 1px solid #939494;
    text-align: left;
}

.article-table td {
    padding: 6px 12px;
    border-bottom: 1px solid #C8CCD1;
}