From 64fa83e82bf7f09a3646e1dc28f49666f5eea5e1 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sun, 24 Aug 2014 22:56:00 +0800 Subject: [PATCH] Third Commit --- _layouts/default.html | 6 ++--- _layouts/pun.html | 10 ++++----- .../14-08-23-theese-jokes-are-too-cheesy.md | 2 +- styles/main.css | 22 +++++++++++++------ 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 7f66663..5e98856 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,10 +15,10 @@ {{ content }} diff --git a/_layouts/pun.html b/_layouts/pun.html index f938506..4f70539 100644 --- a/_layouts/pun.html +++ b/_layouts/pun.html @@ -3,13 +3,13 @@ layout: default footer: hidden ---
-
+
{{content}}
\ No newline at end of file diff --git a/_posts/14-08-23-theese-jokes-are-too-cheesy.md b/_posts/14-08-23-theese-jokes-are-too-cheesy.md index 597307b..25c4cef 100644 --- a/_posts/14-08-23-theese-jokes-are-too-cheesy.md +++ b/_posts/14-08-23-theese-jokes-are-too-cheesy.md @@ -1,6 +1,6 @@ --- layout: pun color: "#fff" -background-color: "#2ecc71" +background: "#2ecc71" --- Theese jokes are too cheesy \ No newline at end of file diff --git a/styles/main.css b/styles/main.css index ab511f2..612b9be 100644 --- a/styles/main.css +++ b/styles/main.css @@ -16,6 +16,7 @@ body { background-color: #fff; color: #444; -webkit-font-smoothing: antialiased; + -webkit-tap-highlight-color: none; } main { @@ -33,6 +34,7 @@ main { main.pun { padding: 0; margin: 0; + max-width: none; } a:not(.btn) { @@ -90,7 +92,10 @@ a:hover, a:focus { vertical-align: bottom; } .share .btn i { - margin-right: 0.3em; + margin: 0 0.1em; +} +.share .btn span { + margin-left: 0.3em; } .btn[href="#facebook"] { border-color: #3b5998 !important; @@ -118,11 +123,11 @@ a:hover, a:focus { } .puncontent { - font-size: 50px; + font-size: 2.5em; line-height: 1.2em; - padding: 2em 1em; - min-height: 80vh; - padding-top: 3em; + padding: 15vh 10vw; + min-height: 70vh; + padding-top: 20vh; } h1, h2, h3, h4, h5, h6 { @@ -304,7 +309,7 @@ th { font-weight: 300; line-height: 1em; /*height: 100%;*/ - padding: 0.3em 5%; + padding: 0.3em 5vw; } .site-header nav a { box-shadow: none !important; @@ -315,7 +320,7 @@ th { transition: 0.25s color, 0.25s background-color; } -.site-header nav span { +.site-header nav > a > span { display: block; height: 100%; } @@ -371,4 +376,7 @@ footer { .site-header { font-size: 18px; } + .hidewhensmall { + display: none; + } }