You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
904 B
59 lines
904 B
8 years ago
|
/**
|
||
|
* WordPress Generated Classes
|
||
|
* @see http://codex.wordpress.org/CSS#WordPress_Generated_Classes
|
||
|
*/
|
||
|
|
||
7 years ago
|
$spacer: 2rem;
|
||
|
|
||
8 years ago
|
/** Media alignment */
|
||
|
.alignnone {
|
||
|
margin-left: 0;
|
||
|
margin-right: 0;
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.aligncenter {
|
||
|
display: block;
|
||
|
margin: ($spacer / 2) auto;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.alignleft,
|
||
|
.alignright {
|
||
|
margin-bottom: ($spacer / 2);
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 30rem) {
|
||
|
.alignleft {
|
||
|
float: left;
|
||
|
margin-right: ($spacer / 2);
|
||
|
}
|
||
|
|
||
|
.alignright {
|
||
|
float: right;
|
||
|
margin-left: ($spacer / 2);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/** Captions */
|
||
|
|
||
|
// TODO: .wp-caption {}
|
||
|
// TODO: .wp-caption img {}
|
||
|
// TODO: .wp-caption-text {}
|
||
|
|
||
|
/** Text meant only for screen readers */
|
||
|
.screen-reader-text {
|
||
|
position: absolute;
|
||
|
width: 1px;
|
||
|
height: 1px;
|
||
|
padding: 0;
|
||
|
margin: -1px;
|
||
|
overflow: hidden;
|
||
|
clip: rect(0, 0, 0, 0);
|
||
|
border: 0;
|
||
|
color: #000;
|
||
|
background: #fff;
|
||
|
}
|