MediaWiki:Common.css

From One More Island 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/8/80/Site-background.jpg) no-repeat center center fixed;
	background-size: cover;
}

/* Content theming */
#content {
  box-shadow: 25px 20px 16px #0009, -20px 20px 17px #0009;
  border-radius: 2px;
}
#content,
#right-navigation,
#left-navigation {
  margin-right: 2em;
}
#content,
#mw-head {
  margin-top: 11.14em;
}
.mw-body {
    background-color: beige;
    border: 1px solid #78C0F2;
}
.catlinks,
.toc {
    background-color: #fff;
}
h1, h2, h3, h4, h5, h6 {
  color: #3D2B1A;
  font-family: Nunito,Arial,sans-serif !important;
}
#mw-page-base {
  background-color: transparent;
  background-image: none;
}

/* Left portal theming */
#mw-panel .portal{
	margin-bottom: 2px;
	border-left: 3px solid #78C0F2;
	border-radius: 2px;
	background-color: beige;
	font-family: Nunito,Arial,sans-serif;
	box-shadow: 3px 2px 6px #0009, -8px 20px 17px #0009;
}
#mw-panel .portal .vector-menu-heading{
	font-weight: bold;
}
.vector-menu-portal .vector-menu-heading {
  background-image: none;
}
#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-color: #EBEBD2;
  border-top: 1px solid #78C0F2;
  border-radius: 2px;
}
#p-cactions {
  border-bottom: 1px solid #78C0F2;
  border-right: 1px solid #78C0F2;
}
#p-cactions-label {
 background: transparent !important;
}
.vector-menu-tabs li.selected a,
.mw-navigation {
  background-color: beige;
  background-image: none;
}
#ca-watch {
	background-color: #EBEBD2;
  border-bottom: 1px solid #78C0F2;
}
.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 #78C0F2;
}
#ca-talk > a:nth-child(1) {
 border-right: 1px solid #78C0F2;
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
  background-image: none;
}

/* Footer theming */
#footer-places {
	display: none;
}
#footer {
padding: 1.25em 1.25em 0.5em 1.25em;
margin-bottom: 3em;
}
#footer-info li,
#footer-info li a {
  color: #FFF;
  text-shadow: 2px 2px #000;
}

/* Main page layout */
#fptweets {
  min-height:calc(325px + 2.3em);
}
#fp-3column.fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c" "d";
    grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b" "c b" "c d";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b c" "d b c";
        grid-template-columns: 33.3% 33.3% 33.3%;
    }
}
#fp-1 {
    grid-area: a;
}
#fp-2 {
    grid-area: b;
}
#fp-3 {
    grid-area: c;
}
#fp-4 {
    grid-area: d;
}

/* Main page structure */
.fpbox {
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
    font-family: DIN,Arial,sans-serif;
}
.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 {
  border-left: 3px solid #78C0F2;
  border-radius: 2px;
  padding: 4px;
  background: rgba(120, 192, 242, 0.3);
  font-size: 132%;
  font-weight: bold;
}
.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    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: transparent;
    padding: 0;
    margin-right: 7px;
    border: 1px #78C0F2 solid;
}
.portable-infobox .pi-navigation {
    text-align: center;
}

/* Infobox titles and headers */
.portable-infobox .pi-title {
    font-weight: bold;
    font-size: large;
    line-height: 15px;
    text-align: center;
    padding: 6px 3px;
    background: #78C0F2;
}
.portable-infobox .pi-header {
    font-size: small;
    line-height: 10px;
    text-align: center;
    padding: 4px 0;
    background: #78C0F2;
}

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

/* Article-table and wikitable formatting */
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: 1px solid #808080;
}
 .wikitable, .WikiaTable, .article-table {
  border: apx solid #78C0F2;  
}
.wikitable th, .WikiaTable th, .article-table th {
     background-color: #78C0F2 !important;
     color: #fff;
}
.wikitable td, .WikiaTable td, .article-table td {
     background: beige;
     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;
}

/* Thumbnails theming */
li.gallerybox div.thumb {
  border: none;
  background-color: transparent;
}
li.gallerybox div.thumb img {
  border: 2px solid #78C0F2;
}