Created
July 16, 2015 10:04
-
-
Save nehalist/92e7ecda068dc72fc2bb 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
/*! | |
Theme Name: Boilerplate | |
Theme URI: http://nehalist.io | |
Version: 1.0.0 | |
Text Domain: boilerplate | |
Author: Kevin Hirczy | |
Author URI: http://nehalist.io | |
Description: ... | |
Tags: | |
License: GNU General Public License v2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
*/ | |
/* | |
|---------------------------------------------------------- | |
| Images | |
|---------------------------------------------------------- | |
| | |
| from https://codex.wordpress.org/Styling_Images_in_Posts_and_Pages | |
| | |
*/ | |
img { max-width: 100%; height: auto; } | |
img.alignright { float:right; margin:0 0 1em 1em; } | |
img.alignleft { float:left; margin:0 1em 1em 0; } | |
img.aligncenter { display: block; margin-left: auto; margin-right: auto; } | |
a img.alignright { float:right; margin:0 0 1em 1em; } | |
a img.alignleft { float:left; margin:0 1em 1em 0; } | |
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; } | |
/* | |
|---------------------------------------------------------- | |
| Image Captions | |
|---------------------------------------------------------- | |
*/ | |
.wp-caption-text { | |
color: #999; | |
font-size: 12px; | |
} | |
.wp-caption.alignright { | |
float: right; | |
} | |
.wp-caption.alignleft { | |
float: left; | |
} | |
.wp-caption .wp-caption-text { | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment