embed padding/margins

This commit is contained in:
James Koster 2016-08-22 11:30:38 +01:00
parent 80b3940cf3
commit fe4ca01477

View file

@ -304,7 +304,7 @@ if ( ! class_exists( 'Storefront' ) ) :
?>
<style type="text/css">
.wp-embed {
padding: ms(5) !important;
padding: 2.618em !important;
border: 0 !important;
border-radius: 3px !important;
font-family: "Source Sans Pro", "Open Sans", sans-serif !important;
@ -313,17 +313,17 @@ if ( ! class_exists( 'Storefront' ) ) :
}
.wp-embed .wp-embed-featured-image {
margin-bottom: ms(5);
margin-bottom: 2.618em;
}
.wp-embed .wp-embed-featured-image img,
.wp-embed .wp-embed-featured-image.square {
min-width: 100%;
margin-bottom: ms(-2);
margin-bottom: .618em;
}
a.wc-embed-button {
padding: ms(-1) ms(2) !important;
padding: .857em 1.387em !important;
font-weight: 600;
background-color: <?php echo esc_attr( $accent_color ); ?>;
color: #fff !important;