From e5447ccbab26054450d742ae26ec08ec41382981 Mon Sep 17 00:00:00 2001 From: Omphalosskeptic Date: Mon, 1 Sep 2014 08:34:20 -0700 Subject: [PATCH] Fixed small-caps on firefox and made drop-caps position correctly cross-browser --- README.md | 2 ++ assets/css/screen.css | 17 ++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 569ae9b..4366f18 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Think of it as Casper, with class. +### [LIVE DEMO!](http://mnml.herokuapp.com) + Features: - Everything that makes Casper great, plus… diff --git a/assets/css/screen.css b/assets/css/screen.css index d7c476c..8e81223 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -812,18 +812,21 @@ body:not(.post-template) .post-title { } .post-content > p:first-child:first-letter{ - float: left; - color: orange; - margin-right: .15em; - margin-top: 10px; - padding-top: 12px; - font-size: 7rem; + font-size:350%; + margin:11px 0 -5px 0; + padding:0 .1em 0 0; + height:.7em; + line-height:.85em; + float:left; + color:orange; font-weight: 900; - line-height: .52; + *line-height:1em; /* IE7 Only */ } + .post-content > p:first-child:first-line{ -moz-font-feature-settings: "smcp=1"; + -moz-font-feature-settings: "smcp"; -ms-font-feature-settings: "smcp"; -webkit-font-feature-settings: "smcp"; -o-font-feature-settings: "smcp";