MediaWiki:Mobile.css

From Unrailed! Wiki
Revision as of 18:34, 14 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;
    float: right;
}

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

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

#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 li {
    width: 7em;
}

#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;
}