Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90b51cd

Browse files
committedAug 8, 2024··
Center navbar logo in mobile view
1 parent b933c27 commit 90b51cd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
 

‎src/css/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,26 @@ p {
247247
}
248248
}
249249

250+
@media (max-width: 996px) {
251+
.navbar__inner .navbar__brand {
252+
position: relative;
253+
margin: auto;
254+
left: -1rem;
255+
}
256+
}
257+
258+
.navbar__toggle svg {
259+
display: none;
260+
}
261+
262+
.navbar__toggle::after {
263+
content: '';
264+
width: 24px;
265+
height: 24px;
266+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E") no-repeat;
267+
background-color: currentColor;
268+
}
269+
250270
.navbar-social-link::before {
251271
content: '';
252272
display: flex;

0 commit comments

Comments
 (0)
Please sign in to comment.