From f5810b4582ebc5efcb8e14991e2884cb009c5ba5 Mon Sep 17 00:00:00 2001 From: Reda Lazri Date: Tue, 18 Nov 2014 13:18:12 +0100 Subject: [PATCH] Added a 'Recommended' section --- givingguide.html | 141 +++++++++++++++++++++-------------------------- stylesheet.css | 32 ++++++++++- 2 files changed, 94 insertions(+), 79 deletions(-) diff --git a/givingguide.html b/givingguide.html index b347cc5..53a50b9 100755 --- a/givingguide.html +++ b/givingguide.html @@ -68,72 +68,6 @@ - - @@ -156,7 +90,7 @@
- download + Download
@@ -203,7 +137,7 @@
- download + Buy
@@ -231,14 +165,6 @@ -
-
-

Recomended Products

- - -
-
-

Operating System: Give the gift of free, flexible, and ethical computing

@@ -258,7 +184,7 @@
- download + Download
@@ -286,6 +212,67 @@
+ diff --git a/stylesheet.css b/stylesheet.css index e44d21d..90468c3 100755 --- a/stylesheet.css +++ b/stylesheet.css @@ -74,7 +74,7 @@ h6 { font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-b .header_wrapper { background-color: #2CAF8F; - height: 500px; + height: 450px; } .header a { @@ -187,7 +187,8 @@ h6 { font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-b /* Comparisons */ .wrapper, -.section_wrapper { +.section_wrapper, +.recommended { width: 750px; min-width: 750px; margin: auto; @@ -243,3 +244,30 @@ h6 { font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-b float: right; width: 45%; } + +/* Recommended Section */ + +.recommend_title { + border-bottom: 1px solid #2CAF8F; + width: 100%; + text-align: left; + margin-top: 3em; + display: inline-block; +} + +.recommend_wrapper { + padding-top: 1em; + margin: auto; + width: 750px; +} + +.recommended_product { + text-align: center; + width: 29%; + margin: 1em; + display: inline-block +} + +.recommended_product_img { + width: 120px; +} -- 2.25.1