Skip to content

Commit

Permalink
[Navigate Results] Adjusted some details
Browse files Browse the repository at this point in the history
- Wider navbar
- Smaller font in navbar
- Removed space between entries in the navbar
- Made top menu white, not transparent
  • Loading branch information
set-soft committed Mar 29, 2024
1 parent 29c86ce commit 84dba62
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions kibot/out_navigate_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
.sidenav a {
padding: 8px 8px 8px 8px;
text-decoration: none;
font-size: 20px;
font-size: 16px;
color: #f1f1f1;
display: block;
transition: 0.3s;
Expand Down Expand Up @@ -194,25 +194,27 @@
ul {
display: block;
list-style-type: none;
margin-block-start: -1em;
margin-block-end: 0em;
margin-inline-start: 0px;
margin-inline-end: 0px;
margin-block: -1em 0px;
margin-inline: 0px 0px;
padding-inline-start: 10px;
}
ul li {
margin-block: 0px -1em;
}
.topmenu {
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
background-color: white; /* Otherwise is transparent and overlaps */
}
"""
SCRIPT = """
<script>
function openNav() {
document.getElementById("theSideNav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
document.getElementById("theTopMenu").style.marginLeft = "250px";
document.getElementById("theSideNav").style.width = "360px";
document.getElementById("main").style.marginLeft = "360px";
document.getElementById("theTopMenu").style.marginLeft = "360px";
document.getElementById("bmenu").style.display = "none";
}
Expand Down

0 comments on commit 84dba62

Please sign in to comment.