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;
+
     position: relative;
     margin-bottom: 0.25em;
+
    height: 129px;
     background-color: #B3812C;
+
    width: 191px;
     border: 1px solid #E4EAEE;
+
     margin-bottom: 24px;
 +
     background-color: #E7D180;
 +
     border: 3px solid #B3812C;
 
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
 
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
 
}
 
}
  
 
.article-tile-container {
 
.article-tile-container {
     padding-left: 0.5em;
+
    position: absolute;
     border: 1px solid #E7D180;
+
    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;
 
}
 
}
  

Revision as of 18:31, 14 March 2020

.content p {
    margin: 0;
}

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

.article-tile {
    position: relative;
    height: 129px;
    width: 191px;
    margin-bottom: 24px;
    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;
}