Created
August 10, 2015 03:56
-
-
Save Aziz-Rahman/a86c28ebc11b8650fe9d to your computer and use it in GitHub Desktop.
Basic WordPress Blog Styles
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
/* -------------------------------------------------------------- | |
Basic WordPress Blog Styles | |
-------------------------------------------------------------- */ | |
/* Images | |
-------------------------------------------------------------- */ | |
.wp-smiley { | |
max-height: 1em; | |
margin:0 !important; | |
} | |
.gallery dl { | |
margin: 0; | |
} | |
.gallery-caption { | |
margin:-1.5em 0 0 0; | |
} | |
/* Pullquotes | |
-------------------------------------------------------------- */ | |
blockquote.left { | |
float: left; | |
margin-left: 0; | |
margin-right: 20px; | |
text-align: right; | |
width: 33%; | |
} | |
blockquote.right { | |
float: right; | |
margin-left: 20px; | |
margin-right: 0; | |
text-align: left; | |
width: 33%; | |
} | |
.alignnone { | |
margin: 5px 20px 20px 0; | |
} | |
.aligncenter, | |
div.aligncenter { | |
display: block; | |
margin: 5px auto 5px auto; | |
} | |
.alignright { | |
float:right; | |
margin: 5px 0 20px 20px; | |
} | |
.alignleft { | |
float: left; | |
margin: 5px 20px 20px 0; | |
} | |
a img.alignright { | |
float: right; | |
margin: 5px 0 20px 20px; | |
} | |
a img.alignnone { | |
margin: 5px 20px 20px 0; | |
} | |
a img.alignleft { | |
float: left; | |
margin: 5px 20px 20px 0; | |
} | |
a img.aligncenter { | |
display: block; | |
margin-left: auto; | |
margin-right: auto | |
} | |
.wp-caption { | |
background: #fff; | |
border: 1px solid #f0f0f0; | |
max-width: 96%; / Image does not overflow the content area / | |
padding: 5px 3px 10px; | |
text-align: center; | |
} | |
.wp-caption.alignnone { | |
margin: 5px 20px 20px 0; | |
} | |
.wp-caption.alignleft { | |
margin: 5px 20px 20px 0; | |
} | |
.wp-caption.alignright { | |
margin: 5px 0 20px 20px; | |
} | |
.wp-caption img { | |
border: 0 none; | |
height: auto; | |
margin: 0; | |
max-width: 98.5%; | |
padding: 0; | |
width: auto; | |
} | |
.wp-caption p.wp-caption-text { | |
font-size: 11px; | |
line-height: 17px; | |
margin: 0; | |
padding: 0 4px 5px; | |
} | |
.bypostauthor {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment