Skip to content

Commit

Permalink
Fix centering on menu in header (style.css change) (#12)
Browse files Browse the repository at this point in the history
* Update style.css to change .menu padding to 0px

Since menu li items normally add padding, it off-centers the menu. Changing padding to 0px fixes this.

* split the two CSS rules
  • Loading branch information
oneleaftea authored and yihui committed Aug 26, 2017
1 parent 6272e67 commit 11ad259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ body {
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
text-decoration: none;
Expand Down

0 comments on commit 11ad259

Please sign in to comment.