Commit d5b55e6e authored by David Renshaw's avatar David Renshaw

Prefer display:block over inserting new <p> elements.

parent 6b3173f6
...@@ -41,18 +41,18 @@ ...@@ -41,18 +41,18 @@
<section id="menu"> <section id="menu">
<ul> <ul>
<li><a href="{{ site.baseurl }}index.html"><p>Introduction</p></a></li> <li><a href="{{ site.baseurl }}index.html">Introduction</a></li>
<li><a href="{{ site.baseurl }}news/"><p>News</p></a></li> <li><a href="{{ site.baseurl }}news/">News</a></li>
<li><a href="{{ site.baseurl }}install.html"><p>Installation</p></a></li> <li><a href="{{ site.baseurl }}install.html">Installation</a></li>
<li><a href="{{ site.baseurl }}language.html"><p>Schema Language</p></a></li> <li><a href="{{ site.baseurl }}language.html">Schema Language</a></li>
<li><a href="{{ site.baseurl }}encoding.html"><p>Encoding</p></a></li> <li><a href="{{ site.baseurl }}encoding.html">Encoding</a></li>
<li><a href="{{ site.baseurl }}rpc.html"><p>RPC Protocol</p></a></li> <li><a href="{{ site.baseurl }}rpc.html">RPC Protocol</a></li>
<li><a href="{{ site.baseurl }}capnp-tool.html"><p>The <code>capnp</code> Tool</p></a></li> <li><a href="{{ site.baseurl }}capnp-tool.html">The <code>capnp</code> Tool</a></li>
<li><a href="{{ site.baseurl }}cxx.html"><p>C++ Serialization</p></a></li> <li><a href="{{ site.baseurl }}cxx.html">C++ Serialization</a></li>
<li><a href="{{ site.baseurl }}cxxrpc.html"><p>C++ RPC</p></a></li> <li><a href="{{ site.baseurl }}cxxrpc.html">C++ RPC</a></li>
<li><a href="{{ site.baseurl }}otherlang.html"><p>Other Languages</p></a></li> <li><a href="{{ site.baseurl }}otherlang.html">Other Languages</a></li>
<li><a href="{{ site.baseurl }}roadmap.html"><p>Road Map</p></a></li> <li><a href="{{ site.baseurl }}roadmap.html">Road Map</a></li>
<li><a href="{{ site.baseurl }}faq.html"><p>FAQ</p></a></li> <li><a href="{{ site.baseurl }}faq.html">FAQ</a></li>
</ul> </ul>
</section> </section>
<section id="main_content" class="inner"> <section id="main_content" class="inner">
...@@ -602,12 +602,10 @@ body.narrow #menu { ...@@ -602,12 +602,10 @@ body.narrow #menu {
list-style-type: none; list-style-type: none;
background-color: #212121; background-color: #212121;
} }
#menu>ul>li>a>p, #menu>ul>li.selected { #menu>ul>li>a, #menu>ul>li.selected {
display: block;
padding: 10px 15px 10px 15px; padding: 10px 15px 10px 15px;
} }
#menu>ul>li>a>p {
text-indent: 0;
}
#menu>ul>li { #menu>ul>li {
border-right: 1px solid #111; border-right: 1px solid #111;
} }
...@@ -686,7 +684,7 @@ ul#toc { ...@@ -686,7 +684,7 @@ ul#toc {
margin: 0; margin: 0;
text-indent: -15px; text-indent: -15px;
} }
#menu #toc p:hover { #menu p:hover {
background-color: #313131; background-color: #313131;
cursor: pointer; cursor: pointer;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment