mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-07-24 23:15:18 -04:00
improve youtube shortcode (#21)
This commit is contained in:
parent
7adcdaf982
commit
190c61f973
3 changed files with 20 additions and 2 deletions
15
assets/css/extended/youtube.css
Normal file
15
assets/css/extended/youtube.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
.youtube-embed-div {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.youtube-embed-frame {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue