Добавил заметку с видео про высоконагруженные системы
This commit is contained in:
@ -17,4 +17,5 @@
|
||||
margin-bottom: 3em;
|
||||
|
||||
@import 'content-tags';
|
||||
@import 'youtube-embed';
|
||||
}
|
||||
|
17
source/_assets/layout_internal/youtube-embed.scss
Normal file
17
source/_assets/layout_internal/youtube-embed.scss
Normal file
@ -0,0 +1,17 @@
|
||||
.youtube-embed-container {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
|
||||
iframe,
|
||||
object,
|
||||
embed {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user