mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-21 23:18:07 +00:00
parent
6d69dac9da
commit
6aa2c38507
1 changed files with 5 additions and 3 deletions
|
@ -248,15 +248,17 @@ if (!doNotTrack) {
|
||||||
{{ .Page.Scratch.Set "__h_simple_css" true }}
|
{{ .Page.Scratch.Set "__h_simple_css" true }}
|
||||||
<style>
|
<style>
|
||||||
.__h_youtube {
|
.__h_youtube {
|
||||||
position: relative;padding-bottom: 56.23%;height: 0;
|
position: relative;
|
||||||
|
padding-bottom: 56.23%;
|
||||||
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
background: #000;
|
background: #000;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
.__h_youtube img {
|
.__h_youtube img {
|
||||||
min-width:100%;
|
max-width: 100%;
|
||||||
height:auto;
|
height: auto;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
.__h_youtube .play {
|
.__h_youtube .play {
|
||||||
|
|
Loading…
Add table
Reference in a new issue