mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 13:06:22 +05:30
Can edit tag and URL
Can edit tag and URL (both blog post and static page).
This commit is contained in:
parent
9925f2bc4a
commit
d7e5f0ca75
11 changed files with 126 additions and 31 deletions
|
|
@ -39,4 +39,54 @@ table td {
|
|||
width:100%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*----------------------------
|
||||
Video
|
||||
-----------------------------*/
|
||||
|
||||
.video-wrapper {
|
||||
margin:1em 0;
|
||||
}
|
||||
|
||||
@media all and (min-width: 420px) {
|
||||
|
||||
.video-wrapper {
|
||||
padding-top:315px!important;
|
||||
position:relative;
|
||||
width:100%;
|
||||
max-width:420px!important;
|
||||
max-height:315px!important;
|
||||
}
|
||||
|
||||
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
max-width:420px!important;
|
||||
width: 100%;
|
||||
max-height:315px!important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media all and (max-width: 420px) {
|
||||
|
||||
.video-wrapper {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
padding-top: 30px;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue