Skip to content

Commit

Permalink
Update - Actualización de estilos
Browse files Browse the repository at this point in the history
  • Loading branch information
joaldanaendo committed Sep 15, 2023
1 parent b5bf03e commit dd00327
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 5 deletions.
47 changes: 44 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
@charset "UTF-8";

/* Estilo para pantallas pequeñas */
@media (max-width: 768px) {

.productoDeCatalogo,
.productoIdEnCarritoMini {
max-width: 100%;
/* Otra forma de hacerlo responsive */
margin: 10px;
}
}


/* ******************************************* */
/* *Estilos generales */
/* ******************************************* */
Expand All @@ -24,6 +36,15 @@

body {
background: url(../assets/img/background/wall_op05_2.jpg);
font-size: medium;
}

h3 {
padding-top: 10px;
}

h5 {
font-size: medium;
}

/* ******************************************* */
Expand All @@ -37,11 +58,12 @@ body {
.container__usuario {
background-color: var(--rosa-basic-color);
margin-top: 5px;
padding: 5px;
}

#infoUsuario {
display: flex;
font-size: large;
font-size: medium;
font-weight: bold;
}

Expand All @@ -64,8 +86,10 @@ body {
background-color: rgba(212, 170, 170, 0.383);
border: 2px dotted #2B3035;
border-radius: 5%;
margin: 10px;
padding: 10px;
max-width: 300px;
/* Cambia este valor según tus preferencias */
margin: 10px;
}

.imgProduct {
Expand Down Expand Up @@ -124,7 +148,7 @@ body {
footer h4,
footer h5 {
margin-bottom: 10px;
font-weight: 600;
font-weight: 400;
color: var(--white-basic-color);
}

Expand All @@ -135,4 +159,21 @@ button {
color: var(--white-basic-color);
font-weight: 400;
margin-left: 5px;
}


#contenedor-productos,
#contenedor-productos-mini {
display: flex;
flex-wrap: wrap;
justify-content: center;
/* Alinea los elementos a la izquierda */
}

#contenedor-carrito,
#contenedor-carrito-mini {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
/* Alinea los elementos a la izquierda */
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
<!-- </section> -->

<div id="contenedor-general" class="row">
<div id="contenedor-productos" class="store1 mx-3 col-8"></div>
<div id="contenedor-productos" class="store1 store1 mx-1 col-12 col-sm-8 col-md-7 col-lg-9"></div>

<div id="contenedor-carrito" class="store2 mt-3 col-3">
<div id="contenedor-carrito" class="store2 mt-3 col-8 col-sm-3 col-md-4 col-lg-2">
<h3>Carrito</h3>
<img src="https://www.trancaenuna.com/user_content/img/img_cart1.svg?6898" alt="Carrito de compras"
style="width:25px;">
Expand Down

0 comments on commit dd00327

Please sign in to comment.