Skip to content

Instantly share code, notes, and snippets.

@jlord
Created March 31, 2014 19:44
Show Gist options
  • Save jlord/9900601 to your computer and use it in GitHub Desktop.
Save jlord/9900601 to your computer and use it in GitHub Desktop.
Attribution on blockquotes

@mrmrs weren't you talking about doing attributions in blockquotes that one time that other day?

I'm playing arund with this:

img

Am I breaking any rules? I'm going to keep it either way (unless it destroys something..)

You could probably CSS it to the next line below the quote too..

The reason is that the adoption of any one innovation made adoption of certain others possible, which then, if useful, were more likely to spread. Bands and communities of bands with better combinations of cultural innovations became more productive and better equipped for competition and war. Wilson, Edward O. (2012-04-02). The Social Conquest of Earth (Kindle Locations 1496-1498). Norton. Kindle Edition

/* simplified */
blockquote {font-style: italic;}
blockquote p em {text-transform: uppercase; font-style: normal;}
blockquote p em:before {content: "\2014 "; display: inline;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment