Difference between revisions of "MediaWiki:Mobile.css"

From Unrailed! Wiki
Jump to navigation Jump to search
imported>Stencil
imported>Stencil
Line 11: Line 11:
  
 
.article-tile {
 
.article-tile {
display: inline-block;
+
    display: inline-block;
 
     position: relative;
 
     position: relative;
 
     height: 129px;
 
     height: 129px;

Revision as of 18:38, 14 March 2020

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