Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Jul 22, 2009
0 parents commit f31d637
Show file tree
Hide file tree
Showing 8 changed files with 520 additions and 0 deletions.
323 changes: 323 additions & 0 deletions index.html
@@ -0,0 +1,323 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="stylesheets/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/defaults.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/type.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/forms.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/tables.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/lists.css" type="text/css" media="all">
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen">
<title>index</title>
</head>

<body>
<div class="content">

<h5>PARAGRAPHS <span class="alt">&amp;</span> BOXES</h5>

<div class="column">
<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>
<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>
</div>


<div class="column">
<p class="small">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.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p class="large">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>

<div class="">

<div class="box">
<p class="last">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>
</div>

<blockquote>
<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.</p>
</blockquote>

</div>
<hr>


<h5>LISTS</h5>

<div class="column">
<ul>
<li>Unordered list test</li>
<li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
<li>Yet another element in the list</li>
<li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
</ul>
<ol>
<li>Ordered list test</li>
<li>Another list element</li>
<li>Yet another element in the list</li>
</ol>
</div>


<div class="column">
<ol>
<li>Ordered list</li>
<ul>
<li>Nested Unordered list</li>
<ol>
<li>Nested Ordered list</li>
</ol>
</ul>
<li>Ordered List item</li>
<ol>
<li>Nested Ordered list</li>
<ul>
<li>Nested Unordered list</li>
</ul>
</ol>
</ol>
</div>

<div class="column last">
<dl>
<dt>definition list dt</dt>
<dd>definition list dd</dd>
<dt>definition list dt</dt>
<dd>definition list dd</dd>
<dt>definition list dt</dt>
<dd>definition list dd</dd>
</dl>
</div>
<hr>

<h5>HEADINGS</h5>

<div class="column">
<h1>H1: Lorem ipsum dolor sit amet</h1>
<hr />
<h2>H2: Lorem ipsum dolor sit amet, consectetur elit</h2>
<hr />
<h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>
<hr />
<h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis</h4>
<hr />
<h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h5>
<hr />
<h6>H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h6>
<p>Token paragraph to give space at the bottom. Headers do not include this space because they should always be accompanied by some kind of paragraph or sub-content</p>
</div>

<hr>

<h5>FORM STYLES</h5>

<div class="column">

<form id="dummy" action="" method="post">

<fieldset>
<legend>Simple sample form</legend>

<p>
<label for="dummy0">Text input (title)</label><br>
<input type="text" class="title" name="dummy0" id="dummy0" value="Field with class .title">
</p>

<p>
<label for="dummy1">Another field</label><br>
<input type="text" class="text" id="dummy1" name="dummy1" value="Field with class .text">
</p>

<p>
<label for="dummy2">Textarea</label><br>
<textarea name="dummy2" id="dummy2" rows="5" cols="20"></textarea>
</p>

<p>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</p>

</fieldset>
</form>

<fieldset>
<legend>Select, checkboxes, lists</legend>
<p>
<label for="dummy3">Select field</label><br>
<select id="dummy3" name="dummy3">
<option value="1">Ottawa</option>
<option value="2">Calgary</option>
<option value="3">Moosejaw</option>
</select>
</p>

<p>
<label for="dummy4">Select with groups</label><br>
<select id="dummy4" name="dummy4">
<option>Favorite pet</option>
<optgroup label="mammals">
<option>dog</option>
<option>cat</option>
<option>rabbit</option>
<option>horse</option>
</optgroup>
<optgroup label="reptiles">
<option>iguana</option>
<option>snake</option>
</optgroup>
</select>
</p>

<p>
<label>Radio buttons</label><br>
<input type="radio" name="example"> Radio one<br>
<input type="radio" name="example"> Radio two<br>
<input type="radio" name="example"> Radio three<br>
</p>

<p>
<label>Checkboxes</label><br>
<input type="checkbox"> Check one<br>
<input type="checkbox"> Check two<br>
<input type="checkbox"> Check three<br>
</p>

</fieldset>

</div>

<hr>

<h5>MISC ELEMENTS</h5>

<div class="column">

<div class="error">
This is a &lt;div&gt; with the class <strong>.error</strong>.
</div>
<div class="notice">
This is a &lt;div&gt; with the class <strong>.notice</strong>.
</div>
<div class="success">
This is a &lt;div&gt; with the class <strong>.success</strong>.
</div>


<p>
<strong>&lt;strong&gt;</strong><br>
<del>&lt;del&gt; deleted</del><br>
<dfn>&lt;dfn&gt; dfn</dfn><br>
<em>&lt;em&gt; emphasis</em><br>
</p>
<p>
<a>&lt;a&gt; anchor</a><br>
<a href="http://www.google.com">&lt;a&gt; a + href</a><br>
</p>
<p>
<abbr title="extended abbr text should show when mouse over">&lt;abbr&gt; abbr - extended text when mouseover.</abbr><br>
<acronym title="extended acronym text should show when mouse over">&lt;acronym&gt; acronym - extended text when mouseover.</acronym><br>
</p>
<p>
<address>
&lt;address&gt;<br>
Donald Duck<br>
Box 555<br>
Disneyland
</address>
</p>
</div>


<div class="column">
<table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
<caption><em>A standard test table with a caption, tr, td elements</em></caption>
<tr>
<th class="">Table Header One</th>
<th class="last">Table Header Two</th>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td colspan="2">TD colspan 2</td>
</tr>
</table>


<table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
<caption><em>A test table with a thead, tfoot, and tbody elements</em></caption>
<thead>
<tr>
<th class="">Table Header One</th>
<th class="last">Table Header Two</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">tfoot footer</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
</tbody>
<tbody>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
</tbody>
</table>
</div>

<div class="column last">

<pre>&lt;pre&gt;
What light
through yonder window breaks
</pre>

<code>&lt;code&gt;
User.new</code>

<pre class="code">
<code>&lt;pre class="code"&gt;&lt;code&gt;
class User &lt; ActiveRecord::Base
has_many :groups
belongs_to :account

def name
[first_name, last_name].join(' ')
end
end</code>
</pre>

<tt>&lt;tt&gt;
This tt text should be monospaced
and
wrap as if
one line of text
even though the code has newlines, spaces, and tabs.
It should be the same size as &lt;p&gt; text.
</tt>
</div>
<hr>

</div>

</body>
</html>
61 changes: 61 additions & 0 deletions stylesheets/defaults.css
@@ -0,0 +1,61 @@
body {
font-size: 75%;
color: #222;
font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
color: #111;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Success, error & notice boxes for messages and errors. */
.error,
.notice,
.success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.notice { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a { color: #D12F19; }
.notice a { color: #817134; }
.success a { color: #529214; }

/* Misc classes and elements */

/* Use a .box to create a padded box inside a column. */
.box {
padding: 1.5em;
margin-bottom: 1.5em;
background: #eee;
}

/* Use this to create a horizontal ruler across a column. */
hr {
background: #ddd;
color: #ddd;
clear: both;
float: none;
width: 100%;
height: .1em;
margin: 0 0 1.4em;
border: none;
}
hr.space {
background: #fff;
color: #fff;
}

/* Clearing floats without extra markup
Based on How To Clear Floats Without Structural Markup by PiE
[http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }
.clear:after, .container:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

0 comments on commit f31d637

Please sign in to comment.