הבדלים בין גרסאות בדף "מדיה ויקי:Common.css"
מתוך iNature
שורה 345: | שורה 345: | ||
.cards-list .card-item { | .cards-list .card-item { | ||
− | margin: | + | max-width: 200px; |
+ | margin-bottom: 20px; | ||
} | } | ||
.cards-list .card-item img { | .cards-list .card-item img { | ||
width: 100%; | width: 100%; | ||
+ | height: auto; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } |
גרסה מ־18:53, 30 ביוני 2018
/* הסגנונות הנכתבים כאן ישפיעו על כל הרקעים */ /* CSS placed here will be applied to all skins */ /* Search styles */ body.mw-special-RunQuery.page-מיוחד_הרצת_שאילתה_SearchByTag .row .thumbnail { height: 280px !important; } body.mw-special-RunQuery.page-מיוחד_הרצת_שאילתה_Search #mw-content-text { margin: 0 -15px 0 -15px; } body.mw-special-RunQuery #mw-content-text::after { display: "table"; content: ""; clear: both; } #sfForm select[name="Search[Region]"] option[value="North"] { font-weight: bold; } #sfForm select[name="Search[Region]"] option[value="Center"] { font-weight: bold; } #sfForm select[name="Search[Region]"] option[value="South"] { font-weight: bold; } .search-listwidget div.container ul.pagination-container { margin-left: 0px !important; margin-right: 0px !important; } .search-listwidget div.container ul.pagination-container li { list-style: none; } .search-listwidget .container { width: auto !important; padding-left: 0px !important; padding-right: 0px !important; } .search-listwidget > .container { padding-left: 0 !important; padding-right: 0px !important; } .search-result-item-listwidget { } .search-result-item-listwidget .search-result-item-listwidget-title { font-weight: bold; } /* 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; } span.label > a:visited, span.label > a { color: white; } span.label.label-primary { display: inline-block; } /*.card-images-row { } .card-images-row .thumbnail { height: 260px; margin-bottom: 20px; border-radius: 0; border: 0; box-shadow: 1px 1px 9px 0px #0000004f; padding: 0; } */ .cards-list { display: flex; justify-content: space-between; flex-wrap: wrap; } .cards-list .card-item { max-width: 200px; margin-bottom: 20px; } .cards-list .card-item img { width: 100%; height: auto; margin-bottom: 10px; } .cards-list .card-item a { display: block; margin-bottom: 10px; } .cards-list .card-item span { display: block; margin-bottom: 10px; } .cards-list .card-item p { display: block; }