Permalink
Browse files

Initial Commit

  • Loading branch information...
0 parents commit f734b94ebd7fff7d01211728a82a2e4d67e0ac0a @garethrees committed May 30, 2011
Showing with 340 additions and 0 deletions.
  1. +73 −0 index.html
  2. +164 −0 stylesheets/application.css
  3. +103 −0 stylesheets/reset.css
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <title>Nice Landing Page</title>
+ <link rel="stylesheet" href="stylesheets/reset.css" />
+ <link rel="stylesheet" href="stylesheets/application.css" />
+ <link href='http://fonts.googleapis.com/css?family=Maven+Pro:regular,500,bold,900' rel='stylesheet' type='text/css'>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
+ <!--[if IE]>
+ <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+</head>
+
+<body>
+
+ <header>
+ <h1><span id="logo">N</span> nicelandingpage.com</h1>
+ <nav>
+ <ul>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ </nav>
+ </header>
+
+ <div id="body" class="clearfix">
+
+ <h1>A Nice Looking Headline</h1>
+
+ <section id="intro" class="clearfix">
+
+ <img src="http://placehold.it/460x310" alt="An image relevant to the copy" />
+
+ <div>
+ <h1>A Secondary Headline</h1>
+
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
+ <ul>
+ <li>Lorem ipsum dolor sit amet, consectetur adipisicing elit</li>
+ <li>Sed do eiusmod tempor incididunt ut labore et dolore</li>
+ <li>Ut enim ad minim veniam, quis nostrud exercitation</li>
+ </ul>
+
+ <span id="call-to-action">Do it now! <a href="#">click here!</a></span>
+ </div>
+
+ </section>
+
+ <article class="testimonial">
+ <img src="http://placehold.it/150x180" alt="An image relevant to the copy" />
+ <div>
+ <h1>A Testimonial!</h1>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate.</p>
+ </div>
+ </article>
+
+ <section id="info">
+ <img src="http://placehold.it/150x180" alt="An image relevant to the copy" />
+ <div>
+ <h1>More Information</h1>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate.</p>
+ </div>
+ </section>
+
+ </div>
+
+</body>
+</html>
@@ -0,0 +1,164 @@
+html { background:#eee; }
+
+body {
+ background:#FFF;
+ color:#111;
+ font-family:"Maven Pro", Arial, Helvetica, Sans-Serif;
+ margin:0 auto;
+ padding:20px;
+ width:960px;
+}
+
+h1,h2,h3,h4,h5,h6 { text-transform:uppercase; }
+
+a { color:#64ACDE; }
+
+a:focus,
+a:hover {
+ background:#64ACDE;
+ color:#FFF;
+ text-decoration:none;
+}
+
+p {
+ color:#777;
+ font-size:0.9em;
+ line-height:1.3;
+ margin-bottom:0.75em;
+}
+
+header {
+ border-bottom:2px dotted #E4E4E4;
+ clear:both;
+ padding:20px 0;
+}
+
+header h1 {
+ display:inline;
+ font-size:1.25em;
+ font-weight:900;
+}
+
+header h1 span#logo {
+ background:#C5D33A;
+ border-radius:1em; -moz-border-radius:1em; -webkit-border-radius:1em;
+ color:#FFF;
+ font-weight:600;
+ padding:0 0.2em;
+}
+
+header nav {
+ float:right;
+ font-weight:bold;
+ text-transform:uppercase;
+}
+
+header nav ul {}
+
+header nav li {
+ border-right:2px solid #DDD;
+ display:inline;
+ padding:0 0.5em;
+}
+
+header nav li:last-child {
+ border:none;
+}
+
+header nav li a {
+ color:#888;
+ text-decoration:none;
+}
+
+#body > h1 {
+ color:#64ACDE;
+ font-size:3em;
+ font-weight:900;
+ padding:0.5em 0;
+}
+
+#intro {
+ border-bottom:2px dotted #E4E4E4;
+ clear:both;
+ margin-bottom:20px;
+ padding:20px 0;
+}
+
+#intro img {
+ float:left;
+ margin-right:10px;
+}
+
+#intro > div {
+ float:left;
+ margin-left:10px;
+ width:460px;
+}
+
+#intro h1 {
+ color:#555;
+ font-size:1.5em;
+ font-weight:bold;
+ margin-bottom:0.25em;
+}
+
+#intro ul {
+ font-weight:bold;
+ line-height:1.5;
+ list-style-type:square;
+ margin-bottom:0.75em;
+ padding-left:1.2em;
+}
+
+#intro span#call-to-action {
+ color:#C63;
+ display:block;
+ font-size:1.75em;
+ font-weight:600;
+ margin:1em 0;
+ text-transform:uppercase;
+}
+
+#intro span#call-to-action a {
+ background:#C63;
+ border-radius:12px; -moz-border-radius:12px; -webkit-border-radius:12px;
+ color:#FFF;
+ padding:0.25em;
+ text-decoration:none;
+ text-transform:none;
+}
+
+#intro span#call-to-action a:focus,
+#intro span#call-to-action a:hover {
+ background:#64ACDE;
+}
+
+article.testimonial {
+ float:left;
+ margin-right:10px;
+ width:460px;
+}
+
+section#info {
+ float:left;
+ margin-left:10px;
+ width:460px;
+}
+
+article.testimonial img,
+section#info img {
+ float:left;
+ margin-right:10px;
+}
+
+article.testimonial h1,
+section#info h1 {
+ font-weight:bold;
+ margin-bottom:0.25em;
+}
+
+article.testimonial > div,
+section#info > div {
+ padding:0.5em;
+}
+
@@ -0,0 +1,103 @@
+/*------------------------------------*\
+ RESET
+\*------------------------------------*/
+/* http://meyerweb.com/eric/tools/css/reset/
+ v2.0b1 | 201101
+ NOTE:WORK IN PROGRESS
+ USE WITH CAUTION AND TEST WITH ABANDON */
+
+html,body,div,span,applet,object,iframe,
+h1,h2,h3,h4,h5,h6,p,blockquote,pre,
+a,abbr,acronym,address,big,cite,code,
+del,dfn,em,img,ins,kbd,q,s,samp,
+small,strike,strong,sub,sup,tt,var,
+b,u,i,center,
+dl,dt,dd,ol,ul,li,
+fieldset,form,label,legend,
+table,caption,tbody,tfoot,thead,tr,th,td,
+article,aside,canvas,details,figcaption,figure,
+footer,header,hgroup,menu,nav,section,summary,
+time,mark,audio,video{
+ margin:0;
+ padding:0;
+ border:0;
+ outline:0;
+ font-size:100%;
+ font:inherit;
+ vertical-align:baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article,aside,details,figcaption,figure,
+footer,header,hgroup,menu,nav,section{
+ display:block;
+}
+body{
+ line-height:1;
+}
+ol,ul{
+ list-style:none;
+}
+blockquote,q{
+ quotes:none;
+}
+blockquote:before,blockquote:after,
+q:before,q:after{
+ content:'';
+ content:none;
+}
+/* remember to define visible focus styles!
+:focus{
+ outline:?????;
+} */
+
+/* remember to highlight inserts somehow! */
+ins{
+ text-decoration:none;
+}
+del{
+ text-decoration:line-through;
+}
+
+table{
+ border-collapse:collapse;
+ border-spacing:0;
+}
+
+/* `Clear Floated Elements
+----------------------------------------------------------------------------------------------------*/
+
+/* http://sonspring.com/journal/clearing-floats */
+
+.clear {
+ clear: both;
+ display: block;
+ overflow: hidden;
+ visibility: hidden;
+ width: 0;
+ height: 0;
+}
+
+/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */
+
+.clearfix:before,
+.clearfix:after {
+ content: '\0020';
+ display: block;
+ overflow: hidden;
+ visibility: hidden;
+ width: 0;
+ height: 0;
+}
+
+.clearfix:after {
+ clear: both;
+}
+
+/*
+ The following zoom:1 rule is specifically for IE6 + IE7.
+ Move to separate stylesheet if invalid CSS is a problem.
+*/
+
+.clearfix {
+ zoom: 1;
+}

0 comments on commit f734b94

Please sign in to comment.