Skip to content

Commit 76aa4bc

Browse files
committed
up
1 parent d5f68bd commit 76aa4bc

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

pages/style.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,13 @@ img {
507507

508508
@media (max-width: 480px) {
509509
.nav-link ul {
510+
display: none;
510511
flex-direction: column;
512+
background-color: #f4f4f4;
513+
padding: 10px;
514+
}
515+
.nav-link ul.active {
516+
display: flex;
511517
}
512518

513519
.nav-link li {
@@ -519,8 +525,4 @@ img {
519525
align-items: center;
520526
}
521527

522-
.exemples{
523-
display: flex;
524-
align-items: center;
525-
}
526528
}

style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,14 @@ li {
288288

289289
@media (max-width: 480px) {
290290
.nav-link ul {
291+
display: none;
291292
flex-direction: column;
293+
background-color: #f4f4f4;
294+
padding: 10px;
295+
}
296+
.nav-link ul.active {
297+
display: flex;
292298
}
293-
294299
.nav-link li {
295300
margin: 5px 0;
296301
}

0 commit comments

Comments
 (0)