MediaWiki:Common.css
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.
/* CSS placed here will be applied to all skins */
/*-------------------------------------------------------------------------*/
/* Logo */
.mw-wiki-logo {
background-image: url(images/e/e6/Site-logo.png);
}
/*-------------------------------------------------------------------------*/
a{
color: #007AF4;
}
a:visited{
color: #007AF4;
}
#left-navigation {
float: left;
margin-left: 10em;
margin-bottom: -2.5em;
}
#right-navigation {
float: right;
}
/*-------------------------------------------------------------------------*/
/* Left portal theming */
#mw-panel .portal{
border-radius: 2px;
background-color: #CBB9A3;
font-family: Rubik,Arial,sans-serif;
border-image-slice: 305 156 0 156;
border-image-width: 152.5px 78px 0 78px;
border-image-outset: 20px 15px 0 15px;
border-image-repeat: stretch;
border-image-source: url(https://familiarlands.wiki.gg/images/c/c0/Border_content.png) /*[[File:Border_content.png]]*/;
box-shadow: 15px 10px 10px #0009, -10px 10px 10px #0009;
}
#mw-panel .portal .vector-menu-heading {
font-weight: bold;
color:black;
font-size:80%;
}
.vector-menu-portal {
margin: 15% 10%;
padding: 25% 13% 2% 13%;
}
/*-------------------------------------------------------------------------*/
/* Top tabs theming */
#mw-head-base {
border: none;
}
.vectorTabs,
.vectorTabs li,
.vectorTabs li.selected,
.vectorTabs li span,
.vectorTabs ul,
#mw-head .vectorMenu #p-cactions-label {
background: none;
}
#mw-head .vectorTabs li:not(.new) a,
#mw-head .vectorTabs li.selected a,
#mw-head .vectorTabs li:not(.new) a:visited,
#mw-head .vectorTabs li.selected a:visited,
#mw-head .vectorMenu #p-cactions-label span {
color: #FFF;
font-size: 15px;
font-weight: 700;
text-shadow: 0 0 8px #000;
}
#p-cactions-label span:after {
filter: invert(1);
}
.vectorTabs li.new a,
.vectorTabs li.new a:visited {
font-size: 15px;
text-shadow: 0 0 8px #000;
}
#p-cactions-label span:after {
filter: invert(1);
}
.vectorTabs li.new a,
.vectorTabs li.new a:visited {
color: #ff4542;
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none;
}
/*-------------------------------------------------------------------------*/
/* Background */
body {
background: url(images/5/57/Site-background.png) no-repeat center center fixed;
background-size: cover;
}
/*-------------------------------------------------------------------------*/
/* Content theming */
#content,
#mw-head {
border-radius: 5px;
font-family: Rubik,Arial,sans-serif;
}
.mw-body,
#mw-head-base,
#mw-data-after-content,
.mw-footer {
margin-left: 12em;
margin-right: 2em;
margin-top: auto;
}
.vector-body blockquote{
border-left: 4px solid #3B1F0D;
}
.mw-indicators {
float: right;
margin-right: 3%;
}
.toc{
background-color: #E5D2BC;
}
code{
background-color: #E5D2BC;
}
pre{
background-color: #E5D2BC;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
background-color: #E5D2BC;
position: relative;
z-index: 1;
border: 1px solid #c8ccd1;
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
background-color: #E5D2BC;
}
/*-------------------------------------------------------------------------*/
/* Category Bar */
.catlinks {
background-color:#AF936B;
}
/*-------------------------------------------------------------------------*/
/* Top border for content */
#content {
border-image-slice: 305 156 0 156;
border-image-width: 152.5px 78px 0 78px;
border-image-outset: 20px 15px 0 15px;
border-image-source: url(https://familiarlands.wiki.gg/images/c/c0/Border_content.png) /*[[File:Border_content.png]]*/;
box-shadow: 25px 20px 16px #0009, -20px 20px 17px #0009;
min-height: 600px;
position: relative;
}
.mw-body {
background-color: #CBB9A3;
border: 1px solid #AF936B;
}
#mw-page-base {
background: none;
}
h1, h2, h3, h4, h5, h6 {
color: #2a0800;
font-family: Rubik,Arial,sans-serif !important;
}
.firstHeading {
margin-top: 20px;
}
/*-------------------------------------------------------------------------*/
/* Footer theming */
#footer-places {
display: none;
}
#footer {
padding: 1.25em 1.25em 0.5em 1.25em;
margin-top: 4px;
}
#footer-info li,
#footer-info li a {
color: #FFF;
text-shadow: 2px 2px #000;
}
/*-------------------------------------------------------------------------*/
/* Thumbnails formatting */
li.gallerybox div.thumb {
border: none;
background: none;
}
/* Wikitable and article-table formatting */
.wikitable, .WikiaTable {
border: 2px solid #AF936B;
}
.wikitable th, .WikiaTable th {
background-color: #AF936B !important;
color: #fff;
}
.wikitable td, .WikiaTable td {
background: #E5D2BC;
margin: 1px;
}
.table, .wikitable, .article-table {
display: inline-table;
overflow-x: auto;
white-space: normal;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td,
.wikitable th, .article-table th, .wikitable > tr > th, .wikitable > * > tr > th {
padding: .2em .4em;
}
.article-table td
{
padding: 6px 12px;
}
/*-------------------------------------------------------------------------*/
/* Infobox general theming */
.portable-infobox {
overflow: hidden;
background: #AF936B;
padding: 0;
border-radius: 5px;
margin-right: 7px;
border: 2px #3B1F0D solid;
}
.portable-infobox .pi-navigation {
background: #AF936B;
text-align: center;
}
.pi-item.pi-data {
background-color: #E5D2BC;
}
/*-------------------------------------------------------------------------*/
/* Infobox titles and headers */
.portable-infobox .pi-title {
font-weight: bold;
font-size: large;
line-height: 15px;
color: #FFFFFF;
text-align: center;
padding: 6px 3px;
background: #AF936B;
}
.portable-infobox .pi-header {
font-size: small;
line-height: 10px;
color: #FFFFFF;
text-align: center;
padding: 4px 0;
background: #AF936B;
}
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link {
background: none;
font-weight: bold;
border:none;
}
.pi-tab-link.current{
background:none;
}
/*-------------------------------------------------------------------------*/
/* Infobox images */
.portable-infobox .pi-caption {
color: #2a0800;
}
.portable-infobox .pi-image-collection-tabs {
text-align: center;
background: #E5D2BC;
}
.portable-infobox .pi-image-collection-tab-content {
background: #E5D2BC;
}
.portable-infobox ul.pi-image-collection-tabs li {
background: #E5D2BC;
font-weight: normal;
border: 1px solid #AF936B;
margin-right: 0;
}
.portable-infobox ul.pi-image-collection-tabs li.current {
background-color: #AF936B !important;
color: white !important;
}
.portable-infobox ul.pi-image-collection-tabs li.pi-item-spacing {
padding: 2px 4px 1px;
}
/*-------------------------------------------------------------------------*/
/*Image Gallery*/
.gallery{
text-align:center;
}
/*-------------------------------------------------------------------------*/
/*Image Thumb*/
.mw-content-ltr .thumbcaption{
text-align:center;
}
div.thumbinner{
background:none;
border:none;
}
.thumbimage{
background:none;
border:none;
}
/*-------------------------------------------------------------------------*/
/*Image Thumb*/