on master help sign in
Add flattr button, update css a bit
1539e8fJasper Van der Jeugt
web/css/default.css+24−17
@@ -1,10 +1,10 @@
1html {
1html {
2− padding: 0px;
3− margin: 0px;
4 background-color: white;
2 background-color: white;
5 color: black;
3 color: black;
6 font-family: sans-serif;
4 font-family: sans-serif;
7− line-height: 160%;
5+ line-height: 140%;
6+ margin: 0px;
7+ padding: 0px;
8}
8}
9
9
10body {
10body {
@@ -34,17 +34,26 @@ div#sidebar {
34 margin-right: 30px;
34 margin-right: 30px;
35 width: 160px;
35 width: 160px;
36 float: left;
36 float: left;
37+}
38+
39+div#sidebar h1 {
40+ clear: both;
37− text-align: right;
41+ float: right;
38}
42}
39
43
40div#sidebar a {
44div#sidebar a {
45+ clear: both;
41 display: block;
46 display: block;
42− font-size: 110%;
47+ float: right;
43− text-decoration: none;
44 margin-bottom: 10px;
48 margin-bottom: 10px;
49+ text-decoration: none;
45 text-transform: uppercase;
50 text-transform: uppercase;
46}
51}
47
52
53+div#sidebar img {
54+ margin: 0px;
55+}
56+
48div#content {
57div#content {
49 width: 670px;
58 width: 670px;
50 float: right;
59 float: right;
@@ -57,16 +66,23 @@ div#footer {
57 text-align: center;
66 text-align: center;
58}
67}
59
68
69+p {
70+ padding: 0px;
71+ margin: 10px 0px 10px 0px;
72+}
73+
60a {
74a {
61 color: black;
75 color: black;
62}
76}
63
77
64h1 {
78h1 {
65 font-size: 20px;
79 font-size: 20px;
80+ margin: 24px 0px 16px 0px;
66}
81}
67
82
68h2 {
83h2 {
69 font-size: 18px;
84 font-size: 18px;
85+ margin: 24px 0px 16px 0px;
70}
86}
71
87
72h3 {
88h3 {
@@ -81,19 +97,10 @@ h1 a, h2 a, h3 a {
81 text-decoration: none;
97 text-decoration: none;
82}
98}
83
99
84−div.column {
85− width: 50%;
86− float: left;
87−}
88−
89−div.column p {
90− padding-right: 15px;
91−}
92−
93img {
100img {
94− display: block;
95− margin: 10px auto 10px auto;
96 border: none;
101 border: none;
102+ display: block;
103+ margin: 6px auto 30px auto;
97}
104}
98
105
99ul {
106ul {
web/sidebar.markdown−2
@@ -1,5 +1,3 @@
1−# Navigation
2−
3[home](/index.html)
1[home](/index.html)
4[philosophy](/philosophy.html)
2[philosophy](/philosophy.html)
5[about](/about.html)
3[about](/about.html)
web/templates/default.html+5−20
@@ -13,22 +13,6 @@
13 <!-- Metadata. -->
13 <!-- Metadata. -->
14 <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
14 <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
16−
17− <!-- Flattr JS -->
18− <!--
19− <script type="text/javascript">
20− /* <![CDATA[ */
21− (function() {
22− var s = document.createElement('script'), t =
23− document.getElementsByTagName('script')[0];
24− s.type = 'text/javascript';
25− s.async = true;
26− s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
27− t.parentNode.insertBefore(s, t);
28− })();
29− /* ]]> */
30− </script>
31− -->
32 </head>
16 </head>
33 <body>
17 <body>
34 <div id="main">
18 <div id="main">
@@ -38,13 +22,14 @@
38 </div>
22 </div>
39 <!-- Sidebar. -->
23 <!-- Sidebar. -->
40 <div id="sidebar">
24 <div id="sidebar">
25+ <h1>Navigation</h1>
41 $sidebar$
26 $sidebar$
42
27
43 <!-- Flattr button -->
28 <!-- Flattr button -->
44− <!--
29+ <h1>Donate</h1>
45− <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://jaspervdj.be/hakyll"></a>
46− <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>
30+ <a href="http://flattr.com/thing/291889/Hakyll" target="_blank">
47− -->
31+ <img src="http://api.flattr.com/button/flattr-badge-large.png"
32+ alt="Flattr this" title="Flattr this" border="0" /></a>
48 </div>
33 </div>
49
34
50 <div id="content">
35 <div id="content">