web: Make team image full-width on xs.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Thu, 18 May 2017 15:00:43 +0000 (17:00 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Thu, 18 May 2017 15:00:48 +0000 (17:00 +0200)
web/donate/index.de.org
web/donate/index.ja.org
web/donate/index.org
web/share/campaign/campaign.css

index fe81a76..ed1b55a 100644 (file)
@@ -299,8 +299,7 @@ href="https://lists.gnupg.org/pipermail/gnupg-devel/1997-December/014131.html"
             zugesagt, je ungefähr 50&#x202f;000&nbsp;Euro pro Jahr zu
             spenden.
          </p>
-          <div class="pull-right text-center"
-               style="width: 50%; margin-left: 1em; margin-top: 0.5em;">
+          <div class="pull-right text-center team-img">
             <a
 href="https://www.gnupg.org/ftp/media/openpgp.conf/2016/gnupg-team-small.jpg"
            ><img id="camp-openpgp-conf"
index a0ac459..d8750bd 100644 (file)
@@ -256,8 +256,7 @@ href="https://lists.gnupg.org/pipermail/gnupg-devel/1997-December/014131.html"
             Stripe, Facebook and the Linux Foundatation each committed
             to donating about 50&#x202f;000&nbsp;euros per year.
          </p>
-          <div class="pull-right text-center"
-               style="width: 50%; margin-left: 1em; margin-top: 0.5em;">
+          <div class="pull-right text-center team-img">
             <a
 href="https://www.gnupg.org/ftp/media/openpgp.conf/2016/gnupg-team-small.jpg"
            ><img id="camp-openpgp-conf"
index 667f205..4579f9a 100644 (file)
@@ -285,8 +285,7 @@ href="https://lists.gnupg.org/pipermail/gnupg-devel/1997-December/014131.html"
             Stripe, Facebook and the Linux Foundatation each committed
             to donating about 50&#x202f;000&nbsp;euros per year.
          </p>
-          <div class="pull-right text-center"
-               style="width: 50%; margin-left: 1em; margin-top: 0.5em;">
+          <div class="pull-right text-center team-img">
             <a
 href="https://www.gnupg.org/ftp/media/openpgp.conf/2016/gnupg-team-small.jpg"
            ><img id="camp-openpgp-conf"
index d748bcc..fa80c35 100644 (file)
@@ -291,3 +291,16 @@ h4 small {
 .lang-chooser-xs { margin-top: 12px; }
 .lang-chooser-xs .dropdown-menu { left: -2em; }
 .lang-chooser-xs li, .lang-chooser-xs > li > a { display: inline; }
+
+.team-img {
+    width: 50%;
+    margin-left: 1em;
+    margin-top: 0.5em;
+}
+@media (max-width: 768px) {
+  .team-img {
+     width: 100%;
+     margin-left: 0em;
+     margin-top: 0.5em;
+  }
+}