From a4280bed91adc0af0501299067191093b0919a76 Mon Sep 17 00:00:00 2001 From: Reda Lazri Date: Thu, 1 Sep 2016 16:39:37 +0100 Subject: [PATCH] Fixed the 'BUY' button and the ribbon/triangle...fixes --- css/master.css | 95 ++++++++++++++++++++++++++++-------------------- givingguide.html | 50 ++++++++++--------------- 2 files changed, 76 insertions(+), 69 deletions(-) diff --git a/css/master.css b/css/master.css index 26dd894..7bb2eaf 100644 --- a/css/master.css +++ b/css/master.css @@ -284,6 +284,7 @@ section { } /*Comparisons*/ + .title { margin-top: 40px; padding-bottom: 8px; @@ -293,7 +294,7 @@ section { background-position: center bottom; } -.sale { +/*.sale { position: absolute; top: 10px; left: -67px; @@ -313,15 +314,29 @@ section { font-size: 14px; font-weight: 700; +}*/ + +.sale { + position: absolute; + top: 0; + left: 0; + + width: 0; + height: 0; + + color: #fff; + border-width: 113px 113px 0 0; + border-style: solid; + border-color: #0AD778 transparent transparent transparent; } -/*.sale-text P { +.sale-text { position: absolute; - top: 18px; - left: 23px; + top: -93px; + left: 4px; -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); + transform: rotate(-45deg); text-transform: uppercase; color: white; @@ -329,29 +344,30 @@ section { font-size: 20px; font-weight: bold; -}*/ +} .rfy { position: absolute; - top: 30px; - left: -42px; + top: 44px; + left: -71px; - width: 180px; - padding: 6px 0; + width: 266px; + padding: 10px 0; -webkit-transform: rotate(-45deg); - -moz-transform: rotate(-45deg); - -ms-transform: rotate(-45deg); transform: rotate(-45deg); text-align: center; + text-decoration: underline; text-transform: uppercase; color: #fff; - background: #1e33f6; + border-bottom: 0; + background: #2B81E3; font-size: 14px; font-weight: 700; } + .bad, .good { overflow: hidden; @@ -376,17 +392,17 @@ section { background-image: url("../img/bad.svg"); } -.neutral { +li.neutral { background-image: url("../img/neutral.svg"); } -.pros, -.cons { +.cons, +.pros { padding-left: 15px; } -.pros li, -.cons li { +.cons li, +.pros li { padding-left: 30px; list-style: none; @@ -400,49 +416,50 @@ section { } .get-item { - /*width: 40%;*/ - margin: 0 auto; - width: 120px; + width: 140px; + margin: 0 auto 13px; + padding: 4px 35px; text-align: center; + text-decoration: none; color: white; + border-bottom: 0; border-radius: 100px; background: #2B81E3; - border-color: #135299; font-family: "Signika Regular"; font-size: 24px; } -.get-item a { +.get-item:active, +.get-item:focus, +.get-item:hover, +.rfy:active, +.rfy:focus, +.rfy:hover { text-decoration: none; color: white; - border-bottom: 0; + background: #6eadf5; } -.dropdown-toggle { - padding: 13px 55px; +.get-item:active { background: #2B81E3; - border-color: #135299; - border-radius: 100px; - width: 40px; - } -.dropdown-menu { - margin: 0; -} -.dropdown-menu li { - list-style: none; - margin-bottom: 12px; +.seller-group { + padding: 10px; + + text-align: center; } -.dropdown-menu a { - border-bottom: 0; - padding: 3px 20px; +.seller { + display: inline-block; + + text-align: center; } + /*Charities*/ .charities { diff --git a/givingguide.html b/givingguide.html index 1aa4cd3..44ab55e 100644 --- a/givingguide.html +++ b/givingguide.html @@ -132,51 +132,41 @@
-
Sale!
+
+

+ Sale! +

+
-
RYF-certified
+ RFY-Certified replicant phone
Tehnoetic S2 with Replicant
-