diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-01-04 19:53:27 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-01-04 19:53:27 -0800 |
| commit | 15cc1e7b64b479ea483f6d690ea2017c03db740f (patch) | |
| tree | 7c0f66d752b931748f89e7fdf1c5249b954eb606 | |
| parent | Make the index page similar to a post page. (diff) | |
| download | lumberjaph-15cc1e7b64b479ea483f6d690ea2017c03db740f.tar.gz | |
Update font and add logo
Diffstat (limited to '')
| -rw-r--r-- | _layouts/post.html | 22 | ||||
| -rw-r--r-- | _layouts/static.html | 4 | ||||
| -rw-r--r-- | static/css/style.css | 18 | ||||
| -rw-r--r-- | static/fonts/cabin.ttf | bin | 0 -> 188320 bytes |
4 files changed, 32 insertions, 12 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 47e12a4..f11a80f 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,28 +1,32 @@ --- layout: default --- +<div id="logo"> + <a href='/list.html'><img src='http://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/EnsoZen.png/50px-EnsoZen.png' alt='' /></a> +</div> + <h1><a href="{{ page.url }}">{{ page.title }}</a></h1> -{% if page.previous.url %} +{% if page.previous.url %} <p id="bigleft"><a href="{{page.previous.url}}">«</a></p><br /> -{% endif %} -{% if page.next.url %} - <p id="bigright"><a href="{{page.next.url}}">»</a></p> -{% endif %} +{% endif %} +{% if page.next.url %} + <p id="bigright"><a href="{{page.next.url}}">»</a></p> +{% endif %} <div id="entry"> {{ content }} <p class="timestamp"> - {% if page.previous.url %} + {% if page.previous.url %} <a href="{{page.previous.url}}">« {{page.previous.title}}</a> | {% endif %} {{ page.date | date_to_string }} - {% if page.next.url %} - | <a href="{{page.next.url}}">{{page.next.title}} »</a> - {% endif %} + {% if page.next.url %} + | <a href="{{page.next.url}}">{{page.next.title}} »</a> + {% endif %} </p> </div> diff --git a/_layouts/static.html b/_layouts/static.html index 28bbde6..9d4b948 100644 --- a/_layouts/static.html +++ b/_layouts/static.html @@ -1,6 +1,10 @@ --- layout: default --- +<div id="logo"> + <a href='/list.html'><img src='http://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/EnsoZen.png/50px-EnsoZen.png' alt='' /></a> +</div> + {{ content }} {% include footer.html %} diff --git a/static/css/style.css b/static/css/style.css index 6c31263..4810e0c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,5 +1,12 @@ +@font-face { + font-family: 'Cabin'; + font-style: normal; + font-weight: 400; + src: local('Cabin Regular'), local('Cabin-Regular'), url('/static/fonts/cabin.ttf') format('truetype'); +} + * { - font-family: Helvetica, sans-serif; + font-family: 'Cabin', "Book Antiqua", "URW Palladio L", sans-serif; } body { @@ -12,7 +19,7 @@ div#container { } h1 { - margin: 1.5em 0 0 0; + margin: 1.5em 0 0 3em; } h1 a { @@ -49,7 +56,7 @@ blockquote { } #entry, #wrapper { - font-size: 13pt; + font-size: 15pt; } #entry img { @@ -62,6 +69,11 @@ img.right { margin-left: 1em; } +div#logo { + margin: -0.2em 0 0 0; + float: left; +} + #entry, #entries, #wrapper, #resume { width: 40em; margin-left: 5em; diff --git a/static/fonts/cabin.ttf b/static/fonts/cabin.ttf Binary files differnew file mode 100644 index 0000000..7c57306 --- /dev/null +++ b/static/fonts/cabin.ttf |
