Optimizations and more fixes everywhere.
authorReda Lazri <the.red.shortcut@gmail.com>
Sun, 21 Aug 2016 20:19:21 +0000 (21:19 +0100)
committerReda Lazri <the.red.shortcut@gmail.com>
Sun, 21 Aug 2016 20:19:21 +0000 (21:19 +0100)
15 files changed:
css/master.css
givingguide.html
img/products/adobe-blocked.png
img/products/amazon-blocked.png
img/products/iphone-blocked.png
img/products/itunes-blocked.png
img/products/lenovo-blocked.png
img/products/macbook-blocked.png
img/products/mini-wifi.jpg [new file with mode: 0644]
img/products/printer-blocked.png
img/products/router-blocked.png
img/products/tehnoetic-wifi.png [deleted file]
img/products/vpn.jpg [new file with mode: 0644]
img/products/wifi-adapter.jpg [new file with mode: 0644]
img/products/x200.jpg [new file with mode: 0644]

index a74332d79dc878eba9c5966758fa855b00bcadc9..fb47bf4e3e5b956b46c1c351b390455e92152822 100644 (file)
@@ -144,7 +144,7 @@ h5 {
 
 li,
 p {
-  margin-bottom: 10px;
+  margin-bottom: 20px;
 
   list-style: outside;
 
@@ -299,7 +299,6 @@ a:hover {
   list-style: none;
 
   background-repeat: no-repeat;
-
 }
 
 .bad img,
@@ -307,21 +306,10 @@ a:hover {
   margin-bottom: 25px;
 }
 
-.buy {
-  padding: 4px 50px;
-
-  text-transform: uppercase;
-
-  color: #fff;
-  border: 0;
-  border-radius: 100px;
-  background: #2b81e3;
-  /*box-shadow: 0 4px 0 0 #1D65B7;*/
-
-  font-family: "Signika Regular";
-  font-size: 24px;
+.get-item {
+  border-bottom: 0;
+  color: white;
 }
-
 /*Charities*/
 
 .charities {
@@ -525,3 +513,22 @@ footer p {
 
 /* Large devices (large desktops, 1200px and up) */
 @media (min-width: 1200px) {}
+
+/*Fixes*/
+/*This sections fixes the inevitable difference in height of the comparison panes with margin-top where a simpler isn't possible*/
+.fix-iphone {
+  margin-top: 15px;
+}
+
+.fix-macbook {
+  margin-top: 90px;
+}
+
+.fix-router,
+.fix-amazon {
+  margin-top: 100px;
+}
+
+.fix-itunes {
+  margin-top: 50px;
+}
index b9893dc2e10a81bb9ec2e0518676637498473fcb..82b4ee9d3373037347bb139678e2fea17c4e60ca 100644 (file)
@@ -59,7 +59,7 @@
   </nav>
 
   <!--Begin Intro-->
-  <div class="intro">
+  <section class="intro">
     <div class="container">
       <div class="row">
         <div class="illustration col-md-6">
@@ -79,7 +79,7 @@
         </div>
       </div>
     </div>
-  </div>
+  </section>
   <!--End Intro-->
 
   <!--Begin Actions-->
     <div class="container">
       <h3 class="title text-center">Smartphones</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/nosvn/images/givingguide/images/tehnoetic-s2.png" alt="replicant phone" class="center-block" width="80px" />
+          <span class="label label-success ">Sale</span>
           <h5 class="text-center">Tehnoetic S2 with Replicant</h5>
+          <a class="get-item" href="#">BUY</a>
           <ul>
             <li>Fully free software, based on Android.</li>
             <li><a href="http://redmine.replicant.us/projects/replicant/wiki/ReplicantStatus#Replicant-42">Supported devices</a> include both phones and tablets.</li>
             <li>Works on used devices, so your dollars won't go to proprietary OS companies. (All commercially available Android devices ship with some proprietary software.)</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/iphone-blocked.png" alt="iphone" class="center-block" width="80px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/iphone-blocked.png" alt="iphone" class="center-block fix-iphone" width="80px" />
           <h5 class="text-center">iPhone</h5>
           <ul>
             <li>Comes with no shortage of <a href="https://www.gnu.org/philosophy/proprietary-surveillance.html#SpywareIniThings">spyware</a>.</li>
     <div class="container">
       <h3 class="title text-center">Full-sized Laptops</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/nosvn/images/givingguide/images/minifree-t400.png" alt="t400" class="center-block" width="250px" />
           <h5 class="text-center">Minifree T400 with GNU/Linux</h5>
           <ul>
             <li>Durable hardware is meant to last and easy to repair.</li>
             <li>Created by a small business that replaces all restrictive components from a stock laptop.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/macbook-blocked.png" alt="macbook" class="center-block" width="250px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/macbook-blocked.png" alt="macbook" class="center-block fix-macbook" width="250px" />
           <h5 class="text-center">Apple Macbook Pro with macOS</h5>
           <ul>
             <li>Runs on proprietary software that restricts the user's freedoms.</li>
     <div class="container">
       <h3 class="title text-center">Compact Laptops</h3>
       <div class="row">
-        <div class="good col-md-6">
-          <img src="https://static.fsf.org/nosvn/images/givingguide/images/libiquity-x200.png" alt="replicant phone" class="center-block" width="250px" />
+        <div class="good col-md-6 col-sm-6">
+          <img src="img/products/x200.jpg" alt="replicant phone" class="center-block" width="250px" />
           <h5 class="text-center">Libiquity Taurinus X200 with GNU/Linux</h5>
           <ul>
             <li>As free as can be: runs the <a href="https://www.gnu.org/distros/free-distros.en.html">FSF-endorsed</a> Trisquel operating system and libreboot firmware on hardware that is certified to Respect Your Freedom.</li>
             <li>Durable hardware is meant to last and easy to repair.</li>
             <li>Created by a small business that replaces all restrictive components from a stock laptop.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
+        <div class="bad col-md-6 col-sm-6">
           <img src="img/products/lenovo-blocked.png" alt="lenovo" class="center-block" height="150px" />
           <h5 class="text-center">Lenovo U31 with Windows</h5>
           <ul>
     <div class="container">
       <h3 class="title text-center">3D Printers</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/nosvn/images/givingguide/images/lulzbot-mini.png" alt="replicant phone" class="center-block" width="250px" />
           <h5 class="text-center">Lulzbot Mini</h5>
           <ul>
             <li>Ease of use features like self-leveling and self-cleaning.</li>
             <li>Hardware designs available to make modification and improvement easy. Standardized material format allows 3D printing with plastics, wood-, stone-, bamboo-, rubber-, and metal-like materials.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/printer-blocked.png" alt="printer" class="center-block" height="250px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/printer-blocked.png" alt="printer" class="center-block" height="212px" />
           <h5 class="text-center">Makerbot Replicator Mini</h5>
           <ul>
             <li>
     <div class="container">
       <h3 class="title text-center">Wi-Fi Routers</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/nosvn/images/givingguide/images/librecmc-router.jpg" alt="replicant phone" class="center-block" width="250px" />
           <h5 class="text-center">ThinkPenguin Router</h5>
           <ul>
             </li>
             <li>As free as can be: runs the <a href="https://www.gnu.org/distros/free-distros.en.html">FSF-endorsed</a> LibreCMC operating system on hardware that is certified to Respect Your Freedom.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/router-blocked.png" alt="printer" class="center-block" height="150px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/router-blocked.png" alt="printer" class="center-block fix-router" height="150px" />
           <h5 class="text-center">ISP-provided Routers</h5>
           <ul>
             <li>
     <div class="container">
       <h3 class="title text-center">eBooks</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/fsforg/img/ProjectGutenbergPrepped.png" alt="replicant phone" class="center-block" width="250px" />
           <h5 class="text-center">Project Gutenberg</h5>
           <ul>
             <li>The original purveyor of eBooks free of <a href="http://www.defectivebydesign.org/what_is_drm_digital_restrictions_management">DRM</a> (Digital Restrictions Management), <a href="https://www.defectivebydesign.org/guide/ebooks">inspiring many others</a>.</li>
             <li>Enjoy the freedom to read your ebooks on any device.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Download</button>
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/amazon-blocked.png" alt="printer" class="center-block" height="70px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/amazon-blocked.png" alt="printer" class="center-block fix-amazon" width="230px" />
           <h5 class="text-center">Amazon.com</h5>
           <ul>
             <li>
     <div class="container">
       <h3 class="title text-center">Graphic Design</h3>
       <div class="row">
-        <div class="good col-md-6">
-          <img src="https://static.fsf.org/nosvn/images/gimp_inkscape.png" alt="replicant phone" class="center-block" height="150px" />
+        <div class="good col-md-6 col-sm-6">
+          <img src="https://static.fsf.org/nosvn/images/gimp_inkscape.png" alt="GIMP and Inskacape" class="center-block" height="150px" />
           <h5 class="text-center">GIMP and Inkscape</h5>
           <ul>
             <li>Free software, with thriving developer communities.</li>
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
+        <div class="bad col-md-6 col-sm-6">
           <img src="img/products/adobe-blocked.png" alt="printer" class="center-block" height="150px" />
           <h5 class="text-center">Photoshop and Illustrator</h5>
           <ul>
     <div class="container">
       <h3 class="title text-center">Gift Cards</h3>
       <div class="row">
-        <div class="good col-md-6">
+        <div class="good col-md-6 col-sm-6">
           <img src="https://static.fsf.org/fsforg/img/FSFCardPrepped.png" alt="replicant phone" class="center-block" height="200px" />
           <h5 class="text-center">FSF Membership Card</h5>
           <ul>
             <li>Enjoy a host of <a href="https://www.fsf.org/associate/benefits">member benefits</a>, including admission to the <a href="https://www.libreplanet.org/conference">yearly LibrePlanet conference</a>.</li>
             <li>Membership donations are tax-deductible in the US. For a smaller gift, <a href="https://www.fsf.org/donate">donate in a friend's name</a>.</li>
           </ul>
-          <button type="button" name="buy" class="buy center-block">Buy</button>
+
         </div>
         <!--End Good-->
 
-        <div class="bad col-md-6">
-          <img src="img/products/itunes-blocked.png" alt="printer" class="center-block" height="150px" />
+        <div class="bad col-md-6 col-sm-6">
+          <img src="img/products/itunes-blocked.png" alt="printer" class="center-block fix-itunes" height="150px" />
           <h5 class="text-center">iTunes Cards</h5></h5>
           <ul>
             <li> <a href="http://www.defectivebydesign.org/what_is_drm_digital_restrictions_management">DRM</a> on everything (except music) controls what you can do with your purchases.
 
         <!-- Begin Certified -->
         <div class="col-md-4 col-sm-4 col-xs-6">
-          <img src="img/products/tehnoetic-wifi.png" alt="" class="center-block" />
+          <img src="img/products/mini-wifi.jpg" alt="" class="center-block img-responsive" />
           <h5 class="text-center">Tehnoetic Mini Wi-Fi Adapter</h5>
           <p>
             Great for all-free-software installations on laptops with incompatible Wi-Fi hardware.
         </div>
 
         <div class="col-md-4 col-sm-4 col-xs-6">
-          <img src="https://static.fsf.org/nosvn/images/givingguide/images/thinkpenguin-mini-router.png" alt="" class="center-block" />
+          <img src="img/products/vpn.jpg" alt="" class="center-block img-responsive" />
           <h5 class="text-center">ThinkPenguin VPN Router</h5>
           <p>
             Designed to complement your existing router by providing an easy-to-set up VPN that enhances privacy and security and circumvents network controls.
         </div>
 
         <div class="col-md-4 col-sm-4 col-xs-6">
-          <img src="https://static.fsf.org/nosvn/images/givingguide/images/thinkpenguin-long-range-adapter.png" alt="" class="center-block img-responsive" />
+          <img src="img/products/wifi-adapter.jpg" alt="" class="center-block img-responsive" />
           <h5 class="text-center">ThinkPenguin Long-Range Wi-Fi Adapter</h5>
           <p>
             More powerful than its smaller cousin, and can be further upgraded with a larger antenna.
       <h1>Recommended organizations for holiday donations</h1>
       <div class="row">
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.fsf.org/"><img src="img/charities/fsf.jpg" alt="fsf" class="center-block img-responsive"/></a>
+          <a href="http://www.fsf.org/"><img src="img/charities/fsf.jpg" alt="fsf" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.sfconservancy.org/"><img src="img/charities/sfc.jpg" alt="sfc" class="center-block img-responsive"/></a>
+          <a href="http://www.sfconservancy.org/"><img src="img/charities/sfc.jpg" alt="sfc" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.eff.org/"><img src="img/charities/eff.jpg" alt="eff" class="center-block img-responsive"/></a>
+          <a href="http://www.eff.org/"><img src="img/charities/eff.jpg" alt="eff" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.creativecommons.org/"><img src="img/charities/cc.jpg" alt="cc" class="center-block img-responsive"/></a>
+          <a href="http://www.creativecommons.org/"><img src="img/charities/cc.jpg" alt="cc" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://wikimedia.org/"><img src="img/charities/wikimedia.jpg" alt="wikimedia" class="center-block img-responsive"/></a>
+          <a href="http://wikimedia.org/"><img src="img/charities/wikimedia.jpg" alt="wikimedia" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.softwarefreedom.org/"><img src="img/charities/sflc.jpg" alt="sflc" class="center-block img-responsive"/></a>
+          <a href="http://www.softwarefreedom.org/"><img src="img/charities/sflc.jpg" alt="sflc" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="http://www.gnome.org/"><img src="img/charities/gnome.jpg" alt="gnome" class="center-block img-responsive"/></a>
+          <a href="http://www.gnome.org/"><img src="img/charities/gnome.jpg" alt="gnome" class="center-block img-responsive" /></a>
         </div>
         <div class="col-md-3 col-xs-4">
-          <a href="https://ceata.org/"><img src="img/charities/ceata.jpg" alt="ceata" class="center-block img-responsive"/></a>
+          <a href="https://ceata.org/"><img src="img/charities/ceata.jpg" alt="ceata" class="center-block img-responsive" /></a>
         </div>
       </div>
     </div>
index 6a7e80eea4d79c1d521ea803a6ecf03a56b175d3..77e1562a4d0148ff4ccb1c4e7e57dbcfb280b14f 100644 (file)
Binary files a/img/products/adobe-blocked.png and b/img/products/adobe-blocked.png differ
index c060940a51733667968aa21b47866a4f1a026fdc..9353e3643b01ef4297307467052f529e7ec8f4a4 100644 (file)
Binary files a/img/products/amazon-blocked.png and b/img/products/amazon-blocked.png differ
index 7b6f878f3e381fcd9b2eb2bb2206519fa79a4567..1214accbe163ad76d1ff26f0dd8ec1fab3339b03 100644 (file)
Binary files a/img/products/iphone-blocked.png and b/img/products/iphone-blocked.png differ
index 39063530e2fde3ce858d29bd8204623976bcdade..c0b364d0b65be1997642d4c88e3dbed075a98a5d 100644 (file)
Binary files a/img/products/itunes-blocked.png and b/img/products/itunes-blocked.png differ
index 76f6916c6ce16da6203da3e0d11038d2548a4609..8337d5e3ac31e8075a571512a7cad9a8d1374519 100644 (file)
Binary files a/img/products/lenovo-blocked.png and b/img/products/lenovo-blocked.png differ
index 8b7ae46b22ac2a426e976b3fa51bf339fec79850..ce1001f801f36db2e345978a1ae86a60593e830e 100644 (file)
Binary files a/img/products/macbook-blocked.png and b/img/products/macbook-blocked.png differ
diff --git a/img/products/mini-wifi.jpg b/img/products/mini-wifi.jpg
new file mode 100644 (file)
index 0000000..3d31ae9
Binary files /dev/null and b/img/products/mini-wifi.jpg differ
index 1611b09c66e28208f8e97035f26c46485074ad1e..af32d1cdd1e827f50850548a78b15b0573016f8e 100644 (file)
Binary files a/img/products/printer-blocked.png and b/img/products/printer-blocked.png differ
index 50d0da0b170c2f34f83899886533ca011c163bd7..bffd0d55ab0fb7a7af2a60282579e7cc5355fbf2 100644 (file)
Binary files a/img/products/router-blocked.png and b/img/products/router-blocked.png differ
diff --git a/img/products/tehnoetic-wifi.png b/img/products/tehnoetic-wifi.png
deleted file mode 100644 (file)
index ed02427..0000000
Binary files a/img/products/tehnoetic-wifi.png and /dev/null differ
diff --git a/img/products/vpn.jpg b/img/products/vpn.jpg
new file mode 100644 (file)
index 0000000..f2f727e
Binary files /dev/null and b/img/products/vpn.jpg differ
diff --git a/img/products/wifi-adapter.jpg b/img/products/wifi-adapter.jpg
new file mode 100644 (file)
index 0000000..ed82c42
Binary files /dev/null and b/img/products/wifi-adapter.jpg differ
diff --git a/img/products/x200.jpg b/img/products/x200.jpg
new file mode 100644 (file)
index 0000000..617b8e6
Binary files /dev/null and b/img/products/x200.jpg differ