Added a 'Recommended' section
[fsf-giving-guide.git] / stylesheet.css
index 5bac547bda4582c09b05f0acb16d3e358a60ae4e..90468c386243f58dca8a572e96286d87050580b0 100755 (executable)
 /*Typography*/
 
+@font-face {
+    font-family: 'Signika Regular';
+    src: local('Signika Regular'), url('fonts/Signika-Regular.ttf') format('truetype');
+}
+
 @font-face {
     font-family: 'Signika Light';
     src: local('Signika Light'), url('fonts/Signika-Light.ttf') format('truetype');
 }
 
+@font-face {
+    font-family: 'Signika Bold';
+    src: local('Signika Bold'), url('fonts/Signika-Bold.ttf') format('truetype');
+}
+
 @font-face {
     font-family: 'Open Sans';
     src: local('Open Sans'), url('fonts/OpenSans-Regular.ttf') format('truetype');
 }
 
+@font-face {
+    font-family: 'Open Sans Bold';
+    src: local('Open Sans Bold'), url('fonts/OpenSans-Bold.ttf') format('truetype');
+}
+
 /*Style common HTML tags*/
 
 html {
-    line-height: 1.4em;
     font-family: 'Open Sans', 'DejaVu Sans', Arial, sans-serif;
-    font-size: 1em;
+    font-size: 14px;
+    line-height: 1.4;
     color: #363636;
+    background-color: #fffefb;
     width: 100%;
 }
 
-a { color: #b495d3;}
-a:link { text-decoration: none; }
-a:visited { text-decoration: none; }
-a:hover { text-decoration: underline; }
-a:active { text-decoration: underline; }
+/* Type something: */
 
+a { color: #1F8A70; border-bottom: 1px solid #dbd145; text-decoration: none; }
 
-p { line-height: 1.4em; margin-bottom: 1.2em; }
+p { line-height: 1.4; margin-bottom: 1.5em; font-size: 1em; }
 
 i { font-style: italic; }
 b { font-style: oblique; }
 
-li {list-style-type: circle; padding: 0.4em 0.2em; line-height: 1.4em; }
-ul {margin: 1em 2em 0em 4em;}
+li {list-style-type: circle; padding: 0.4em 0.2em; line-height: 1.4; }
+/* ul {margin: 1em 2em 0em 4em;} */
 
 br {margin-bottom: 20em; margin-top: 20em;}
 
 h1 {  font-size: 2.75em;  font-family: 'Signika Light'; margin-bottom: 0.5em; margin-top: 1em; }
-h2 {  font-size: 1.75em;  font-family: 'Signika Light';        color: #6c6c6c; margin-bottom: 0.5em; margin-top: 1em; }
-h3 {  font-size: 1.625em; font-family: 'Signika Light';        color: #b495d3; margin-bottom: 0.5em; margin-top: 1em; }
-h4 {  font-size: 1.375em; font-family: 'Signika Light'; color: #4d4d4d;        margin-bottom: 0.5em; margin-top: 1em; }
-h5 {  font-size: 1.25em;  font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 1em; }
-h6 {  font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 1em; }
+h2 {  font-size: 1.75em;  font-family: 'Signika Light';        color: #2CAF8F; margin-bottom: 0.5em; margin-top: 2em; }
+h3 {  font-size: 1.625em; font-family: 'Signika Bold'; color: #484848; margin-bottom: 0.5em; margin-top: 2em; }
+h4 {  font-size: 1.375em; font-family: 'Signika Light'; color: #4d4d4d;        margin-bottom: 0.5em; margin-top: 2em; }
+h5 {  font-size: 1.25em;  font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 2em; }
+h6 {  font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 2em; }
 
 /*Site-specific*/
 
-#banner > img {
-  width: 100%;
-}
+  /* Header */
 
-#wrapper {
-  margin: auto 5em;
+.header {
+/*   background-image: url("images/banner.png"); */
+/*   background-color: #2CAF8F; */
+/*   background-repeat: no-repeat; */
+/*   height: 710px; */
+/*   background-size: 550px; */
+/*   background-position: 5% 30%; */
 }
 
-#comparisons {
-  /* padding-top: 10em; */
-  background-color: #fbfbfb;
-  position: absolute;
-  width: 100%;
-  max-width: 1150px;
-}
+/* Navbar */
 
-.main_title {
-  margin-left: 2em;
-  margin-bottom: 3em;
+.header_wrapper {
+  background-color: #2CAF8F;
+  height: 450px;
 }
 
-.section_wrapper {
-  margin-bottom: 4em;
+.header a {
+  border-bottom: 0;
 }
 
-.title {
+.navbar_wrapper {
+  max-width: 1300px;
+  min-width: 1110px;
+  margin: auto;
   text-align: center;
-  font-size: 1.5em;
 }
 
-#free {
-  position: relative;
-  /* background-color: red; */
+.logo_wrapper {
+  padding: 1.3em;
   float: left;
-  width: 45%;
-  max-width: 450px;
 }
 
-#sign {
-  position: relative;
-  /* background-color: green; */
-  width: 240px;
-  float: left;
-  margin-top: 3em;
+.join_wrapper {
+  padding: 1.2em;
+  float: right;
+  display: inline-block;
 }
 
-#proprietary {
-  position: relative;
-  /* background-color: blue; */
-  width: 45%;
-  max-width: 450px;
+.logo, .join {
+  max-width: 200px;
+  min-width: 200px;
+}
+
+.share_wrapper {
+  padding: 1.2em;
   float: right;
+  display: inline-block;
 }
 
-.product {
-  display: block;
-  margin: auto;
-  width: 250px;
-  height: 250px;
+.share {
+  max-width: 36px;
+  min-width: 36px;
+}
+
+.navbar {
+  width: 537px;
+  padding: 1em;
+  height: 2.55556em;
+  display: inline-block;
+/*   float: left; */
+}
+
+.navbar li {
+  font-family: 'Signika Regular';
+  font-size: 1em;
+  background-color: white;
+  list-style-type: none;
+  border-right: 1px #9BD2BF solid;
+  padding: 0 30px 0 30px;
+  line-height: 2.6;
+  float: left;
+}
+
+.navbar li:first-child {
+  border-radius: 100px 0 0 100px;
 }
 
-.sign  {
+.navbar li:last-child {
+  border-right: 0;
+  border-radius: 0 100px 100px 0;
+}
+
+.navbar li:hover {
+  background-color: #FFDD55;
+}
+
+.navbar li a {
   display: block;
+  text-decoration: none;
+}
+
+.navbar li a:hover {
+  color: #4B423B;
+}
+
+.intro {
   margin: auto;
-  width: 149px;
-  height: 149px;
+  max-width: 1300px;
+  min-width: 1170px;
+}
+
+.intro_wrapper {
+/*   width: 40%; */
+  max-width: 500px;
+  min-width: 500px;
+  float: right;
+  color: white !important;
+/*   padding-right: 3em; */
 }
 
-.separator {
-  width: 1px;
-  height: 324px;
+.intro_wrapper h2 {
+  color: #FFDD55;
+}
+
+.intro_img img{
+  width: 40%;
+  max-width: 500px;
+  float: left;
+  padding: 2em;
+  padding-left: 3em;
+
+}
+
+/* Comparisons */
+
+.wrapper,
+.section_wrapper,
+.recommended {
+  width: 750px;
+  min-width: 750px;
   margin: auto;
-  margin-left: 7.5em;
+}
+
+.main_title {
+  text-align: center;
   margin-top: 3em;
+  display: inline-block;
 }
 
-#section_wrapper {
-  position: relative;
+.buy a {
+  border-bottom: none;
 }
 
-/* #test {
-  height: 10em;
+.product_img,
+.product {
+  margin: auto;
+  width: 168px;
+}
+
+.good,
+.bad {
   position: relative;
-  background-color: white;
-  display: block;
+  top: 175px;
+  left: 84px;
+  width: 60px;
+}
+
+.buy, .avoid,
+.free, .proprietary {
+  text-align: center;
+}
+
+.free li,
+.proprietary li {
+  text-align: left;
+}
+
+.buy img,
+.avoid img {
+  margin-top: 2em;
+  max-width: 151px;
+  height: 42px;
+}
+
+.free {
   float: left;
-} */
+  width: 45%;
+}
+
+.proprietary {
+  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;
+}