mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 14:43:32 +02:00
Fix centering on menu in header (style.css change) (#12)
* 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
This commit is contained in:
parent
6272e671f9
commit
11ad2599ed
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ body {
|
|||
}
|
||||
|
||||
/* header and footer areas */
|
||||
.menu { padding: 0; }
|
||||
.menu li { display: inline-block; }
|
||||
.article-meta, .menu a {
|
||||
text-decoration: none;
|
||||
|
|
Loading…
Reference in a new issue