Skip to content

Commit

Permalink
done with that feature for the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
makon57 committed Jul 2, 2021
1 parent b605fe9 commit 460284a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
6 changes: 5 additions & 1 deletion public/stylesheets/details.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ img {
border: solid 1px black;
margin-left: 30%;
margin-right: 30%;
margin-bottom: 5%;
margin-bottom: 1%;
}

textarea {
Expand All @@ -186,3 +186,7 @@ textarea {
.hidden {
visibility: hidden;
}

.trail-list > a {
padding: 5px;
}
21 changes: 12 additions & 9 deletions public/stylesheets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ h1 {
/* font-family: */
}

/* .header {
position: fixed;
width: 100%;
} */

.nav-bar {
display: flex;
Expand Down Expand Up @@ -74,10 +70,7 @@ h1 {
border: solid 1px rgb(143, 143, 143);
}

/* input#search-bar.search-bar::selection {
background-color: white;
color: thistle;
} */



header > div {
Expand All @@ -102,12 +95,15 @@ header > div {
background-color: #d6d8d9;
border-radius: 3px;
margin: 0 32px 32px 0;
padding: 0 20px 32px 20px;
padding: 20px 20px 32px 20px;
height: 60%;
max-width: 180px;
width: 20%;
flex-basis: 220px;
position: fixed;
display: flex;
justify-content: center;
align-items: flex-start;
}

.sidebar-container {
Expand Down Expand Up @@ -170,3 +166,10 @@ img {
border-radius: 25px;
padding: 10px;
}

.sidebar-content {
display: flex;
align-items: center;
text-align: center;
text-decoration: transparent;
}
7 changes: 2 additions & 5 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ block content
div(class="sidebar")
div(class="sidebar-content")
h3(class="trail-list") Trail List
ul
li
a(href='/login') Visited
li
a(href='/login') Want To Visit
a(href='/login') Visited
a(href='/login') Want To Visit
div(class="trail-container")
each trail in trails
div(class="trail-div")
Expand Down

0 comments on commit 460284a

Please sign in to comment.