web/wp-content/themes/thematic/library/styles/images.css
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 /* -------------------------------------------------------------- 
       
     2    
       
     3    Default styles for Images
       
     4   
       
     5 -------------------------------------------------------------- */   
       
     6 
       
     7 .entry-content img {
       
     8     margin: 0 0 18px 0;
       
     9 }
       
    10 .alignleft,
       
    11 img.alignleft {
       
    12 	float: left;
       
    13     margin-right:20px;
       
    14 }
       
    15 .alignright,
       
    16 img.alignright {
       
    17 	display: block;
       
    18 	float: right;
       
    19     margin-left:20px;
       
    20 }
       
    21 .aligncenter,
       
    22 img.aligncenter {
       
    23 	margin-left:auto;
       
    24 	margin-right:auto;
       
    25 	display: block;
       
    26 	clear: both;
       
    27 }
       
    28 .wp-caption {
       
    29 	text-align: center;
       
    30 	margin-bottom:18px;
       
    31 }
       
    32 .wp-caption img {
       
    33 	margin: 0;
       
    34 	padding: 0;
       
    35 	border: 0 none;
       
    36 }
       
    37 .wp-caption p.wp-caption-text {
       
    38 	margin: 0;
       
    39 	padding:5px;
       
    40 }
       
    41 .gallery img {
       
    42     margin:0;
       
    43 }
       
    44 .wp-smiley { /* Prevent the smileys from breaking line-height */
       
    45 	max-height:12px;
       
    46 	margin:0 !important;
       
    47 }
       
    48 
       
    49 /*
       
    50 
       
    51 Adapt the following for use in your Child Themes when using
       
    52 different font-sizes and line-heights
       
    53 
       
    54 .entry-content img,
       
    55 .wp-caption {
       
    56     margin-bottom:--px;
       
    57 }
       
    58 .wp-smiley {
       
    59     max-height:--px;
       
    60 }
       
    61 
       
    62 All other styles can be overridden--or ignored!--in Child Theme stylesheets
       
    63 
       
    64 */