CoreFiles by mySites.guru
_captions.scss32 lines, 637 bytes, from wordpress-5.0.13.zip
Raw History Compare with 5.0.12
md5
73bfbb9dbaad0fa74e4f858b924a58bb
sha1
0916b9f8b4595d3c37d187101e69b0e61c122ebb
sha256
da6955c3ce37b1280f0cb6e14414c2d238598e5dbf9fd7b54fb637f0a7989110
.wp-caption {
	margin-bottom: calc(1.5 * #{$size__spacing-unit});

	&.aligncenter {

		@include media(tablet) {
			position: relative;
			left: calc( #{$size__site-tablet-content} / 2 );
			transform: translateX( -50% );
		}

		@include media(desktop) {
			left: calc( #{$size__site-desktop-content} / 2 );
		}
	}
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text {
	color: $color__text-light;
	font-size: $font__size-xs;
	font-family: $font__heading;
 	line-height: $font__line-height-pre;
 	margin: 0;
 	padding: ( $size__spacing-unit * .5 );
	text-align: center;
}

The same content is in 41 releases, WordPress 5.0-beta4 to 5.1-beta1. See them all, or every version of this file.