mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
add top level menu, minimal styling
This commit is contained in:
parent
7518cb4621
commit
d89e837d68
15
doc/nav-menu.html.inc
Normal file
15
doc/nav-menu.html.inc
Normal file
@ -0,0 +1,15 @@
|
||||
<nav>
|
||||
<ul class="center">
|
||||
<li> <a href="index.html">Overview</a>
|
||||
<li> <a href="https://github.com/capitaomorte/yasnippet/blob/master/README.mdown">
|
||||
Intro and Tutorial</a>
|
||||
<li class="center">Snippet
|
||||
<ul>
|
||||
<li> <a href="snippet-organization.html">Organization</a>
|
||||
<li> <a href="snippet-expansion.html">Expansion</a>
|
||||
<li> <a href="snippet-development.html">Development</a>
|
||||
<li> <a href="snippet-menu.html">Menu</a>
|
||||
</ul>
|
||||
<li> <a href="faq.html">FAQ</a>
|
||||
</ul>
|
||||
</nav>
|
@ -4,6 +4,6 @@
|
||||
|
||||
#+LINK: sym file:snippet-reference.org::#%s
|
||||
|
||||
#+LINK_HOME: ./index.html
|
||||
#+OPTIONS: author:nil num:nil
|
||||
#+AUTHOR:
|
||||
#+STYLE: <link rel="stylesheet" type="text/css" href="stylesheets/manual.css" />
|
||||
|
26
doc/stylesheets/manual.css
Normal file
26
doc/stylesheets/manual.css
Normal file
@ -0,0 +1,26 @@
|
||||
nav > ul > li.center > ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav li {
|
||||
vertical-align: top;
|
||||
|
||||
display: inline;
|
||||
list-style-type: none;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
nav > ul > li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* match org's css for <pre> */
|
||||
code {
|
||||
background-color: #F3F5F7;
|
||||
font-family: courier, monospace;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin-left: 5%;
|
||||
margin-right: 10%;
|
||||
}
|
@ -124,6 +124,10 @@
|
||||
(proj-plist
|
||||
(list
|
||||
:base-directory dir :publishing-directory dir
|
||||
:html-preamble
|
||||
(with-temp-buffer
|
||||
(insert-file-contents (expand-file-name "nav-menu.html.inc" dir))
|
||||
(buffer-string))
|
||||
:html-postamble
|
||||
(concat "<hr><p class='creator'>Generated by %c on %d from "
|
||||
rev "</p>\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user