MediaWiki:Common.css: Difference between revisions

From Protochroma Wiki
imported>Konz
m (Undo revision 169 by Konz (talk))
imported>Konz
mNo edit summary
Line 2: Line 2:
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap');
body {
  font-family: 'PT Serif', serif;
}


h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
     color: #042229;
     color: #042229;
}
}
Line 15: Line 11:
}
}


/* Wiki background */
/* Wiki background and font */
body  
body  
{
{
     background-image: url(https://static.miraheze.org/protochromawiki/2/26/Background.png);
     background-image: url(https://static.miraheze.org/protochromawiki/2/26/Background.png);
     background-repeat: repeat;
     background-repeat: repeat;
    font-family: 'Open Sans', sans-serif;
}
}


Line 89: Line 86:
   background-color: #ffffff;
   background-color: #ffffff;
   box-shadow: 0px 0px 5px #ffffff;
   box-shadow: 0px 0px 5px #ffffff;
}
[role="navigation"] {
  font-family: 'Open Sans', sans-serif;
}
}


Line 118: Line 111:
     border-bottom: 1px dotted white;
     border-bottom: 1px dotted white;
     background-color: #a9a9a9;
     background-color: #a9a9a9;
    font-family: 'Open Sans', sans-serif;
     font-size: 13px;
     font-size: 13px;
}
}
Line 183: Line 175:


.wikitable {
.wikitable {
    background-color: #afafaf;
     color: #000000;
     color: #000000;
     margin: 1em 0;
     margin: 1em 0;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
     border-collapse: collapse;
     border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
     font-size: 12px;
     font-size: 12px;
}
}
.wikitable:nth-child(even) {
    background-color: #a0a0a0;
}
.wikitable:nth-child(odd) {
    background-color: #bfbfbf;
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
     border: 1px dotted #ffffff;
     border: 1px dotted #ffffff;
}
}

Revision as of 18:40, 11 May 2021

/* Font imports */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
    color: #042229;
}

h1 {
    font-weight: bold;
}

/* Wiki background and font */
body 
{
    background-image: url(https://static.miraheze.org/protochromawiki/2/26/Background.png);
    background-repeat: repeat;
    font-family: 'Open Sans', sans-serif;
}


/* Content background */
.mw-body
{
    background-color: #D0D0D0;
}

#sidebar div.pBody {
    background-image: linear-gradient(to right, #181a1b, #42484b);
    border-left: 5px solid #1e90ff;
    border-right: transparent;
    border-top: transparent;
    border-bottom: transparent;
}

#sidebar a {
    color: #1affff;
    font-size: 13px;
}

#sidebar a:hover {
    color: white;
}

/* Removes Monobook white banner at the top */
div#globalWrapper
{
    font-size: 130%;
    width: 100%;
    margin: 0; padding: 0;
    background-image: none;
}

/* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */
@media screen {
	/* The backgrounds for galleries. */
	#content .gallerybox div.thumb {
		/* Light gray padding */
		background-color: #f8f9fa;
	}
	/* Put a chequered background behind images, only visible if they have transparency.
	'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
	.gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
	}
	/* But not on articles, user pages, portals or with opt-out. */
	.ns-0 .gallerybox .thumb img,
	.ns-2 .gallerybox .thumb img,
	.ns-100 .gallerybox .thumb img,
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}
}



/* nav styling */
#p-personal li a {
  color: #ffffff;
}
#p-personal li a:hover {
  background: none;
}

.mw-echo-notifications-badge:before {
  background-color: #ffffff;
  box-shadow: 0px 0px 5px #ffffff;
}

#p-cactions li.selected {
  border-color: #00FFFF;
}

#sidebar h3 {
  color: #ffffff;
}

.mw-body:not(.toc) a:not(.new) {
  color: #042229;
  text-decoration: underline;
  font-weight: bold;
}

.mw-body a.new {
  text-decoration: underline;
  font-weight: bold;
}

#footer, .mw-footer {
    border-top: 1px dotted white;
    border-bottom: 1px dotted white;
    background-color: #a9a9a9;
    font-size: 13px;
}

/* link style */
a, a:visited {
    color: #000080;
}

a:hover {
    color: #0000CD;
}

/* border coloring */

h1, h2 {
  border-bottom: 1px solid #000000;
}

hr {
  color: #99815f;
  background-color: #99815f;
}

/* Tabbed infoboxes */

.tabbedInfobox {
  float: right;
}
.tabbedInfobox ul.tabbernav{
  border: none;
  font: inherit;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.tabbedInfobox .tabbertab {
  padding: 0px;
  border: none;
}
.tabbedInfobox ul.tabbernav li a {
  border: solid 2px #5f8b99;
  border-bottom: none;
  border-radius: 0.25em 0.25em 0px 0px;
  display: inline-block;
  width: 85%;
}
ul.tabbernav li {
  flex: 1 0 25%;
  margin-right: 2%;
  
}

/* Wiki table */

/* Header */

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #afafaf;
}

/* Body */ 

.wikitable {
    color: #000000;
    margin: 1em 0;
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    font-size: 12px;
}

.wikitable:nth-child(even) {
    background-color: #a0a0a0;
}

.wikitable:nth-child(odd) {
    background-color: #bfbfbf;
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px dotted #ffffff;
}