forked from mirror/_s
Merge pull request #1301 from arnabwahid/master
image alignment fix + mitigate build error in `woocommerce.php`
This commit is contained in:
commit
132319ee8e
|
@ -56,9 +56,9 @@ if ( ! function_exists( '_s_header_style' ) ) :
|
||||||
.site-description {
|
.site-description {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
clip: rect(1px, 1px, 1px, 1px);
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
}
|
}
|
||||||
<?php
|
<?php
|
||||||
// If the user has set a custom color for the text use that.
|
// If the user has set a custom color for the text use that.
|
||||||
else :
|
else :
|
||||||
?>
|
?>
|
||||||
.site-title a,
|
.site-title a,
|
||||||
|
|
|
@ -175,7 +175,7 @@ if ( ! function_exists( '_s_woocommerce_wrapper_after' ) ) {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _s_woocommerce_wrapper_after() {
|
function _s_woocommerce_wrapper_after() {
|
||||||
?>
|
?>
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -2,15 +2,18 @@
|
||||||
display: inline;
|
display: inline;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignright {
|
.alignright {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligncenter {
|
.aligncenter {
|
||||||
clear: both;
|
clear: both;
|
||||||
@include center-block;
|
@include center-block;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -776,12 +776,14 @@ a:hover, a:active {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignright {
|
.alignright {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligncenter {
|
.aligncenter {
|
||||||
|
@ -789,6 +791,7 @@ a:hover, a:active {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
|
|
Reference in New Issue