diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/css/default.css | 41 | ||||
-rw-r--r-- | web/sidebar.markdown | 2 | ||||
-rw-r--r-- | web/templates/default.html | 25 |
3 files changed, 29 insertions, 39 deletions
diff --git a/web/css/default.css b/web/css/default.css index 25509a8..e1336e4 100644 --- a/web/css/default.css +++ b/web/css/default.css @@ -1,10 +1,10 @@ html { - padding: 0px; - margin: 0px; background-color: white; color: black; font-family: sans-serif; - line-height: 160%; + line-height: 140%; + margin: 0px; + padding: 0px; } body { @@ -34,17 +34,26 @@ div#sidebar { margin-right: 30px; width: 160px; float: left; - text-align: right; +} + +div#sidebar h1 { + clear: both; + float: right; } div#sidebar a { + clear: both; display: block; - font-size: 110%; - text-decoration: none; + float: right; margin-bottom: 10px; + text-decoration: none; text-transform: uppercase; } +div#sidebar img { + margin: 0px; +} + div#content { width: 670px; float: right; @@ -57,16 +66,23 @@ div#footer { text-align: center; } +p { + padding: 0px; + margin: 10px 0px 10px 0px; +} + a { color: black; } h1 { font-size: 20px; + margin: 24px 0px 16px 0px; } h2 { font-size: 18px; + margin: 24px 0px 16px 0px; } h3 { @@ -81,19 +97,10 @@ h1 a, h2 a, h3 a { text-decoration: none; } -div.column { - width: 50%; - float: left; -} - -div.column p { - padding-right: 15px; -} - img { - display: block; - margin: 10px auto 10px auto; border: none; + display: block; + margin: 6px auto 30px auto; } ul { diff --git a/web/sidebar.markdown b/web/sidebar.markdown index 287ce7a..5eb62ca 100644 --- a/web/sidebar.markdown +++ b/web/sidebar.markdown @@ -1,5 +1,3 @@ -# Navigation - [home](/index.html) [philosophy](/philosophy.html) [about](/about.html) diff --git a/web/templates/default.html b/web/templates/default.html index efceb69..57a5a52 100644 --- a/web/templates/default.html +++ b/web/templates/default.html @@ -13,22 +13,6 @@ <!-- Metadata. --> <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/> <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/> - - <!-- Flattr JS --> - <!-- - <script type="text/javascript"> - /* <![CDATA[ */ - (function() { - var s = document.createElement('script'), t = - document.getElementsByTagName('script')[0]; - s.type = 'text/javascript'; - s.async = true; - s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto'; - t.parentNode.insertBefore(s, t); - })(); - /* ]]> */ - </script> - --> </head> <body> <div id="main"> @@ -38,13 +22,14 @@ </div> <!-- Sidebar. --> <div id="sidebar"> + <h1>Navigation</h1> $sidebar$ <!-- Flattr button --> - <!-- - <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://jaspervdj.be/hakyll"></a> - <noscript><a href="http://flattr.com/thing/291889/Hakyll" target="_blank"> <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript> - --> + <h1>Donate</h1> + <a href="http://flattr.com/thing/291889/Hakyll" target="_blank"> + <img src="http://api.flattr.com/button/flattr-badge-large.png" + alt="Flattr this" title="Flattr this" border="0" /></a> </div> <div id="content"> |