User:JJPMaster/global.css

From Miraheze Meta, Miraheze's central coordination wiki

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 affect users of the Vector skin */
/* This skin is named "Strawberry", after its extensive use of strawberry pink bordering on purple. Also, Celeste reference. And because I'm too lazy to change the name. */
/* Design by Celeste from Miraheze */

/* Body Styling */
body {
  background: #0A0523 url("https://static.miraheze.org/celestewiki/2/24/Summit-ch7-complete-100kb.jpg") no-repeat fixed center center / cover;
}

#mw-page-base {
  background:none;
}

.mw-body {
  border: 1px solid #F7A7D9;
  margin-right: 15px;
  background-color: rgba(248, 209, 255, 0.80);
  min-height:500px;
  margin-bottom: 60px;
}

#footer {
  background: rgba(0, 0, 0, 0.67) none repeat scroll 0% 0%;
  width: 100%;
  padding: 0px !important;
  margin-top: 20px !important;
  bottom: 0px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #C2C8CF;
}

#footer a {
  color:white;
}

#footer ul {
  padding-left: 190px;
  padding-right: 15px;
}

#footer ul li {
  color:#C2C8CF;
}

.catlinks {
    border: 1px solid #84AEEC;
    background-color: rgba(199, 242, 254, 0.53);
}

#toc, .toc {
  background-color: rgba(255,255,255,0.58);
}

.mw-body h1, .mw-body h2 {
    font-family: 'Open Sans', sans-serif;
}

.thumbinner {
   border: 1px solid #8DCAF0;
   background-color: rgba(255,255,255,0.58);
}

/* Social Media Links */
div.sociallinks {
   float: right;
   padding-top: 9px;
}

.sociallinks img {
   -webkit-filter: opacity(25%) brightness(0);  /* Chrome, Safari, Opera */
   filter: opacity(25%) brightness(0);
}

.sociallinks img:hover {
   -webkit-filter: opacity(100%) brightness(100%);  /* Chrome, Safari, Opera */
   filter: opacity(100%) brightness(100%);
}

.page-Celeste_Wiki div.sociallinks {
   display:none;
}

/* Mediawiki page tabs */
#mw-head .vectorMenu h3, .vectorTabs ul, .vectorTabs li.selected, .vectorTabs ul li, .vectorTabs, .vectorTabs span {
  background:none;
}

.vectorTabs li a {
  color: #B7D2FF;
}

.vectorTabs li.new a, .vectorTabs li.new a:visited, .vectorMenu h3 span {
  color: #99BFFF;
}

.vectorTabs li.selected a, .vectorTabs li.selected a:visited {
  color: #C6DBFF;
}

.vectorMenu .menu {
  background-color: rgba(30, 17, 102, 0.67);
}

.vectorMenu .menu a {
  color: #C6DBFF;
}

#p-personal a, #p-personal a.new, p-personal a:visited {
   color: #99BFFF;
}

#p-personal a.hover, p-personal a:focus {
   color: #C6DBFF;
   text-decoration:none;
}

/* Account Creation Page */
.mw-createacct-benefits-list {
   padding: 10px 10px 10px 60px;
   border-radius: 12px;
   background-color: rgba(255,255,255,0.58);
   border: 1px solid #8DCAF0;
}

.mw-number-text.icon-edits, .mw-number-text.icon-pages, .mw-number-text.icon-contributors {
   filter: brightness(0.7);
}

/* Preferences Pages*/

#preferences {
   background-color: rgba(248,208,255,0.67);
}

#preftoc li.selected a {
   background: rgba(248,208,255,0.67);
}

/* Non-TOC headers */

.notochh1 {
   font-size: 188%; 
   border-bottom: 1px solid #AAA; 
   padding-bottom: 0.17em; 
   margin-bottom: 0.6em;
}

/* Captcha Styling */
div.editOptions label, div.editOptions #wpCaptchaWord.mw-ui-input {
   display: inline !important;
}

#editform label, #editform #wpCaptchaWord.mw-ui-input {
   display: none;
}

/* Graphical borders */
#menuborder {
   border: 1px solid #F7A7D9;
   padding: 12px;
   background-color: rgba(249,208,255,0.77);
}

#mw-panel {
   border: 1px solid #F7A7D9;
   left: -12px;
   background-color: rgba(249,208,255,0.77);
   padding-bottom: 15px;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
}

#infoboxborder {
   border: 1px solid #F7A7D9;
   background-color: rgba(249,208,255,0.77);
   float:right;
   border-radius: 12px;
   margin-left: 15px;
   margin-bottom:15px;
   min-width: 300px;
}


/* Navboxstyling */
#navbox {
   margin:auto;
   width:80%;
   border: 1px solid rgb(132, 174, 236);
   padding: 5px; 
   border-radius:11px;
   clear: both;
   margin-top: 15px;
}

/* Table Styling */
table.wikitable {
  background-color: transparent;
  border-collapse: separate;
  border: none;
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
   border: 1px solid #CE8BF0;
   padding: 0.2em;
   background-color: rgba(255, 255, 255, 0.58);
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
   background-color: #C133BD;
   text-align: center;
   border-color: #650048;
   box-shadow: 0px 1px rgba(0, 0, 0, 0.3);
   color: white;
   text-shadow: 0px 2px #00321f;
}

table.wikitable > tr > th a, table.wikitable > * > tr > th a {
   color:white;
}

#cellstretch {
   width:100%;
}

#cellcenter {
   text-align:center;
}

#roundedborder {
   border:1px solid rgb(132,174,236);
   padding:5px;
   border-radius:11px;
   margin-top:15px;
}

#roundedborderfull {
   border:1px solid rgb(132,174,236);
   padding:5px;
   border-radius:11px;
   margin-top:15px;
   width:100%;
}


/* Infobox Styling */

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc. */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography td,
.infobox.geography th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* Location Infobox */
.location {
   max-width:400px;
}

#locationimg img {
   max-width:90%;
   height:auto;
}



/* Talk Page Headers */
#talkheadertitle {
   background-color: #C133BD;
   text-align: center;
   color: white;
   text-shadow: 0px 2px #00321f;
   font-size: 120%;
}

#talkheaderbody {
   width: 80%;
   margin: 0px auto 1em;
   border: 1px solid rgb(170, 170, 170);
   background-color: rgba(255, 255, 255, 0.58);
   color: rgb(0, 0, 0);
}

/* Crop Page Headers */
div.cropheader h3 {
   margin-top:0px;
   padding-top:0px;
}



/* Alert Templates */

.alert {
   border: 3px solid rgb(68, 74, 73);
   border-radius: 0.5em;
   margin-left: auto;
   margin-right: auto;
   font-size: 14px;
   padding: 5px;
   margin-bottom: 15px;
   height: 80px;
   width: 50%;
   max-width:700px;
}

.alert span.header {
   font-size:22px;
}

.alert th {
   width: 100px;
}

.alert th img {
   text-align: center;
}

#stub {
   border-color:green;
   background-color: rgba(0, 128, 0, 0.05);
}

#construction {
   border-color:#97a50c;
   background-color: rgba(151, 165, 12, 0.05);
}

/* Responsive styling */
@media screen and (max-width: 1600px) {
    #mainbannerleft {
        display: none;
    }
    #mainbannermiddle {
        width: 60%;
    }
}

@media screen and (max-width: 1400px) {
    #menucontent {
        font-size:12px;
    }
}

@media screen and (max-width: 1150px) {
    th#sidebar, td#sidebar, td#mainbannerright {
        display: none;
    }
}

@media screen and (max-width: 740px) {
    .responsiveadtop {
        margin-top:25px !important;
    }
}

@media screen and (max-width: 700px) {
    .mw-body, #left-navigation {
        margin-left: 8px;
        margin-right: 8px;
    }
    div#mw-panel {
        display: none;
    }
    div#footer ul {
        padding-left: 15px;
    }
}

@media screen and (max-width: 430px) {
    .responsiveadtop {
        margin-top:65px !important;
    }
}

/* History Section in articles */
table.historysection {
   line-height: 0.8;
}

/* Main Page Nav Menu Styling */
#menucontent {
    padding-right:5px; 
    padding-left: 5px;
    vertical-align:top;
}
.doublewidthmenu {
    width:100%;
}

.doublewidthmenu td {
    width:50%;
}

table.menulocations {
   border:1px solid #8dcaf0;
   border-radius:11px;
   width:100%;
   box-shadow: 0px 1px rgba(0,0,0,0.3);
   margin-bottom:3px;
}

.mainmenuwrapper {
   background-color:rgba(209,248,255,0.67);
   float:left;
   width: 100%;
}

.mainmenusection {
   min-height: 379px; 
   vertical-align: top;
}

.mainmenusection table.wikitable {
   margin:0px
}

#singlemainmenu {
   width: 25%;
   float:left;
}

#doublemainmenu {
   width: 50%;
   float:left;
}

#doubleinnermainmenu {
   width: 50%;
   vertical-align:top;
}

#mainmenuselections {
   width:100%; 
}

table#mainmenuselections td {
   background-color: transparent;
   border: none;
}

@media screen and (max-width: 880px) {
    #singlemainmenu {
       width: 100%;
       clear:both;
       min-height: auto;
    }

    #doublemainmenu {
       width: 100%;
       clear:both;
       min-height: auto;
    }
}

.noautonum .tocnumber { display: none; }

.twitter-timeline { height: 1000px !important; }

/* Class for pixel art, to retain pixelated appearance when zoomed */
.pixels {
    -ms-interpolation-mode: nearest-neighbor;   /* IE */
    image-rendering: -webkit-optimize-contrast; /* UC Browser */
    image-rendering: -webkit-crisp-edges;       /* old Safari */
    image-rendering: -moz-crisp-edges;          /* Firefox */
    image-rendering: pixelated;
}

/* Invert the notification icons */

.mw-echo-notifications-badge {
	filter: invert( 1 )
	hue-rotate( 180deg )
}