MediaWiki:Vector.css

From MansunWiki
Revision as of 22:32, 25 April 2015 by DarkMavis (Talk | contribs) (Addition of CSS styling for lyrics sheets)

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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* <pre><nowiki> */ 

/* CSS placed here will affect users of the Vector skin */

html, body {
	font-size: 100%;
}


/* Custom Lyrics sheets new and old */

.notepaper {
	position: relative;
	margin: 80px auto;
	padding: 29px 20px 20px 45px;
	width: 480px;
	line-height: 30px;
	color: #6a5f49;
	text-shadow: 0 1px 1px white;
	background-color: #f2f6c1;
	background-image: -webkit-radial-gradient(center, cover, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) 90%), -webkit-repeating-linear-gradient(top, transparent, transparent 29px, rgba(239, 207, 173, 0.7) 29px, rgba(239, 207, 173, 0.7) 30px);
	background-image: -moz-radial-gradient(center, cover, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) 90%), -moz-repeating-linear-gradient(top, transparent, transparent 29px, rgba(239, 207, 173, 0.7) 29px, rgba(239, 207, 173, 0.7) 30px);
	background-image: -o-radial-gradient(center, cover, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) 90%), -o-repeating-linear-gradient(top, transparent, transparent 29px, rgba(239, 207, 173, 0.7) 29px, rgba(239, 207, 173, 0.7) 30px);
	border: 1px solid #d2d2d2;
	border-color: rgba(195, 186, 170, 0.9);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 5px #d8e071, 0 0 1px rgba(0, 0, 0, 0.1), 0 2px rgba(0, 0, 0, 0.02);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 5px #d8e071, 0 0 1px rgba(0, 0, 0, 0.1), 0 2px rgba(0, 0, 0, 0.02);
	font-family: Arial, Helvetica, sans-serif;
	font-size:18px
}

.notepaper:before, .notepaper:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
}

.notepaper:before {
  left: 28px;
  width: 2px;
  border: solid #efcfad;
  border-color: rgba(239, 207, 173, 0.9);
  border-width: 0 1px;
}

.notepaper:after {
  z-index: -1;
  left: 0;
  right: 0;
  background: rgba(242, 246, 193, 0.9);
  border: 1px solid rgba(170, 157, 134, 0.7);
  -webkit-transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  transform: rotate(2deg);
}

.lyrics {
	padding: 6px 6px 5px 30px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 16px;
}

.lyrics-by {
  display: block;
  padding-right: 10px;
  text-align: right;
  font-size: 14px;
  font-style: italic;
  color: #84775c;
}

.lyrics-title {
	display: block;
	padding-center: 10px;
	text-align: left;
	font-size: 20px;
	color: #000033;
	font-family: Garamond, Geneva, "Palantino Linotype", sans-serif;
	line-height: normal;
	font-style: italic;
	font-weight: 300;
	text-decoration: underline;
}


/* Lyrics CSS style */

.oldlyrics{
	background: -o-linear-gradient(to bottom, #d9eaf3 0%, #fff 8%) 0 4px;
	background: -webkit-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
	background: linear-gradient(to bottom, #d9eaf3 0%, #fff 8%) 0 4px;
	background-size: 100% 20px;
	border: 1px solid #d2d2d2;
	border-radius: 3px; 
	box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	color: #444;
	font: normal 1.2em/1.5 Tahoma, Geneva, sans-serif;
	line-height: 20px;
	padding: 6px 5px 4px 55px;
	position: relative;
	white-space: pre-wrap;
	width: 500px;
}

.oldlyrics:before {
	border: 1px solid;
	border-color: transparent #efe4e4;
	bottom: 0;
	content: '';
	left: 40px;
	position: absolute;
	top: 0;
}

/* End of Lyrics Styling */

/* Notice box styling */

.colourbox {
	border: .0781em solid #AAA;
	-khtml-border-radius: .5em;
	border-radius: .5em;
	color: #000;
	display: block;
	font-weight: bold;
	margin: .5em 10%;
	padding: .5em;
	text-align: center;
	width: 80%;
}

.colourbox > a {
	border-bottom: .0781em dotted;
	color: #000 !important;
}

.colourbox > a:hover {
	border-bottom: .0781em solid;
	text-decoration: none;
}

.bluebackbox { 
	background: #C9DAE1;
	box-shadow: 0 .0781em .3906em #0378AE, 0 .7813em 1.5625em #FFF inset;
}

.greenbackbox {
	background: #E0E6D3;
	box-shadow: 0 .0781em .3907em #82A63A, 0 .7813em 1.5625em #FFF inset;
}

.purplebackbox { 
	background: #d7c9e1;
	box-shadow: 0 .0781em .3906em #4503ae, 0 .7813em 1.5625em #FFF inset;
}

.redbackbox {
	background: #D68485;
	box-shadow: 0 .0781em .3907em #AF2022, 0 .7813em 1.5625em #FFF inset;
}

/* End notice boxes */



/* Set lists */

/* hide YouTube link images within set-lists */

.ytube > a {
	background: none !important;
	padding: 0 !important;
}

/* align intro with songs in set-lists
 * remove bullet therefrom             */

#setlist > ul {
	margin-left: 3.2em;
}

#intro {
	list-style: none !important;
}

/* End set lists */




/* Tablets and Smartphones */

@media handheld {
	.col > .di {
		display: block !important;
	}
}

/* End tablets */




/* </nowiki></pre> */