-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
215 lines (175 loc) · 3.37 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@1,300&display=swap');
:root{
--color-primario: #15BF98;
--color-secundario: #47EBC5;
--color-terciario: #06372C;
--color-cuarto: #A3F5E2;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family:'Amatic SC', cursive;
scroll-behavior: smooth;
overflow-x: hidden;
}
body{
display: flex;
background-color: var(--color-primario);
align-content: center;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
}
#url-titulo{
display: flex;
color: #111111;
text-decoration: none;
size:auto;
}
#url-tarjeta {
color: #111111;
text-decoration: none;
size:auto;
}
nav{
display: flex;
justify-content: space-around;
padding-top: 20px;
padding-bottom: 30px;
}
nav h1 {
font-size: 50px;
font-weight: bold;
text-shadow: var(--color-terciario) 0px 0px 1px;
}
nav img{
height: 40px;
width: auto;
margin: 20px;
}
#loto1{
position: absolute;
left: 80%;
}
#loto2{
position: absolute;
right:80%;
}
span{
margin:5px;
}
#tarjeta{
display: flex;
height: 80px;
width: 350px;
margin: 10px;
padding: 2% 5% 2% 2%;
background-color: var(--color-secundario) ;
border-radius: 10px;
border: 1px solid var(--color-terciario);
justify-content: space-between;
}
#tarjeta:hover{
font-weight: bold;
background-color: #F2CD5C;
border: 0;
box-shadow: 0 8px 10px -7px var(--color-terciario);
color: #111111;
text-shadow: var(--color-terciario) 0px 0px 1px;
transform: scale(1.05);
z-index: 2;
}
#tarjeta img{
size: 50%;
object-fit: cover;
}
#firma{
height: 80px;
width: auto;
display: flex;
margin-top: 30px;
}
#tarjeta h3{
font-size: 35px;
padding-left: 4%;
}
#articulo{
display: flex;
flex-direction: column;
align-items: center;
margin: 10px;
width: 85%;
height: fit-content;
padding: 25px;
background-color: #47EBC5;
border-radius: 2px;
}
#titulo-articulo{
margin-bottom: 30px;
display: flex;
font-size: 40px;
font-weight: bold;
text-shadow: var(--color-terciario) 0px 0px 1px;
}
#contenido-articulo{
display: flex;
flex-direction: column;
font-family: 'Karla', sans-serif;
font-size: 25px;
margin-left: 10px;
}
footer{
display: flex;
flex-direction: column;
align-items: flex-end;
width: 100%;
margin-top: 30px;
padding: 10px;
}
.bg {
animation:slide 3s ease-in-out infinite alternate;
background-image: linear-gradient(-60deg, #15BF98 50%, #A3F5E2 50%);
bottom:0;
left:-50%;
opacity:.5;
position:fixed;
right:-50%;
top:0;
z-index:-1;
}
.bg2 {
animation-direction:alternate-reverse;
animation-duration:4s;
}
.bg3 {
animation-duration:5s;
}
@keyframes slide {
0% {
transform:translateX(-25%);
}
100% {
transform:translateX(25%);
}
}
#whatsapp{
position: fixed;
top: 55%;
left: 75%;
}
#whatsapp img{
height: 60px;
width: auto;
margin: 20px;
}
footer h2{
display: flex;
align-items: center;
}
footer img{
height: 40px;
width: auto;
margin: 20px;
}