diff --git a/admin/action/create_page.php b/admin/action/create_page.php index 1a0d17c..1377eb1 100644 --- a/admin/action/create_page.php +++ b/admin/action/create_page.php @@ -50,7 +50,7 @@
Login Form
@@ -59,9 +59,9 @@ EOF;Login Form
diff --git a/admin/includes/page_list.php b/admin/includes/page_list.php index 9a5b1b8..f0398ca 100644 --- a/admin/includes/page_list.php +++ b/admin/includes/page_list.php @@ -29,8 +29,8 @@ echo 'Login Form
diff --git a/admin/resources/style.css b/admin/resources/style.css index afc4145..f2a0eef 100644 --- a/admin/resources/style.css +++ b/admin/resources/style.css @@ -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%; + } + } \ No newline at end of file