Skip to content

Instantly share code, notes, and snippets.

@machal
Created March 7, 2012 19:15
Show Gist options
  • Select an option

  • Save machal/1995247 to your computer and use it in GitHub Desktop.

Select an option

Save machal/1995247 to your computer and use it in GitHub Desktop.
Mobile CSS files: e-Slovensko.cz, m.scuk.cz, Snowkidz.cz
/*
Novy obsahovy stylopis pro weby DCK Rekrea Ostrava (2011)
=========================================================
Autor: Martin Michalek, webmaster@eslovensko.cz
Struktura
.........
1) Vrstva pro smartphony a lepsi
2) Vrstva pro desktop a tablet
Layout
......
Obsah ma celkem 940px (1000px + 30px paddingy)
Mikrosloupec (v obsahu je jich 6, tridy .column, .double_column):
- 145px a 14px pravy margin
Zakladni obsahovy sloupec (v obsahu jsou 3):
- 304px width a 14px pravy margin
- na mobilech 7px margin ze stran a auto sirka
Obrazky maji pomer 16/9
- jeden sloupec: 304x171
*/
/* ================================================================================
1) Vrstva pro smartphony a lepsi
*/
/* Layout */
#container {
background-image: none !important; /* DEPRECATED if newlayout */
}
.show_grid #container {
background: #fff url(grid.png) repeat-y 0 0;
}
#head {
background: transparent;
}
#content {
font: 12px/18px Arial, sans-serif;
padding: 13px 8px 36px 7px;
}
/* Sloupcovy layout tvorime az na destkop/tablet vrstve */
.column,
.double_column { }
/* Textovy sloupecek ma trochu posunute hranice oproti obrazkum */
.text {
padding: 0 10px 0 5px;
}
#footNew {
margin-top: 0;
}
/* Typo */
p, ul, ol, table, blockquote {
margin-bottom: 18px;
}
#content h1 {
font-size: 20px;
line-height: 26px;
margin: 0 0 27px 5px;
color: #666;
}
#content h2 {
font-size: 16px;
line-height: 20px;
margin: 0 0 9px 0;
padding: 0;
font-weight: normal;
color: #999;
}
#content h3 {
font-size: 14px;
line-height: 18px;
margin: 0 0 4px 0;
padding: 0;
font-weight: normal;
color: #666;
}
#content big {
font-size: 14px;
line-height: 18px;
font-weight: bold;
}
#content ul,
#content ol {
margin: 0 0 18px 14px;
padding: 0 0 0 0;
color: #ccc;
}
#content ul {
list-style-type: square;
}
#content ul li,
#content ol li {
color: #000;
}
/* Helpery */
#container #content .margin_bottom {
margin-bottom: 18px;
}
#container #content .margin_bottom_half {
margin-bottom: 9px;
}
.desktop_only {
display: none !important;
}
/* Obrazky */
.dummy_img {
background: #666;
color: #999;
position: relative;
margin-bottom: 18px;
}
.dummy_img span {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
margin-top: -18px;
margin-left: -5ex;
}
.column .dummy_img {
width: 304px;
height: 171px;
}
.double_column .dummy_img {
width: 622px;
height: 350px;
}
.column img {
max-width: 304px;
}
/* --- Sloupec jako polozka rozcestniku (napr. e-slovensko.cz/atrakce/) --- */
.columns_as_list_item {
padding-top: 9px;
}
.column.as_list_item {
position: relative;
overflow: hidden;
height: 171px;
margin-bottom: 14px;
}
.column.as_list_item .image {
margin-bottom: 0;
}
.column.as_list_item .text {
position: absolute;
bottom: -84px;
background: rgb(0, 0, 0);
background: rgba(0, 0, 0, 0.66);
color: #fff;
padding: 1px 9px 9px 9px;
-webkit-transition: all 0.15s ease-out; /* Saf3.2+, Chrome */
-moz-transition: all 0.15s ease-out; /* FF4+ */
-ms-transition: all 0.15s ease-out; /* IE10? */
-o-transition: all 0.15s ease-out; /* Opera 10.5+ */
transition: all 0.15s ease-out;
}
.column.as_list_item:hover .text,
.column.as_list_item:focus .text,
.column.as_list_item:active .text {
bottom: 0;
}
#content .column.as_list_item .text h2 {
margin-bottom: 0;
}
#content .column.as_list_item .text h2 a {
font-weight: bold;
text-decoration: none;
display: block;
padding-bottom: 8px;
padding-top: 8px;
}
#content .column.as_list_item .text a {
color: #fff;
text-decoration: underline;
}
#content .column.as_list_item .text p {
margin-bottom: 4px;
margin-top: 0;
}
/* --- Propracovanejsi hlavicka s navigaci atd. --- */
#content_head {
margin: 0 -7px 27px -7px;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 25%, #f4f4f4 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(25%,#ffffff), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 25%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 25%,#f4f4f4 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #ffffff 25%,#f4f4f4 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffffff 25%,#f4f4f4 100%); /* W3C */
}
#content_head h1 {
margin: 0 0 000 7px;
display: block;
}
#content_head .after_header {
margin: 0 0 18px 7px;
display: block;
color: #aaa;
}
#content_head .after_header a {
color: #aaa;
border-bottom: 1px dotted #ddd;
}
#content_head .after_header a:hover,
#content_head .after_header a:focus,
#content_head .after_header a:active {
color: #666;
border-color: #666;
text-decoration: none;
}
/* - Vnitrni navigace - atrakce, oblasti atd. - */
#nav_inside {
font-size: 10px;
line-height: 14px;
min-height: 10px;
padding: 0 7px;
margin: 18px 0 0 0;
border-bottom: 1px solid #ddd;
}
#nav_inside .item {
display: inline-block;
border: 1px solid #ddd;
margin-bottom: -1px;
margin-right: 3px;
padding: 7px 5px;
background: transparent;
background: rgba(255, 255, 255, .5);
-webkit-border-radius: 5px 5px 0 0; /* Saf3-4, iOS 1-3.2, Android <1.6 */
-moz-border-radius: 5px 5px 0 0; /* FF1-3.6 */
border-radius: 5px 5px 0 0; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
#nav_inside strong.item,
#nav_inside strong .item {
background: #fff;
border-bottom: 1px solid #fff;
font-weight: normal;
color: #666;
}
.map_page #nav_inside strong.item {
padding-bottom: 6px;
}
/* --- Telo dokumentu - hlavni informace, jez se budou prenaset do Fancyboxu --- */
#content_body {
margin-bottom: 18px;
}
#content_body h1 {
margin-left: 0;
color: #999;
}
/* --- Odkaz na vice informaci --- */
.more_info {
color: #666;
}
/* --- Odkaz na fotogalerii z Flickru --- */
.more_photos a,
.big_link a {
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
margin-left: 0;
padding-left: 0;
padding: 5px 7px;
display: block;
}
.more_photos a:hover,
.more_photos a:focus,
.more_photos a:active,
.big_link a:hover,
.big_link a:focus,
.big_link a:active {
background-color: #f8f8f8;
cursor: pointer;
}
/* --- Obrazkovy sloupecek --- */
.image_item .text {
color: #999;
display: inline-block;
}
.image_item .image {
display: inline-block;
width: 304px;
max-height: 171px;
overflow: hidden;
}
.image_item .panoramio_link {
white-space: nowrap;
color: #ccc;
}
.image_item .panoramio_link a {
margin-left: 1px;
}
.image_item .panoramio_link img {
margin-bottom: -2px;
}
/* Varianta bez popisku */
.images.without_texts .image_item {
margin-bottom: -1px;
}
/* Varianta seznamu fotek s malymi nahledy */
.images .small_images {
margin-top: -18px;
}
.images.without_texts .small_images {
margin-top: 0;
}
.small_images .image_item {
display: inline-block;
float: left;
margin: 0 3px 3px 0;
height: 50px;
}
.images.without_texts .small_images .image_item {
margin-bottom: 3px;
}
.small_images .image_item .image {
display: inline-block;
width: auto;
height: 50px;
}
.small_images .photo {
height: 50px;
}
.small_images .text {
display: none;
}
/* --- Orientacni mapka s Google Static Maps --- */
.landmark_map {
margin-bottom: 18px;
}
.landmark_map .maps {
position: relative;
width: 304px;
height: 192px;
overflow: hidden;
margin: 0;
}
.landmark_map .zoom_1,
.landmark_map .zoom_2,
.landmark_map .zoom_3 {
display: block;
position: absolute;
top: 0px;
left: 0px;
width: 304px;
height: 171px;
}
/* Horni vrstva s urovni statu */
.landmark_map .zoom_1
{ z-index: 30; }
/* Druha vrstva s urovni oblasti */
.landmark_map .zoom_2
{ z-index: 20; }
/* Spodni vrstva na urovni obci */
.landmark_map .zoom_3
{ z-index: 10;}
.landmark_map .legend {
display: block;
position: absolute;
top: 179px;
left: 0px;
width: 304px;
height: 12px;
font-size: 11px;
line-height: 13px;
color: #ccc;
}
/* --- Obecny seznam odkazu --- */
.list {
margin-bottom: 18px;
}
#content .list ul {
border-top: 1px solid #eee;
margin-left: 0;
padding-left: 0;
}
.list li {
overflow: hidden;
height: 29px;
white-space: nowrap;
list-style-type: none;
border-bottom: 1px solid #eee;
margin-left: 0;
padding-left: 0;
}
.list li a:hover,
.list li a:focus,
.list li a:active {
background-color: #f8f8f8;
cursor: pointer;
}
/* TODO upravit pro barvy jednotlivych webu nebo vyresit javascriptem */
#content .list li a:hover,
#content .list li a:focus,
#content .list li a:active {
color: #044C04;
text-decoration: underline;
}
.list .item {
padding: 5px 7px;
display: inline-block;
}
.list small,
.distance {
display: inline-block;
font-size: 12px;
line-height: 18px;
color: #999;
}
/* --- Seznam dvouradkovych polozek s obrazkem --- */
.images_list {
margin-bottom: 18px;
}
#content .images_list ul {
border-top: 1px solid #eee;
margin: 0;
padding: 0;
}
.images_list .item {
position: relative;
height: 36px;
list-style-type: none;
margin: 0;
padding: 5px 0;
border-bottom: 1px solid #eee;
}
.images_list .item:hover,
.images_list .item:focus,
.images_list .item:active {
background-color: #f8f8f8;
cursor: pointer;
}
/* TODO upravit pro barvy jednotlivych webu nebo vyresit javascriptem */
#content .images_list .item:hover a,
#content .images_list .item:focus a,
#content .images_list .item:active a {
color: #044C04;
text-decoration: underline;
}
.images_list .image {
position: absolute;
top: 7px;
left: 5px;
display: block;
width: 32px;
height: 32px;
margin-right: 10px;
overflow: hidden;
}
.images_list .image img {
max-height: 32px;
margin-left: -12px;
}
.images_list .text {
position: absolute;
top: 5px;
left: 40px;
width: 240px;
display: block;
height: 36px;
overflow: hidden;
}
.images_list .more a {
display: block;
padding: 8px 0 8px 45px;
border-bottom: 1px solid #eee;
}
.images_list .more a:hover,
.images_list .more a:focus,
.images_list .more a:active {
background-color: #f8f8f8;
cursor: pointer;
}
/* --- Seznam obci v oblasti nebo seznam oblasti ve statu --- */
#subdivisions {
max-width: 940px;
margin-bottom: 36px;
}
#content #subdivisions h3 {
margin-bottom: 9px;
border-bottom: 1px solid #eee;
}
/* --- Inline seznam polozek --- */
.inline_list {
line-height: 36px;
}
.inline_list .item {
padding: 9px 8px 8px;
background-color: transparent;
border: 1px solid #ddd;
-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android <e;1.6 */
-moz-border-radius: 5px; /* FF1-3.6 */
border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
.inline_list .item:hover,
.inline_list .item:focus,
.inline_list .item:active {
background-color: #f8f8f8;
text-decoration: underline;
}
.inline_list .item.two_stars,
.inline_list .item.three_stars {
font-weight: bold;
}
/* --- Velka mapa oblasti nebo okoli --- */
#map_container,
#wide_container {
margin: -27px -8px 27px -30px;
width: auto;
height: 562px; /* 1000x562px */
}
#mapa_okoli {
margin-top: 8px;
}
/* Bublina na mape */
.map_bubble {
width: 300px;
font-size: 11px;
line-height: 16px;
}
.map_bubble h3 {
font-size: 14px;
line-height: 18px;
margin: 0 0 12px 0;
}
.map_bubble p {
margin: 0 0 8px 0;
}
.map_bubble .perex {
float: left;
width: 180px;
margin: 0 15px 0 0;
}
.map_bubble .photo {
float: left;
width: 100px;
margin: 0;
}
.map_bubble .photo img {
max-height: 60px;
max-width: 100px;
}
.map_bubble .more {
margin: 0;
}
/* --- Strankovani --- */
.pagination {
width: 302px;
text-align: center;
background-color: #eee;
padding: 18px 0;
color: #666;
margin: 4em 0;
-webkit-border-radius: 10px; /* Saf3-4, iOS 1-3.2, Android <e;1.6 */
-moz-border-radius: 10px; /* FF1-3.6 */
border-radius: 10px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
.pagination .button {
display: inline-block;
width: 100px;
height: auto;
}
.pagination .button.prev {
margin-right: 10px;
}
/* --- Odkaz "Vice..." --- */
.more_link {
margin: 2em 0;
text-align: center;
}
/* --- Seznam ubytovatelu na strance obce, oblasti, atrakce --- */
#content .accommodation_list .soft_head {
margin-bottom: 18px;
border-bottom: 1px solid #eee;
max-width: 940px;
}
/* --- Detail ubytovatele --- */
.page_accommodation_detail .perex {
width: 490px;
}
/* --- Seznamy - ubytovatelu, pobytu, last-minute atd. --- */
.list_item {
padding: 15px 0;
border-bottom: 1px solid #ddd;
color: #666;
}
.list_item:hover,
.list_item:focus,
.list_item:active {
background-color: #eee;
cursor: pointer;
color: #333;
}
#content .list_item:hover h2 a,
#content .list_item:focus h2 a,
#content .list_item:active h2 a {
color: #044C04;
}
.list_item .image {
float: left;
width: 30%;
margin-right: 5%;
}
.list_item .image img {
max-width: 100%;
-ms-interpolation-mode: bicubic;
}
.list_item .content {
float: left;
width: 64%;
}
#container .list_item h2 {
font-size: 14px;
line-height: 18px;
margin-bottom: 0;
}
.list_item p {
margin-bottom: 0;
}
.list_item .place em {
color: #333;
font-style: normal;
}
#container .list_item .place a {
color: #333;
}
.list_item .price {
display: inline-block;
width: auto;
background-color: #eee;
padding: 3px;
text-align: right;
color: #555;
}
.list_item .price strong {
font-weight: normal;
color: #999;
}
.list_item .date strong {
color: #666;
}
.list_item .icon a {
display: inline-block;
width: 30px;
height: 30px;
-webkit-background-size: 30px 30px; /* Saf3-4 */
-moz-background-size: 30px 30px; /* FF3.6 */
background-size: 30px 30px; /* Opera, IE9, Saf5, Chrome, FF4 */
}
.list_item.last_minute .icon a {
background: transparent url(../images/last-minute_small.png) no-repeat;
text-indent: -5000px;
}
.list_item.first_minute .icon a {
background: transparent url(../images/first-minute_small.png) no-repeat;
text-indent: -5000px;
}
/* --- Strukci nejzajimavejsich ubytovacich kapacit (k atrakci i jinde) --- */
/* Upravy ze stareho layoutu do noveho sloupcoveho (TODO presunout do noveho layoutu)... */
.top_accom .lmItem {
height: 82px; /* Vyska obrazku */
background-image: none;
border-bottom: 1px solid #eee;
}
.top_accom .lmItem {
margin: 0;
padding: 18px 0;
}
.top_accom .lmItem .image {
width: 145px; /* sirka mikrosloupce */
height: 82px; /* 16:9 */
}
.top_accom .lmItem .image img {
max-height: 82px;
max-width: 500px; /* nefacha auto? */
}
.top_accom .lmItem .content {
width: 463px;
}
.top_accom .lmItem .perex {
margin-right: 110px;
}
#container .top_accom .lmItem .content h2 {
margin-bottom: 0;
}
.top_accom .lmItem .price {
font-size: 12px;
line-height: 18px;
right: 0;
bottom: 18px;
}
.top_accom .lmItem em {
font-style: normal;
}
/* ================================================================================
2) Vrstva pro desktop a tablet
*/
@media screen and (min-width: 641px) {
/* --- Helpery --- */
.desktop_only {
display: block !important;
}
/* --- Layout upraveny pro desktop/tablet --- */
#content {
padding: 27px 8px 36px 30px;
}
.column {
float: left;
width: 304px;
margin: 0 14px 0 0;
}
.column.last {
margin-right: 0;
}
.double_column {
float: left;
width: 622px;
margin: 0 14px 0 0;
}
#nav_inside {
font-size: 12px;
line-height: 18px;
padding: 0 30px;
}
#nav_inside .item {
padding: 7px 10px;
}
/* --- Typo --- */
#content h1 {
font-size: 24px;
line-height: 28px;
}
#content h2 {
font-size: 18px;
line-height: 24px;
}
/* Soft hlavicka s podkresem - pro bocni listy */
#content .soft_head {
font-size: 14px;
line-height: 18px;
padding: 7px 5px 9px 7px;
margin-bottom: 0;
color: #666;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 25%, #f8f8f8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(25%,#ffffff), color-stop(100%,#f8f8f8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 25%,#f8f8f8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 25%,#f8f8f8 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #ffffff 25%,#f8f8f8 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffffff 25%,#f8f8f8 100%); /* W3C */
}
#content .soft_head.with_border {
border-bottom: 1px solid #eee;
}
/* --- Propracovanejsi hlavicka s navigaci atd. --- */
#content_head {
margin: 0 -8px 27px -30px;
}
#content_head h1 {
margin: 0 0 18px 30px;
display: inline;
}
#content_head .after_header {
margin: 0 0 18px 5px;
display: inline;
}
#content_head .fb-like {
float: right;
width: 85px;
margin: -15px 30px 0 0;
opacity: .5;
}
#content_head.with_nav_inside .fb-like {
margin-top: -5px;
}
#content_head .fb-like:hover,
#content_head .fb-like:focus,
#content_head .fb-like:active {
opacity: 1;
}
/* --- Sleva v seznamu ubytovatelu --- */
.discount_in_head {
position: absolute;
top: 185px;
right: 125px;
width: 145px;
margin: 0 14px 0 0;
float: right;
font-size: 11px;
line-height: 15px;
}
#content .discount_in_head a {
display: block;
padding: 8px 10px;
-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android <e;1.6 */
-moz-border-radius: 5px; /* FF1-3.6 */
border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
border: 1px solid #2f8300;
color: #fff;
/* CSS3 Background [OBSOLETE?] */
background: #3da900; /* Old browsers */
background: -moz-linear-gradient(top, rgba(61, 169, 0, 0.8) 0%, rgba(47, 131, 0, 0.8) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(61, 169, 0, 0.8)), color-stop(100%,rgba(47, 131, 0, 0.8))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(61, 169, 0, 0.8) 0%,rgba(47, 131, 0, 0.8) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(61, 169, 0, 0.8) 0%,rgba(47, 131, 0, 0.8) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(61, 169, 0, 0.8) 0%,rgba(47, 131, 0, 0.8) 100%); /* IE10+ */
background: linear-gradient(top, rgba(61, 169, 0, 0.8) 0%,rgba(47, 131, 0, 0.8) 100%); /* W3C */
}
#content .discount_in_head a:hover,
#content .discount_in_head a:focus,
#content .discount_in_head a:active {
text-decoration: none;
/* CSS3 Background [OBSOLETE?] */
background: #2f8300; /* Old browsers */
background: -moz-linear-gradient(top, rgba(61, 169, 0, 1) 0%, rgba(47, 131, 0, 1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(61, 169, 0, 1)), color-stop(100%,rgba(47, 131, 0, 1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(61, 169, 0, 1) 0%,rgba(47, 131, 0, 1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(61, 169, 0, 1) 0%,rgba(47, 131, 0, 1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(61, 169, 0, 1) 0%,rgba(47, 131, 0, 1) 100%); /* IE10+ */
background: linear-gradient(top, rgba(61, 169, 0, 1) 0%,rgba(47, 131, 0, 1) 100%); /* W3C */
}
#content .discount_in_head h3 {
font-size: 12px;
line-height: 14px;
margin: 0;
font-weight: bold;
}
.discount_in_head p {
margin: 0;
}
/* --- Seznamy - ubytovatelu, pobytu, last-minute atd. --- */
.list_item {
float: left;
position: relative;
width: 272px; /* 304 */
padding: 15px 15px;
border: 1px solid #ddd;
margin: 0 14px 14px 0;
height: 285px;
-webkit-border-radius: 10px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
-moz-border-radius: 10px; /* FF1-3.6 */
border-radius: 10px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
.list_item .image {
width: auto;
float: none;
height: 140px;
overflow: hidden;
margin-bottom: 12px;
}
.list_item .image img {
max-height: 140px;
}
.list_item .price {
position: absolute;
bottom: 15px;
right: 15px;
padding: 7px;
font-size: 16px;
}
#container .list_item h2 {
font-size: 16px;
line-height: 20px;
margin-bottom: 0;
}
.list_item .content {
float: none;
width: auto;
}
.list_item .text_content {
position: relative;
height: 133px;
overflow: hidden;
}
.list_item .text_content .disappearer {
position: absolute;
bottom: 0;
left: 0;
height: 49px;
width: 272px;
background: url('../images/disappearer_vertical.png') repeat-x;
}
.list_item .icon {
position: absolute;
width: 50px;
height: 50px;
top: -15px;
left: -5px;
}
.list_item .icon a {
width: 50px;
height: 50px;
-webkit-background-size: 50px 50px; /* Saf3-4 */
-moz-background-size: 50px 50px; /* FF3.6 */
background-size: 50px 50px; /* Opera, IE9, Saf5, Chrome, FF4 */
}
.list_item:hover,
.list_item:focus,
.list_item:active {
/* Roztahneme o 2px */
padding: 17px;
margin: -2px 12px 12px -2px;
background-color: transparent;
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* FF3.5 - 3.6 */
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Opera 10.5, IE9, FF4+, Chrome 6+, iOS 5 */
cursor: pointer;
}
.list_item:hover .price,
.list_item:focus .price,
.list_item:active .price {
bottom: 17px;
right: 17px;
}
.list_item:hover .icon,
.list_item:focus .icon,
.list_item:active .icon {
top: -13px;
left: -3px;
}
/* --- Strankovani --- */
.pagination {
margin-left: 320px;
}
} /* @media screen and (max-width: 641px) */
/* MOBILE SCUK STYLESHEET (m.scuk.cz)
FOR SMARTPHONES (iOS and Android wekits)
==============================================
Content (continue of mobile.css):
II. Smartphones layer
C) Enhanced look
D) Layout
E) Common elements
F) Pages templates
III. Not-so-wide smartphones layer (max 320px width)
CSS author:
Martin Michalek, michalek@shortcat.cz
*/
/* ==============================================================================
II. Smartphones layer
==============================================================================
*/
/* ==============================================================================
C) Enhanced look
*/
body {
background-image: url(../img/mobile/bg.png?2);
-webkit-background-size: 640px auto; /* Webkit on iOS 3.2 + Android 2 */
background-size: 640px auto;
}
a
{ color: #232017; text-decoration: none; }
a:hover,
a:focus,
a:active
{ color: #232017;}
.hide_on_dumb
{ display: block;}
span.hide_on_dumb
{ display: inline;}
.hide_on_smart
{ display: none;}
/* ==============================================================================
D) Layout
*/
.page_head {
padding: 0 10px;
background-color: transparent;
}
.page_head .logo {
float: left;
}
.page_head .logo,
.page_head .logo #logo_link {
display: block;
width: 121px;
height: 53px;
margin: 0;
padding: 0;
}
.page_head .logo #logo_link {
padding: 7px 0 0;
height: 46px;
}
.page_head .partner {
display: block;
float: right;
width: 170px;
text-align: right;
margin: 10px 0 17px 0;
font-size: 11px;
vertical-align: middle;
color: #F9E9D0;
text-shadow: 1px 1px 1px #666;
margin-bottom: 14px;
}
#container .page_head .partner a {
color: #F9E9D0;
}
.page_head .partner a img {
vertical-align: middle;
margin: -4px 0 0 2px;
}
.page_head .nav {
clear: both;
margin: 0 auto;
padding: 0;
font-size: 14px;
width: 100%;
background-color: transparent;
}
/* Without geolocation do not show "Pobliz" tab */
#container .page_head .nav a {
min-width: 40px;
display: inline-block;
width: 50%;
margin: 0;
padding: 0;
border: 0;
}
/* With geolocation */
.with_geo #container .page_head .nav a {
width: 33.3%;
}
.with_geo #container .page_head .nav .nearest {
display: inline;
}
.page_head .nav .in {
padding: 12px 0 10px;
display: block;
color: #fff;
text-shadow: 1px 1px 0 #666;
font-weight: bold;
text-align: center;
background-color: rgba(249, 233, 208, .5);
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
border-radius: 6px 6px 0 0;
margin-right: 2px;
margin-bottom: 2px;
}
/*#container .page_head .nav a:hover .in,*/
#container .page_head .nav a:focus .in,
#container .page_head .nav b a .in {
color: #232017;
text-shadow: 1px 1px 0 #fff;
background-color: rgb(249, 233, 208);
padding: 12px 0 12px;
margin-bottom: 0;
}
.page_head .nav #blog {
position: relative;
}
.page_head .nav #blog .count {
width: 20px;
height: 20px;
overflow: hidden;
position: absolute;
left: 50%;
top: -10px;
margin-left: 20px;
}
/* Content
- total width: 296px
*/
.content {
padding: 16px 12px 22px 12px;
-webkit-border-bottom-left-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
border-radius: 0 0 6px 6px;
min-height: 300px;
}
/* Custom focus outline color */
.content :focus,
.content :active {
outline-color: rgb(239, 102, 0);
}
/* Custom text selection color */
.content ::selection
{ background: rgba(239, 102, 0, 0.5); }
.content a
{ color: #f30;}
.content a:hover,
.content a:focus,
.content a:active
{ color: #232017;}
.footer {
padding: 4px;
min-height: 17px;
text-align: center;
color: rgb(248, 221, 199);
text-shadow: 1px 1px 0 #b82907;
}
.footer .partner {
display: none;
}
#container #geo_footer {
color: #F9E9D0;
text-shadow: 1px 1px 1px #555;
vertical-align: middle;
}
#container #geo_footer span {
color: #fff;
}
#geo_footer img {
vertical-align: middle;
margin-top: -4px;
}
/* Locality selection drop-down */
.locality_form {
padding: 0;
background-color: transparent;
}
.locality_form .select,
.locality_form .show {
display: block;
}
.locality_form .select select {
-webkit-appearance: none;
display: block;
width: 100%;
padding: 10px 50px 10px 12px;
font-size: 14px;
line-height: 20px;
height: 42px;
border: 1px solid #bca58f;
-webkit-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 1px 1px 0px #757164; /* Webkit on iOS 3.2 */
box-shadow: 1px 1px 0px #757164;
background: #fffefd;
background:
url(../img/mobile/select_bg.png?2) no-repeat right center,
-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffefd), color-stop(100%,#f8dfc4)); /* webkit */
-webkit-background-size:
48px auto,
auto; /* iOS 3.2 + Android */
background-size:
48px auto,
auto;
}
/* List with big items: regions or shops */
.big_list {
padding: 0;
margin: 0 0 14px 0;
}
.big_list li {
list-style-type: none;
padding: 0;
margin: 0;
border: 0;
}
.big_list .item {
display: block;
position: relative;
padding: 5px 4px;
height: 40px;
overflow: hidden;
background: rgb(255, 255, 255);
-webkit-border-radius: 6px;
border-radius: 6px;
margin-bottom: 2px;
color: #232017;
}
.big_list .item .count {
display: inline-block;
position: absolute;
top: 5px;
left: 4px;
width: 38px;
padding: 9px 0;
font-size: 14px;
line-height: 20px;
text-align: center;
vertical-align: top;
-webkit-border-radius: 6px;
border-radius: 6px;
/* Inner bevel */
border: 1px solid #948074;
border-right-color: #e2cab0;
border-bottom-color: #e2cab0;
background: #fffefd; /* fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
.big_list .item .name {
display: inline-block;
font-weight: bold;
margin: 0 20px 0 55px;
font-size: 25px;
line-height: 40px;
vertical-align: top;
white-space: nowrap;
text-decoration: none;
}
.big_list .item .name.multi-colorized {
letter-spacing: -0.5px;
}
.big_list .item .arrow {
position: absolute;
top: 5px;
right: 0px;
width: 70px;
height: 40px;
background: rgb(255,255,255); /* Fallback for others */
background:
url(../img/mobile/sipka.png) no-repeat 43px center,
-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1))); /* Webkit */
-webkit-background-size:
10px auto,
auto; /* iOS 3.2 + Android */
background-size:
10px auto,
auto;
}
.big_list .item .eshop_image {
display: block;
}
/* Shops list */
.big_list.with_shops .item {
padding: 0;
height: 50px;
}
.big_list.with_shops .item .map_link,
.big_list.with_shops .item .eshop_icon {
display: block;
position: absolute;
top: 0px;
left: 0px;
margin: 4px 0 0 4px;
width: 40px; /* Total 42 */
height: 40px; /* Total 42 */
vertical-align: top;
}
.big_list.with_shops .item .map_link small,
.big_list.with_shops .item .eshop_icon small {
display: inline-block;
margin: 0;
width: 40px; /* Total 42 */
height: 40px; /* Total 42 */
overflow: hidden;
background-color: #fbf3e5;
vertical-align: top;
-webkit-border-radius: 6px;
border-radius: 6px;
/* Outer bevel */
border: 1px solid #948074;
border-top-color: #e2cab0;
border-left-color: #e2cab0;
}
.big_list.with_shops .item .icon_legend
{ display: none; }
.big_list.with_shops .item .name_and_distance {
display: block;
height: 36px;
line-height: inherit;
margin: 0px 0px 0px 50px;
padding: 7px 0px 7px 6px;
white-space: nowrap;
}
.big_list.with_shops .item .name {
margin: 0;
font-size: 18px;
line-height: 20px;
}
.big_list.with_shops .item .distance {
color: rgb(35, 32, 23);
font-size: 11px;
line-height: 13px;
}
/* Inactive e-shop icon */
.big_list.with_shops .item .eshop_icon small {
/* Inner bevel */
border: 1px solid #948074;
border-right-color: #e2cab0;
border-bottom-color: #e2cab0;
background: #fffefd; /* fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
/* --- Shop detail and review detail pages --- */
.page_detail .content,
.page_review .content {
padding: 0;
background: transparent;
}
/* Box with wider text
- used in shop detail and review detail
*/
.detail_box {
padding: 16px 23px 8px 23px;
margin: 0;
text-shadow: 1px 1px 0 #fff;
border: 0;
background: #F9E9D0; /* old browsers */
background: -webkit-gradient(linear, left top, left bottom, color-stop(75%,rgb(249, 233, 208)), color-stop(100%,rgb(255, 255, 253))); /* webkit */
}
.detail_box .address_and_web {
font-size: 12px;
line-height: 17px;
margin-bottom: 7px;
}
.detail_box .address {
display: inline-block;
padding: 6px 0;
margin: -3px 4px 0 0;
}
.detail_box .url {
display: inline-block;
padding: 3px 8px;
margin-top: -2px;
vertical-align: top;
color: #f30;
-webkit-border-radius: 6px;
border-radius: 6px;
/* Outer bevel */
border: 1px solid #948074;
border-top-color: #e2cab0;
border-left-color: #e2cab0;
background: #fffefd;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffefd), color-stop(100%, #f8dfc4)); /* OBSOLETE? webkit */
}
.detail_box .url.multi-colorized {
letter-spacing: -0.5px;
}
/* Icons */
.detail_box .icons {
margin: 0 0 14px -3px;
padding: 0;
height: 79px;
}
.detail_box .icons li {
float: left;
width: 51px;
height: 82px;
overflow: hidden;
margin: 0 5px 0 0;
padding: 0;
list-style-type: none;
text-align: center;
}
.detail_box .icons li:last-child {
margin-right: 0;
}
.detail_box .icon {
display: inline-block;
overflow: hidden;
width: 48px; /* Total 50 */
height: 48px; /* Total 50 */
margin: 0 0 6px 0;
vertical-align: top;
-webkit-border-radius: 6px;
border-radius: 6px;
/* Inner bevel */
border-width: 1px;
border: 1px solid #948074;
border-right-color: #e2cab0;
border-bottom-color: #e2cab0;
background: #fffefd; /* fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
.detail_box .icons .legend {
display: inline-block;
font-size: 9px;
line-height: 9px;
}
.detail_box .icons li br {
display: block;
}
.detail_box .map .icon {
/* Outer bevel */
border: 1px solid #948074;
border-top-color: #e2cab0;
border-left-color: #e2cab0;
vertical-align: top;
-webkit-background-size: 50px auto; /* Webkit on iOS 3.2 + Android 2 */
background-size: 50px auto;
}
.detail_box .kytka_summary .icon {
background: #fffefd; /* Fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
.detail_box .map .spendlik_image {
margin: 3px 0 0 1px;
}
.detail_box .price .price_image {
margin: 2px 0 0 1px;
}
.detail_box .delivery .delivery_image {
margin: 4px 0 0 1px;
}
.detail_box .kytka_summary .kytka_image {
margin: 3px 0 0 1px;
}
.detail_box .mnam .mnam_image {
margin: 2px 0 0 1px;
}
.detail_box .delivery .icon {
background: #fffefd; /* Fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
-webkit-background-size: 50px, auto; /* Webkit on iOS 3.2 + Android 2 */
background-size: 50px, auto;
}
.detail_box .mnam .icon {
background: #fffefd url(../img/mobile/icon_mnam.png) no-repeat center center; /* Fallback */
background:
url(../img/mobile/icon_mnam.png) no-repeat center center,
-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
/* Perex */
.detail_box .perex {
clear: both;
margin-bottom: 20px;
}
.detail_box .perex p {
margin-bottom: 0px;
}
/* Ranking summary */
.page_detail .ranking {
position: relative;
padding: 4px;
margin-bottom: 2px;
height: 41px; /* Total 49 */
overflow: hidden;
background-color: #fcf3e6;
-webkit-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: inset 1px 1px 0px #b3a695; /* Webkit on iOS 3.2 */
box-shadow: inset 1px 1px 0px #b3a695;
vertical-align: top;
}
.page_detail .ranking .summary {
margin-left: 54px;
}
.page_detail .ranking .summary h2 {
font-size: 18px;
line-height: 20px;
margin: 3px 0 0 0;
white-space: nowrap;
}
.page_detail .ranking .summary p {
font-size: 11px;
white-space: nowrap;
}
/* Universal ranking flower:
— ranking summary in page detail
- review ranking in page detail and review detail
*/
.kytka {
position: absolute;
top: 4px;
left: 4px;
width: 40px;
height: 40px;
-webkit-border-radius: 6px;
border-radius: 6px;
/* Inner bevel */
border-width: 1px;
border: 1px solid #948074;
border-right-color: #e2cab0;
border-bottom-color: #e2cab0;
background: #fffefd; /* Fallback */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9e9d1), color-stop(100%, #fffefd)); /* OBSOLETE? webkit */
}
.kytka_image {
margin: -1px 0 0 -1px;
}
/* Reviews */
.reviews_box {
text-shadow: 1px 1px 0 #fff;
width: 100%;
}
.reviews_box h2 {
padding: 15px 14px 15px 22px;
margin-bottom: 0;
font-size: 18px;
background: url(../img/mobile/reviews_box_head.png) top left repeat-x; /* new browsers */
}
.reviews_box_content {
padding: 0 14px 30px 14px;
font-size: 18px;
background: rgb(248, 231, 205); /* old browsers */
background: rgba(248, 231, 205, .95);
-webkit-border-bottom-left-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
border-radius: 0 0 6px 6px;
}
.big_list.with_reviews .item {
padding: 0;
height: 50px;
background-color: #fff;
}
.big_list.with_reviews .item .kytka_image {
width: 42px;
height: 42px;
margin-top: -1px;
}
.big_list.with_reviews .item.highlighted {
background-color: #fcf2e6;
}
.big_list.with_reviews .review_container {
padding: 5px 4px;
height: 40px;
display: block;
}
.big_list.with_reviews .name_and_review {
display: block;
margin: 0 0 0 54px;
white-space: nowrap;
color: #232017;
font-size: 11px;
}
.big_list.with_reviews .name {
font-size: 18px;
line-height: 20px;
color: #f30;
margin: 2px 0 0 0;
}
body.cat-vse .big_list.with_reviews .name { color: #232017; }
body.cat-cukrarny .big_list.with_reviews .name { color: #FF0062; }
body.cat-farmy .big_list.with_reviews .name { color: #918f00; }
body.cat-kavarny .big_list.with_reviews .name { color: #7b351c; }
body.cat-lahudky .big_list.with_reviews .name { color: #d97809; }
body.cat-maso .big_list.with_reviews .name { color: #c8000f; }
body.cat-ryby .big_list.with_reviews .name { color: #009faf; }
body.cat-ovozel .big_list.with_reviews .name { color: #00954d; }
body.cat-pekarny .big_list.with_reviews .name { color: #b66100; }
body.cat-restaurace .big_list.with_reviews .name { color: #ff3300; }
body.cat-napoje .big_list.with_reviews .name { color: #1660a3; }
body.cat-temata .big_list.with_reviews .name { color: #232017; }
.big_list.with_reviews .kytka {
background-color: #fcf3e6;
}
.big_list.with_reviews .item.highlighted .arrow {
background: rgb(252,242,230); /* Fallback */
background:
url(../img/mobile/sipka.png) no-repeat 43px center,
-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(252,242,230,0)), color-stop(50%,rgba(252,242,230,1))); /* Webkit */
-webkit-background-size:
10px auto,
auto; /* iOS 3.2 + Android */
background-size:
10px auto,
auto;
}
/* Page review button */
.page_review .ranking_and_date .kytka {
position: static;
display: inline-block;
vertical-align: middle;
background-color: #fcf3e6;
}
.page_review .ranking_and_date .date {
vertical-align: middle;
display: inline-block;
margin-left: 8px;
}
.page_review .detail_box h1 a.multi-colorized {
letter-spacing: -0.5px;
}
/* ==============================================================================
E) Common elements
*/
/* Universal button — for paging anchors etc. */
#container .content .button {
display: block;
padding: 10px 12px 10px 12px;
margin: 0 0 14px 0;
text-align: center;
vertical-align: middle;
font-size: 14px;
line-height: 20px;
border: 1px solid #bca58f;
-webkit-border-radius: 6px;
border-radius: 6px;
color: rgb(35, 32, 23);
background: #fffefd;
/* OBSOLETE? */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffefd), color-stop(100%,#f8dfc4)); /* webkit */
-webkit-box-shadow: 1px 1px 0px #757164; /* Webkit on iOS 3.2 */
box-shadow: 1px 1px 0px #757164;
}
#container .content .button .spinner {
display: inline;
vertical-align: middle;
margin: -3px 0 0 0;
float: left;
visibility: hidden;
}
#container .content .button.loading .spinner {
visibility: visible;
-webkit-animation-name: rotate;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
.content .button .more_img {
margin-left: 3px;
}
/* Paging */
.paging {
padding: 0;
background-color: transparent;
color: inherit;
}
.paging p {
display: block;
}
/* Link on page top */
.top_link {
display: none;
}
/* Spendlik - common icon content for shops list and shop detail */
#container .spendlik_icon {
background: #fffefd url(../img/mobile/spendliky/restaurace.png) no-repeat center; /* Fallback for others */
background-image:
url(../img/mobile/spendliky/stin.png),
-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffefd), color-stop(100%, #f8dfc4)); /* webkit */
background-repeat: no-repeat;
-webkit-background-size:
42px auto,
auto; /* iOS 3.2 + Android */
background-size:
42px auto,
auto;
background-clip: border-box;
background-position:
center,
top left;
}
.spendlik_image {
margin: -1px 0 0 -1px;
}
/* Global loading indicator — spinner with semitransparent layer */
#global_loading {
display: block;
position: absolute;
padding: 20px;
width: 90px; /* 130px */
height: 90px; /* 130px */
top: 40px;
left: 50%;
margin-left: -65px;
z-index: 50;
background: rgb(35, 32, 23);
background-color: rgba(35, 32, 23, .85);
color: rgb(255, 255, 255);
color: rgba(255, 255, 255, .85);
text-align: center;
-webkit-border-radius: 6px;
border-radius: 6px;
font-size: 14px;
display: none;
}
#global_loading .spinner {
display: inline-block;
width: 50px;
height: 50px;
background: url(../img/mobile/spinner_100.png) no-repeat;
-webkit-background-size: 50px auto;
background-size: 50px auto;
margin: 10px 0 8px;
-webkit-animation-name: rotate;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
/* Animation for PNG spinner rotations */
@-webkit-keyframes rotate {
from {-webkit-transform:rotate(0deg);}
to {-webkit-transform:rotate(360deg);}
}
/* ==============================================================================
F) Pages templates
*/
/* Page Blog */
.big_list.with_blogposts .item {
background-color: #fcf2e6;
padding: 0;
height: 50px;
}
.big_list.with_blogposts .highlighted .item {
background-color: #fff;
}
.big_list.with_blogposts .item .name_and_date {
display: block;
margin: 0 0 0 3px;
padding: 9px 4px 5px 10px;
height: 38px;
white-space: nowrap;
}
.big_list.with_blogposts .item .name {
margin: 0 0 0 0;
font-size: 18px;
line-height: 19px;
}
.big_list.with_blogposts .item .date {
color: #232017;
}
.big_list.with_blogposts .arrow {
background: rgb(252,242,230); /* Fallback for others */
background:
url(../img/mobile/sipka.png) no-repeat 43px center,
-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(252,242,230,0)), color-stop(50%,rgba(252,242,230,1))); /* Webkit */
}
.big_list.with_blogposts .highlighted .arrow {
background: rgb(255,255,255); /* Fallback for others */
background:
url(../img/mobile/sipka.png) no-repeat 43px center,
-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1))); /* Webkit */
}
/* Page message (non public shop, 404 etc.) */
.page_message .content {
position: relative;
}
#message_container {
font-size: 14px;
line-height: 19px;
text-shadow: 1px 1px 0 #fff;
position: absolute;
width: 200px;
height: 220px;
top: 50%;
left: 50%;
margin-left: -100px;
margin-top: -140px;
text-align: center;
}
/* Splash before successful geo detection */
#geo_splash {
font-size: 14px;
line-height: 19px;
text-shadow: 1px 1px 0 #fff;
text-align: center;
margin-top: 50px;
}
/* ==============================================================================
III. Not-so-wide smartphones layer (lower than 320px width such as 240x320)
==============================================================================
*/
@media only screen and (max-device-width: 319px) {
/* Partner in head has simpler position here */
.page_head .logo {
float: none;
}
.page_head .partner {
float: none;
text-align: left;
font-size: 10px;
position: static;
}
} /* @media only screen and (max-device-width: 319px) */
/* MOBILE SCUK STYLESHEET (m.scuk.cz)
FOR OTHERS THAN SMARTPHONES
==============================================
Content:
I. Base style layer
A) Minimal reset with basic typography
B) Basic look
(continued in mobile-smart.css)
CSS author:
Martin Michalek, michalek@shortcat.cz
*/
/* ==============================================================================
I. Base style layer
==============================================================================
*/
/* ==============================================================================
A) Minimal reset with basic typography
*/
body {
font-family: "Droid Sans", sans-serif;
font-size: 13px;
line-height: 17px;
color: #232017;
background-color: #faebd5;
margin: 0;
padding: 0;
}
input, textarea, select {
font-family: "Droid Sans", sans-serif;
font-size: 13px;
line-height: 17px;
color: #232017;
}
p, ul, ol, blockquote, table, h1, h2, h3, h4, h5, h6 {
padding-top: 0;
margin-top: 0;
padding-bottom: 0;
}
p, ul, ol, blockquote, table, hr {
margin-bottom: 17px;
}
small, .small {
font-size: 11px;
}
/* HR is section divider here */
hr
{ margin-bottom: 34px;}
a
{ color: #f30;}
a:hover,
a:focus,
a:active
{ color: #232017;}
/* Helpers */
.clear_zero {
clear: both;
font-size: 1px;
line-height: 1px;
}
.hide,
.hide_on_dumb
{ display: none; }
/* ==============================================================================
B) Basic look and layout
*/
/* Page head */
.page_head {
background-color: #f82e00;
padding-top: 10px;
}
.page_head .logo {
margin: 0 0 10px 10px;
}
.page_head .partner {
display: none;
}
.page_head .nav {
margin: 0;
padding: 10px;
background-color: #232017;
color: #9f9584;
font-size: 15px;
line-height: 19px;
}
.page_head .nav li {
list-style-type: none;
margin: 0;
padding: 0;
display: inline;
}
#container .page_head .nav a {
color: #fff;
margin-right: 10px;
padding-right: 10px;
border-right: 2px solid #9f9584;
}
#container .page_head .nav li:last-child a {
border-right: 0;
}
#container .page_head .nav b a {
color: #9f9584;
text-decoration: none;
font-weight: normal;
}
/* Without geolocation do not show "Pobliz" tab */
.page_head .nav .nearest
{ display: none; }
.page_head .logo a img
{ border: 0; }
/* Page content */
.content {
background-color: rgb(249, 233, 208);
}
/* Location select */
.locality_form {
padding: 10px;
background-color: #d6cab6;
}
.locality_form .select,
.locality_form .show {
display: inline;
}
/* Partner MALL in footer is showing here */
.footer .partner {
text-align: center;
}
/* Universal lists */
.big_list {
margin: 0;
padding: 20px 0;
}
.big_list li {
list-style-type: none;
padding: 0;
margin: 0;
border-bottom: 1px solid #d6cab6;
}
.big_list .item {
display: block;
text-decoration: none;
color: #232017;
padding: 7px 10px;
margin: 0;
}
.big_list .name {
font-size: 20px;
line-height: 24px;
text-decoration: underline;
}
.big_list .name_and_distance {
text-decoration: none;
color: #232017;
line-height: 13px;
}
.big_list .name_and_distance .name {
text-decoration: underline;
}
.big_list .item .eshop_image {
display: none;
}
.content .button .spinner {
display: none;
}
/* Detail */
.detail_box {
padding: 10px 10px;
margin-bottom: 20px;
border-bottom: 2px solid #D6CAB6;
}
.detail_box h1 {
font-size: 25px;
line-height: 28px;
margin-bottom: 7px;
}
.detail_box .icons {
margin-left: 0;
padding-left: 0;
}
.detail_box .icons li {
list-style-type: none;
padding: 0;
margin: 0;
vertical-align: middle;
}
.detail_box .icons li br {
display: none;
}
.detail_box .icons li .icon img {
vertical-align: middle;
}
.detail_box .spendlik_icon {
display: inline;
text-decoration: none;
}
/* Reviews */
.reviews_box h2 {
margin-bottom: 0;
padding: 0 10px;
}
.big_list.with_reviews .item .hide_on_smart {
display: none;
}
.big_list.with_reviews .item .review_container {
text-decoration: none;
}
.big_list.with_reviews .item .name_and_review {
color: #232017;
}
.big_list.with_reviews .item .kytka_image {
width: 21px;
height: 21px;
vertical-align: middle;
margin-top: -7px;
}
.ranking_and_date img {
vertical-align: middle;
}
body.cat-vse #container .big_list.with_reviews a b { color: #232017; }
body.cat-cukrarny #container .big_list.with_reviews a b { color: #FF0062; }
body.cat-farmy #container .big_list.with_reviews a b { color: #918f00; }
body.cat-kavarny #container .big_list.with_reviews a b { color: #7b351c; }
body.cat-lahudky #container .big_list.with_reviews a b { color: #d97809; }
body.cat-maso #container .big_list.with_reviews a b { color: #c8000f; }
body.cat-ryby #container .big_list.with_reviews a b { color: #009faf; }
body.cat-ovozel #container .big_list.with_reviews a b { color: #00954d; }
body.cat-pekarny #container .big_list.with_reviews a b { color: #b66100; }
body.cat-restaurace #container .big_list.with_reviews a b { color: #ff3300; }
body.cat-napoje #container .big_list.with_reviews a b { color: #1660a3; }
body.cat-temata #container .big_list.with_reviews a b { color: #232017; }
/* Blog */
.big_list.with_blogposts .name_and_date {
text-decoration: none;
color: #232017;
}
.big_list.with_blogposts .name {
color: #ff3300;
}
/* Paging */
.paging {
padding: 10px;
background-color: #9e9484;
color: #fff;
text-align: center;
}
.paging p {
display: inline;
}
.paging a {
color: #fff;
text-decoration: none;
}
.paging .link {
text-decoration: underline;
}
.paging #prev_btn {
border-right: 2px solid #fff;
margin-right: 7px; /* 10px minus empty char width */
padding-right: 10px;
}
/* Link on page top */
.top_link {
padding: 10px;
background-color: #d7cab7;
color: #fff;
text-align: right;
margin-bottom: 15px;
}
#container .top_link.top a {
color: #fff;
text-decoration: none;
}
.top_link .link {
text-decoration: underline;
}
/* Categories colors */
#container .cat-vse { color: #232017; }
#container .cat-cukrarny { color: #FF0062; }
#container .cat-farmy { color: #918f00; }
#container .cat-kavarny { color: #7b351c; }
#container .cat-lahudky { color: #d97809; }
#container .cat-maso { color: #c8000f; }
#container .cat-ryby { color: #009faf; }
#container .cat-ovozel { color: #00954d; }
#container .cat-pekarny { color: #b66100; }
#container .cat-restaurace { color: #ff3300; }
#container .cat-napoje { color: #1660a3; }
#container .cat-temata { color: #232017; }
body.cat-vse #container a { color: #232017; }
body.cat-cukrarny #container a { color: #FF0062; }
body.cat-farmy #container a { color: #918f00; }
body.cat-kavarny #container a { color: #7b351c; }
body.cat-lahudky #container a { color: #d97809; }
body.cat-maso #container a { color: #c8000f; }
body.cat-ryby #container a { color: #009faf; }
body.cat-ovozel #container a { color: #00954d; }
body.cat-pekarny #container a { color: #b66100; }
body.cat-restaurace #container a { color: #ff3300; }
body.cat-napoje #container a { color: #1660a3; }
body.cat-temata #container a { color: #232017; }
/* Hide elements from smart version */
.spendlik_icon,
.hide_on_dump,
#global_loading {
display: none;
}
/* Snowkidz.cz responsive variant
==============================================
CSS author: Martin Michalek, michalek@shortcat.cz
*/
/* ================================================================================
1) Layout
*/
#container {
width: auto;
max-width: 940px;
}
/* --- Hlavicka --- */
.snowpark_navigation_top .nav {
width: 100%;
}
.snowpark_navigation_top .nav li {
width: 14.285714286%; /* 100/7 polozek */
}
.snowpark_navigation_top .nav li .item,
.snowpark_navigation_top .nav ul > li:first-child .item {
width: 100%;
}
/* --- Hlavni nadpis atd. --- */
.snowpark_main {
height: auto;
padding-bottom: 18px;
}
.snowpark_head {
width: 61.70212766%; /* 580/940*100 */
}
.snowpark_head .head {
margin: 5.1724137931% 0 .1% 5.1724137931%; /* (30px 0 2px 30px) / 580 * 100 */
}
.snowpark_head .tagline {
margin: 0 0 0 5.1724137931%; /* (0 0 0 30px) / 580 * 100 */
}
.snowpark_services {
width: 36.170212766%; /* 340/940*100 */
}
.snowpark_services .head {
margin: 6.7647058824% 0 0.8823529412% 0; /* (23px 0 3px 0) / 340 * 100 */
}
.snowpark_info .weather {
width: 37.5%; /* 360/960*100 */
}
.snowpark_info .actual {
width: 61.70212766%; /* 580/940*100 */
}
/* --- Vybaveni --- */
.snowpark_equipment_list_container {
overflow: hidden;
width: 100%;
}
.snowpark_equipment_list {
width: 100.5%;
}
.snowpark_equipment_list .item,
.snowpark_equipment_list > .item:first-child {
width: 20%; /* 100/5 polozek */
-webkit-box-sizing: border-box; /* <=iOS4, <= Android 2.3 */
-moz-box-sizing: border-box; /* FF1+ */
box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}
.snowpark_equipment_list .item .name {
position: absolute;
bottom: 16px;
left: 10.106382979%; /* 19/188*100 */
padding: 6px 0;
text-align: center;
width: 77.659574468%; /* 146/188*100 */
}
/* --- Kontakty a instruktori --- */
.snowpark_contacts_and_insctructors {
background-size: 33.29787234% auto; /* 313/940*100 */
}
.snowpark_contacts {
width: 33.191489362%; /* 312/940*100 */
}
.snowpark_contacts .map img {
width: 100%;
height: auto;
}
.snowpark_instructors {
width: 66.70212766%; /* 627/940*100 */
}
/* --- Partneri a FB --- */
.snowpark_partners_and_motivator {
background-size: 100% auto; /* 313/940*100 */
}
.snowpark_partners {
width: 66.70212766%; /* 627/940*100 */
}
.snowpark_partners .content {
padding-right: 2.4232633279%; /* 15/619*100 */
margin-right: 1%;
}
.snowpark_motivator {
float: right;
width: 32.085106383%; /* 311/940*100 */
margin: 0;
-webkit-box-sizing: border-box; /* <=iOS4, <= Android 2.3 */
-moz-box-sizing: border-box; /* FF1+ */
box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment