mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
9ad46a2035
commit
6d69dac9da
1 changed files with 5 additions and 3 deletions
|
@ -5,14 +5,16 @@
|
|||
{{ .Page.Scratch.Set "__h_simple_css" true }}
|
||||
<style>
|
||||
.__h_youtube {
|
||||
position: relative;padding-bottom: 56.23%;height: 0;
|
||||
position: relative;
|
||||
padding-bottom: 56.23%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
background: #000;
|
||||
margin: 5px;
|
||||
}
|
||||
.__h_youtube img {
|
||||
min-width:100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
color: #000;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue