Skip to content

Commit 4f43d9f

Browse files
committed
004
1 parent 6395a23 commit 4f43d9f

File tree

7 files changed

+48
-209
lines changed

7 files changed

+48
-209
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
:root{
2+
--color-acento: rgb(124, 20, 16);
3+
--color-link: red;
4+
--color-text: rgb(26, 23, 56);
5+
--color-acento-claro: rgb(18, 18, 236);
6+
}
7+
html{
8+
font-family: 'Lucida Sans', 'Lucida Grande';
9+
}
10+
a{
11+
text-decoration: none;
12+
color: var(--color-text);
13+
}
14+
a:hover:not(carrito:hover){
15+
color: var(--color-acento);
16+
font-weight: bold;
17+
}
18+
header nav{
19+
display: flex; /* Nodo al lado del otro */
20+
justify-content: space-between;
21+
margin: 0 30px;
22+
}
23+
header nav div{
24+
display: flex; /* Nodo al lado del otro */
25+
align-items: center;
26+
gap: 30px;/* Separa iconos NAV */
27+
position: relative; /* Relatico al numerode items del carrito (numero-carrito) */
28+
}
29+
#numero-carrito{
30+
background-color: var(--color-link);
31+
border-radius: 100%; /* Redondea el fondo */
32+
display:inline-block;
33+
width: 20px;
34+
line-height: 20px;
35+
aspect-ratio: 1;
36+
text-align: center;
37+
position: absolute;
38+
top:30%; /* Sube o baja en numero del carrito */
39+
right: 26%; /* acomoda numero a la derecha del carrito */
40+
transform: translate(-50%, -50%);
41+
z-index: 1; /* Hace que el texto este encima de la imagen del carrito */
42+
}
43+
#logoHeader{
44+
height: 50px;
45+
}
46+
header nav img{
47+
height: 40px;
48+
}

Entregas/Proyecto/css/estilosMain copy.css

Lines changed: 0 additions & 209 deletions
This file was deleted.

Entregas/Proyecto/img/busqueda.png

38 KB
Loading
60.2 KB
Loading
14.8 KB
Loading
18.5 KB
Loading
11.9 KB
Loading

0 commit comments

Comments
 (0)