fix theme...
This commit is contained in:
16
themes/anzhiyu/source/css/_extra/fix/bilibili-ratio.css
Normal file
16
themes/anzhiyu/source/css/_extra/fix/bilibili-ratio.css
Normal file
@@ -0,0 +1,16 @@
|
||||
/*哔哩哔哩视频适配*/
|
||||
.aspect-ratio {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-bottom: 75%;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
}
|
||||
.aspect-ratio iframe {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user