X-Git-Url: https://vcs.fsf.org/?p=fsf-giving-guide.git;a=blobdiff_plain;f=stylesheet.css;h=0e6aaad5c2dda5cf084aa4b498f66a37129474f8;hp=e6962025ea6ef687aac7a694ca838d66f1fb4252;hb=5533a0aeb65804880a2162f1c3c5b50adaebf48e;hpb=2a473abe64fc1a75e0e06a760d09d8ed3418caaa diff --git a/stylesheet.css b/stylesheet.css index e696202..0e6aaad 100755 --- a/stylesheet.css +++ b/stylesheet.css @@ -1,5 +1,10 @@ /*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'); @@ -25,30 +30,29 @@ html { font-family: 'Open Sans', 'DejaVu Sans', Arial, sans-serif; font-size: 14px; - line-height: 1.4em; + line-height: 1.4; color: #363636; - background-color: #fffefb; + background-color: #fff; width: 100%; } - /* Type something: */ -a { color: #1F8A70; border-bottom: 1px solid #dbd145; text-decoration: none;} +a { color: #1F8A70; border-bottom: 1px solid #dbd145; text-decoration: none; } -p { line-height: 1.4em; margin-bottom: 1.5em; font-size: 1em;} +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; } +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;} +br {margin-bottom: 0.5em; margin-top: 0.5em;} -h1 { font-size: 2.75em; font-family: 'Signika Light'; margin-bottom: 0.5em; margin-top: 1em; } +h1 { font-size: 2.20em; font-family: 'Signika Light'; color: #2CAF8F; 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 Light'; color: #b495d3; 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; } @@ -58,167 +62,326 @@ h6 { font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-b /* Header */ .header { - background-image: url("images/banner.png"); +} + +/* Navbar */ + +.header_wrapper { background-color: #2CAF8F; - background-repeat: no-repeat; - height: 776px; - background-size: 1200px; - background-position: bottom; + height: 486px; + margin: auto; + width: 100%; + /*width: 1300px;*/ } -.logo { - width: 247px; - height: 29px; - padding: 1.3em; +.header a { + border-bottom: 0; } -.logo_wrapper { +.navbar_wrapper, +.comparisons { + max-width: 1300px; + min-width: 1110px; + margin: auto; + text-align: center; } -.join { - width: 172px; - height: 29px; +.logo_wrapper { padding: 1.3em; + float: left; +} + +.join_wrapper { + padding: 1.2em; float: right; + display: inline-block; +} + +.logo, .join { + max-width: 200px; + min-width: 200px; +} + +.share_wrapper { } -.top { +.share { position: relative; + bottom: 0.8em; + text-align: center; } -.top a { +.share a{ + background-color: #FDD53A; border-bottom: 0; + padding: .6em 2em; + font-family: 'Signika Bold'; + font-size: 1.4em; + color: #2CAF8F; + border-radius: 50em; } -.navbar ul { - background-color: white; - border-radius: 100px; - text-align: center; - width: 675px; +.share a:hover { + background-color: #FDDE56; +} + +.navbar { + padding: 1em; height: 2.55556em; - margin: auto; + display: inline-block; +/* float: left; */ } - .navbar li { - font-size: 0.9em; - font-weight: bold; +.navbar li { + font-family: 'Signika Regular'; + font-size: 1em; + background-color: white; list-style-type: none; border-right: 1px #9BD2BF solid; - padding: 0 10px 0 10px; - line-height: 2.9; + padding: 0 30px 0 30px; + line-height: 2.6; float: left; - width: 170px; - height: 2.85556em; } .navbar li:first-child { border-radius: 100px 0 0 100px; - width: 160px; } .navbar li:last-child { border-right: 0; border-radius: 0 100px 100px 0; - width: 92px; } + .navbar li:hover { background-color: #FFDD55; - } .navbar li a { display: block; text-decoration: none; - border: 0; - } .navbar li a:hover { color: #4B423B; } -.wrapper { - width: 700px; +.intro, +.share { + max-width: 1300px; + min-width: 1170px; margin: auto; } -.wrapper .intro_phrase { - width: 450px; - text-align: center; - font-family: Signika Bold; - margin: 1.2em auto; - color: #bababa; +.intro_wrapper, +.intro_img { + max-width: 500px; + min-width: 00px; +} +.intro_wrapper { + float: right; + color: white; + padding-right: 4em; } -/* #comparisons { - padding-top: 100px; - background-color: #fbfbfb; - background-size: cover; - position: absolute; +.intro_img{ + float: left; + padding-left: 4em; +} + +.intro_wrapper h2 { + color: #FFDD55; +} + +.intro_wrapper a { + border-bottom: 1px solid #FDD53A; + color: #FDD53A; +} + +.intro_img img{ + padding-top: 1.7em; width: 100%; - max-width: 1150px; +} + +/* Comparisons */ + +.wrapper, +.section_wrapper, +.buy_avoid, +.recommended, +.licenses { + max-width: 750px; + min-width: 750px; + margin: auto; } .main_title { - margin-left: 2em; - margin-bottom: 3em; + width: 100%; + text-align: left; + border-bottom: 1px solid lightgray; + margin-top: 3em; + margin-bottom: 2em; + display: inline-block; } -.section_wrapper { - margin-bottom: 4em; +.buy a { + border-bottom: none; } -.title { - text-align: center; - font-size: 1.5em; +.product_img { + margin: auto; + max-width: 168px; + max-height: 168px; + position: relative; } -#free { +.product { + text-align: center; position: relative; - background-color: red; + margin: auto; + display: block; + height: 168px; + width: 168px; + /* margin-bottom: 8em; */ +/* max-height: 168px; */ +} +/* + .proprietary .product_img:after { + content: ""; + background-image: url("images/bad.png"); + background-size: 25px; + background-repeat: no-repeat; + width: 25px; + height: 25px; + position: absolute; +} + + .free h4:after { + content: ""; + background-image: url("images/good.png"); + background-size: 25px; + background-repeat: no-repeat; + width: 25px; + height: 25px; + position: absolute; +} + */ + + +.good, +.bad { + z-index: 999; + width: 65px; + top: 8em; + left: 9em; + position: absolute; + +} + + +.free, .proprietary { + text-align: center; +} + +.free li, +.proprietary li { + text-align: left; +} + +.buy img, +.avoid img { + max-width: 151px; + height: 42px; +} + +.buy_avoid_wrapper { + margin-top: 2em; + min-width: 100%; + max-width: 100%; + display: inline-block; +} + +.buy { + text-align: center; + margin: auto; + width: 45.555555%; float: left; - width: 45%; - max-width: 450px; + } -#sign { - position: relative; - background-color: green; - width: 240px; +.avoid { + text-align: center; + margin: auto; + width: 45.555555%; + float: right; +} + +.free { float: left; - margin-top: 3em; + width: 45.555555%; } -#proprietary { - position: relative; - background-color: blue; - width: 45%; - max-width: 450px; +.proprietary { float: right; + width: 45.555555%; } -.product { - display: block; +/* Recommended Section */ + +.topic_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: 250px; - height: 250px; + width: 750px; +} + +.recommended_product { + text-align: center; + width: 29%; + margin: 1em; + display: inline-block +} + +.recommended_product_img { + width: 120px; +} + +.recommend_wrapper .buy { + float: none; + text-align: center; + width: 100%; +} + +.remark { + margin-top: 3em; + font-weight: bold; } -.sign { +/* Licenses */ + +.licenses h1 { + margin-top: 0.6em; +} + +/* Footer */ + +footer { display: block; - margin: auto; - width: 149px; - height: 149px; + background-color: #1a1a1a; + width: 100%; + /*width: 1300px;*/ } -.separator { - width: 1px; - height: 324px; +.footer_wrapper { + width: 750px; margin: auto; - margin-left: 7.5em; - margin-top: 3em;} - -#section_wrapper { - position: relative; -} */ + padding: 2em; + color: white; +}