Skip to content

Commit

Permalink
Fixed small-caps on firefox and made drop-caps position correctly cro…
Browse files Browse the repository at this point in the history
…ss-browser
  • Loading branch information
curiositry committed Sep 1, 2014
1 parent 4c4e704 commit e5447cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Think of it as Casper, with class.

### [LIVE DEMO!](http://mnml.herokuapp.com)

Features:

- Everything that makes Casper great, plus…
Expand Down
17 changes: 10 additions & 7 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e5447cc

Please sign in to comment.