[www-doc] [Git][VideoLAN.org/websites][master] Make announce img responsive

Felix Paul Kühne gitlab at videolan.org
Mon Feb 1 21:58:31 CET 2016


Felix Paul Kühne pushed to branch master at VideoLAN organization / websites


Commits:
6f474538 by David Loiret at 2016-02-01T21:58:28Z
Make announce img responsive

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

- - - - -


2 changed files:

- www.videolan.org/include/header.php
- www.videolan.org/style/style.scss


Changes:

=====================================
www.videolan.org/include/header.php
=====================================
--- a/www.videolan.org/include/header.php
+++ b/www.videolan.org/include/header.php
@@ -290,11 +290,9 @@ function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $
                 <?php
                 echo 'VideoLAN, '. _('a project and a').' <a href="//www.videolan.org/videolan/" class="noUnderline">'._('non-profit organization').'.</a> ';?>
         </div>
-        <div id="nonprofitOrganizationDiv2" class="hidden-xs v-align col-sm-5">
         <a href="https://www.jbkempf.com/blog/post/2016/15-years-of-VLC">
             <?php image('15years.png', '... and many more years to come', 'announce-img'); ?>
         </a>
-        </div>
         <div class="social-box">
             <div id='plusone' style="padding: 3px 10px;">
                 <g:plusone size="medium" annotation="none" href="http://www.videolan.org"></g:plusone>


=====================================
www.videolan.org/style/style.scss
=====================================
--- a/www.videolan.org/style/style.scss
+++ b/www.videolan.org/style/style.scss
@@ -830,10 +830,12 @@ img, .normalButton {
 }
 
 .announce-img {
-    max-width: 100%;
+    max-width: 760px;
+    width: 100%;
     height: auto;
     display: block;
     margin: 0 auto;
+    padding-top: 15px;
 }
 
 .new-design .downloadText {



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/6f4745381afa97945c0d4c40e02fdd02ef33cf66
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20160201/f3ad653c/attachment.html>


More information about the www-doc mailing list