Skip to content

Commit adcdc28

Browse files
committed
NAV Corrected
1 parent 7719c0d commit adcdc28

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<body>
1414
<nav id="navigation">
1515
<ul>
16+
<li class="nav"><a href="#">Play</a></li>
1617
<li class="nav"><a href="./aboutme.html">About Me</a></li>
1718
<li class="nav"><a href="./gameinfo.html">Game Info</a></li>
1819
</ul>
1920
</nav>
20-
// it's a nice game to play
2121

2222
<div class="Heading" id="heading">
2323
<h1 class="h1">THE GREAT</h1>

styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&family=Poppins:wght@300;400&display=swap');
23
html, body {
34
margin: 0;
45
margin-top: 0;
@@ -103,12 +104,15 @@ h1 {
103104
}
104105
/*Styling navigation bar */
105106
#navigation{
107+
height: 48px;
106108
display: flex;
107-
justify-content: flex-end;
109+
justify-content: space-around;
110+
font-family: 'Montserrat', sans-serif;
108111
align-items: center;
109112
background-image: url('https://wallpaperaccess.com/full/713148.jpg');
110113
}
111114
#navigation ul{
115+
font-size: 1.5rem;
112116
display: flex;
113117
margin: 8px;
114118
}

0 commit comments

Comments
 (0)