MediaWiki:Common.css

Revision as of 01:16, 9 December 2024 by Stencil (talk | contribs) (Cartridge PNG Shadows)

Note: After publishing, 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: Press Ctrl-F5.
body {
	background-image: url(https://wiki.unrailed.gg/images/f/f2/Website_Background-Cd8FaNtb.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position-x: center;
	background-position-y: bottom;
	background-size: cover;
}
.clear-both {
	clear: both;
}

.navbox {
	width: 100%;
	text-align: center;
	background-color: #F8F9FA;
	border: 1px solid #A2A9B1;
	box-shadow: 0 2px 3px -2px rgba(0,0,0,0.1);
	clear: both;
}

.navbox th {
	border-bottom: 1px solid #A2A9B1;
}

.navbox ul {
	margin: 0;
	padding-right: 5px;
}

.navbox li {
	display: inline-block;
}

.portal .body li a, .vector-menu-portal .body li a {
	display: inline-block;
	padding: 2px;
	background-color: #FFFFFF8C;
	box-shadow: 0 0.1rem 0.1rem -0.1rem rgb(0,0,0);
}

#p-cactions {
	background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%);	
}

#simpleSearch {
	background-color: #FFFFFF;
}

#mw-page-base {
	background: none !important;	
}
#p-logo a{
	background-size: contain;	
}

#mw-panel .vector-menu-content li a {
	display: inline-block;
	padding: 2px;
	background-color: #FFFFFF8C;
	box-shadow: 0 0.1rem 0.1rem -0.1rem rgb(0,0,0);
}

#p-personal li {
	padding: 6px;
	border: 1px solid #A7D7F9;
	background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%);
}

.article-table {
	background-color: #F8F9FA;
	border-collapse: collapse;
	border: 0 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 {
	background-color: #DFE0E1;
	border-right: 1px solid #939494;
}

.png-icon > a > img {
	-webkit-filter: drop-shadow(1px 1px 0 #A8A7A4)
					drop-shadow(-1px -1px 0 #A8A7A4);
	filter: drop-shadow(1px 1px 0 #A8A7A4)
			drop-shadow(-1px -1px 0 #A8A7A4);
}