Merge pull request #2684 from RxChi1d/feat/add-video-shortcode

feat(shortcodes): add video shortcode
This commit is contained in:
Nuno C.
2026-01-01 23:26:38 +00:00
committed by GitHub
11 changed files with 659 additions and 0 deletions

View File

@@ -52,6 +52,7 @@
--blur-sm: 8px;
--blur-xl: 24px;
--blur-2xl: 40px;
--aspect-video: 16 / 9;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
@@ -1062,6 +1063,21 @@
.table-cell {
display: table-cell;
}
.aspect-\[\.\.\.\] {
aspect-ratio: ...;
}
.aspect-\[4\/3\] {
aspect-ratio: 4/3;
}
.aspect-auto {
aspect-ratio: auto;
}
.aspect-square {
aspect-ratio: 1 / 1;
}
.aspect-video {
aspect-ratio: var(--aspect-video);
}
.size-1 {
width: calc(var(--spacing) * 1);
height: calc(var(--spacing) * 1);
@@ -1785,9 +1801,15 @@
.bg-clip-padding {
background-clip: padding-box;
}
.object-contain {
object-fit: contain;
}
.object-cover {
object-fit: cover;
}
.object-fill {
object-fit: fill;
}
.object-scale-down {
object-fit: scale-down;
}