Skip to content

Commit

Permalink
Añadiendo extends a los partials de SASS
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezlmatias committed Oct 13, 2023
1 parent 3e0ddfe commit 1934e75
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 124 deletions.
117 changes: 52 additions & 65 deletions CSS/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CSS/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 7 additions & 18 deletions scss/_contacto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

.fondo-contacto {
background-image: url(../img/Fondo5.webp);
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
@extend %imagen-fondo;
}

/*** Fin de imagen de fondo de la página ***/
Expand All @@ -31,15 +29,14 @@
/*** Secciones Miembros y Proyectos ***/

.subtitulo-seccion.comunidad {
font-weight: normal;
margin-bottom: $margen-s;
@extend %subtitulo-seccion;
}

.subtitulo-seccion.proyectos {
margin-top: $margen-xll;
}

.foto-miembro {
.foto-miembro, .foto-proyecto {
border-radius: $margen-s;
margin: $margen-xxs;
&:hover {
Expand All @@ -48,31 +45,24 @@
}

.foto-proyecto {
border-radius: $margen-s;
margin: $margen-xxs;
width: 90%;
&:hover {
filter: opacity(50%);
}
}

/*** Fin de Secciones Miembros y Proyectos ***/

/*** Sección Mapa ***/

.subtitulo-seccion.mapa {
font-weight: normal;
@extend %subtitulo-seccion;
margin-left: 250px;
margin-bottom: $margen-s;
}

.card {
width: 18rem;
height: 22rem;
@extend %formato-cards;
font-size: large;
text-align: center;
font-weight: bold;
color: $color-texto;
margin-top: $margen-xsss;
}

Expand All @@ -99,9 +89,8 @@
.card.dos {
width: 20rem;
height: 40rem;
text-align: center;
font-weight:normal;
color: $color-texto;
@extend %formato-cards;
font-weight: normal;
align-self: center;
margin-top: -20px;
margin-left: -30px;
Expand Down
15 changes: 4 additions & 11 deletions scss/_estrategias.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@

.fondo-estrategias {
background-image: url(../img/Fondo4.webp);
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
@extend %imagen-fondo;
}

/*** Fin de imagen de fondo de la página ***/

/*** Títulos ***/

.titulo-seccion {
text-align: center;
color: $color-titulo-articulo;
font-size: x-large;
@extend %titulo-articulo;
font-weight: bolder;
margin-top: $margen-l;
}
Expand All @@ -30,8 +26,7 @@
/*** Artículos ***/

.articulo-estrategias {
text-align: justify;
line-height: $margen-sxs;
@extend %formato-articulo;
margin-bottom: $margen-s;
border-bottom: dashed;
border-color: $color-borde-inferior;
Expand All @@ -50,10 +45,8 @@
/*** Imágenes ***/

.imagen-estrategias {
@extend %estilo-borde;
align-items: center;
border-style: dotted;
border-width: $margen-xxss;
border-color: $color-borde-punteado;
border-radius: $margen-l;
margin-left: $margen-l;
}
Expand Down
Loading

0 comments on commit 1934e75

Please sign in to comment.