Add a CSS-only way of making navigation menu's look good.
This commit is contained in:
parent
c4e4c8b17f
commit
a63547e7c4
1 changed files with 18 additions and 0 deletions
|
@ -178,3 +178,21 @@ pre {
|
|||
.org-variable-name {
|
||||
color: #268bd2;
|
||||
}
|
||||
|
||||
/* Navigation menu */
|
||||
#content > ul:first-of-type {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#content > ul:first-of-type li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#content > ul:first-of-type li:before {
|
||||
content: "[ "
|
||||
}
|
||||
|
||||
#content > ul:first-of-type li:after {
|
||||
content: " ]"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue