[www-doc] [Git][VideoLAN.org/websites][master] Fix announce img dimension

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


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


Commits:
8af45e6f by Felix Paul Kühne at 2016-02-01T21:08:34Z
Fix announce img dimension

- - - - -


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,7 +290,7 @@ 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> ';?>
         <a href="https://www.jbkempf.com/blog/post/2016/15-years-of-VLC">
-            <?php image('15years.png', '... and many more years to come', 'big-vlc-img img-responsive'); ?>
+            <?php image('15years.png', '... and many more years to come', 'announce-img img-responsive'); ?>
         </a>
         </div>
         <div class="social-box">


=====================================
www.videolan.org/style/style.scss
=====================================
--- a/www.videolan.org/style/style.scss
+++ b/www.videolan.org/style/style.scss
@@ -829,6 +829,12 @@ img, .normalButton {
     margin: 0 auto;
 }
 
+.announce-img {
+    max-width: 770px;
+    display: block;
+    margin: 0 auto;
+}
+
 .new-design .downloadText {
     font-size: 26px;
     padding-bottom: 0;



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


More information about the www-doc mailing list