הבדלים בין גרסאות בדף "מדיה ויקי:Common.css"
מתוך iNature
| שורה 61: | שורה 61: | ||
/* TOC float right */ | /* TOC float right */ | ||
#toc {float:right;} | #toc {float:right;} | ||
| + | |||
| + | /* carousel */ | ||
| + | .jcarousel { | ||
| + | position: relative; | ||
| + | overflow: hidden; | ||
| + | } | ||
| + | |||
| + | .jcarousel-wrapper { | ||
| + | max-width: 750px; | ||
| + | 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); | ||
| + | } | ||
| + | |||
| + | .jcarousel #toc { display: none; } | ||
| + | |||
| + | .banner-image { | ||
| + | position: relative; | ||
| + | overflow: hidden; | ||
| + | max-width: 1125px; | ||
| + | height: auto; | ||
| + | margin-bottom: .6em; | ||
| + | } | ||
| + | .banner-image img { | ||
| + | width: 100%; | ||
| + | height: auto; | ||
| + | width: auto\9; | ||
| + | } | ||
| + | |||
| + | .mainpage-shadowbox { | ||
| + | color: white; | ||
| + | background: rgb(16,16,16); | ||
| + | background: rgba(0,0,0,0.3); | ||
| + | border-radius: 4px; | ||
| + | } | ||
| + | .mainpage-shadowbox h2, .mainpage-shadowbox h3 { | ||
| + | color: white; | ||
| + | border:none; | ||
| + | font-family: sans-serif; | ||
| + | line-height: 1.2em; | ||
| + | margin:0; | ||
| + | } | ||
| + | .mainpage-shadowbox h2 { | ||
| + | font-size: 190%; | ||
| + | } | ||
| + | .mainpage-shadowbox h3 { | ||
| + | font-size: 150%; | ||
| + | padding: 0; | ||
| + | } | ||
| + | |||
| + | .banner-box-2 { | ||
| + | position: absolute; | ||
| + | z-index: 2; | ||
| + | margin-top: 2em; | ||
| + | min-width: 20em; | ||
| + | } | ||
| + | .banner-box-2 .quote { | ||
| + | font-size: 80%; | ||
| + | line-height: 1.2em; | ||
| + | } | ||
| + | |||
| + | .banner-box-wide { | ||
| + | width: 80% | ||
| + | } | ||
| + | .banner-box-left, | ||
| + | .banner-box-right { | ||
| + | padding: 8px 7px; | ||
| + | background: rgb(16,16,16); | ||
| + | background: rgba(0,0,0,0.3); | ||
| + | border-radius: 4px; | ||
| + | width: 40%; | ||
| + | } | ||
| + | .banner-box-left { | ||
| + | left: 3%; | ||
| + | text-align: left; | ||
| + | } | ||
| + | .banner-box-right { | ||
| + | right: 3%; | ||
| + | text-align: right; | ||
| + | } | ||
| + | |||
| + | |||
| + | .mf-mobile-only { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | .mainpage-shadowbox { | ||
| + | color: white !important; | ||
| + | background: rgb(16,16,16); | ||
| + | background: rgba(0,0,0,0.3); | ||
| + | border-radius: 4px; | ||
| + | } | ||
| + | |||
| + | .mainpage-shadowbox a, .mainpage-shadowbox span.mw-headline { | ||
| + | color: white !important; | ||
| + | } | ||
| + | |||
| + | .mainpage-shadowbox h3, .mainpage-shadowbox h2 { | ||
| + | background: none !important; | ||
| + | } | ||
| + | |||
| + | .mainpage-shadowbox h2, .mainpage-shadowbox h3 { | ||
| + | color: white !important; | ||
| + | border:none; | ||
| + | font-family: sans-serif; | ||
| + | line-height: 1.2em; | ||
| + | margin:0; | ||
| + | } | ||
| + | .mainpage-shadowbox h2 { | ||
| + | font-size: 190%; | ||
| + | } | ||
| + | .mainpage-shadowbox h3 { | ||
| + | font-size: 150%; | ||
| + | padding: 0; | ||
| + | } | ||
גרסה מ־22:01, 7 בינואר 2016
/* הסגנונות הנכתבים כאן ישפיעו על כל הרקעים */
/* CSS placed here will be applied to all skins */
/* Template:Infobox_Trail */
.Infobox_Trail
{
font-family: lucida grande, Helvetica, arial, sans-serif;
color: #565548;
font-size: 12px;
float: right;
clear: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
/* padding-right: 5px; */
/* padding-left: 5px; */
border: 0;
/* spacing: 3;*/
/* padding: 2; */
horizontal-align: center;
width: 270px;
}
.Infobox_Trail th
{
height: 1.5em;
font-weight: bold;
background: #D1CEC3;
text-align: right;
}
.Infobox_Trail td
{
background: #F4F2ED;
text-align: left;
}
.Infobox_Trail #weatherlink
{
text-align: center;
}
.Infobox_Trail #maplink
{
text-align: center;
}
.Infobox_Trail #gmap
{
text-align: center;
vertical-align: center;
}
/* TOC float right */
#toc {float:right;}
/* carousel */
.jcarousel {
position: relative;
overflow: hidden;
}
.jcarousel-wrapper {
max-width: 750px;
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);
}
.jcarousel #toc { display: none; }
.banner-image {
position: relative;
overflow: hidden;
max-width: 1125px;
height: auto;
margin-bottom: .6em;
}
.banner-image img {
width: 100%;
height: auto;
width: auto\9;
}
.mainpage-shadowbox {
color: white;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
}
.mainpage-shadowbox h2, .mainpage-shadowbox h3 {
color: white;
border:none;
font-family: sans-serif;
line-height: 1.2em;
margin:0;
}
.mainpage-shadowbox h2 {
font-size: 190%;
}
.mainpage-shadowbox h3 {
font-size: 150%;
padding: 0;
}
.banner-box-2 {
position: absolute;
z-index: 2;
margin-top: 2em;
min-width: 20em;
}
.banner-box-2 .quote {
font-size: 80%;
line-height: 1.2em;
}
.banner-box-wide {
width: 80%
}
.banner-box-left,
.banner-box-right {
padding: 8px 7px;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
width: 40%;
}
.banner-box-left {
left: 3%;
text-align: left;
}
.banner-box-right {
right: 3%;
text-align: right;
}
.mf-mobile-only {
display: none;
}
.mainpage-shadowbox {
color: white !important;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
}
.mainpage-shadowbox a, .mainpage-shadowbox span.mw-headline {
color: white !important;
}
.mainpage-shadowbox h3, .mainpage-shadowbox h2 {
background: none !important;
}
.mainpage-shadowbox h2, .mainpage-shadowbox h3 {
color: white !important;
border:none;
font-family: sans-serif;
line-height: 1.2em;
margin:0;
}
.mainpage-shadowbox h2 {
font-size: 190%;
}
.mainpage-shadowbox h3 {
font-size: 150%;
padding: 0;
}