-
Notifications
You must be signed in to change notification settings - Fork 0
/
myCss.css
282 lines (226 loc) · 5.58 KB
/
myCss.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
/* reset margins */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, ol, ul, li,
blockquote, pre, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, section, summary, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* setup body */
body {
line-height: 1.1; /*odstup mezi radky*/
font-family: Georgia, serif;
font-size: 14pt;
background: linear-gradient( #bebfbf, #eeeeee );
}
p {
text-align:justify;
padding: 0px 15px;
font-size: 90%;
}
.separateParagraphs p{
padding: 10px 15px;
}
/* reasonable starting margins */
p, h1, h2, h3, h4, h5, h6, ol, ul, li { margin: 5pt; }
li { margin-left: 2em; }
/* setup headings */
h1, h2, h3, h4, h5, h6 {
line-height: 1;
font-family: Tahoma, Verdana, sans-serif;
font-weight: bold;
}
h1 { font-size: 200%; }
h2 { font-size: 180%; }
h3 { font-size: 160%; }
h4 { font-size: 140%; }
h5 { font-size: 120%; }
h6 { font-size: 100%; }
a {
color: black;
}
/*-------------------------------------------------------------*/
/* Container setting for the page.
Auto margin keeps the page centered in the browser when the browser
size is adjusted. */
#container {
border: 1px solid black;
width: 900px;
height: auto;
margin: auto; /*keeps page centered*/
background-color:#F6F6F6;
-moz-box-shadow: 15px 7px 40px 4px #737575;
-webkit-box-shadow: 15px 7px 40px 4px #737575;
-o-box-shadow: 15px 7px 40px 4px #737575;
box-shadow: 15px 7px 40px 4px #737575; /*shadow*/
}
#header {
box-shadow: 5px 7px 5px 4px #737575; /*shadow*/
position: relative; /* pozicovany podle containeru*/
width: 900px;
height: 200px;
background-image: url('images/header.png');
}
#menubar {
height: 50px;
width: 900px;
margin: auto;
}
#mainbody {
padding: 0px;
width: 594px;
height: auto;
margin: auto;
border-top: 0px;
}
#mainbody h1 {
padding: 15px 20px;
}
#mainbody h6 {
padding: 15px 40px;
}
/*------------------------------------------------------------
MENULINKS */
.menulink {
text-align: center;
height: 60px;
background: linear-gradient( #bebfbf, #eeeeee );
background-color: grey;
}
.menulink ul {
padding: 10px;
margin: auto; /*outside*/
margin-top: 10px;
}
.menulink ul li {
padding: 10px 10px 5px 10px; /*inside the window*/
margin: 0px 20px 0px 0px; /*20 pixels between individual words*/
list-style-type: none; /*turn bullets off*/
display: inline; /*budou vedle sebe*/
background-color: #ebebeb;
border: 1px solid white;
border-radius: 8px;
box-shadow: 2px 2px 2px #555, inset 0 25px 20px -10px rgba(255, 255, 255, 0.3),
inset 0 -15px 20px -10px rgba(0, 0, 0, 0.15);
transition: background-color .5s ease;
}
.menulink ul li a {
text-decoration: none; /* bez podtrhavani*/
font-size: 26px;
padding: 5px; /*all the way around*/
width: 120px;
}
.menulink li:hover {
background: linear-gradient(-45deg, #afafaf, #e4e5e5);
}
/* ---------------------------------------------------------------------*/
#lmargin{
float: left;
margin-top: 50px;
margin-bottom: 50px;
height: auto;
width: 140px;
}
#rmargin {
float: right;
margin-top: 50px;
margin-bottom: 50px;
height: auto;
width: 140px;
}
/*---------------------------------------------------------------------
left menu */
.lvmenu {
text-align: left;
float: left;
height: auto;
width: 152px;
margin: -30px 3px;
}
.lvmenu ul {
list-style-type: none;
margin: auto;
}
.lvmenu ul li {
position:relative;
}
.lvmenu li {
padding: 5px;
margin: auto;
background-color: #ebebeb;
border: 1px solid white;
margin-top: 1px;
border-radius: 8px;
}
.lvmenu a {
text-decoration: none;
display:block; /*budu moct klikat na cely button, nejen na text*/
}
.lvmenu li:hover {
background-color: #afafaf;
transition: background 1s linear 0s, color 1s linear 0s;
box-shadow: 2px 2px 2px 2px #737575;
}
/*Within our parent UL, set the position of any child UL to absolute.
Set the display property to 'none'. This hides the drop-down menu,
which can be brought back into sight when its parent list item is hovered.*/
.lvmenu ul ul{
position:absolute;
display:none;
}
.lvmenu ul li:hover ul{
width:100%;
position:absolute;
display:block;
left:151px;
top:-2px;
}
/* vysouvaci menu*/
.lvmenu li ul li{
background-color: #d2d3d3;
}
.lvmenu li:hover{
opacity: 1;
transition: background 1s linear 0s, color 1s linear 0s;
/*transition: all 1s ease-out;*/
}
/*----------------------------------------------------------*/
/*--------------------------------------------------------
FOOTER*/
footer {
clear: both; /* bez toho by to bylo pod mainbody; takle to zabere celou sirku containeru*/
height: 50px;
background: linear-gradient( #F6F6F6, #c4c5c5);
position: relative;
width: 100%;
bottom: 0;
}
footer div {
float: right;
padding: 20px 10px;
}
/*---------------------------------------------*/
/*--------------------------------------------------
MAINBODY*/
.intext {
padding-left: 50px;
}
.tucne {
font-weight: 700;
font-size: 90%;
}
.uvod {
font-style: italic;
padding-top: 15px;
}
#rozestupy p, h5 {
padding-top: 15px;
}
h5 {
padding: 25px 15px 0px;
}
/*------------------------------------------------------*/