[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging/nav-bar/test9 layout7.css
From: |
Therese Godefroy |
Subject: |
www/server/staging/nav-bar/test9 layout7.css |
Date: |
Thu, 10 Apr 2014 20:31:23 +0000 |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 14/04/10 20:31:23
Modified files:
server/staging/nav-bar/test9: layout7.css
Log message:
Remove some useless definitions; add reference about resizing videos.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/layout7.css?cvsroot=www&r1=1.17&r2=1.18
Patches:
Index: layout7.css
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/layout7.css,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- layout7.css 10 Apr 2014 08:30:14 -0000 1.17
+++ layout7.css 10 Apr 2014 20:31:22 -0000 1.18
@@ -834,17 +834,16 @@
border: .3em solid #3465a4;
}
-/* For the videos (esp. education/edu-software-gimp) */
-/*
http://basicuse.net/articles/pl/textile/html_css/resizing_youtube_and_html5_videos_proportionally_using_css_for_responsive_web_design
*/
+/* For the videos (esp. in education/edu-software-gimp.html) */
+/*
http://basicuse.net/articles/pl/textile/html_css/resizing_youtube_and_html5_videos_proportionally_using_css_for_responsive_web_design
+http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio
+*/
.container-4x3 {
- padding-top: 75%; margin: auto;
- overflow: hidden;
-}
-.container-16x9 {
- padding-top: 56.25%;
+ padding-top: 75%;
overflow: hidden;
+ margin: auto;
}
-.container-16x9 video, .container-4x3 video {
+.container-4x3 video {
position: absolute;
top: 0;
left: 0;
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/01
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/01
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/01
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/06
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/06
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/10
- www/server/staging/nav-bar/test9 layout7.css,
Therese Godefroy <=
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/14
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/16
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/18
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/22
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/22
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/24
- www/server/staging/nav-bar/test9 layout7.css, Therese Godefroy, 2014/04/25