MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/********************* * Main pages styles * *********************/

.mainpage-section { box-shadow: #014051 0 0 30px 1px inset, #014061 0 0 1px 1px; border: solid 1px #011e22; padding: 1em; margin: 10px }

.mainpage-section > .heading, .infobox .heading { font-weight: bold; margin: -1.5em -1.5em 0 -1.5em; border: solid 1px #011e22; box-shadow: #014051 0 0 0 1px; padding: .5em; background: rgb(3,104,132); /* Old browsers */ background: -moz-linear-gradient(top, rgba(3,104,132,1) 0%, rgba(1,30,34,1) 74%, rgba(1,30,34,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(3,104,132,1)), color-stop(74%,rgba(1,30,34,1)), color-stop(100%,rgba(1,30,34,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#036884', endColorstr='#011e22',GradientType=0 ); /* IE6-9 */ clear: right; color: white; text-align: center; }

.heading { font-weight: bold; margin: -1.5em -1.5em 0 -1.5em; border: solid 1px #011e22; box-shadow: #014051 0 0 0 1px; padding: .5em; background: rgb(3,104,132); /* Old browsers */ background: -moz-linear-gradient(top, rgba(3,104,132,1) 0%, rgba(1,30,34,1) 74%, rgba(1,30,34,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(3,104,132,1)), color-stop(74%,rgba(1,30,34,1)), color-stop(100%,rgba(1,30,34,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(3,104,132,1) 0%,rgba(1,30,34,1) 74%,rgba(1,30,34,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#036884', endColorstr='#011e22',GradientType=0 ); /* IE6-9 */ color: white; text-align: center; }

.headingb { font-weight: bold; margin: -1.5em -1.5em 0 -1.5em; border: solid 1px #060f22; box-shadow: #32457f 0 0 0 1px; padding: .5em; background: #486eb5; /* Old browsers */ background: -moz-linear-gradient(top, #486eb5 0%, #32457f 74%, #142956 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#486eb5), color-stop(74%,#32457f), color-stop(100%,#142956)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #486eb5 0%,#32457f 74%,#142956 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #486eb5 0%,#32457f 74%,#142956 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #486eb5 0%,#32457f 74%,#142956 100%); /* IE10+ */ background: linear-gradient(to bottom, #486eb5 0%,#32457f 74%,#142956 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#486eb5', endColorstr='#142956',GradientType=0 ); /* IE6-9 */ color: white; text-align: center; }

.card { width: 200px; text-align: center; margin-left: auto; margin-right: auto; padding: 10px; }

.card:hover { box-shadow: 0 0 10px 1px #014061; }

.card > .heading { font-weight: bold; color: white; font-size: 120%; }

.card > .heading a, .card > .heading a:visited { color: white; }

.card > .heading a.new { color: #ba0000; }

.card > .heading a.new:visited { color: #a55858; }

.card2 { width: 400px; text-align: center; margin-left: auto; margin-right: auto; padding: 10px; }

.card2:hover { box-shadow: 0 0 10px 1px #014061; }

.card2 > .heading { font-weight: bold; color: white; font-size: 120%; }

.card2 > .heading a, .card > .heading a:visited { color: white; }

.card2 > .heading a.new { color: #ba0000; }

.card2 > .heading a.new:visited { color: #a55858; }

/****************** * Infobox styles * ******************/

.infobox { border: solid 1px #014051; float: right; margin: 0 0 1em 1em; }

.infobox > * > tr > th { background: #014051; text-align: right; padding: 0px 5px; }

.infobox > * > tr > td { padding: 0px 5px; }

.infobox .heading { margin: -6px -11px 0 -11px; }

.infobox2 { border: 1px solid #014051; background-color: #011e22; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; } .infobox2 td, .infobox2 th { vertical-align: top; } .infobox2 caption { font-size: larger; margin-left: inherit; } .infobox2.bordered { border-collapse: collapse; } .infobox2.bordered td, .infobox2.bordered th { border: 1px solid #014051; } .infobox2.bordered .borderless td, .infobox2.bordered .borderless th { border: 0; }

/***************** * Notice styles * *****************/

table.ambox { margin: 0px 10%; border: 1px solid #014051; border-left-width: 10px; }

.ambox td.mbox-image { padding: 2px 0 2px 0.5em; }

.ambox th.mbox-text, .ambox td.mbox-text { padding: 0.25em 0.5em; }

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/* Front 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 .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.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; }

.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; }

/* ***************************************************** */ /* This section affects the main page layout            */ /*                                                      */ /* Both 3 and 2 column layouts are here. Managers should */ /* remove whichever of the two they are not using, as   */ /* well as this comment. */ /* ***************************************************** */

/* This CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

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%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; }
 * 1) fp-4 {

/* end responsive 3 column main page layout */

/* this CSS governs the responsive 2 column main page layout */ 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; } }
 * 1) fp-2column.fp-container {

grid-area: a; }
 * 1) fp-top {

grid-area: b; }
 * 1) fp-flex {

grid-area: c; }
 * 1) fp-bottom {

/* end responsive 2 column main page layout */

/* ******************** */ /* End main page layout */ /* ******************** */