fixing figure element sizing in content area
This commit is contained in:
parent
faf95d1200
commit
c07a55c6d7
|
@ -7,6 +7,15 @@ Website: http://understrap.com
|
||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
=
|
=
|
||||||
|
- **0.3.7 Jan. 8th 2016**
|
||||||
|
- Cleanup for submitting to WordPress.org theme repository:
|
||||||
|
- Fixing sticky post problem
|
||||||
|
- Fixing skip-to-content link
|
||||||
|
- re-activating the admin bar
|
||||||
|
- adding readme.txt
|
||||||
|
- Fixing missing translation strings in comments template
|
||||||
|
|
||||||
|
|
||||||
- **0.3.6 Jan. 4th 2016**
|
- **0.3.6 Jan. 4th 2016**
|
||||||
- Cleanup
|
- Cleanup
|
||||||
- Updating dependencies
|
- Updating dependencies
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}
|
||||||
|
.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
|
||||||
|
.owl-carousel .owl-animated-in{z-index:0}
|
||||||
|
.owl-carousel .owl-animated-out{z-index:1}
|
||||||
|
.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}
|
||||||
|
@-webkit-keyframes fadeOut{0%{opacity:1}
|
||||||
|
100%{opacity:0}
|
||||||
|
}
|
||||||
|
@keyframes fadeOut{0%{opacity:1}
|
||||||
|
100%{opacity:0}
|
||||||
|
}
|
||||||
|
.owl-height{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}
|
||||||
|
.owl-carousel{display:none;width:100%;z-index:1}
|
||||||
|
.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}
|
||||||
|
.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
|
||||||
|
.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}
|
||||||
|
.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||||
|
.owl-carousel.owl-loaded{display:block}
|
||||||
|
.owl-carousel.owl-loading{opacity:0;display:block}
|
||||||
|
.owl-carousel.owl-hidden{opacity:0}
|
||||||
|
.owl-carousel .owl-refresh .owl-item{display:none}
|
||||||
|
.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||||
|
.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}
|
||||||
|
.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}
|
||||||
|
.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}
|
||||||
|
.owl-carousel.owl-rtl{direction:rtl}
|
||||||
|
.owl-carousel.owl-rtl .owl-item{float:right}
|
||||||
|
.no-js .owl-carousel{display:block}
|
||||||
|
.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}
|
||||||
|
.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}
|
||||||
|
.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale .1s ease;-moz-transition:scale .1s ease;-ms-transition:scale .1s ease;-o-transition:scale .1s ease;transition:scale .1s ease}
|
||||||
|
.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}
|
||||||
|
.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}
|
||||||
|
.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}
|
||||||
|
.owl-carousel .owl-video-frame{position:relative;z-index:1}
|
|
@ -5879,7 +5879,7 @@ button.close {
|
||||||
.entry-footer span {
|
.entry-footer span {
|
||||||
padding-right: 10px; }
|
padding-right: 10px; }
|
||||||
|
|
||||||
img.wp-post-image, article img {
|
img.wp-post-image, article img, figure {
|
||||||
max-width: 100%; }
|
max-width: 100%; }
|
||||||
|
|
||||||
a.skip-link {
|
a.skip-link {
|
||||||
|
|
|
@ -1455,7 +1455,7 @@ td.visible-print,th.visible-print{display:table-cell!important}
|
||||||
#wrapper-hero,#wrapper-static-hero{padding:0!important}
|
#wrapper-hero,#wrapper-static-hero{padding:0!important}
|
||||||
.wrapper#wrapper-sticky{border-bottom:1px solid #eee}
|
.wrapper#wrapper-sticky{border-bottom:1px solid #eee}
|
||||||
.entry-footer span{padding-right:10px}
|
.entry-footer span{padding-right:10px}
|
||||||
article img,img.wp-post-image{max-width:100%}
|
article img,figure,img.wp-post-image{max-width:100%}
|
||||||
a.skip-link{z-index:1000;margin-bottom:-20px;display:block}
|
a.skip-link{z-index:1000;margin-bottom:-20px;display:block}
|
||||||
.fa,.fa-stack{display:inline-block}
|
.fa,.fa-stack{display:inline-block}
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -96,6 +96,6 @@ add_theme_support( 'post-thumbnails' );
|
||||||
|
|
||||||
function all_excerpts_get_more_link($post_excerpt) {
|
function all_excerpts_get_more_link($post_excerpt) {
|
||||||
|
|
||||||
return $post_excerpt . ' [...]<p><a class="btn btn-default understrap-read-more-link" href="'. get_permalink($post) . '">' . __('Read More...', 'understrap') . '</a></p>';
|
return $post_excerpt . ' [...]<p><a class="btn btn-default understrap-read-more-link" href="'. get_permalink($post->ID) . '">' . __('Read More...', 'understrap') . '</a></p>';
|
||||||
}
|
}
|
||||||
add_filter('wp_trim_excerpt', 'all_excerpts_get_more_link');
|
add_filter('wp_trim_excerpt', 'all_excerpts_get_more_link');
|
||||||
|
|
|
@ -28,7 +28,7 @@ font-size:inherit;
|
||||||
.entry-footer span {padding-right:10px;}
|
.entry-footer span {padding-right:10px;}
|
||||||
|
|
||||||
//Limit featured image size to 100%
|
//Limit featured image size to 100%
|
||||||
img.wp-post-image, article img {
|
img.wp-post-image, article img, figure {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue