Skip to content

Commit c05a2e5

Browse files
committed
Learned & Added: Display and Positioning.
1 parent 07725fc commit c05a2e5

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

ThoughtNest Website/home.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
<body>
1212

13-
<div id="nav">
13+
<nav>
1414

1515
<a href="home.html" target="_self">Home</a>
1616
<a href="about.html" target="_self">About</a>
1717

18-
</div>
18+
</nav>
1919

2020
<div id="logo" align="center">
2121
<img src="images/tutnisLogo.png" alt="Logo" width="250">
@@ -24,7 +24,7 @@
2424
<div id="content" align="center" >
2525

2626
<h1>ThoughtNest</h1>
27-
27+
2828
<p>A digital notebook</p>
2929
<ul>
3030
<li>Your secrets are safe here.</li>

ThoughtNest Website/styles.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ h1{
2424
box-shadow: 5px 5px 7px 5px rgb(53, 35, 8);
2525
}
2626

27+
ul{
28+
display:inline;
29+
}
30+
2731
.buttons{
2832
background-color: rgb(124, 84, 24);
2933
color: bisque;
@@ -64,8 +68,10 @@ h1{
6468

6569

6670
.texts{
67-
width: 20vw;
68-
font-size: 20px;
71+
width: 25vw;
72+
height: 5vh;
73+
font-size: 4vw;
74+
font-size: 3vh;
6975
font-variant: small-caps;
7076
border: 1px solid rgb(124, 84, 24);
7177
}

0 commit comments

Comments
 (0)