Closed #93 , #36 Add bilibili video shortcode.

This commit is contained in:
elkan1788
2025-01-04 20:00:10 +08:00
parent 2ab1e3ae47
commit 27d3a33222
4 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
.bilibili-video {
position: relative;
width: 100%;
height: 0;
padding-bottom: 50%;
margin: auto;
text-align: center;
iframe {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
}

View File

@@ -6,3 +6,4 @@
@import 'note';
@import 'pdf';
@import 'tabs';
@import 'bilibili'