Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
170 lines (131 loc) · 7.86 KB
/
Copy pathstyle.css
File metadata and controls
170 lines (131 loc) · 7.86 KB
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
/************************************ RESET ************************************************/
html {position: relative;}
* {margin: 0; padding: 0; border: 0; outline: 0; list-style: none; text-decoration: none; box-sizing: border-box;}
body {display: block; position: relative; width: 1200px; max-width: 90%; margin: 0 auto; overflow-x: hidden;}
body {font-family: 'Open Sans', sans-serif; font-size: medium; background: #fff2d8; color: #233441; line-height: 150%}
img {max-width: 100%; height: auto;}
/************************************ iFrames ************************************************/
.embed-container { position: relative; padding-bottom: 56.25%; /* 16/9 ratio */ padding-top: 10px; /* IE6 workaround*/ height: 0; overflow: hidden;}
.embed-container iframe,
.embed-container object,
.embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
/************************************ ESTRUCTURA ************************************************/
.columnas {display: flex; margin: 0 -15px;}
.columna {flex: 1 1 auto; padding: 0 15px;}
.columna-25 {width: 25%;}
.columna-50 {width: 50%;}
.columna-33 {width: 33.3333%;}
.columna-66 {width: 66.6666%;}
.columna-75 {width: 75%;}
.columnas-invertido {flex-direction: row-reverse;}
.patrocinadores{display: flex; flex-wrap: wrap;}
.patrocinadores li{display: inline-block; flex: 20%; max-width: 20%; padding: 15px 0;}
.patrocinadores.colaboradores li{flex: 16.6667%; max-width: 16.6667%;}
.patrocinadores li img{width: 100%; transition: transform 0.2s ease}
.patrocinadores li:hover img{transform: scale(0.98);}
section{position:relative; padding: 90px 0; display: flex; justify-content: center; flex-direction: column}
.diapo{min-height: 80vh; text-align: center;}
.diapo-peq{padding: 45px 0}
.centrado-vertical{align-items: center;}
.fullwidth {padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);}
.franja-blanca{background-color: #fff; position: relative;}
.franja-blanca::before, .franja-blanca::after{content: ""; background-image: url(img/flecos.svg); display: block; background-repeat-y: no-repeat; width: 100vw; height: 16px; position: absolute; left: 0;}
.franja-blanca::before{top: -16px;}
.franja-blanca::after{bottom: -16px;}
@keyframes animation-barrido-derecha{
0% {background-position: 0;}
100% {background-position: 600px;}
}
.barrido-derecha, .barrido-derecha::before, .barrido-derecha::after{
animation: animation-barrido-derecha 60s linear;
animation-iteration-count: infinite;
animation-fill-mode: forwards; /* El css se queda en el último frame de la animación*/
}
@keyframes animation_fadeIn{
0% {transform: translateY(32px); opacity: 0;}
100% {transform: translateY(0); opacity: 1;}
}
#img-header img{opacity: 0; animation: animation_fadeIn 1s ease 0.5s; animation-fill-mode: forwards; }
.franja-video{margin-top: 150px;}
.video {max-width: 615px; display: block; margin: 0 auto; transform: translateY(-220px); margin-bottom: -220px}
p{padding-bottom: 18px; max-width: 32rem;}
a{color: #233441; text-decoration: underline; transition: all 0.2s ease}
a:hover{opacity: 0.5;}
.post-it{background: #54E0DB; width: 100%; min-height: 75%; box-shadow: 2px 2px 8px 0 #CCD7DE; padding: 1rem;}
.post-it ul{padding: 0.5rem 1rem;}
.marco-foto{ box-shadow: inset 0 0 0 12px #FF6194; transform: translate(32px, 28px); max-width:520px}
.marco-foto img{margin: 0; padding: 0;transform: translate(-32px, -28px);}
.marco-foto-alt{transform: translate(-32px, 28px);}
.marco-foto-alt img{transform: translate(32px,-28px);}
.copy-palma{display: block; text-align: left; position: absolute; bottom: 32px; left: 0;}
/************************************ TEXTO ************************************************/
h1,h2,h3,h4,h5{font-family: 'Rubik', sans-serif; font-weight: bold;}
h1{font-size: 64px; line-height: 100%}
h2{font-size: larger; padding: 18px 0;}
h2{font-size: larger; padding: 18px 0;}
h3{font-size: medium; text-transform: uppercase}
.h2-peq{font-size: larger; font-weight: normal; font-family: 'Open Sans', sans-serif; }
.h2-big{font-size: xx-large;}
.boton{display: inline-block; margin-top: 30px; text-transform: uppercase; font-size: 18px; text-align: center; padding: 16px 40px; border-radius: 2px; color: #fff; text-decoration: none; opacity: 1; background: #FF6194; font-weight: bolder; transition: all 0.2s ease; box-shadow: 0 2px 8px 0 #c5c0b9}
.boton:hover{ background: #FF73A0; transform: translateY(-2px); box-shadow: 0 6px 8px 0 #c5c0b9; opacity: 1;}
.boton:active{background: #f4457e; filter: brightness(1);}
.boton.boton-secondary{font-weight: 700; background: none; font-size: 0.95em; box-shadow: none; color: #FF6194; margin: 16px 0}
.boton.boton-secondary:hover{background: #fff ; box-shadow: 0 2px 8px 0 #c5c0b9}
.boton.boton-secondary:active{opacity: 0.90;}
#cuenta-atras li{padding: 0 8px;display:inline-block; font-size: medium;}
#cuenta-atras li:last-child{color: #FF73A0; font-weight: bold;}
.horario b{padding-right: 15px}
.horario ul{padding-top: 0.5rem; padding-bottom: 1rem; margin-bottom: 1rem;}
.horario li{display: flex; padding-right: 0.5rem; padding-bottom: 0.5rem;}
.regular-ul {padding-left: 2rem;}
.regular-ul li{list-style: square}
small{color: #a6b7c2}
.backimg{position: absolute; width: 100vw; height: 100vh; top: 0; left: 0; z-index: -1; background-repeat: no-repeat; opacity: .2;}
.backimg1 {background-image: url(img/gamer.png); background-position: right 50px}
/************************************ HEADER ************************************************/
header{height: 12vh}
nav {padding: 30px 0; display: flex; justify-content: space-between; align-items: flex-end;}
nav ul li {display: inline-block; padding-left: 45px}
/************************************ FOOTER ************************************************/
footer{height: 8vh; background-color: #233441; display: flex; justify-content: center; flex-direction: column}}
footer a{ color: #fff2d8; font-size: 18px;}
footer ul{width:100%; display: flex; justify-content: space-around; align-items: center}
/****************************** MEDIA QUERIES ******************************/
@media all and (max-width: 992px){ /* TABLET */
.columnas {flex-wrap: wrap;}
.columna {width: 100% !important;}
.columna-25 {width: 50% !important;}
.horario .columna {width: 33.333% !important;}
.horario ul {border-right: 1px solid #dadada}
.horario .columna:last-child ul {border-right: none}
.invertidas {flex-direction: row;}
.post-it{display: flex; padding: 1.2rem 2rem; margin:2rem 0;}
.post-it > div {flex: 50%}
.cabecera {text-align: center; padding: 45px 0}
.cabecera img{padding: 1.5rem; padding-top: 4rem; max-width: 500px;}
h1 {font-size: 54px;}
.marco-foto{width: 80vw; margin: 10vw auto;}
.patrocinadores li, .patrocinadores.colaboradores li{flex: 33.3333%; max-width: 33.333%;}
.patrocinadores{ justify-content: center;}
iframe{margin-top: 30px;}
.copy-caro{transform: translateY(0); padding: 16px}
.backimg{opacity: .1;}
}
@media all and (max-width: 767px){ /* MOBILE */
.columna, .horario .columna {width: 100% !important;}
nav {flex-direction: column; align-items: center; font-size: small; text-align: center;}
nav ul {padding-top: 1rem;}
nav ul li{padding: 0 1rem;}
h1 {font-size: 48px;}
footer img{width: 22px;}
.marco-foto{ transform: translate(24px, 28px);}
.marco-foto-alt{ transform: translate(-24px, 28px);}
.post-it{flex-direction: column; }
.horario ul {border:none; border-bottom: 1px solid #dadada}
.horario .columna:last-child ul {border-bottom: none}
.cabecera .h2-peq a{display: inline-block;}
#cuenta-atras {display: none;}
.patrocinadores li, .patrocinadores.colaboradores li{flex: 50%; max-width: 50%;}
.backimg{opacity: .05;}
.backimg1 {background-position: center 50px}
}