From b15779d9c7fea54f5e8c217da788866e81a08e38 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 6 Oct 2014 21:31:27 +0100 Subject: another dump! albeit a small one. --- new_journal.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'new_journal.css') diff --git a/new_journal.css b/new_journal.css index 2c14230..1b0430d 100644 --- a/new_journal.css +++ b/new_journal.css @@ -1,4 +1,4 @@ -@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700); +@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700); *, *:before, *:after { -moz-box-sizing: border-box; @@ -18,6 +18,8 @@ body { border-color: #ccc; background-color: #fcfcfc; font-family: 'PT Sans'; + -moz-hyphens: auto; + -webkit-hyphens: auto; } header nav { padding-top: 2.25rem; @@ -58,17 +60,19 @@ header h1 { .post > p:first-of-type:first-letter { float: left; color: #903; - font-size: 4rem; - line-height: 2.5rem; - padding-top: 0.5rem; + font-size: 3rem; + line-height: 2rem; + padding-top: 0.4rem; padding-right: 0.4rem; - padding-left: 0.2rem; + padding-left: 0.1rem; font-family: 'Georgia'; } @media (max-width: 767px) { .post > p:first-of-type:first-letter { + padding-top: 0.3rem; padding-right: 0.2rem; + font-size: 2.7rem; } } body > * + :not(:last-child) { -- cgit v1.2.3-70-g09d2