From a63547e7c46ba79c175547e5c72eaeeb44533c0b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 1 Jul 2012 14:04:23 +0200 Subject: [PATCH] Add a CSS-only way of making navigation menu's look good. --- site/stylesheet.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/site/stylesheet.css b/site/stylesheet.css index 385b84d..8769763 100644 --- a/site/stylesheet.css +++ b/site/stylesheet.css @@ -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: " ]" +}