MediaWiki:Common.css

From Unrailed! Wiki
Revision as of 22:35, 6 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.
#main-container {
	width: 927.5px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -10px;
}

#main-introduction {
	width: 700px;
}

#main-article-tiles {
	margin-top: 1.5em;
	float: right;
}

.article-tile {
	position: relative;
	height: 129px;
	width: 191px;
	margin-bottom: 24px;
	background: #E7D180;
	border: 3px solid #B3812C;
	-webkit-transform: rotate(-10.7deg);
	-moz-transform: rotate(-10.7deg);
	-o-transform: rotate(-10.7deg);
	--ms-transform: rotate(-10.7deg);
	-transform: rotate(-10.7deg);
}

.article-tile-container {
	position: absolute;
	top: 107px;
	width: 191px;
	line-height: 12px;
	z-index: 3;
}

.article-tile-label {
	background: #B3812C;
	padding: 2px;
	font-family: 'Linux Libertine','Georgia','Times',serif;
	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;
	position: relative;
	bottom: 4px;
}

.article-tile-posh {
	border-color: transparent #B3812C #B3812C transparent;
    border-style: solid;
    border-width: 8px 8px 8px 8px;
    float: right;
}

#main-wagon-list {
	margin: 2.8em 0 2.8em 5em;
	width: 39.6em;
	height: auto;
	border: 5px solid #1BAAEA;
	box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
	-webkit-transform: rotate(-10.7deg);
	-moz-transform: rotate(-10.7deg);
	-o-transform: rotate(-10.7deg);
	--ms-transform: rotate(-10.7deg);
	-transform: rotate(-10.7deg);
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-size: 12px;
	float: left;
}

#main-wagon-list ul {
	display: flex;
	margin: 0;
	padding: 3px;
	list-style: none;
}

#main-wagon-list ul:not(:last-child) {
	border-bottom: 1px solid #BDC2C8;
}

#main-wagon-list li {
	margin: -3px 0;
	padding: 0 30px;
	width: 8em;
	text-align: center;
}

#main-wagon-list li:not(:last-child) {
	border-right: 1px solid #BDC2C8;
}

#main-wagon-list #bubble {
	width: 25px;
	height: 25px;
	margin-bottom: -25px;
	z-index: -1;
	position: relative;
	bottom: 43px;
	left: 37px;
	-moz-border-radius: 13px;
	-webkit-border-radius: 13px;
	border-radius: 13px;
	background-color: #495460;
}

#wagons-header {
	width: 183px;
	margin-top: -1px;
	margin-left: -1px;
	margin-bottom: -1px;
	background-color: #17A7E5;
	-webkit-transition: background-color 1s;
	moz-transition: background-color 1s;
	o-transition: background-color 1s;
	transition: background-color 1s;
}

#wagons-header:hover {
	background-color: #1496CE;
}

#main-wagon-links {
	width: 295px;
	margin-top: -42px;
	margin-right: -1px;
	float: right;
}

#steam-banner, #discord-banner {
	height: 20px;
	margin-top: -1px;
	padding-left: 10px;
	color: #FFFFFF;
	font-family: 'Linux Libertine','Georgia','Times',serif;
}

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

.mw-body {
	box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(0, 0, 0);
}

body {
	background-image: url("images/2/23/Unrailed-Grid.png");
	background-repeat: repeat;
}