Skip to content

Commit

Permalink
add styles of navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
BasemYahia402 committed Aug 25, 2023
1 parent 48e8032 commit 788cdc8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions Calculator/assets/Css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,17 @@ img {
button {
cursor: pointer;
}

/*-----------------------------------*\
|| CUSTOM PROPERTIES ||
\*-----------------------------------*/

.logo {
height: 10rem;
}

@media (max-width: 767px) {
.logo {
height: 5rem;
}
}
4 changes: 2 additions & 2 deletions Calculator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</head>
<body>
<nav>
<div class="logo">
<div class="logo d-flex align-items-center w-100 p-3">
<button id="sidebar-toggle">
<svg
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -32,7 +32,7 @@
/>
</svg>
</button>
<p>Calculator</p>
<p class="w-100 ms-3">Calculator</p>
</div>
</nav>

Expand Down

0 comments on commit 788cdc8

Please sign in to comment.