zallery/WebContent/css/images.css

81 lines
1.4 KiB
CSS
Raw Normal View History

2012-06-13 17:59:22 +00:00
/* --------------------------------------------------------------
Default styles for Images
-------------------------------------------------------------- */
.entry-content .wp-post-image {
border: 1px solid #ccc;
float:right;
margin: 0 0 20px 18px;
padding: 5px;
}
.entry-content img {
height:auto;
margin: 0 0 18px 0;
max-width:100%;
}
.alignleft,
img.alignleft {
float: left;
margin-right:20px;
}
.alignright,
img.alignright {
display: block;
float: right;
margin-left:20px;
}
.aligncenter,
img.aligncenter {
margin-left:auto;
margin-right:auto;
display: block;
clear: both;
}
.wp-caption {
border:1px solid #ccc;
text-align: center;
margin-bottom:18px;
padding:9px 5px 0;
}
.wp-caption img {
border: 1px solid #ccc;
margin: 0;
padding: 0;
}
.wp-caption p.wp-caption-text {
margin: 0;
padding:18px 5px;
}
.gallery-icon {
border: 1px solid #ccc;
margin: 0 5px;
padding-top: 6px;
}
.gallery img {
margin:0;
}
.gallery-caption {
padding:6px 6px 0;
}
.wp-smiley { /* Prevent the smileys from breaking line-height */
max-height:12px;
margin:0 !important;
}
/*
Adapt the following for use in your Child Themes when using
different font-sizes and line-heights
.entry-content img,
.wp-caption {
margin-bottom:--px;
}
.wp-smiley {
max-height:--px;
}
All other styles can be overridden--or ignored!--in Child Theme stylesheets
*/