Difference between revisions of "MediaWiki:Mobile.css"

From Unrailed! Wiki
Jump to navigation Jump to search
imported>Stencil
imported>Stencil
Line 54: Line 54:
 
#main-wagon-list {
 
#main-wagon-list {
 
     margin-top: 45px;
 
     margin-top: 45px;
 +
    width: 571px;
 
     border: 5px solid #1BAAEA;
 
     border: 5px solid #1BAAEA;
 
     font-family: 'Linux Libertine','Georgia','Times',serif;
 
     font-family: 'Linux Libertine','Georgia','Times',serif;
Line 59: Line 60:
  
 
#wagons-header {
 
#wagons-header {
 +
    margin-top: -2px;
 
     background-color: #1BAAEA;
 
     background-color: #1BAAEA;
 
}
 
}
Line 80: Line 82:
 
#main-wagon-list li {
 
#main-wagon-list li {
 
     width: 7em;
 
     width: 7em;
 +
    padding: 0 10px;
 
     font-size: 10pt;
 
     font-size: 10pt;
 
}
 
}

Revision as of 18:12, 15 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;
    width: 571px;
    border: 5px solid #1BAAEA;
    font-family: 'Linux Libertine','Georgia','Times',serif;
}

#wagons-header {
    margin-top: -2px;
    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;
    padding: 0 10px;
    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;
}