Permalink
Browse files

Updated design.

  • Loading branch information...
1 parent a13ad45 commit 32da926ee313362a0c95ab3b651b04e2553fe7b2 @Aupajo Aupajo committed Nov 22, 2008
Showing with 32 additions and 18 deletions.
  1. +7 −7 textile-reference/index.html
  2. +25 −11 textile-reference/stylesheets/textile-reference.css
@@ -1,15 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>How To Use Textile</title>
+ <title>Textile Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/textile-reference.css" />
<script type="text/javascript" src="javascripts/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="javascripts/guide.js"></script>
</head>
<body>
- <h1>How To Use Textile</h1>
+ <h1 id="title">Textile Guide</h1>
<h2 class="section-name">Basic Formatting</h2>
@@ -29,23 +29,23 @@ <h2 class="section-name">Basic Formatting</h2>
<p>Two paragraphs.</p>
</td>
</tr>
- <tr>
+ <tr class="alternate">
<td>This text is *bold*.</td>
<td>This text is <strong>bold</strong>.</td>
</tr>
- <tr class="alternate">
+ <tr>
<td>This text is _emphasised_.</td>
<td>This text is <em>emphasised<em>.</td>
</tr>
- <tr>
+ <tr class="alternate">
<td>I think +not+.</td>
<td>I think <ins>not</ins>.</td>
</tr>
- <tr class="alternate">
+ <tr>
<td>I like the -blue- red one.</td>
<td>I like the <del>blue</del> red one.</td>
</tr>
- <tr>
+ <tr class="alternate">
<td>Link to "Google":http://google.com.</td>
<td>Link to <a href="http://google.com">Google</a>.</td>
</tr>
@@ -2,11 +2,13 @@
body, input, textarea, select {
color: #222;
- font: 9pt Verdana, Arial, sans-serif;
+ font: 9pt "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
}
body {
+ background-color: #d1d7e2;
line-height: 1.6em;
+ margin: 0;
}
/* Formatting */
@@ -17,16 +19,13 @@ p {
/* Headings */
-h1, h2 {
- font-family: Georgia, serif;
-}
-
h1 {
font-size: 1.6em;
}
h2 {
font-size: 1.4em;
+ margin: 0;
}
/* Lists */
@@ -61,24 +60,26 @@ a {
/* Tables */
table {
+ border-top: 1px solid #fff;
border-collapse: collapse;
width: 100%;
}
td, th {
- border-bottom: 1px solid #ccc;
- padding: 0.5em 1em;
+ border-left: 1px solid #d9d9d9;
+ padding: 5px 10px;
width: 50%;
}
th {
background-color: #eee;
+ border-bottom: 1px solid #d9d9d9;
text-align: left;
}
tr.alternate {
- background-color: #f9f9f9;
+ background-color: #f1f5fa;
}
/* Forms */
@@ -91,12 +92,25 @@ form {
/* Special */
+#title {
+ color: #444;
+ margin: 0;
+ padding: 5px 10px;
+}
+
.section-name {
- color: #7f94d9;
- display: block;
+ color: #525252;
cursor: pointer;
+ display: block;
+ font-size: 1em;
+ padding: 5px 10px;
+ text-shadow: 0 1px 0 #fff;
+ text-transform: uppercase;
}
.section {
- margin-bottom: 2em;
+ border-color: #b8bdc7;
+ border-style: solid;
+ border-width: 1px 0;
+ background-color: white;
}

0 comments on commit 32da926

Please sign in to comment.