Add flattr button, update css a bit

This commit is contained in:
Jasper Van der Jeugt 2012-02-22 14:12:51 +01:00
parent 1bcc9dff02
commit 1539e8fc71
3 changed files with 29 additions and 39 deletions

View file

@ -1,10 +1,10 @@
html { html {
padding: 0px;
margin: 0px;
background-color: white; background-color: white;
color: black; color: black;
font-family: sans-serif; font-family: sans-serif;
line-height: 160%; line-height: 140%;
margin: 0px;
padding: 0px;
} }
body { body {
@ -34,17 +34,26 @@ div#sidebar {
margin-right: 30px; margin-right: 30px;
width: 160px; width: 160px;
float: left; float: left;
text-align: right; }
div#sidebar h1 {
clear: both;
float: right;
} }
div#sidebar a { div#sidebar a {
clear: both;
display: block; display: block;
font-size: 110%; float: right;
text-decoration: none;
margin-bottom: 10px; margin-bottom: 10px;
text-decoration: none;
text-transform: uppercase; text-transform: uppercase;
} }
div#sidebar img {
margin: 0px;
}
div#content { div#content {
width: 670px; width: 670px;
float: right; float: right;
@ -57,16 +66,23 @@ div#footer {
text-align: center; text-align: center;
} }
p {
padding: 0px;
margin: 10px 0px 10px 0px;
}
a { a {
color: black; color: black;
} }
h1 { h1 {
font-size: 20px; font-size: 20px;
margin: 24px 0px 16px 0px;
} }
h2 { h2 {
font-size: 18px; font-size: 18px;
margin: 24px 0px 16px 0px;
} }
h3 { h3 {
@ -81,19 +97,10 @@ h1 a, h2 a, h3 a {
text-decoration: none; text-decoration: none;
} }
div.column {
width: 50%;
float: left;
}
div.column p {
padding-right: 15px;
}
img { img {
display: block;
margin: 10px auto 10px auto;
border: none; border: none;
display: block;
margin: 6px auto 30px auto;
} }
ul { ul {

View file

@ -1,5 +1,3 @@
# Navigation
[home](/index.html) [home](/index.html)
[philosophy](/philosophy.html) [philosophy](/philosophy.html)
[about](/about.html) [about](/about.html)

View file

@ -13,22 +13,6 @@
<!-- Metadata. --> <!-- Metadata. -->
<meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/> <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
<meta name="description" content="Hakyll - A Static Site Generator in Haskell."/> <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> </head>
<body> <body>
<div id="main"> <div id="main">
@ -38,13 +22,14 @@
</div> </div>
<!-- Sidebar. --> <!-- Sidebar. -->
<div id="sidebar"> <div id="sidebar">
<h1>Navigation</h1>
$sidebar$ $sidebar$
<!-- Flattr button --> <!-- Flattr button -->
<!-- <h1>Donate</h1>
<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://jaspervdj.be/hakyll"></a> <a href="http://flattr.com/thing/291889/Hakyll" target="_blank">
<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> <img src="http://api.flattr.com/button/flattr-badge-large.png"
--> alt="Flattr this" title="Flattr this" border="0" /></a>
</div> </div>
<div id="content"> <div id="content">