@import url('font/stylesheet.css'); @import url('font2/stylesheet.css'); @import url('reset.css'); @import url('../fancybox/fancy.css'); /* studiofabryka.pl mc, niedzwiedz, 29 sept 2011 */ /* --- classes, constants */ .full { position:relative; width:100%; float:left; } .border(@radius) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } ::-moz-selection {color: #3F140E; background: #B38B50;} ::selection {color: #3F140E; background: #B38B50;} body {font-family: Georgia, times, serif; background:#FFF7E8;} .font { font-family: 'AdobeGaramondProItalic'; font-weight: normal; } .font2 { font-family: 'AdobeGaramondProRegular'; font-weight:normal; } /* colors */ @db: #39110b; @lb: #e3c194; @mb: #3a2c2b; @link: #884f0b; @linkhover: #B56305; /* --- Typography */ .info p, .info a { .font2; color: @db; font-size:19px; line-height:1.2em; } .info a:hover {color:@linkhover;} nav a { .font; color:@lb; font-style:normal; font-weight:normal !important; font-size:15px; text-transform: uppercase; } h1, h2, h3, h4, h5 { .font2; font-style:italic; color: @db; } h1 {font-size:41px;} h2 {font-size:18px;} h3 {font-size:21px;} h4 {font-size:18px;} h5 {font-size:15px;} h1 {line-height:2.5em;} h2 { .font; font-style: normal; font-weight:bold; line-height:2em; text-transform: uppercase; } article { h2, h3, h4, h5 { text-transform: none; line-height:2.5em; font-weight:normal; } h2 { font-size:24px; } li, td { color: @mb; font-size:12px; line-height:1.5em; } td p {padding-bottom:0;} ul, ol, p {padding-bottom:1em;} ul li {list-style: disc inside;} ol li {list-style: decimal inside;} } p { color: @mb; font-size:12px; line-height:1.5em; } .more { .font2; font-size:9px; text-transform:uppercase; } article a { color: @link; &:hover {text-decoration: underline;} } /* --- Basic */ .content, footer { width:946px; margin:0 auto; } header, article, footer {.full;} .bgleft { background:url(../images/bg-left.jpg) top repeat-x; float:left; position: relative; z-index:10; width:50%; height:692px; } .bgright { background:url(../images/bg-right.jpg) top repeat-x; float:left; position: relative; z-index:10; width:50%; height:692px; } #all { float:left; position: absolute; top:0; left:0; z-index:20; width:100%; height:692px; background:url(../images/bg.jpg) top no-repeat; } header {height:354px;} article {min-height:338px;} footer { background: url(../images/footer.jpg) top no-repeat; height:130px; } /* --- Header */ .info { float:right; margin:50px 25px 0 0; } .slideshow { width:471px; height:332px; overflow: hidden; position: absolute; z-index:10; top:93px; right:-5px; background: transparent none !important; img {background: transparent none !important;} } nav { float:left; margin:135px 0 0 0; li { float:left; a { line-height:1.8em; padding:5px 10px; } } a:hover, .current a { background:#602D26; } } .logo { float:left; clear:left; margin-top:35px; } /* --- Article */ section { float:left; width:650px; } .news { float:left; width:285px; border-right:1px solid #ebe0d1; padding-right:10px; margin-right:25px; } .sub .news { width:100%; border-right:0; padding-right:0; margin-right:0; border-top:1px solid #ebe0d1; padding-bottom:15px; } .sub #news .news:first-child {border:0;} .more { float:right; padding:5px 12px 5px 0; background: url(../images/arrow.png) right no-repeat; color:@db; &:hover { color:@linkhover; text-decoration: none; } } /* --- footer */ .madeby { float:right; margin-top:65px; strong { float:left; margin:4px; font:10px/1 Tahoma, arial, sans-serif; color:#333; } } /* --- Gallery */ .gallery { margin-top:5px; width:101%; ul { margin:0; padding:0; width:100%; float:left; } li { list-style:none; padding:0; float:left; margin:0; width:218px; height:147px; position: relative; background: url(../images/gal-bg.png) 0 0 no-repeat; } img { position: absolute; top:1px; left:6px; } li:first-child {margin-left:0;} } .gi { ul {margin-bottom:5px;} strong { position: absolute; bottom:0px; left:0; width:100%; text-align:center; } li {height:160px;} } /* --- other */ table { margin:15px auto; border-collapse:separate; border-spacing:2px; td { padding:5px; border:1px solid @linkhover; } tr:first-child td { font-weight:bold; border:1px solid @link; } tr:hover td {background: #ddd;} } #main ul li { list-style:disc inside; margin-left:20px; } #main ol li { list-style:decimal inside; margin-left:20px; } /* --- Formularz */ section.form { border-top:1px dashed #999; padding-top:10px; } #contact-form { float:right; clear:right; width:100%; margin:5px 0; } fieldset { float:left; width:60%; } fieldset:first-child {width:40%;} .subject {display:none;} label { float:left; width:100%; margin:3px 0; } label span { float:left; width:100%; color: #333; font-size:12px; padding:3px; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; } textarea { width:97%; height:110px; } form button { float:right; background: @db; color: #fff; font-size:13px; font-weight:bold; padding:5px 10px; .border(5px); margin-right:5px; } form #error, form #ok { display:none; float:left; padding:7px 10px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; background: #ff0000; margin-left:5px; color: #fff; font-weight:bold; font-size:13px; } form #ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } .mapa { float:right; margin-bottom:15px; small { font-size:10px; } } /* --- download */ #download { li { float:left; clear:left; padding:5px 0; margin-left:20px; padding-left:20px; list-style:none; background: url(../images/Download.png) 0 6px no-repeat; } a { font-size:12px; color: @link; text-shadow:1px 1px 0 #eee; &:hover { color:@linkhover; } } .typPliku {color:@mb;} } .noborder { td {border:0 !important;} tr:hover td {background: none;} td a:hover img { opacity:.9; filter:alpha(opacity=90); } }