fix
[edumed.git] / edumed / static / css / base.scss
1 @import url(http://fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext);
2
3 $px: .0625em;
4 $oranji: #ed7831;
5 $ciemny: #363a3e;
6 $zielony: #16a487;
7
8
9 a {
10     text-decoration: none;
11     color: $oranji;
12     img {
13         border: 0;
14         padding: 0;
15     }
16 }
17
18 body {
19     font-family: Dosis;
20     margin: 0;
21     background: white;
22     color: $ciemny;
23 }
24 .clr {
25     clear: both;
26 }
27 #header-wrapper {
28     background-image: url(../img/header-bar.png);
29     background-repeat: repeat-x;
30     background-position: 0 100%;
31 }
32 header.main {
33     margin: 0 auto 23*$px;
34     width: 940*$px;
35     padding: 29*$px 10*$px 0;
36
37     #header-top {
38     }
39
40     #logo {
41         float: left;
42         margin-bottom: 20*$px;
43         img {
44             vertical-align: middle;
45         }
46     }
47     #organizer {
48         float: right;
49         font-size: .75em;
50         color: #777;
51         
52         img {
53             margin-top: .5em;
54         }
55     }
56
57
58
59     nav {
60         ul {
61             padding: 0;
62             position: absolute;
63             left: 15em;
64         }
65         li {
66             list-style: none;
67             display: inline-block;
68             text-transform: uppercase;
69             margin: 0 .5em;
70             text-align: center;
71             /*position:relative;*/
72         }
73         a {
74             color: $ciemny;
75             display: block;
76             vertical-align: bottom;
77             font-size: .85em;
78         }
79         a:hover {
80             color: $oranji;
81         }
82
83         a:before {
84             content: " ";
85             display: block;
86             margin-bottom: .8em;
87             width: 44*$px;
88             height: 34*$px;
89             text-align:center;
90             margin: auto;
91             margin-bottom: .8em;
92         }
93         .menu-lekcje:before { background: url(../img/menu/lekcje.png) no-repeat 0 0; background-size: 100%;}
94         .menu-kompetencje:before { background: url(../img/menu/katalog.png) no-repeat 0 0; background-size: 100%;}
95         .menu-wspolpraca:before { background: url(../img/menu/wspolpraca.png) no-repeat 0 0; background-size: 100%;}
96         .menu-szkolenia:before { background: url(../img/menu/szkolenia.png) no-repeat 0 0; background-size: 100%;}
97         .menu-wesprzyj:before { background: url(../img/menu/wesprzyj.png) no-repeat 0 0; background-size: 100%;}
98         .menu-o-nas:before { background: url(../img/menu/o-nas.png) no-repeat 0 0; background-size: 100%;}
99         .menu-kontakt:before { background: url(../img/menu/kontakt.png) no-repeat 0 0; background-size: 100%;}
100         .menu-lekcje:hover:before { background: url(../img/menu/lekcje_active.png) no-repeat 0 0; background-size: 100%;}
101         .menu-kompetencje:hover:before { background: url(../img/menu/katalog_active.png) no-repeat 0 0; background-size: 100%;}
102         .menu-wspolpraca:hover:before { background: url(../img/menu/wspolpraca_active.png) no-repeat 0 0; background-size: 100%;}
103         .menu-szkolenia:hover:before { background: url(../img/menu/szkolenia_active.png) no-repeat 0 0; background-size: 100%;}
104         .menu-wesprzyj:hover:before { background: url(../img/menu/wesprzyj_active.png) no-repeat 0 0; background-size: 100%;}
105         .menu-o-nas:hover:before { background: url(../img/menu/o-nas_active.png) no-repeat 0 0; background-size: 100%;}
106         .menu-kontakt:hover:before { background: url(../img/menu/kontakt_active.png) no-repeat 0 0; background-size: 100%;}
107
108     }
109
110     #tagline {
111         clear: both;
112         float: left;
113         background-color: white;
114         /* Extend padded background .*/
115         padding: 0 10*$px;
116         margin-left: -10*$px;
117         font-size: .9em;
118         color: $ciemny;
119     }
120     #search {
121         float: right;
122         background-color: white;
123         /* Extend padded background .*/
124         padding: 2px 10*$px 0;
125         margin-right: -10*$px;
126     }
127 }
128
129
130 #content {
131     width: 940 * $px;
132     padding: 0 10 * $px;
133     margin: auto;
134     position: relative;
135 }
136
137
138 footer.main {
139     clear: both;
140     border-top: 1px solid #c9ccce;
141     width: 940 * $px;
142     padding: .2em 10 * $px;
143     margin: 40*$px auto 0 auto;
144     color: #9a9c9e;
145
146     .footer-item {
147         float: left;
148         margin-right: 20 * $px;
149         width: 220 * $px;
150         p {
151             font-size: .75em;
152         }
153     }
154     .sponsors-column {
155         float: left;
156         margin-left: 20 * $px;
157         width: 100 * $px;
158         p {
159             font-size: .75em;
160         }
161     }
162 }
163
164
165 #search {
166     font-size: .8em;
167
168     input, button {
169         font-family: Dosis;
170         font-size: .9em;
171         vertical-align:bottom;
172         border: 1px solid #c9ccce;
173         padding: 0;
174         margin: 0;
175         line-height: .9em;
176     }
177     input {
178         border-right-width: 0;
179         height: 16px;
180         width: 16em;
181         padding-left: 1.3em;
182     }
183     button {
184         height: 18px;
185         width: 1.8em;
186         span {
187             position:relative;
188             top: -1px;
189         }
190     }
191
192     input::-webkit-input-placeholder {
193         text-transform: uppercase;
194     }
195     input:-moz-placeholder {
196         text-transform: uppercase;
197     }
198     input::-moz-placeholder {
199         text-transform: uppercase;
200     }
201     input::-ms-placeholder {
202         text-transform: uppercase;
203     }
204
205 }
206
207
208 .link-list {
209     list-style: none;
210     padding: 0;
211
212     li {
213         margin-bottom: .5em;
214     }
215
216     a:before {
217         content: "→";
218         margin-right: .5em;
219     }
220     a {
221         color: $ciemny;
222     }
223     a:hover {
224         color: $oranji;
225     }
226 }
227 .plain {
228     margin: 0;
229     padding: 0;
230     list-style: none;
231     li {
232         margin: 1em 0;
233     }
234 }