Created
October 19, 2012 21:54
-
-
Save matthewbeta/3920956 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<hr> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(http://fonts.googleapis.com/css?family=Oranienbaum); | |
body { | |
background: #EEE; | |
font-family: 'Oranienbaum', serif; | |
} | |
div { | |
width: 34em; | |
margin: 2em auto ; | |
font-size: 1em; | |
line-height: 1.5; | |
color: #4d4b42 | |
} | |
p:first-of-type { | |
text-transform: uppercase; | |
text-align: justify; | |
font-variant: small-caps; | |
} | |
p:first-of-type:first-line { | |
font-weight: bold | |
} | |
p { | |
padding-bottom: 1em; | |
} | |
/* Glyph, by Harry Roberts | via http://css-tricks.com/examples/hrs/ */ | |
hr{ | |
margin: 2em 0; | |
padding: 1; | |
border: none; | |
border-top: medium double #DDD; | |
color: #fff; | |
text-align: center; | |
} | |
hr:after { | |
/* content: "β"; | |
display: inline-block; | |
position: relative; | |
top: -0.7em; | |
font-size: 1.5em; | |
padding: 0 0.25em; | |
background: white;*/ | |
content: ""; | |
position: relative; | |
top: -0.7em; | |
display: inline-block; | |
height: 1.4em; | |
width: 1.4em; | |
background: url('http://lorempixel.com/400/400') 0 0 no-repeat; | |
} | |
hr:before { | |
content: ""; | |
position: relative; | |
top: -2.1em; | |
display: inline-block; | |
height: 0.7em; | |
width: 0.7em; | |
background: url('http://lorempixel.com/400/400') 0 0 no-repeat; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment