Summary Files Commits Branches @commit @diff @stats
path: root / src / media.less
diff options
context:
space:
mode:
Commitf3f78136d631892b9247bb345aa70a4d8812507c (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-18 22:59:52 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-18 22:59:52 +0800
Files0837aab5deec0e9a915af6fc283c4d751fc75ab3 /src/media.less
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.tar
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.tar.gz
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.zip
Parentcbbd77dcea40295195b395e9dd7c60ca3fdcb05e (diff)
cleanup code & sort CSS properties alphabetically
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/media.less18
diff --git a/src/media.less b/src/media.less
index a3e055e..f27c068 100644
--- a/src/media.less
+++ b/src/media.less
@@ -1,28 +1,28 @@
// Media
.img-responsive {
display: block;
- max-width: 100%;
height: auto;
+ max-width: 100%;
}
.video-responsive {
- position: relative;
height: 0;
- padding-top: 3rem;
- padding-bottom: 56.25%; /* 16:9 */
overflow: hidden;
+ padding-bottom: 56.25%; /* 16:9 */
+ padding-top: 3rem;
+ position: relative;
iframe,
object,
embed {
+ height: 100%;
+ left: 0;
position: absolute;
top: 0;
- left: 0;
width: 100%;
- height: 100%;
}
video {
- width: 100%;
- max-width: 100%;
height: auto;
+ max-width: 100%;
+ width: 100%;
}
-} \ No newline at end of file
+}