initial commit
[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         margin-top: 1.3em;
50     }
51
52
53
54     nav {
55         ul {
56             padding: 0;
57             position: absolute;
58             left: 15em;
59         }
60         li {
61             list-style: none;
62             display: inline-block;
63             text-transform: uppercase;
64             margin: 0 .5em;
65             text-align: center;
66             /*position:relative;*/
67         }
68         a {
69             color: $oranji;
70             display: block;
71             vertical-align: bottom;
72             font-size: .85em;
73             
74         }
75         a:hover {
76             color: $ciemny;
77         }
78         a:before {
79             display: block;
80             margin-bottom: .8em;
81         }
82         .menu-lekcje:before { content: url(../img/menu/lekcje.png);}
83         .menu-kompetencje:before { content: url(../img/menu/katalog.png); }
84         .menu-wspolpraca:before { content: url(../img/menu/wspolpraca.png);}
85         .menu-szkolenia:before { content: url(../img/menu/szkolenia.png); }
86         .menu-wesprzyj:before { content: url(../img/menu/wesprzyj.png);}
87         .menu-o-nas:before { content: url(../img/menu/o-nas.png); }
88         .menu-kontakt:before { content: url(../img/menu/kontakt.png); }
89         .menu-lekcje:hover:before { content: url(../img/menu/lekcje_active.png);}
90         .menu-kompetencje:hover:before { content: url(../img/menu/katalog_active.png); }
91         .menu-wspolpraca:hover:before { content: url(../img/menu/wspolpraca_active.png);}
92         .menu-szkolenia:hover:before { content: url(../img/menu/szkolenia_active.png); }
93         .menu-wesprzyj:hover:before { content: url(../img/menu/wesprzyj_active.png);}
94         .menu-o-nas:hover:before { content: url(../img/menu/o-nas_active.png); }
95         .menu-kontakt:hover:before { content: url(../img/menu/kontakt_active.png); }
96
97
98     }
99
100     #tagline {
101         clear: both;
102         float: left;
103         background-color: white;
104         /* Extend padded background .*/
105         padding: 0 10*$px;
106         margin-left: -10*$px;
107         font-size: .9em;
108         color: $ciemny;
109     }
110     #search {
111         float: right;
112         padding: 0 10*$px;
113         background-color: white;
114         /* Extend padded background .*/
115         padding: 0 10*$px;
116         margin-right: -10*$px;
117     }
118 }
119
120
121 #content {
122     width: 940 * $px;
123     padding: 0 10 * $px;
124     margin: auto;
125     position: relative;
126 }
127
128
129 footer.main {
130     clear: both;
131     border-top: 1px solid #c9ccce;
132     width: 940 * $px;
133     padding: .2em 10 * $px;
134     margin: 40*$px auto 0 auto;
135     color: #9a9c9e;
136
137     .footer-item {
138         float: left;
139         margin-right: 20 * $px;
140         width: 220 * $px;
141         p {
142             font-size: .75em;
143         }
144     }
145     .footer-item-half {
146         float: left;
147         margin-right: 20 * $px;
148         width: 100 * $px;
149         p {
150             font-size: .75em;
151         }
152     }
153 }