From 78c1105845557e10609b13a40dd28ecc58e804f4 Mon Sep 17 00:00:00 2001 From: Reda Lazri Date: Wed, 31 Aug 2016 16:59:22 +0100 Subject: [PATCH] Starting work on JS and Buy buttons --- css/master.css | 56 ++++++++++++++++++++++-------- givingguide.html | 89 +++++++++++++++++++++++++++++++++--------------- js/magic.js | 1 + 3 files changed, 104 insertions(+), 42 deletions(-) diff --git a/css/master.css b/css/master.css index 22f8bf0..26dd894 100644 --- a/css/master.css +++ b/css/master.css @@ -368,25 +368,25 @@ section { background-size: 40px; } -.good li { +.pros li { background-image: url("../img/good.svg"); } -.bad li { +.cons li { background-image: url("../img/bad.svg"); } -.bad .neutral { +.neutral { background-image: url("../img/neutral.svg"); } -.bad ul, -.good ul { +.pros, +.cons { padding-left: 15px; } -.bad li, -.good li { +.pros li, +.cons li { padding-left: 30px; list-style: none; @@ -400,16 +400,16 @@ section { } .get-item { - width: 40%; - margin: 0 auto 25px; - padding: 6px 35px; + /*width: 40%;*/ + margin: 0 auto; + width: 120px; text-align: center; color: white; - border-bottom: 0; border-radius: 100px; background: #2B81E3; + border-color: #135299; font-family: "Signika Regular"; font-size: 24px; @@ -421,6 +421,28 @@ section { color: white; border-bottom: 0; } + +.dropdown-toggle { + padding: 13px 55px; + background: #2B81E3; + border-color: #135299; + border-radius: 100px; + width: 40px; + +} + +.dropdown-menu { + margin: 0; +} +.dropdown-menu li { + list-style: none; + margin-bottom: 12px; +} + +.dropdown-menu a { + border-bottom: 0; + padding: 3px 20px; +} /*Charities*/ .charities { @@ -647,8 +669,8 @@ footer p { } .illustration img { - width: 80%; - margin-top: 80px; + width: 90%; + margin-top: 30px; } /*Footer*/ @@ -677,4 +699,10 @@ footer p { } /* Large devices (large desktops, 1200px and up) */ -@media (min-width: 1200px) {} +@media (min-width: 1200px) { + .illustration img { + width: 70%; + margin-top: 10px; + + } +} diff --git a/givingguide.html b/givingguide.html index 1ef527b..1aa4cd3 100644 --- a/givingguide.html +++ b/givingguide.html @@ -139,13 +139,46 @@
RYF-certified
- replicant phone + replicant phone
Tehnoetic S2 with Replicant
-
- BUY + + -