MediaWiki:Common.css

From TombstoneMMO Wiki
Revision as of 18:39, 13 January 2025 by AlphSpirit (talk | contribs)
Jump to navigation Jump to search

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.
/* Global style */
body {
	background-color: #8A6215;
}
#mw-page-base {
	background: none;
}
#content {
	background-color: #F7EBCF;
	border: 2px ridge #AB9261;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
#left-navigation,
#right-navigation {
	position: relative;
	top: 1px;
}
#left-navigation nav,
#right-navigation nav {
	background: none;
	padding: 0;
}
#left-navigation #p-namespaces li,
#right-navigation #p-views li {
	background: none;
	overflow: hidden;
}
#left-navigation #p-namespaces li:not(.selected) a,
#right-navigation #p-views li:not(.selected) a {
	background-color: #eabe82;
	border-bottom: 2px ridge #AB9261;
}
#left-navigation #p-namespaces li a,
#right-navigation #p-views li a {
	height: 40px;
	background: none;
	background-color: #F7EBCF;
	border-left: 2px ridge #AB9261;
	border-right: 2px ridge #AB9261;
	border-top: 2px ridge #AB9261;
	outline: none;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	padding: 10px 15px;
}
#right-navigation #p-views #ca-unwatch a,
#right-navigation #p-views #ca-watch a{
	padding-left: 24px;
}
#right-navigation #p-views #ca-unwatch a {
	width: 90px;
}
#right-navigation #p-views #ca-watch a {
	width: 80px;
}
#right-navigation #p-views #ca-unwatch a::before,
#right-navigation #p-views #ca-watch a::before{
	top: initial;
}
.vector-menu-tabs, .vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
	background: none;
}
#searchInput {
	background-color: #F7EBCF;
	border: 2px ridge #AB9261;
}

/* Custom table */
.tsTable {
	display: inline-block;
	border: 2px ridge #5b8680;
	border-radius: 4px;
}
.tsTableGrid {
	display: grid;
}
.tsTableGrid3 {
	grid-template-columns: auto auto auto;
}
.tsTableGrid3 .tsTableCell:nth-child(3n+1) {
	border-right: 1px solid #5b8680;
}
.tsTableGrid3 .tsTableCell:nth-child(3n+2) {
	border-right: 1px solid #5b8680;
}
.tsTableGrid3 .tsTableCell:nth-child(6n+1),
.tsTableGrid3 .tsTableCell:nth-child(6n+2), 
.tsTableGrid3 .tsTableCell:nth-child(6n+3) {
	background-color: #eabe82;
}
.tsTableHeader, .tsTableCell {
	padding: 0 0.5rem;
	line-height: 2;
}
.tsTableHeader {
	background-color: #809e95;
	font-weight: bold;
	color: white;
}