diff options
-rw-r--r-- | default-files/bottom.html | 21 | ||||
-rw-r--r-- | default-files/fugitive.css | 9 | ||||
-rw-r--r-- | default-files/top.html | 2 |
3 files changed, 28 insertions, 4 deletions
diff --git a/default-files/bottom.html b/default-files/bottom.html index cacb66f..ff9bd45 100644 --- a/default-files/bottom.html +++ b/default-files/bottom.html @@ -1,3 +1,24 @@ + <nav> + <?fugitive ifset:article_file ?> + <ul class="nav"> + <?fugitive ifset:article_previous_file ?> + <li> + <a href="<?fugitive article_previous_file ?>.html">« previous</a> + </li> + <?fugitive endifset:article_previous_file ?> + <?fugitive ifset:article_next_file ?> + <li> + <a href="<?fugitive article_next_file ?>.html">next »</a> + </li> + <?fugitive endifset:article_next_file ?> + </ul> + <?fugitive endifset:article_file ?> + <ul> + <li><a href="#topnav">top↑</a></li> + <li><a href="index.html">home</a></li> + <li><a href="archives.html">archives</a></li> + </ul> + </nav> <footer> <p> <a href="http://www.gnu.org/copyleft/copyleft.html">copyleft</a> diff --git a/default-files/fugitive.css b/default-files/fugitive.css index b328c49..e879b27 100644 --- a/default-files/fugitive.css +++ b/default-files/fugitive.css @@ -25,12 +25,14 @@ nav { margin: 0; padding: 0.3em 1em; border: 1px solid #ccc; - border-top: 0; background: #f2f2f2; color: #aaa; - font-size: 1.3em; text-align: left; } +#topnav { + border-top-style: none; + font-size: 1.3em; +} nav ul { padding: 0; margin: 0; } nav ul.nav { float: right; } nav ul li { display: inline; } @@ -60,6 +62,7 @@ header q { article { display: block; text-align: left; + margin-bottom: 3em; counter-reset: code figure example section subsection; } article header { @@ -260,7 +263,7 @@ article > div hr { } footer { display: block; - margin: 3em 0 0 0; + margin: 1em 0 0 0; padding: 1em; border-top: 1px dotted #aaa; color: #888; diff --git a/default-files/top.html b/default-files/top.html index d903e8e..b996a51 100644 --- a/default-files/top.html +++ b/default-files/top.html @@ -22,7 +22,7 @@ </head> <body> <div id="container"> - <nav> + <nav id="topnav"> <?fugitive ifset:article_file ?> <ul class="nav"> <?fugitive ifset:article_previous_file ?> |