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

CSS format of the page. #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
53 changes: 53 additions & 0 deletions top-nav-drill/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,56 @@
}

/*Put your code here*/
body {
font: sans-serif;
}

header {
background-color: #000;
color: #fff;
}

header {
padding: 0.5em 0 0.5em 2em;
}

header span {
font-weight: bold;
font-size: 200%;
}
header span a {
text-decoration: none;
}

header a, header a:visited {
color: #fff;
}

nav li, nav ul {
display: inline;
list-style-type: none;
font-size: 80%;
padding-left: 1em;
}

nav {
display: inline;
float: right;
padding: 0.5em 2em;
}

/* content */
h1 {
border-bottom: solid #000 1px;
}

.container > section {
width: 50%;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
}

footer {
border-top: solid #000 1px;
}