Revize d668e889
Přidáno uživatelem Adam Mištera před asi 4 roky(ů)
resources/sass/_custom.scss | ||
---|---|---|
14 | 14 |
|
15 | 15 |
.carousel { |
16 | 16 |
.carousel-inner { |
17 |
img { |
|
18 |
filter: grayscale(100%); |
|
17 |
.museum-logo { |
|
18 |
display: flex; |
|
19 |
justify-content: center; |
|
20 |
position: absolute; |
|
21 |
top: 5%; |
|
22 |
width: 100%; |
|
23 |
z-index: 1; |
|
24 |
} |
|
25 |
|
|
26 |
.social-logo { |
|
27 |
text-align: center; |
|
28 |
justify-content: space-between; |
|
29 |
flex-wrap: nowrap; |
|
30 |
position: absolute; |
|
31 |
top: 25%; |
|
32 |
padding-left: 25px; |
|
33 |
width: 100%; |
|
34 |
z-index: 1; |
|
35 |
} |
|
36 |
|
|
37 |
.carousel-button { |
|
38 |
bottom: 10%; |
|
39 |
left: 50%; |
|
40 |
transform: translateX(-50%); |
|
41 |
position: absolute; |
|
42 |
z-index: 1; |
|
43 |
} |
|
44 |
|
|
45 |
.carousel-item { |
|
46 |
height: 100vh; |
|
47 |
min-height: 350px; |
|
48 |
background: no-repeat center center scroll; |
|
49 |
-webkit-background-size: cover; |
|
50 |
-moz-background-size: cover; |
|
51 |
-o-background-size: cover; |
|
52 |
background-size: cover; |
|
19 | 53 |
} |
20 | 54 |
} |
21 | 55 |
|
22 | 56 |
.carousel-caption { |
23 |
top: 20%; |
|
24 |
bottom: 20%; |
|
57 |
top: 50%; |
|
58 |
bottom: auto; |
|
59 |
transform: translateY(-50%); |
|
25 | 60 |
background-color: rgba(239, 218, 179, 0.5); |
26 | 61 |
|
27 | 62 |
h2 { |
63 |
font-family: Avenir Black; |
|
28 | 64 |
font-size: 11pt; |
29 | 65 |
letter-spacing: 3pt; |
30 | 66 |
color: $white; |
... | ... | |
32 | 68 |
} |
33 | 69 |
|
34 | 70 |
p { |
35 |
font-size: 9pt;
|
|
71 |
font-size: 8pt;
|
|
36 | 72 |
color: $black; |
37 | 73 |
} |
38 | 74 |
} |
... | ... | |
107 | 143 |
} |
108 | 144 |
|
109 | 145 |
.button-square { |
110 |
background-color: $black; |
|
146 |
font-size: 8pt; |
|
147 |
background-color: $cusBlack; |
|
111 | 148 |
color: $white; |
112 |
border: 1pt solid $white;
|
|
149 |
border: 0.5pt solid $white;
|
|
113 | 150 |
border-radius: 0; |
151 |
width: 28mm; |
|
152 |
height: 8mm; |
|
114 | 153 |
} |
115 | 154 |
|
116 | 155 |
.button-image { |
... | ... | |
237 | 276 |
} |
238 | 277 |
} |
239 | 278 |
|
240 |
|
|
241 |
|
|
242 | 279 |
@media only screen and (max-width: 540px) |
243 | 280 |
{ |
244 | 281 |
.head-title.text-center h1 |
... | ... | |
264 | 301 |
height: 180px; |
265 | 302 |
} |
266 | 303 |
} |
304 |
|
|
305 |
@media only screen and (max-width: 540px) |
|
306 |
{ |
|
307 |
body{ |
|
308 |
.carousel { |
|
309 |
.carousel-inner { |
|
310 |
.social-logo { |
|
311 |
padding-left: 30px; |
|
312 |
top: 20%; |
|
313 |
} |
|
314 |
} |
|
315 |
} |
|
316 |
} |
|
317 |
} |
|
318 |
|
|
319 |
@media (min-width: 330px) and (max-height: 900px) |
|
320 |
{ |
|
321 |
body{ |
|
322 |
.carousel { |
|
323 |
.carousel-inner { |
|
324 |
.social-logo { |
|
325 |
top: 25%; |
|
326 |
} |
|
327 |
} |
|
328 |
} |
|
329 |
} |
|
330 |
} |
Také k dispozici: Unified diff
Issue #7848 @2h
[+] Oprava vizualizace homepage