Difference between revisions of "MediaWiki:Vector.css"
From MansunWiki
m |
m |
||
Line 6: | Line 6: | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
+ | |||
+ | /* carousel */ | ||
+ | /* Added 24062015 */ | ||
+ | |||
+ | .jcarousel { | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .jcarousel-wrapper { | ||
+ | max-width: 1125px; | ||
+ | margin: 0; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .jcarousel .jcarousel-list { | ||
+ | width: 20000em; | ||
+ | position: relative; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .jcarousel .jcarousel-item { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .jcarousel-item img { | ||
+ | display: block; | ||
+ | max-width: 100%; | ||
+ | height: auto !important; | ||
+ | } | ||
+ | |||
+ | .jcarousel-control-prev, | ||
+ | .jcarousel-control-next { | ||
+ | position: absolute; | ||
+ | top: 45%; | ||
+ | width: 30px; | ||
+ | height: 30px; | ||
+ | text-align: center; | ||
+ | background: #fff; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | text-shadow: 0 0 1px #000; | ||
+ | font: 24px/27px Arial, sans-serif; | ||
+ | -webkit-border-radius: 30px; | ||
+ | -moz-border-radius: 30px; | ||
+ | border-radius: 30px; | ||
+ | -webkit-box-shadow: 0 0 2px #999; | ||
+ | -moz-box-shadow: 0 0 2px #999; | ||
+ | box-shadow: 0 0 2px #999; | ||
+ | } | ||
+ | |||
+ | .jcarousel-control-prev { | ||
+ | left: -15px; | ||
+ | } | ||
+ | |||
+ | .jcarousel-control-next { | ||
+ | right: -15px; | ||
+ | } | ||
+ | |||
+ | .jcarousel-control-prev:hover span, | ||
+ | .jcarousel-control-next:hover span { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .jcarousel-control-prev.inactive, | ||
+ | .jcarousel-control-next.inactive { | ||
+ | opacity: .5; | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | .jcarousel-pagination { | ||
+ | position: absolute; | ||
+ | bottom: 10px; | ||
+ | left: 15px; | ||
+ | } | ||
+ | |||
+ | .jcarousel-pagination a { | ||
+ | text-decoration: none; | ||
+ | display: inline-block; | ||
+ | font-size: 11px; | ||
+ | line-height: 14px; | ||
+ | min-width: 14px; | ||
+ | background: #fff; | ||
+ | color: #4E443C; | ||
+ | border-radius: 14px; | ||
+ | padding: 3px; | ||
+ | text-align: center; | ||
+ | margin-right: 2px; | ||
+ | opacity: .75; | ||
+ | } | ||
+ | |||
+ | .jcarousel-pagination a.active { | ||
+ | background: #4E443C; | ||
+ | color: #fff; | ||
+ | opacity: 1; | ||
+ | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75); | ||
+ | } | ||
+ | |||
+ | /* End Carousel CSS | ||
Revision as of 22:01, 24 June 2015
/* <pre><nowiki> */
/* CSS placed here will affect users of the Vector skin */
html, body {
font-size: 100%;
}
/* carousel */
/* Added 24062015 */
.jcarousel {
position: relative;
overflow: hidden;
}
.jcarousel-wrapper {
max-width: 1125px;
margin: 0;
position: relative;
}
.jcarousel .jcarousel-list {
width: 20000em;
position: relative;
margin: 0;
padding: 0;
}
.jcarousel .jcarousel-item {
float: left;
}
.jcarousel-item img {
display: block;
max-width: 100%;
height: auto !important;
}
.jcarousel-control-prev,
.jcarousel-control-next {
position: absolute;
top: 45%;
width: 30px;
height: 30px;
text-align: center;
background: #fff;
color: #fff;
text-decoration: none;
text-shadow: 0 0 1px #000;
font: 24px/27px Arial, sans-serif;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
-webkit-box-shadow: 0 0 2px #999;
-moz-box-shadow: 0 0 2px #999;
box-shadow: 0 0 2px #999;
}
.jcarousel-control-prev {
left: -15px;
}
.jcarousel-control-next {
right: -15px;
}
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
display: block;
}
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
opacity: .5;
cursor: default;
}
.jcarousel-pagination {
position: absolute;
bottom: 10px;
left: 15px;
}
.jcarousel-pagination a {
text-decoration: none;
display: inline-block;
font-size: 11px;
line-height: 14px;
min-width: 14px;
background: #fff;
color: #4E443C;
border-radius: 14px;
padding: 3px;
text-align: center;
margin-right: 2px;
opacity: .75;
}
.jcarousel-pagination a.active {
background: #4E443C;
color: #fff;
opacity: 1;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
/* End Carousel CSS
/* 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> */