Add flattr button, update css a bit
This commit is contained in:
parent
1bcc9dff02
commit
1539e8fc71
3 changed files with 29 additions and 39 deletions
|
@ -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 {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# Navigation
|
||||
|
||||
[home](/index.html)
|
||||
[philosophy](/philosophy.html)
|
||||
[about](/about.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">
|
||||
|
|
Loading…
Reference in a new issue