summaryrefslogtreecommitdiff
path: root/_sass
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-26 12:05:19 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-26 12:05:19 +0800
commit11edca189059cf5bbe78443afbb191e740c6fa60 (patch)
tree680e04a27e0905f05ef1bb48a477d590c0c58672 /_sass
parent29f69dcc2aacc5a100e5d15d1decf0a8d1f15cac (diff)
feat: support video banner
Diffstat (limited to '_sass')
-rw-r--r--_sass/yat/_layout.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss
index 2acf1f1..8bc0814 100644
--- a/_sass/yat/_layout.scss
+++ b/_sass/yat/_layout.scss
@@ -575,6 +575,11 @@ html {
transition: 0.1s all ease-in-out;
}
+ & > video {
+ width: 100vw;
+ object-fit: cover;
+ }
+
& > img.img-placeholder {
display: none;
}