Skip to content

Commit 393b788

Browse files
Make navigation menu more compact
1 parent 01af56f commit 393b788

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

css/portfolio.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ nav ul {
7070
list-style: none;
7171
margin: 0 0 1em 0;
7272
padding: 0;
73-
text-align: right;
74-
width: 7em;
7573
}
7674

7775
nav ul a {
@@ -86,6 +84,12 @@ nav ul a:hover {
8684
background-color: #f0f0f0;
8785
}
8886

87+
nav li {
88+
border-bottom: 1px solid #bbb;
89+
border-right: 1px solid #bbb;
90+
display: inline;
91+
}
92+
8993
/**********************************************************************/
9094
#headerOfBody {
9195
margin: .5em 1.3em;

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ <h1>Sergio Lindo Mansilla</h1>
2424
</header>
2525

2626
<nav id="navMenu">
27-
<h1>Index</h1>
2827
<ul>
2928
<li><a id="aApps" href="#sectionApps">Apps</a></li>
3029
<li><a id="aVideogames" href="#sectionVideogames">Video games</a></li>

0 commit comments

Comments
 (0)