MediaWiki:Common.css

From JoJoSS Wiki
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.
@import url('https://fonts.googleapis.com/css?family=Cuprum|Roboto|Roboto:700|Noto+Sans+JP:300');

div#content, h1#firstHeading {
    font-family: 'Roboto', sans-serif;
}

.mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mainheader {
	font-family: 'Cuprum', sans-serif !IMPORTANT;
}

.header-container h2 {font-size: 24px !IMPORTANT; text-align: center;}

.tabcontainer h2, .tabcontainer h3 {
    text-transform: capitalize;
}

.tabtoc {
	margin: 0;
	padding: 0;
	width: 100%;
	clear: both;
}
 
.tabtoc li {
	color: #a99577;
	margin: 1px 0 1px 2px;
	float: left;
	padding: 1px 0 3px 0;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
	top: 2px;
	border: 1px solid #cec5b3;
	background-color: #fcfcfb;
	display: block;
	border-bottom: 0;
}

.tabtoc li:first-of-type {
        margin-left: -6px;
}


.tabtoc li:nth-of-type(n+2) {
        margin-left: 13px;
}
 
.tabtoc li.selected {
	font-weight: bold;
	border: 1px solid #cec5b3;
	background-color: #fcfcfb;
	border-bottom: none;
	cursor: default;
	top: 2px;
	padding-top: 2px;
	margin-right: -3px;
}
 
.tabtoc > li.selected {
	top: 2px;
}

.tabtoc a,
.tabtoc a:active {
	display: block;
	color: #000;
	padding: 0 1em;
	position: relative;
	text-decoration: none;
}
 

.tabtoc li.selected a {
	cursor: default;
	text-decoration: none;
}

 
.tabcontainer {
	margin: 0;
	background-color:#fcfcfb;
	border: 1px solid #cec5b3;
	clear: both;
	padding: 1.5em;
}
 
.tabsection {
	border: none;
	padding: 0;
	margin: 0;
	scroll-margin-top: 500px;
}

.tabsection .tabbox {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}

.tabsection .tab {
	font-weight: bold;
}

 
.tabsection table, .tabsection .tab {
	background-color: #F9F9F9;
}

.mainTab {
	display: none;
}

#content .tabtoc li:not([class])::before, #mw-normal-catlinks li::before {
	content: "" !IMPORTANT;
	margin-left: 0 !IMPORTANT;
}

.tabtoc li:first-of-type {
    margin-left: 0;
}

.clearfix {
  overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}