summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/video/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/video/style.css')
-rw-r--r--wp-includes/blocks/video/style.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/wp-includes/blocks/video/style.css b/wp-includes/blocks/video/style.css
new file mode 100644
index 0000000..e10f427
--- /dev/null
+++ b/wp-includes/blocks/video/style.css
@@ -0,0 +1,19 @@
+.wp-block-video{
+ box-sizing:border-box;
+}
+.wp-block-video video{
+ vertical-align:middle;
+ width:100%;
+}
+@supports (position:sticky){
+ .wp-block-video [poster]{
+ object-fit:cover;
+ }
+}
+.wp-block-video.aligncenter{
+ text-align:center;
+}
+.wp-block-video figcaption{
+ margin-bottom:1em;
+ margin-top:.5em;
+} \ No newline at end of file