Created
December 1, 2015 21:23
-
-
Save cadoo/c1cc02a2660ba177a21b to your computer and use it in GitHub Desktop.
This file contains 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
/*-------------------------------------------------------------- | |
## Captions | |
--------------------------------------------------------------*/ | |
.wp-caption { | |
margin-bottom: 1.5em; | |
max-width: 100%; | |
} | |
.wp-caption img[class*="wp-image-"] { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.wp-caption .wp-caption-text { | |
margin: 0.8075em 0; | |
} | |
.wp-caption-text { | |
text-align: center; | |
} | |
/*-------------------------------------------------------------- | |
# Accessibility | |
--------------------------------------------------------------*/ | |
/* Text meant only for screen readers. */ | |
.screen-reader-text { | |
clip: rect(1px, 1px, 1px, 1px); | |
position: absolute !important; | |
height: 1px; | |
width: 1px; | |
overflow: hidden; | |
} | |
.screen-reader-text:focus { | |
background-color: #f1f1f1; | |
border-radius: 3px; | |
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); | |
clip: auto !important; | |
color: #21759b; | |
display: block; | |
font-size: 14px; | |
font-size: 0.875rem; | |
font-weight: bold; | |
height: auto; | |
left: 5px; | |
line-height: normal; | |
padding: 15px 23px 14px; | |
text-decoration: none; | |
top: 5px; | |
width: auto; | |
z-index: 100000; /* Above WP toolbar. */ | |
} | |
/* Do not show the outline on the skip link target. */ | |
#content[tabindex="-1"]:focus { | |
outline: 0; | |
} | |
.sticky { | |
display: block; | |
} | |
.gallery-caption { | |
display: block; | |
} | |
.bypostauthor { | |
display: block; | |
} | |
/*-------------------------------------------------------------- | |
# Alignments | |
--------------------------------------------------------------*/ | |
.alignleft { | |
display: inline; | |
float: left; | |
margin-right: 1.5em; | |
} | |
.alignright { | |
display: inline; | |
float: right; | |
margin-left: 1.5em; | |
} | |
.aligncenter { | |
clear: both; | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment