forked from ericastro0615/AluraGeek-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
productos.css
126 lines (103 loc) · 2 KB
/
productos.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
:root {
--cardWidth: 12.5rem;
--cardHeight:15.1rem;
--cardMargin: 0.62rem;
}
.categoria {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-top: 1.25rem;
}
.texto-categoria{
width: 85%;
height: 2.37rem;
display:flex;
flex-direction: row;
justify-content: space-between
}
.texto-categoria h2{
font-size: 32px;
}
.texto-categoria img{
width: 16px;
height: 16px;
padding-right: 3.75rem;
}
.texto-categoria a{
margin-top:10px;
font-size: 16px;
color: var(--fuente-productos-azul)
}
.productos {
width: 85%;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
}
.card {
width: var(--cardWidth);
height: var(--cardHeight);
margin: var(--cardMargin);
box-sizing: border-box;
}
.card img{
width: 11rem;
height: 10.8rem;
display: flex;
}
.card h3 {
font-weight: 500;
font-size: 14px;
color: var(--fuente-productos);
margin-top: 10px;
margin-bottom: 10px;
}
.card p {
font-weight: 700;
font-size: 16px;
color: var(--fuente-productos);
margin-top: 10px;
margin-bottom: 10px;
}
.card a {
font-weight: 700;
font-size: 16px;
color: var(--fuente-productos-azul);
margin-top: 10px;
}
@media (min-width:320px) and (max-width:768px){
.card{
width: 8.2rem;
height: 14.8rem;
margin: 0.25rem;
}
.card img{
width: 8.75rem;
height: 9.62rem;
}
.card a {
font-size: 14px;
margin-top: 0.31rem;
margin-bottom: 0.31rem;
}
.texto-categoria h2{
padding-left: 0.25rem;
}
.productos {
width: 90%;
justify-content: space-between;
}
.login{
margin-right: 7px;
}
.texto-categoria img{
width: 16px;
height: 16px;
padding-right: 0px;
}
}
@media (min-width:769px) and (max-width:1024px){
}