-
Notifications
You must be signed in to change notification settings - Fork 7
/
styles.css
94 lines (94 loc) · 1.74 KB
/
styles.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
body {
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Montserrat', sans-serif;
margin-bottom: 3rem;
}
h1 {
color: #333;
font-size: 1.5rem;
margin: 3rem 0 .5rem;
}
#fecha {
margin-bottom: 2rem;
color: #999;
}
#resultados {
width: 90vw;
max-width: 1024px;
min-height: 65vh;
display: grid;
grid-gap: 1rem;
justify-content: center;
align-content: center;
}
@media screen and (min-width: 601px) {
#resultados {
grid-template-columns: 24% 24% 24% 24%;
}
}
@media screen and (max-width: 600px) {
#resultados {
grid-template-columns: 45% 45%;
}
}
.card {
font-size: 90%;
transition: all .35s ease;
border: 1px solid #eee;
border-radius: .5rem;
box-shadow: 0 2px 25px rgba(0,0,0,.15);
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
}
.card:hover{
box-shadow: 0 5px 50px rgba(0,0,0,.25);;
}
.card div {
padding: 0 1rem;
}
.card img {
margin: 1rem;
margin-bottom: .5rem;
}
.card .titulo{
font-size: 100%;
margin-bottom: .5rem;
}
.card .precio-ant {
display: flex;
}
.card .precio {
font-size: small;
text-decoration: line-through;
color: grey;
}
.card .dcto {
white-space: nowrap;
font-size: small;
color: green;
}
.card .oferta {
font-size: 150%;
margin: .5rem 0;
}
#cargando {
margin-top: -10vh;
height:20vh;
width: 400%;
background: transparent url(https://loading.io/spinners/balls/lg.circle-slack-loading-icon.gif) no-repeat center center;
background-size: contain;
}
.pie {
font-size: .9rem;
margin-top: 5rem;
color: #999;
}
.by {
font-size: .9rem;
color: #ccc;
}