css-team: move search bar to the left of the nav menu

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@51 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
terehm 2018-11-07 14:27:31 +00:00
parent 9cec456ce4
commit c4e753e27d
2 changed files with 2 additions and 3 deletions

View File

@ -3,6 +3,7 @@
<a href="/index.html"><img src="/assets/style/logo_white.png" height="50"></a>
</div>
<div class="fill-space"></div>
<div class="search-box"><input type="text" id="search-bar"><label for="search-bar"><img src="/assets/style/search_icon.png"></label></div>
<nav class="nav-menu">
<div>Learn
<ul>
@ -22,7 +23,5 @@
</ul>
</div>
</nav>
<!-- TODO: talk about positioning of menu and search box -->
<div class="search-box"><label for="search-bar"><img src="/assets/style/search_icon.png"></label><input type="text" id="search-bar"></div>
</div>

View File

@ -16,7 +16,7 @@
}
.nav-menu {
margin-right: 10px;
margin-right: 100px;
margin-left: 10px;
display: inline-table;