Created
July 8, 2012 11:51
-
-
Save WhatIsHeDoing/3070638 to your computer and use it in GitHub Desktop.
Sample Wordpress Article Styling with CSS
This file contains hidden or 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
article | |
{ | |
margin-bottom: 1em; | |
padding-bottom: 2em; | |
} | |
article:not(:last-child) | |
{ | |
border-bottom: thin solid #000; | |
} | |
article p | |
{ | |
line-height: 15pt; | |
margin: 1em 0; | |
} | |
article p a | |
{ | |
text-decoration: underline; | |
} | |
article p a:hover | |
{ | |
-webkit-transition-duration: 0.5s; | |
-webkit-transition-property: background-color; | |
background-color: #000; | |
color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment