Skip to content

Commit bf78094

Browse files
committed
Background a menú desplegable para mejor legibilidad
1 parent d787714 commit bf78094

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

assets/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ article {
127127
height: 5rem; }
128128
.navbarAstor .navbar__logo img {
129129
height: 2rem; }
130+
.navbarAstor .collapse.show,
131+
.navbarAstor .collapsing {
132+
margin-top: 1rem;
133+
padding-right: 1rem;
134+
background-color: #03658C; }
130135

131136
.header *, .header--home * {
132137
color: #FFFFFF; }

assets/scss/_navbar.scss

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
11
.navbarAstor {
22
background-color: $azulOscuro;
33
height: 5rem;
4+
45
.navbar__logo {
56
img {
67
height: 2rem;
78
}
89
}
9-
}
1010

11-
// .navbar__menu {
12-
// height: 100%;
13-
// ul {
14-
// list-style: none;
15-
// height: 100%;
16-
// display: flex;
17-
// justify-content: stretch;
18-
// a {
19-
// display: flex;
20-
// font-weight: 600;
21-
// border-bottom: 2px $azulOscuro solid;
22-
// align-items: center;
23-
// justify-content: center;
24-
// padding: 0 1.5rem;
25-
// &:hover {
26-
// border-bottom: 2px $blanco solid;
27-
// color: #e25d8e;
28-
// transform: scale(1.1);
29-
// }
30-
// }
31-
// }
32-
// }
11+
.collapse.show,
12+
.collapsing {
13+
margin-top: 1rem;
14+
padding-right: 1rem;
15+
background-color: $azulVerdoso;
16+
}
17+
}

0 commit comments

Comments
 (0)