From 0f5c4e511a98186bc7bf8a535a6d367bac8e6839 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Thu, 21 Mar 2013 20:53:15 +0100 Subject: [PATCH] =?UTF-8?q?look=20image=20=C3=A0=20propos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile.lock | 2 +- app/assets/stylesheets/application.css.scss | 45 +++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 79cc6f0..4790443 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -99,7 +99,7 @@ GEM pygments.rb (0.3.7) posix-spawn (~> 0.3.6) yajl-ruby (~> 1.1.0) - rack (1.4.4) + rack (1.4.5) rack-cache (1.2) rack (>= 0.4) rack-ssl (1.3.3) diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index b0d6a98..9734f08 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -139,6 +139,13 @@ body{ margin:auto; } + + .text{ + img{ + max-width:100%; + } + + } } #pagination{ @@ -257,6 +264,44 @@ width:100px; } } +@media only screen and (min-width: 890px) { + +#main{ + + + + + .text{ + img{ + max-width:110% !important; + margin-left:-5%; + + } + + } +} + +} + +@media only screen and (min-width: 1200px) { + +#main{ + + + + + .text{ + img{ + max-width:130% !important; + margin-left:-20%; + + } + + } +} + +} + @media only screen and (min-width: 1250px) { .portfolio{