CoreFiles by mySites.guru
_style.scss33 lines, 692 bytes, from wordpress-6.2-beta2.zip
Raw History Compare with 6.2-beta1
md5
cfd62efbff262714ade10e0d761bad7a
sha1
d52d5ef4c001fc15535e44d02929951db753675b
sha256
7dbc6130b5be68b10296f525896d7f3824b17a544846f537d6e3b87c1c63640b
.wp-block-gallery {

	margin: 0 auto;

	.blocks-gallery-image,
	.blocks-gallery-item {

		// On mobile and responsive viewports, we allow only 1 or 2 columns at the most.
		width: calc((100% - var(--global--spacing-unit)) / 2);

		figcaption {
			margin: 0;
			// Text color is always white to account for default gradient background
			color: var(--global--color-white);
			font-size: var(--global--font-size-xs);

			a {
				color: var(--global--color-white);

				&:focus {
					background-color: transparent;
					outline: 2px solid var(--wp--style--color--link, var(--global--color-primary));
					text-decoration: none;
				}
			}
		}

		a:focus img {
			outline-offset: 2px;
		}

	}
}

The same content is in 246 releases, WordPress 5.6-beta4 to 6.4-RC4. See them all, or every version of this file.