@import url('reset.css'); @import url('font/stylesheet.css'); /* studiofabryka.pl mc, joker, 27 paz 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: white; background: #157cee;} ::selection {color: white; background: #157cee;} body { font-family: 'Trebuchet MS', Tahoma, Arial, sans-serif; color:@color1; } .font-r {font-family: 'UbuntuRegular';} .font-m {font-family: 'UbuntuMedium';} /* colors */ @color1: #333333; /* text, ciemny szary*/ @color2: #175589; /* nagłówki, more, linki, niebieski */ @color3: #575757; /* drużyny (mecze), dodatki - jasny szary */ @color4: #ff0000; /* versus, normalny czerwony */ /* --- Basic */ body {background: white url(../images/bg.jpg) top no-repeat; font-family: Tahoma, arial, helvetica, sans-serif;} body.sub {background: white url(../images/sub-bg.jpg) top no-repeat;} header, article, footer, .main {.full;} .content { position: relative; margin:0 auto; width: 930px; } /* --- Typography */ a:hover img { opacity:.9; filter:alpha(opacity=90); } h1, h2, h3, h4, h5 {font-weight:normal;} h1 { text-shadow: 1px 1px 1px #2467a0; font-size:23px; color:white; .font-m; } h2, h3, h4, h5 { text-shadow: 1px 1px 1px #c2c2c2; color:@color2; a {color:@color2;} } h3, h4, h5 {.font-r;} h2 { text-transform: uppercase; font-size:20px; .font-m; } h3 {font-size:20px;} h4 {font-size:17px;} h5 {font-size:14px;} small { font-size:10px; color: @color1; } p, #main ul, #main ol { font: 12px/1.3 Arial, Helvetica, sans-serif; padding-bottom:1em; color:@color1; } .more { float:right; color:@color2; font-size:10px; font-weight:bold; padding-right:12px; text-transform: uppercase; background: url(../images/more-ico.png) right no-repeat; } .newsarch { color:@color2; .font-m; float:right; font-size:11px; text-transform: uppercase; padding:5px 0 5px 22px; background: url(../images/archiwum-ico.png) 0 1px no-repeat; } .more:hover, .newsarch:hover, h3 a:hover { opacity:.8; filter:alpha(opacity=80); } nav { .lvl1 > li > a { text-shadow: 1px 1px 3px #acacac; text-transform: uppercase; font-size:14px; color:@color2; .font-m; } .lvl2 > li > a { .font-m; font-size:13px; color:@color2 /1.1; padding:5px 0 5px 40px; } .lvl3 a { .font-r; font-size:11px; color: @color1; padding:5px 0 5px 55px; } a:hover, .current > a { color:@color2 *1.6 !important; } } .game { text-align: center; .type { .font-r; color:black; width: 100%; font-size:14px; text-transform: uppercase; background: url(../images/mecz-ico.png) 0 0 no-repeat; } .team { font: 11px/1.1 Arial, Helvetica, sans-serif; color:@color3; } .vs { font: 9px/1.3 Arial, Helvetica, sans-serif; color:@color4; } .when { font:bold 9px/1.2 Arial, Helvetica, sans-serif; color:@color2; } } /* --- Header */ header { h1 {margin:12px 0;} .logo1, .logo2 { float:left; } .logo2 {margin-left:30px;} } .slideshow { float:left; margin:0 0 0 -29px; width:988px; height:250px; overflow: hidden; } .sub header {height:170px;} /* --- Article */ article { padding:20px 0 0 0; } aside { float:left; width:315px; padding:0 12px; margin-left:0px; background: #f7f7f7; } nav { ul { float:left; width:100%; overflow: hidden; ul { padding:3px 0; } } .lvl1 > li { float:left; clear:left; margin:3px 0; width:290px; background: url(../images/menu-bg.png) 0 0 no-repeat; } .lvl1 > li > a { background: url(../images/menu-ico.png) 5px 1px no-repeat; width:290px; height:25px; padding-left:40px; display:block; line-height:1.9em; float:left; } a {cursor: pointer;} } .adv { float:left; width:100%; text-align:center; margin:15px 0; a { display:inline; margin:2px; img { border:1px solid #ccc; } } } .minigal { float:left; width:100%; padding-bottom:3px; background: #f4f4f4; border:1px solid #ccc; h2 { margin:10px 8px; } li {float:left; margin:6px;} a, img {float:left;} a:hover img { opacity:.8; filter:alpha(opacity=80); } } .sections { float:left; width:568px; margin-left:10px; } section { float:left; width:100%; } .news { float:left; width:100%; margin: 0 0 25px 0; img { float:left; margin:0 10px 0 0; } h3 { line-height:1.5em; } } #news .last {border-bottom:1px solid #ccc; padding-bottom:20px; margin-bottom:10px;} #lid .newsimg {float:left; margin-right:10px;} .games { background: #e8e8e8; margin:15px 0; padding:10px; width:548px; h2 {padding-bottom:8px;} .game { float:left; width:166px; height:110px; padding:6px 8px; background: url(../images/mecz-bg.png) 0 0 no-repeat; } .type {padding:8px 0; margin-bottom:5px;} .team {width:100%;} .vs {margin-bottom:3px;} .when {margin-top:3px;} .team, .vs, .when {float:left; width:100%;} } /* --- SUB styles */ .sub { .path { margin-bottom:10px; li {float:left; padding:0 2px;} li, a {font-size:10px;} a { font-weight:bold; color:@color2; &:hover {color:@color2 *1.5;} } } //path .sections > h2 { .font-r; font-size:32px; text-transform: none; line-height:1.3em; padding-bottom:10px; } .sections { a { color:@color2; &:hover {text-decoration: underline;} } h2, h3, h4, h5 {margin:.8em 0 .5em 0;} } } // sub end /* --- footer */ footer { height:153px; background: url(../images/footer-bg.jpg) top no-repeat; } .sponsors { float:left; width:100%; position:relative; .prev, .next {position: absolute; top:45px;} .prev {left:15px;} .next {right:15px;} .slider { float:left; margin:30px 0 0 45px; width:90% !important; text-align:center; div {float:left; width:100% !important; text-align: center;} a {display:inline !important; margin:0 15px;} img {max-height:50px !important;} } } .madeby { float:right; margin:30px 20px; color: white; img {float:left;} strong { color: #333; font-weight:normal; font-size:10px; float:left; margin:3px 3px 0 0; } } /* --- Gallery */ .gallery { margin-top:15px; width:101%; float:left; ul { margin:0; padding:0 !important; width:100%; float:left; } li { list-style:none !important; float:left; margin:0 0 8px 5px !important; position: relative; padding:0 10px 12px 0 !important; background: url(../images/img-bg.jpg) bottom right no-repeat; } img { float:left; border:0; padding:0; } a:hover img { opacity:.9; filter:alpha(opacity=90); } li:first-child {margin-left:0 !important;} h2 { color:white; text-transform: uppercase; font-size:12px !important; margin-bottom:5px; padding:0 !important; } } .gi { ul {margin-bottom:5px;} strong { float:left; width:100%; margin-top:5px; text-align:center; font-size:11px; line-height:1.2em; font-weight:normal; } li {height:115px; width:177px;} img {width:177px;} } /* --- other */ table { margin:15px auto; border-collapse:separate; border-spacing:2px; td { padding:5px !important; border:1px solid #ccc; font-size:12px; } td p {padding:0 !important;} tr:first-child td { font-weight:bold; border:1px solid #aaa; } tr:hover td {background: white;} } #main ul li { list-style:disc inside; margin-left:20px; } #main ol li { list-style:decimal inside; margin-left:20px; } /* --- Formularz */ .form { border-top:1px dashed #ccc; float:left; width:96%; margin-top:15px; padding-top:15px; } #contact-form { float:right; width:100%; padding-bottom:15px; } fieldset:first-child {width:40%;} fieldset { float:left; width:60%; } .subject {display:none;} label { float:left; width:100%; margin:3px 0; } label span { float:left; width:100%; color: @color1; font-size:12px; padding:3px; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; .border(5px); } textarea { width:97%; height:110px; } #contact-form button { float:right; background: @color2; color: white; font-size:13px; font-weight:bold; padding:5px 10px; .border(5px); } form #error, form #ok { display:none; float:left; padding:7px 10px; background: #ff0000; margin-left:5px; color: #fff; font-weight:bold; font-size:13px; .border(5px); } form #ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } .mapa { float:right; margin-bottom:15px; small { font-size:10px; color:@color1; a { color: @color2 !important; &:hover {color:@color2 /2 !important;} } } } /* --- download */ #download { margin:10px 0; float:left; border-top:1px dashed #ccc; width:96%; li { float:left; clear:left; padding:3px 0; margin-left:20px; padding-left:20px; list-style:none !important; background: url(../images/download.jpg) 0 4px no-repeat; } a { font-size:12px; color: @color1 !important; &:hover { color: #ccc !important; text-decoration:none !important; } } .typPliku {color:#999;} } /* --- zawodnicy */ .zawodnicy { padding-bottom:15px; li { width:95px !important; margin:0 0 11px 11px !important; border:1px solid #ccc; padding:3px !important; .border(2px); background: #f2f2f2; } img { max-width:95px; float:left; .border(2px); } strong { float:left; font-weight:normal; font-size:11px; width:100%; text-align: center; padding:5px 0; } } /* --- paginator */ #pages-container { float:left; width:100%; #pages { float:left; width:100%; text-align: center; padding:0 !important; * { font-size:12px; display:inline; float: none !important; } a, span { padding:0 5px; } a {cursor:pointer;} } } .jPag-current {color: #999;}