-
Notifications
You must be signed in to change notification settings - Fork 0
/
MaximaSlide.css
106 lines (106 loc) · 2.47 KB
/
MaximaSlide.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
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,900');
*,html,body{ /* Resetear CSS del navegador, si usas BOOTSTRAP quitar esta parte del codigo. Podria causar inconvenientes.*/
margin: 0;padding: 0
}
.resolucion{
position: fixed; /* Posicion estatica sin importar Scroll o Redimension de la ventana */
right: 7px;
bottom: 7px;
z-index: 99999; /* Que su ubicacion sea por "encima de todos los elementos" */
font-weight: 900; /*En caso de que haya soporte para esto, que se note más gruesa la letra */
color: white;
text-shadow: 1px 1px 3px black;
}
.MaximaSlide{
overflow: hidden;
width: 100%;
height: 100%;
background-color: gray;
display: block;
}
.MaximaSlide .controles{
position: absolute;
color: white!important;
z-index: 20;
font-weight: 900;
font-size: 30px;
width: 100%;
height: 60px;
top: 50%;
transform: translateY(-50%);
display: none;
}
.MaximaSlide .controles button{
position: absolute;
width: 50px;
color: lightgray;
background-color: rgba(164,164,164,0.2);
border: none;
box-shadow: 0 0 4px rgba(164,164,164,0.2);
transition: 0.4s all ease;
height: 100%;
/*transform: translateY();*/
}
.MaximaSlide .controles button:hover{
color: lightgray;
background-color: rgba(255,255,255,0.6);
transition: 0.4s all ease;
/*transform: translateY();*/
}
.MaximaSlide .controles button.boton-anterior{
left: 0;
}
.MaximaSlide .controles button.boton-siguiente{
right: 0;
}
.MaximaSlide .slide-w{
position: relative;
display: block;
width: 100%;
height: 100%;
background-color: black;
}
.MaximaSlide .slide-w .img-container{
display: block;
position: absolute;
font-size: 0;
}
.MaximaSlide .slide-w .img-container .img-item{
position: absolute;
padding:0;
top: 0!important;
margin: 0;
background-position: center center;
background-size: cover;
background-repeat: no-repeat!important;
background-attachment: ;
width: 100%;
height: 100%;
opacity: 0.8;
}
.MaximaSlide .slide-w .img-container .img-item .mensaje{
position: absolute;
font-size: 16px;
color: white;
text-shadow: 1px 1px 3px black;
border-radius: 10px;
background-color: rgba(0,0,0,0.5);
box-shadow: 0 0 5px black;
padding: 15px;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
font-family: 'Montserrat', sans-serif;
}
.MaximaSlide .slide-w .img-container .img-item .mensaje h1{
font-weight: 900;
margin: 0;
padding: 0;
text-align: center;
}
.MaximaSlide .slide-w .img-container .img-item .mensaje p{
font-weight: 400;
margin: 0;
padding: 0;
text-align: center;
}