-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
67 lines (57 loc) · 1.48 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.switch_img {
width: 120px;
height: 120px;
} /* velikost obrazku */
.napisimg {
height: 28px;
width: 306px;
margin-top: 30px;
} /* velikost napisu */
body {
background: url("pozadi.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
overflow-x: hidden;
color: white;
font-family: 'Calibri light';
} /* nastavení pozadi na celem tele stranky */
.stred {
background: url("pruhledne.png");
min-height: 450px;
max-width: 800px;
left: 50%;
right: 50%;
padding: 5px;
top: 50%;
margin-top: 8px;
} /* nastavení stredniho pruhledneho panelu */
#napis {margin-top: 60px;} /* odrazeni napisu od hora 60px */
.sekce {
clear: both;
padding: 0px;
margin: 0px;
} /* posazeni na stred */
/* nastavení sloupce */
.col {
display: block;
float: left;
margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }
/* skupiny */
.skupina:before,
.skupina:after { content: ""; display: table; }
.skupina:after { clear: both;}
.skupina { zoom: 1; /* pojisteni pro starsi prohlizece */ }
/* Nastaveni velikosti pro jednotlivy item */
.span_1_of_3 { width: 32.26%; }
/*
.span_2_of_3 { width: 66.13%; }
.span_1_of_3 { width: 32.26%; }
*/
/* responzivní design, na zarizenich mensich nez 480px se preskladaji pod sebe */
@media only screen and (max-width: 480px) {
.col { margin: 5% 0 5% 0%; }
.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }