Skip to content

Commit

Permalink
style done
Browse files Browse the repository at this point in the history
relates #57
  • Loading branch information
mossa-Sammer committed Aug 29, 2019
1 parent f5644cf commit 9d43a96
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,25 @@ body{
width: 60%;
margin: auto
}

.nav-container{
display: fl
}
.logo{
width:50px;
float: left;
margin-right: 5%
}
header{
position: sticky;
top:0;
padding:0.75rem;
background: rgb(207, 138, 138);
}
.nav__list{
display: flex;
justify-content: space-between;

}
.nav_item{
list-style: none
Expand Down
3 changes: 2 additions & 1 deletion src/views/partials/header.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<header>
<img class="logo" src="http://www.15-seconds.com/wp-content/uploads/2011/03/icon_c1.png" alt="logo">
<div class="container">
<img src="http://www.15-seconds.com/wp-content/uploads/2011/03/icon_c1.png" alt="logo">

<nav class="navbar">
<ul class="nav__list">
<li class="nav_item"><a class="nav__link" href="/" target="blank">HOME</a></li>
Expand Down

0 comments on commit 9d43a96

Please sign in to comment.