Skip to content

Commit

Permalink
ajustes map-get
Browse files Browse the repository at this point in the history
  • Loading branch information
arkenvolt committed Mar 8, 2024
1 parent b2d5f5b commit 14a1a8d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
16 changes: 14 additions & 2 deletions css/main.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/main.css.map

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

6 changes: 6 additions & 0 deletions scss/general/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ $color-primario: #000;
$color-secundario: blue;
$color-terciario: #ff0000;

$colores: (
1er: #000098,
2do: #991199,
3er: #999900,
);

$tipografia-titulos: 'Montserrat';
$tipografia-parrafos: 'Roboto';

Expand Down
9 changes: 7 additions & 2 deletions scss/layout/header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
header{
font-family: $tipografia-titulos;
width: 100%;
background-color: $color-terciario;
background-color: map-get($colores, 1er);
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -12,7 +12,7 @@ header{
li{
padding: 0px 12px;
color: $color-primario;
border-right: 1px solid black;
border-right: 1px solid #999900;
&:last-of-type{
border-right: unset;
}
Expand All @@ -32,4 +32,9 @@ header{
width: 10% * $i;
}
}
@each $color in red, black, yellow, white{
.bk-#{$color}{
background-color: $color;
}
}
}

0 comments on commit 14a1a8d

Please sign in to comment.