Skip to content

Commit cbfecd5

Browse files
committed
Added: Navigation Bar (CSS only).
1 parent 6760eef commit cbfecd5

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

ThoughtNest Website/home.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ <h1>ThoughtNest</h1>
3030
<li>Your secrets are safe here.</li>
3131
<li>User-friendly</li>
3232
<li>Available on mobile and desktop</li>
33+
<li>Your secrets are safe here.</li>
34+
<li>User-friendly</li>
35+
<li>Available on mobile and desktop</li>
36+
<li>Your secrets are safe here.</li>
37+
<li>User-friendly</li>
38+
<li>Available on mobile and desktop</li>
3339
</ul>
3440

3541
<label for="window_chkbx">Windows</label>

ThoughtNest Website/styles.css

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ body{
1212
*/
1313
}
1414

15+
nav{
16+
background-color: rgb(88, 68, 13);
17+
padding: 5px;
18+
position: fixed;
19+
top: 0;
20+
width: 100%;
21+
}
22+
23+
a{
24+
color: bisque;
25+
text-decoration: none;
26+
margin:0 10px;
27+
font-size:x-large;
28+
}
29+
30+
#logo{
31+
margin-top:50px;
32+
}
33+
1534
h1{
1635
color:bisque;
1736
font-size: 5vw;
@@ -79,13 +98,4 @@ ul{
7998
.texts:focus{
8099
border: 3px solid rgb(124, 84, 24);
81100
outline: none;
82-
}
83-
84-
85-
86-
87-
88-
/* #logo{
89-
height: 10vh;
90-
width: 10vw;
91-
} */
101+
}

0 commit comments

Comments
 (0)