Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esmith solution #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions top-nav-drill/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,21 @@
</header>

<section>
<h1>A Page Title</h1>
<section>
<h2>A Paragraph</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui.</p>
<p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p>
</section>
<section>
<h2>A Paragraph</h2>
<p>Donec faucibus sodales lectus, quis dictum ligula aliquet sit amet. Nam sodales nibh quis quam dictum sollicitudin. Nullam ut est euismod, hendrerit tellus et, euismod turpis.</p>
<p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p>
</section>
<section>
<h2>A Paragraph</h2>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas non mauris ac erat consequat rhoncus. Mauris nec sapien luctus, rutrum leo sit amet, pretium elit.</p>
<h1>A Page Title</h1>
<section>
<h2>A Paragraph</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui.</p>
<p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p>
</section>
<section>
<h2>A Paragraph</h2>
<p>Donec faucibus sodales lectus, quis dictum ligula aliquet sit amet. Nam sodales nibh quis quam dictum sollicitudin. Nullam ut est euismod, hendrerit tellus et, euismod turpis.</p>
<p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p>
</section>
<section>
<h2>A Paragraph</h2>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas non mauris ac erat consequat rhoncus. Mauris nec sapien luctus, rutrum leo sit amet, pretium elit.</p>
</section>
</section>

<footer>
Expand Down
45 changes: 45 additions & 0 deletions top-nav-drill/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,48 @@
}

/*Put your code here*/

header {
background-color: black;
padding: 10px;
}

a {
color: white;
}

section {
margin-left: 140px;
margin-right: 140px;
}

span > a {
font-size: 2em;
font-weight: bold;
text-decoration: none;
margin: 40px, 0px, 40px, 0px;
}

nav {
float: right;
margin-top: center;
margin-bottom: center;
}

li {
font-size: 1.2em;
font-weight: bold;
display: inline;
}

h1 {
border-bottom: 1.5px solid black;
margin-left: 140px;
margin-right: 140px;
}

footer {
border-top: 1.5px solid black;
margin-left: 280px;
margin-right: 280px;
}