Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
imported>Stencil |
m |
||
(60 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | .content p { | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | .image img | ||
+ | { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | .vectorMenu .menu { | ||
+ | right: 0px; | ||
+ | } | ||
+ | |||
+ | #p-cactions-label{ | ||
+ | margin: 0 !important; | ||
+ | } | ||
+ | |||
+ | #main-gameplay { | ||
+ | margin-top: 0.5em; | ||
+ | } | ||
+ | |||
+ | #main-gameplay img { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
#main-article-tiles { | #main-article-tiles { | ||
margin-top: 2em; | margin-top: 2em; | ||
+ | margin-bottom: 1em; | ||
white-space: nowrap; | white-space: nowrap; | ||
overflow-x: auto; | overflow-x: auto; | ||
Line 7: | Line 34: | ||
.article-tile { | .article-tile { | ||
display: inline-block; | display: inline-block; | ||
− | + | position: relative; | |
− | border: | + | 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); | box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1); | ||
} | } | ||
.article-tile-container { | .article-tile-container { | ||
− | padding- | + | position: absolute; |
+ | top: 107px; | ||
+ | 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 { | .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: -4px 3px; | ||
+ | } | ||
+ | |||
+ | .article-tile-posh { | ||
+ | border-color: transparent #B3812C #B3812C transparent; | ||
+ | border-style: solid; | ||
+ | border-width: 8px 8px 8px 8px; | ||
+ | float: right; | ||
} | } | ||
#main-wagon-list { | #main-wagon-list { | ||
+ | margin-top: 45px; | ||
+ | max-width: 505px; | ||
border: 5px solid #1BAAEA; | border: 5px solid #1BAAEA; | ||
font-family: 'Linux Libertine','Georgia','Times',serif; | font-family: 'Linux Libertine','Georgia','Times',serif; | ||
+ | } | ||
+ | |||
+ | #main-wagon-list .EXP, #main-wagon-list .DLC { | ||
+ | position: relative; | ||
+ | top: 14px; | ||
+ | right: -108px; | ||
+ | margin-top: -16px; | ||
+ | width: 25px; | ||
+ | padding: 0px 2px; | ||
+ | line-height: 16px; | ||
+ | font-size: 80%; | ||
+ | font-weight: bold; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | #main-wagon-list .EXP { | ||
+ | background-color: #FF0000; | ||
+ | } | ||
+ | |||
+ | #main-wagon-list .DLC { | ||
+ | background-color: #A555B2; | ||
+ | } | ||
+ | |||
+ | #main-wagon-list #bubble { | ||
+ | width: 25px; | ||
+ | height: 25px; | ||
+ | margin-top: -25px; | ||
+ | z-index: -1; | ||
+ | position: relative; | ||
+ | bottom: 18px; | ||
+ | left: 37px; | ||
+ | -moz-border-radius: 13px; | ||
+ | -webkit-border-radius: 13px; | ||
+ | border-radius: 13px; | ||
+ | background-color: #495460; | ||
} | } | ||
Line 37: | Line 127: | ||
#main-wagon-list ul { | #main-wagon-list ul { | ||
display: inline-block; | display: inline-block; | ||
− | + | margin: 0; | |
text-align: center; | text-align: center; | ||
list-style: none; | list-style: none; | ||
+ | } | ||
+ | |||
+ | #main-wagon-list ul:not(:last-child) { | ||
+ | border-right: 1px solid #BDC2C8; | ||
} | } | ||
#main-wagon-list li { | #main-wagon-list li { | ||
− | + | padding: 0 8px; | |
+ | font-size: 10pt; | ||
} | } | ||
− | #steam-banner, #discord-banner { | + | #main-wagon-list li a { |
− | + | display: block; | |
− | + | } | |
− | + | ||
+ | #main-wagon-list li:not(:last-child) { | ||
+ | border-bottom: 1px solid #BDC2C8; | ||
+ | } | ||
+ | |||
+ | #steam-banner, #egs-banner, #discord-banner { | ||
+ | padding-left: 10px; | ||
+ | font-family: 'Linux Libertine','Georgia','Times',serif; | ||
+ | font-size: 10pt; | ||
} | } | ||
#steam-banner { | #steam-banner { | ||
− | background-color: # | + | background-color: #1B2838; |
} | } | ||
#steam-banner img { | #steam-banner img { | ||
− | + | margin-top: -3px; | |
+ | } | ||
+ | |||
+ | #egs-banner { | ||
+ | background-color: #2E3037; | ||
+ | } | ||
+ | |||
+ | #egs-banner img { | ||
+ | margin-top: -2px; | ||
} | } | ||
Line 65: | Line 176: | ||
#discord-banner img { | #discord-banner img { | ||
− | + | margin-top: -2px; | |
+ | } | ||
+ | |||
+ | #wagon-list li { | ||
+ | margin-left: -2em; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #wagon-configurator-desktop { | ||
+ | display: none; | ||
} | } | ||
.mw-parser-output .external { | .mw-parser-output .external { | ||
− | background: | + | background: none; |
+ | } | ||
+ | |||
+ | .thumb { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .thumbinner { | ||
+ | border: 1px solid #c8ccd1; | ||
+ | padding: 3px; | ||
+ | background-color: #f8f9fa; | ||
+ | font-size: 94%; | ||
+ | text-align: center; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .thumbimage { | ||
+ | background-color: #fff; | ||
+ | border: 1px solid #c8ccd1; | ||
+ | } | ||
+ | |||
+ | .table-wrap { | ||
+ | overflow-x: auto; | ||
+ | } | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | .article-table td.td-hl { | ||
+ | border-right: 1px solid #939494; | ||
+ | } | ||
+ | |||
+ | .clear-both { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .navbox { | ||
+ | text-align: center; | ||
+ | background-color: #F8F9FA; | ||
+ | border: 1px solid #A2A9B1; | ||
+ | box-shadow: 0 2px 3px -2px rgba(0,0,0,0.1); | ||
+ | } | ||
+ | |||
+ | .navbox th { | ||
+ | border-bottom: 1px solid #A2A9B1; | ||
+ | } | ||
+ | |||
+ | .navbox ul { | ||
+ | margin: 0; | ||
+ | padding-right: 5px; | ||
+ | } | ||
+ | |||
+ | .navbox li { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .mw-ui-icon.mw-ui-icon-element { | ||
+ | float: left; | ||
} | } |
Latest revision as of 19:18, 23 August 2022
.content p { margin: 0; } .image img { max-width: 100%; height: auto; } .vectorMenu .menu { right: 0px; } #p-cactions-label{ margin: 0 !important; } #main-gameplay { margin-top: 0.5em; } #main-gameplay img { display: none; } #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: 107px; 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: -4px 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; max-width: 505px; border: 5px solid #1BAAEA; font-family: 'Linux Libertine','Georgia','Times',serif; } #main-wagon-list .EXP, #main-wagon-list .DLC { position: relative; top: 14px; right: -108px; margin-top: -16px; width: 25px; padding: 0px 2px; line-height: 16px; font-size: 80%; font-weight: bold; color: #FFFFFF; } #main-wagon-list .EXP { background-color: #FF0000; } #main-wagon-list .DLC { background-color: #A555B2; } #main-wagon-list #bubble { width: 25px; height: 25px; margin-top: -25px; z-index: -1; position: relative; bottom: 18px; left: 37px; -moz-border-radius: 13px; -webkit-border-radius: 13px; border-radius: 13px; background-color: #495460; } #wagons-header { background-color: #1BAAEA; } #main-wagon-items { white-space: nowrap; overflow-x: auto; } #main-wagon-list ul { display: inline-block; margin: 0; text-align: center; list-style: none; } #main-wagon-list ul:not(:last-child) { border-right: 1px solid #BDC2C8; } #main-wagon-list li { padding: 0 8px; font-size: 10pt; } #main-wagon-list li a { display: block; } #main-wagon-list li:not(:last-child) { border-bottom: 1px solid #BDC2C8; } #steam-banner, #egs-banner, #discord-banner { padding-left: 10px; font-family: 'Linux Libertine','Georgia','Times',serif; font-size: 10pt; } #steam-banner { background-color: #1B2838; } #steam-banner img { margin-top: -3px; } #egs-banner { background-color: #2E3037; } #egs-banner img { margin-top: -2px; } #discord-banner { background-color: #697EC4; } #discord-banner img { margin-top: -2px; } #wagon-list li { margin-left: -2em; list-style: none; } #wagon-configurator-desktop { display: none; } .mw-parser-output .external { background: none; } .thumb { display: inline-block; } .thumbinner { border: 1px solid #c8ccd1; padding: 3px; background-color: #f8f9fa; font-size: 94%; text-align: center; overflow: hidden; } .thumbimage { background-color: #fff; border: 1px solid #c8ccd1; } .table-wrap { overflow-x: auto; } .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; } .article-table td.td-hl { border-right: 1px solid #939494; } .clear-both { clear: both; } .navbox { text-align: center; background-color: #F8F9FA; border: 1px solid #A2A9B1; box-shadow: 0 2px 3px -2px rgba(0,0,0,0.1); } .navbox th { border-bottom: 1px solid #A2A9B1; } .navbox ul { margin: 0; padding-right: 5px; } .navbox li { display: inline-block; } .mw-ui-icon.mw-ui-icon-element { float: left; }