Last formatting change for a while hopefully

This commit is contained in:
flaviut 2014-06-04 19:15:56 -04:00
commit 128990ff92
2 changed files with 4 additions and 11 deletions

View file

@ -67,7 +67,6 @@ a:hover {
#main p { #main p {
margin: 20px 0px; margin: 20px 0px;
margin-right: 1em; margin-right: 1em;
font-size: 15px;
line-height: 20px; line-height: 20px;
} }
@ -75,10 +74,6 @@ a:hover {
margin: 20px; margin: 20px;
} }
#main li {
font-size: 15px;
}
#main ul li { #main ul li {
list-style-type: square; list-style-type: square;
} }
@ -91,8 +86,7 @@ a:hover {
} }
#main table { #main table {
font-size: 15px; box-shadow: 1px 3px 12px #BBB;
box-shadow:1px 3px 12px #BBB;
margin: 20px 10px 20px 0px; margin: 20px 10px 20px 0px;
} }
@ -120,7 +114,6 @@ a:hover {
background:#FFF; background:#FFF;
box-shadow:1px 3px 12px #BBB; box-shadow:1px 3px 12px #BBB;
padding: 10px 15px; padding: 10px 15px;
font-size: 15px;
margin: 20px 10px 20px 0px; margin: 20px 10px 20px 0px;
} }
@ -139,7 +132,7 @@ a:hover {
border-right: 1px solid #ccc; border-right: 1px solid #ccc;
font-size: 14px; font-size: 90%;
line-height: 20px; line-height: 20px;
} }

View file

@ -14,10 +14,10 @@
<%= @items["/toc/"].compiled_content(:snapshot => :last) %> <%= @items["/toc/"].compiled_content(:snapshot => :last) %>
</div> </div>
<div id="main"> <div id="main">
<h1 id="gh-buttons"><a class="icon-fork" href="https://github.com/flaviut/nimrod-by-example/"></a> <a class="icon-star" href="https://github.com/flaviut/nimrod-by-example/stargazers" /><div id="starcount">?</div></a></h1> <h1 id="gh-buttons"><a class="icon-fork" href="https://github.com/flaviut/nimrod-by-example/"></a> <a class="icon-star" href="https://github.com/flaviut/nimrod-by-example/stargazers" /><div id="starcount"></div></a></h1>
<%= yield %> <%= yield %>
</div> </div>
<script> <script>
localStorage.setItem(window.location.pathname, true); localStorage.setItem(window.location.pathname, true);
var tocLinks = document.querySelectorAll("#sidebar a:link, a:visited"); var tocLinks = document.querySelectorAll("#sidebar a:link, a:visited");
for(var i = 0; i < tocLinks.length; i++){ for(var i = 0; i < tocLinks.length; i++){