MediaWiki: Common.css

From Infinity
Revision as of 11:06, 13 March 2020 by Ian (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */


/* C1/N4 split formatting goes first. */

.n4 {
border-left: 4px solid orange;
padding-left: 10px;
display: none;
}


/* N4 Skill Boxes */

table.n4-skillbox {
	padding: 4px;
	border-spacing: 4px;
	border-collapse: collapse;
	width:100%;
}

table.n4-skill-short {
	border: 4px forestgreen solid;
	background: forestgreen; 
	color: #FFFFFF;
}

table.n4-skill-auto {
	border: 4px black solid;
	background: black; 
	color: white;
}

table.n4-skill-aro {
	border: 4px #FFBF00 solid;
	background: #FFBF00; 
	color: white;
}

table.n4-skill-short-move {
	border: 4px #1E90FF solid;
	background: #1E90FF; 
	color: white;
}

table.n4-skill-deploy {
	border: 4px #4B0082 solid;
	background: #4B0082; 
	color: white;
}

table.n4-skill-entire {
	border: 4px #B20000 solid;
	background: #B20000; 
	color: white;
}

.n4-skill-title {
	font-weight: bold;
	font-size:200%
}

.n4-skill-type {
	text-align:right; 
	font-size:150%
}

table.n4-skill-labels {
	border: 4px #c6c6c6 solid;
	background: #c6c6c6; 
	color: #FFFFFF;
	font-style: italic;
	font-size:150%
}



/* N4 Boxouts */

.n4-requirements {
	width: 100%;
	background: #e4e4e4; 
}

.n4-requirements-inner {
	border: 4px #e4e4e4 solid;
	color: #000000;
	background: #e4e4e4; 
	font-size:150%
}


.n4-remember {
	width: 100%;
	background: #FFBF00; 
}

.n4-remember-inner {
	border: 4px #FFBF00 solid;
	color: #000000;
	background: #FFBF00; 
}

.n4-remember-title {
	font-size: 150%; 
}

.n4-important {
	width: 100%;
	background: #B20000; 
}

.n4-important-inner {
	border: 4px #B20000 solid;
	color: #FFFFFF;
	background: #B20000; 
}

.n4-important-title {
	font-size: 150%; 
}


.n4-greybox {
	width: 100%;
	background: #e4e4e4; 
}

.n4-greybox-inner {
	border: 4px #e4e4e4 solid;
	color: #000000;
	background: #e4e4e4; 
}


/*
.n4-advice {
	width: 100%;
	background: #98dfec; 
}

.n4-advice-inner {
	border: 4px #98dfec solid;
	color: #000000;
	background: #eafffd; 
}

.n4-advice-title {
	font-size: 150%; 
}

.n4-advice-img {
	float: right; 
}

*/


.n4-advice {
	width: 100%;
	background: black; 
	border: 2px black solid;
}

.n4-advice-inner {
	border: 4px white solid;
	color: grey;
	background: white; 
	font-style: italic;
}

.n4-advice-title {
	font-size: 150%; 
}

.n4-advice-img {
	float: right; 
}




/* CSS for the game selector switch */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* make the categories show up in Tweeki! */
/* 
#catlinks {display:block;}
*/