diff options
author | farthen <monkey@farthen.de> | 2013-09-05 00:11:44 +0200 |
---|---|---|
committer | farthen <monkey@farthen.de> | 2013-09-05 00:11:44 +0200 |
commit | 2604d93350867ccf6f434d93d51793c7f7acee69 (patch) | |
tree | 1db2653bb422578eeea8cbade73bb0fff96e6eec /static/css | |
parent | c963846bc3d0bbc5901ffb2f1110111f9e0d1fc9 (diff) | |
download | www-2604d93350867ccf6f434d93d51793c7f7acee69.tar.gz www-2604d93350867ccf6f434d93d51793c7f7acee69.tar.bz2 www-2604d93350867ccf6f434d93d51793c7f7acee69.zip |
blog.html: Make entry titles wrap correctly at small display sizes
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/main.css | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/static/css/main.css b/static/css/main.css index b68a0ac..cb2ec41 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -110,17 +110,34 @@ nav a:hover { } #blog-index .blog-year { - margin-bottom: 2%; + padding-bottom: 2%; + clear: both; + overflow: auto; +} + +.blog-entry { + width: 100%; + clear: both; } .entry-date { - float: left; width: 40%; text-align: right; } +.entry-title { + float: left; + text-align: left; + width: 50%; + margin-left: 2%; +} + +.entry-date, .entry-title { + float: left; +} + .blog-year a { - padding-left: 2%; + padding-left: 0%; } #blog-show small { |