Permalink
Browse files

a couple more style changes, and title changes

  • Loading branch information...
ianb committed Sep 25, 2012
1 parent 67e5a2f commit 2b9f80483ff8e496e4a00e2574819f8abc9c030a
Showing with 36 additions and 60 deletions.
  1. +4 −0 .resources/doc.css
  2. +7 −14 .resources/template.html
  3. +8 −15 index.html
  4. +10 −17 reference.html
  5. +7 −14 tutorial.html
View
@@ -20,6 +20,10 @@ i, em {
padding-left: 1em;
}
+.header-container header {
+ width: 98%;
+}
+
code {
color: #288;
}
View
@@ -17,24 +17,17 @@
</head>
<body class="autodoctest">
- <a href="http://github.com/ianb/doctestjs"><img
-style="position: absolute; top: 0; right: 0; border: 0;"
-src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
-alt="Fork me on GitHub"></a>
-
<div class="header-container">
<header class="wrapper clearfix">
<h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE --><!-- /TITLE --></h1>
- <!--
- <nav>
- <ul>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- </ul>
- </nav>
- -->
+ <nav>
+ <ul>
+ <li><a href="https://github.com/ianb/doctestjs">Github</a></li>
+ <li><a href="/reference.html">Reference</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ </ul>
+ </nav>
</header>
</div>
View
@@ -18,24 +18,17 @@
</head>
<body class="autodoctest">
- <a href="http://github.com/ianb/doctestjs"><img
-style="position: absolute; top: 0; right: 0; border: 0;"
-src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
-alt="Fork me on GitHub"></a>
-
<div class="header-container">
<header class="wrapper clearfix">
<h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Humane Javascript Test Framework<!-- /TITLE --></h1>
- <!--
- <nav>
- <ul>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- </ul>
- </nav>
- -->
+ <nav>
+ <ul>
+ <li><a href="https://github.com/ianb/doctestjs">Github</a></li>
+ <li><a href="/reference.html">Reference</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ </ul>
+ </nav>
</header>
</div>
@@ -51,7 +44,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Humane Javascript
<p>Doctest uses a novel approach to testing: <em>example</em> and <em>expected result</em>. Each test is a chunk of code that prints out results and side effects, and then the expected result is matched against that to see if the test passed or failed.</p>
-<p>An example:
+<p>An example (note: these are live examples):
<pre class="commenttest">
function capitalize(words) {
View
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<link rel="stylesheet" href="doctest.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>Doctest.js: the reference</title>
+ <title>Doctest.js: The Reference</title>
<meta name="description" content="Doctest.js is a Javascript testing framework">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href=".resources/boilerplate/css/normalize.min.css">
@@ -18,24 +18,17 @@
</head>
<body class="autodoctest">
- <a href="http://github.com/ianb/doctestjs"><img
-style="position: absolute; top: 0; right: 0; border: 0;"
-src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
-alt="Fork me on GitHub"></a>
-
<div class="header-container">
<header class="wrapper clearfix">
- <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->the reference<!-- /TITLE --></h1>
-
- <!--
- <nav>
- <ul>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- </ul>
- </nav>
- -->
+ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->The Reference<!-- /TITLE --></h1>
+
+ <nav>
+ <ul>
+ <li><a href="https://github.com/ianb/doctestjs">Github</a></li>
+ <li><a href="/reference.html">Reference</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ </ul>
+ </nav>
</header>
</div>
View
@@ -18,24 +18,17 @@
</head>
<body class="autodoctest">
- <a href="http://github.com/ianb/doctestjs"><img
-style="position: absolute; top: 0; right: 0; border: 0;"
-src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
-alt="Fork me on GitHub"></a>
-
<div class="header-container">
<header class="wrapper clearfix">
<h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TITLE --></h1>
- <!--
- <nav>
- <ul>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- <li><a href="#">nav ul li a</a></li>
- </ul>
- </nav>
- -->
+ <nav>
+ <ul>
+ <li><a href="https://github.com/ianb/doctestjs">Github</a></li>
+ <li><a href="/reference.html">Reference</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ </ul>
+ </nav>
</header>
</div>

0 comments on commit 2b9f804

Please sign in to comment.