Skip to content

Commit fccab95

Browse files
committed
improve nav bar
1 parent 38e13c1 commit fccab95

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
style="height: 60px; margin: 10px 0; background-color: white; padding: 5px; border-radius: 4px;"/>
1010
</a>
1111
<!-- Move the navigation links here -->
12-
<div class="navbar-nav d-none d-sm-flex" style="color: white;">
12+
<div class="navbar-nav d-none d-sm-flex nav-horizontal">
1313
<a class="nav-item nav-link" href="/projects.html">Projects</a>
1414
<a class="nav-item nav-link" href="/papers/">Papers</a>
1515
<a class="nav-item nav-link" href="/grants/">Grants</a>

css/design.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ body {
3737
background-color: rgba(230,230,230,0.95);
3838
}
3939

40+
.nav-horizontal {
41+
display: flex;
42+
justify-content: flex-end;
43+
width: 100%;
44+
}
45+
46+
.nav-horizontal .nav-item {
47+
margin-left: 15px;
48+
}
49+
4050
.brand-navbar {
4151
// border-bottom: 6px solid #DFBD00;
4252
padding-top: 0.5rem;

0 commit comments

Comments
 (0)