From c05f4071744b9d1a14e4e8b1fdc7d2bc79bb1dcf Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 5 Dec 2012 03:36:04 -0600 Subject: [PATCH 01/12] Tweaked the article listing styles --- _includes/post-article.html | 47 +++++++++----------- _layouts/default.html | 11 ++++- css/style.css | 87 ++++++++++++++++++++++++++++++++++--- css/theme.css | 27 ++++-------- 4 files changed, 117 insertions(+), 55 deletions(-) diff --git a/_includes/post-article.html b/_includes/post-article.html index 918fbaa..0f2ef87 100644 --- a/_includes/post-article.html +++ b/_includes/post-article.html @@ -1,34 +1,28 @@ - {% assign content = post.content %} - -
-
-
-

- {{ post.title }} -

-
- -
- {{ content }} -
- +
+

+ {{ post.title }} +

+
+ +
+ {{ content }}
- -
-
- + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 5681e91..fa93aab 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -54,7 +54,14 @@

@@ -66,4 +73,4 @@

- + \ No newline at end of file diff --git a/css/style.css b/css/style.css index a8949de..fa880f7 100644 --- a/css/style.css +++ b/css/style.css @@ -1,3 +1,8 @@ +#posts .post { + border-bottom: none; + padding-bottom: 64px; +} + .post h1 { } .post h2 { @@ -31,19 +36,51 @@ section#header-container img.displayed { } article { - margin-right: auto; - margin-left: auto; - width: 700px; + margin: 42px auto 0; + position: relative; + width: 666px; text-align: justify; -} - -section.entry-content { - padding: 25px; background-color: white; border-radius: 5px 5px 5px 5px; -webkit-box-shadow: 3px 3px #cfcfcf; -moz-box-shadow: 3px 3px #cfcfcf;; box-shadow: 3px 3px #cfcfcf;; + padding: 32px; +} + +article header { + margin: -74px 0 0 -32px; + position: absolute; +} + +article header .entry-title { + margin: 0; +} + +article .post_info { + line-height: 15px; + border-bottom: 4px solid #bbbbbb; + padding-bottom: 8px; +} + +article .post_info address, +article .post_info abbr { + font-size: 13px; + font-weight: bold; + text-transform: uppercase; +} + +article .post_info .byline { + font-size: 12px; + float: right; +} + +article .post_info .published { + border: none; +} + +section.entry-content { + margin: 32px 0; } a { @@ -65,3 +102,39 @@ article h1 a { font-weight: bold; letter-spacing: 1px;; } + +article .post_meta { + border-top: 1px solid #bbbbbb; +} + +article .post_meta ul { + margin: 0; + padding: 4px 0 0; +} + +article .post_meta ul li { + float: left; +} + +article .post_meta .tags { + float: left; + line-height: 20px; + text-transform: lowercase; + letter-spacing: 1px; +} + +article .post_meta .tags li { + margin-right: 4px; +} + +article .post_meta .tags span { + color: #78a22f; +} + +article .post_meta .social_sharing { + float: right; +} + +article .post_meta .social_sharing li { + margin-left: 4px; +} diff --git a/css/theme.css b/css/theme.css index ebaa0d4..fea4dde 100644 --- a/css/theme.css +++ b/css/theme.css @@ -42,21 +42,18 @@ iframe#tumblr_controls { } #color_bar { - height: 300px; + height: 280px; background-image: url('/img/bg_texture2_72px.jpg'); } -IMG.displayed { -display: block; -margin-left: auto; -margin-right: auto; -padding-top: 39px; +img.displayed { + display: block; + margin: 79px auto 0 } #container { - width: 950px; - margin: 0 auto; - padding: 60px 20px; + width: 960px; + margin: 80px auto 32px; } #header { @@ -252,17 +249,9 @@ padding-top: 39px; } .post .caption { - width: auto; - float: none; + width: 100%; } - -.post .caption { - width: 513px; - float: right; -} - - .content_source { margin-bottom: 20px; } @@ -454,7 +443,7 @@ padding-top: 39px; background: #ccc; } -.post .post_info { +.post_meta ul { width: auto; font-size: 12px; font-family: 'Times New Roman', Times, serif; From 69cce9d4529e49123bf83e37603f88500f655b06 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 5 Dec 2012 03:37:14 -0600 Subject: [PATCH 02/12] Made twitter widget load asynchronously --- _layouts/default.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index fa93aab..5adf9b5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -54,14 +54,7 @@

From a1c8b467048bc52e2d72e135eb35da828162bc7d Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 5 Dec 2012 03:44:02 -0600 Subject: [PATCH 03/12] Doing it this way yields better rendering of the twitter button, since count isn't needed/used --- _includes/post-article.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_includes/post-article.html b/_includes/post-article.html index 0f2ef87..6d4e95f 100644 --- a/_includes/post-article.html +++ b/_includes/post-article.html @@ -29,8 +29,10 @@

  • From 82e1e564ab6d39696eec225d5d17fda364476273 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 5 Dec 2012 04:08:16 -0600 Subject: [PATCH 04/12] Made the google plus button nicer --- _includes/post-article.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/post-article.html b/_includes/post-article.html index 6d4e95f..02acdf3 100644 --- a/_includes/post-article.html +++ b/_includes/post-article.html @@ -24,7 +24,7 @@

    -