MediaWiki:Common.css

From Cat Cafe Manager Wiki
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?22b73);
}

/* Centers logo */
#p-logo {
  width: 100%;
  height: var(--main-layout-logo-height);
  position: absolute;
  margin-top: -1em;
}
#p-logo a {
  width: 360px;
  height: 186px;
  margin: 0 auto;
}

/* Background */
body {
	background: url(/images/5/57/Site-background.png) no-repeat center center fixed;
	background-size: cover;
}

/* Content theming */
#content,
#mw-head {
  margin-top: 11.14em;
  border-radius: 5px;
  font-family: Nunito,Arial,sans-serif;
}
.mw-body {
    background-color: #eed39e;
    border: 1px solid #f59525;
}
.catlinks,
.toc {
    background-color: #f3e0bb;
}
#mw-page-base {
	background: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #2a0800;
  font-family: Nunito,Arial,sans-serif !important;
}

/* Left portal theming */
#mw-panel .portal{
	margin-bottom: 2px;
  border-top: 6px solid #f59525;
  border-radius: 3px;
  background-color: #eed39e;
  font-family: Nunito,Arial,sans-serif;
}
#mw-panel .portal .vector-menu-heading {
	font-weight: bold;
	border-bottom: 1px #f59525 solid;
}
#mw-panel #p-logo + .portal {
  margin-top: 12.25em;
}
#mw-panel {
	padding-left: 0;
	margin-top: -12.5em;
}

/* Top tabs theming */
.vector-menu-tabs li a,
#p-cactions {
  background: linear-gradient(#eed39e, #F3DFB9);
  border-radius: 3px 3px 0px 0px;
  border-top: 1px solid #f59525;
}
#p-cactions-label {
 background: transparent !important;
}
.vector-menu-tabs li.selected a,
.mw-navigation {
  background-color: #eed39e;
  background-image: none;
}
#ca-watch {
	background: linear-gradient(#eed39e, #F3DFB9);
}
.vector-menu-tabs,
.vector-menu-tabs li,
.vector-menu-tabs li.selected,
.vector-menu-tabs span,
.vector-menu-tabs ul {
  background: transparent;
}
#ca-nstab-main > a:nth-child(1),
#ca-view > a:nth-child(1) {
  border-left: 1px solid #f59525;
}
#ca-talk > a:nth-child(1) {
 border-right: 1px solid #f59525;
}

/* Footer theming */
#footer-places {
	display: none;
}

/* Footer theming */
#footer {
padding: 1.25em 1.25em 0.5em 1.25em;
background-color: #f3e0bb;
opacity: 0.8;
border-radius: 3px;
margin-bottom: 3em;
margin-top: 4px;
}

/* Main page layout */
#fp-2column.fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c";
    grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
    #fp-2column.fp-container {
        grid-template-areas: "a b" "c c";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-2column.fp-container {
        grid-template-areas: "a b" "c b";
        grid-template-columns: auto 520px;
    }
}
#fp-top {
    grid-area: a;
}
#fp-flex {
    grid-area: b;
}
#fp-bottom {
    grid-area: c;
}

/* Main page structure */
.fpbox {
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
}
.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none;
}
.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
    margin: 0 0 10px;
    padding: 0 0 5px;
    overflow: auto;
}
.fpbox .heading {
	background: #f59525;
	border-radius: 3px;
	padding: 4px;
}
.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    font-weight: bold;
}

.fpbox .heading {
    text-align: center;
    font-size: 132%;
    font-weight: bold;
}
.linkslabel {
    margin: 15px 5px 5px;
    padding: 0 0 5px;
}

/* Template:FP links styles */
.fplinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    text-align: center;
}
.fplink-outer {
    padding: 5px;
    flex-basis: calc(25% - 10px);
    width: calc(25% - 15px);
    min-width: 115px;
    display: inline-block;
    vertical-align: middle;
}
.fplink-wide {
    flex-basis: calc(33% - 10px);
    width: calc(33% - 15px);
}
.fplink-fullwidth {
    flex-basis: 100%;
    width: calc(100% - 15px);
    font-weight: bold;
}
.fplink {
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: table;
    border-bottom: 2px #2a0800 solid;
    font-size: 17px;
}
.fplink-plain {
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}
.fplink-inner {
    display: table-row;
}
.fplink a {
    display: table-cell;
    vertical-align: middle;
}
.fplink img {
    max-width: 150px;
    width: 100%;
    height: auto;
}

/* Auto-resize front page video to fit smaller columns */
.fpbox .embedvideowrap {
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto;
}
.fpbox .embedvideowrap iframe {
    width: 100%!important;
}

/* Multi-column box support */
.fp-container main .columns .leftcol,
.fp-container .columns .rightcol {
    width: 100%;
    margin: 0;
    padding: 0;
}
@media (min-width: 990px) {
    .fp-container .columns .leftcol {
        float: left;
        width: 50%;
    }

    .fp-container .columns .rightcol {
        float: right;
        width: 50%;
    }
}
.fp-section {
    display: flex;
    flex-wrap: wrap;
}

/* Infobox general theming */
.portable-infobox {
    overflow: hidden;
    background: #f59525;
    padding: 0;
    border-radius: 5px;
    margin-right: 7px;
    border: 2px #f59525 solid;
}
.portable-infobox .pi-navigation {
    background: #f59525;
    text-align: center;
}
.pi-item.pi-data {
  background-color: #eed39e;
}

/* 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: #f59525;
}
.portable-infobox .pi-header {
    font-size: small;
    line-height: 10px;
    color: #FFFFFF;
    text-align: center;
    padding: 4px 0;
    background: #f59525;
}

/* Infobox images */
.portable-infobox .pi-caption {
    color: #2a0800;
}
.portable-infobox .pi-image-collection-tabs {
    text-align: center;
    background: #eed39e;
}
.portable-infobox .pi-image-collection-tab-content {
    background: #eed39e;
}
.portable-infobox ul.pi-image-collection-tabs li {
    background: #eed39e;
    font-weight: normal;
    border: 1px solid #f59525;
    margin-right: 0;
}
.portable-infobox ul.pi-image-collection-tabs li.current {
    background-color: #f59525 !important;
    color: white !important;
}
.portable-infobox ul.pi-image-collection-tabs li.pi-item-spacing {
    padding: 2px 4px 1px;
}

/* Article-table and wikitable formatting */
.article-table th,
.article-table td,
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: 1px solid #f7aa50;
}
 .wikitable, .WikiaTable, .article-table {
  border: 2px solid #f59525;  
}
.wikitable th, .WikiaTable th, .article-table th {
     background-color: #f59525 !important;
     color: #fff;
}
.wikitable td, .WikiaTable td, .article-table td {
     background: #eed39e;
     margin: 1px;
}
.table, .wikitable, .article-table
{
  display: inline-table;
  overflow-x: auto;
  white-space: normal;
}
.wikitable, .article-table
{
	border-collapse: collapse;
}
.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;
}