mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-20 04:00:29 +08:00
embed padding/margins
This commit is contained in:
parent
80b3940cf3
commit
fe4ca01477
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue