diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 09:25:11 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 09:25:11 +0000 |
commit | 8152c250c54b6be6533eecf393d38c83b4c66348 (patch) | |
tree | 6fcde0ce3914d61e8bc0414b01b686dd77d805c1 /provider | |
parent | 68b7a70cca25a891df55721bf104fe36c8cb862a (diff) | |
download | dirty-haskell.org-8152c250c54b6be6533eecf393d38c83b4c66348.tar dirty-haskell.org-8152c250c54b6be6533eecf393d38c83b4c66348.tar.gz dirty-haskell.org-8152c250c54b6be6533eecf393d38c83b4c66348.tar.bz2 dirty-haskell.org-8152c250c54b6be6533eecf393d38c83b4c66348.tar.xz dirty-haskell.org-8152c250c54b6be6533eecf393d38c83b4c66348.zip |
Site redesign
Diffstat (limited to 'provider')
-rw-r--r-- | provider/css/default.css | 77 | ||||
-rw-r--r-- | provider/index.html | 1 | ||||
-rw-r--r-- | provider/index.md | 3 | ||||
-rw-r--r-- | provider/templates/default.html | 5 |
4 files changed, 70 insertions, 16 deletions
diff --git a/provider/css/default.css b/provider/css/default.css index af4832a..a100adc 100644 --- a/provider/css/default.css +++ b/provider/css/default.css | |||
@@ -1,29 +1,82 @@ | |||
1 | header, footer { | ||
2 | padding:1em 0 1em 0; | ||
3 | } | ||
4 | |||
5 | header { | ||
6 | border-bottom:2px solid #f0f0f0; | ||
7 | } | ||
8 | |||
9 | footer { | ||
10 | border-top:2px solid #f0f0f0; | ||
11 | } | ||
12 | |||
13 | footer ul.tags { | ||
14 | list-style:none outside none; | ||
15 | margin:0; | ||
16 | padding:0; | ||
17 | display:inline; | ||
18 | } | ||
19 | |||
20 | footer ul.tags:before { content:" — "; } | ||
21 | |||
22 | footer ul.tags li { | ||
23 | margin:0; | ||
24 | padding:0; | ||
25 | display:inline; | ||
26 | } | ||
27 | |||
28 | footer ul.tags li:after { content:", "; } | ||
29 | |||
30 | footer ul.tags li:last-child:after { content: ""; } | ||
31 | |||
32 | header h1, header h2 { | ||
33 | margin:0; | ||
34 | } | ||
35 | |||
36 | header h2.subtitle { | ||
37 | font-size:1em; | ||
38 | font-weight:normal; | ||
39 | font-style:italic; | ||
40 | } | ||
41 | |||
1 | body { | 42 | body { |
2 | margin: auto; | 43 | margin:auto; |
3 | padding-right: 1em; | 44 | padding-right:1em; |
4 | padding-left: 1em; | 45 | padding-left:1em; |
5 | font: normal 1.1em monospace; | 46 | font:normal 1em monospace; |
6 | max-width: 90em; | 47 | max-width:90em; |
7 | text-align: justify; | 48 | text-align:justify; |
8 | } | 49 | } |
9 | 50 | ||
10 | a { | 51 | a { |
11 | color: inherit; | 52 | color:inherit; |
12 | } | 53 | } |
13 | 54 | ||
14 | p { | 55 | p { |
15 | margin-bottom: 0 | 56 | margin-top:1em; |
57 | margin-bottom:0; | ||
58 | } | ||
59 | |||
60 | p:last-of-type { | ||
61 | margin-bottom:1em; | ||
16 | } | 62 | } |
17 | 63 | ||
18 | p + p { | 64 | p + p { |
19 | text-indent: 1.5em; | 65 | text-indent:1.5em; |
20 | margin-top: 0; | 66 | margin-top:0; |
67 | } | ||
68 | |||
69 | footer p, footer p:last-of-type { | ||
70 | margin:0; | ||
71 | padding:0; | ||
72 | text-indent:0; | ||
73 | display:inline; | ||
21 | } | 74 | } |
22 | 75 | ||
23 | div.sourceCode { | 76 | div.sourceCode { |
24 | padding-left: 1.5em; | 77 | padding-left:1.5em; |
25 | border-left:2px solid #f0f0f0; | 78 | border-left:2px solid #f0f0f0; |
26 | margin-left: -2px; | 79 | margin-left:-2px; |
27 | } | 80 | } |
28 | 81 | ||
29 | pre code { | 82 | pre code { |
diff --git a/provider/index.html b/provider/index.html index 8eb184f..422b726 100644 --- a/provider/index.html +++ b/provider/index.html | |||
@@ -1,4 +1,3 @@ | |||
1 | $body$ | ||
2 | <ul> | 1 | <ul> |
3 | $for(tags)$ | 2 | $for(tags)$ |
4 | <li> | 3 | <li> |
diff --git a/provider/index.md b/provider/index.md deleted file mode 100644 index 53a06bc..0000000 --- a/provider/index.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | This is a blog. | ||
2 | It contains things. | ||
3 | Send other things to <blog@dirty-haskell.org> if you so choose. | ||
diff --git a/provider/templates/default.html b/provider/templates/default.html index ba412e6..4dca581 100644 --- a/provider/templates/default.html +++ b/provider/templates/default.html | |||
@@ -18,8 +18,13 @@ | |||
18 | $if(title)$ | 18 | $if(title)$ |
19 | <header> | 19 | <header> |
20 | <h1 class="title"><a href="/" title="dirty-haskell.org">dirty-haskell.org</a>: $title$</h1> | 20 | <h1 class="title"><a href="/" title="dirty-haskell.org">dirty-haskell.org</a>: $title$</h1> |
21 | <h2 class="subtitle">It's not crazy — it's having fun with types.</h2> | ||
21 | </header> | 22 | </header> |
22 | $endif$ | 23 | $endif$ |
23 | $body$ | 24 | $body$ |
25 | <footer> | ||
26 | <p class="info">$if(published)$$published$, $endif$<a href="mailto:blog@dirty-haskell.org">blog@dirty-haskell.org</a></p> | ||
27 | $if(tagList)$<ul class="tags">$tagList$</ul>$endif$ | ||
28 | </footer> | ||
24 | </body> | 29 | </body> |
25 | </html> | 30 | </html> |