_S: basic floated content styles

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8918 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
Ian Stewart 2012-02-10 20:43:25 +00:00
parent e932aaadc4
commit dffc6549da
1 changed files with 17 additions and 0 deletions

View File

@ -321,6 +321,23 @@ a:active {
color: midnightblue;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
margin-right: 1.5em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin: 0 auto;
}
/* Text meant only for screen readers */
.assistive-text {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */