forked from espressif/developer-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request espressif#23 from espressif/improve_ux
Improve UX for the website navigation bar
- Loading branch information
Showing
2 changed files
with
79 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,33 @@ | ||
.banner { | ||
width: 100%; | ||
height: auto; /* Adjust the height as needed */ | ||
background-color: #e78c8c; /* Set your desired background color */ | ||
color: #ffffff; /* Set your desired text color */ | ||
text-align: center; | ||
padding: 20px; /* Adjust the padding as needed */ | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Optional: Add styling for the text inside the banner */ | ||
.banner h1 { | ||
font-size: 24px; | ||
margin: 0; | ||
} | ||
width: 100%; | ||
height: auto; /* Adjust the height as needed */ | ||
background-color: #e78c8c; /* Set your desired background color */ | ||
color: #ffffff; /* Set your desired text color */ | ||
text-align: center; | ||
padding: 20px; /* Adjust the padding as needed */ | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Optional: Add styling for the text inside the banner */ | ||
.banner h1 { | ||
font-size: 24px; | ||
margin: 0; | ||
} | ||
|
||
/* Optional: Add styling for website navigation bar */ | ||
.menu-ul { | ||
padding-right: 0.8rem !important; | ||
} | ||
|
||
.menu-ul .mt-1{ | ||
width: 7rem !important; | ||
text-align: left !important; | ||
} | ||
|
||
.menu-ul .mb-2 { | ||
display: none !important; | ||
} | ||
|
||
.menu-close { | ||
margin-right: 1rem !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters