73c9b8445871

bones: Update site.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 28 Mar 2016 17:52:57 +0000
parents 1f003474d0d9
children 48a6ba2d68b9
branches/tags (none)
files bones/_dmedia/style.less bones/changelog/index.html bones/index.html bones/installation/index.html bones/overview/index.html bones/reference/index.html

Changes

--- a/bones/_dmedia/style.less	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/_dmedia/style.less	Mon Mar 28 17:52:57 2016 +0000
@@ -2,49 +2,109 @@
     overflow-y: scroll;
 }
 .wrap {
-    width: 500px;
+    width: 600px;
     margin: 40px auto 180px;
 }
-h1, h2, h3 {
+body {
+    font-size: 18px;
+    line-height: 1.4;
+    font-family: Georgia, Palatino, "Palatino Linotype", serif;
+    color: #111111;
+}
+a {
+    text-decoration: none;
+    color: #0069d6;
+}
+h1, h2, h3, h4, h5 {
+    font-family: Palatino, "Palatino Linotype", serif;
+
     a {
-        color: #404040;
+        color: #111111;
 
         &:hover {
             color: #0069d6;
-            text-decoration: none;
         }
     }
 }
+h1 {
+    font-size: 48px;
+    line-height: 1;
+}
 h2 {
-    font-size: 18px;
+    font-size: 34px;
+    line-height: 1;
+    margin-top: 40px;
+    margin-bottom: 0;
+
+    code {
+        font-size: 34px;
+        border: none;
+        background: #fff4f4;
+        padding: 0px 5px;
+    }
 }
 h3 {
-    font-size: 16px;
+    font-size: 26px;
+    line-height: 1;
+    margin-top: 40px;
+    margin-bottom: 0;
+
+    code {
+        font-size: 24px;
+        border: none;
+        background: #fff4f4;
+        padding: 0px 5px;
+    }
 }
 h4 {
-    font-size: 14px;
+    font-size: 20px;
+    line-height: 1;
+    margin-top: 30px;
+    margin-bottom: 0;
+
+    code {
+        font-size: 18px;
+        border: none;
+        background: #fff4f4;
+        padding: 0px 5px;
+    }
 }
 h5 {
-    font-size: 12px;
-}
-i, em {
-    a {
-        font-style: italic;
+    font-size: 16px;
+    line-height: 1;
+    margin-top: 18px;
+    margin-bottom: 0;
+
+    code {
+        font-size: 14px/1;
+        border: none;
+        background: #fff4f4;
+        padding: 0px 5px;
     }
 }
 pre {
-    line-height: 16px;
+    font-size: 15px;
+    line-height: 1.3;
     white-space: pre;
     overflow-x: auto;
+    border: 1px solid #fdd;
+    background: #fffafa;
+    padding: 10px 10px;
+    font-family: Menlo, Monaco, Consolas, monospace;
+}
+code {
+    font-size: 15px;
+    border: 1px solid #fdd;
+    background: #fffafa;
+    padding: 1px 4px;
+    font-family: Menlo, Monaco, Consolas, monospace;
 }
 ol, ul {
     margin-bottom: 9px;
-
-    li {
-        color: #404040;
-    }
 }
 footer {
+    margin-top: 36px;
+    border-top: 1px solid #eee;
     text-align: center;
 }
 body.index {
@@ -56,15 +116,14 @@
             margin-bottom: 40px;
         }
     }
+    h2 {
+        font-size: 28px/1;
+    }
     ol.toc {
         list-style-type: none;
         margin-left: 0;
-
-        li {
-            font-size: 16px;
-            line-height: 1.25;
-
-        }
+        margin-left: 0px;
+        padding-left: 0px;
     }
 }
 body.content {
@@ -77,16 +136,18 @@
             text-align: right;
             font-size: 24px;
             line-height: 1;
-            margin-top: 10px;
+            margin-top: 0px;
         }
     }
     .toc {
         ul {
             list-style-type: none;
             margin-left: 0px;
+            padding-left: 0px;
 
             ul {
                 margin-left: 20px;
+                margin-bottom: 0;
             }
         }
     }
--- a/bones/changelog/index.html	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/changelog/index.html	Mon Mar 28 17:52:57 2016 +0000
@@ -3,7 +3,6 @@
     <head>
         <meta charset="utf-8"/>
         <title>Changelog / Bones</title>
-        <link rel="stylesheet" href="../_dmedia/bootstrap.css"/>
         <link rel="stylesheet" href="../_dmedia/tango.css"/>
         <link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
         <script src="../_dmedia/less.js" type="text/javascript">
--- a/bones/index.html	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/index.html	Mon Mar 28 17:52:57 2016 +0000
@@ -3,7 +3,6 @@
     <head>
         <meta charset="utf-8" />
         <title>Bones</title>
-        <link rel="stylesheet" href="./_dmedia/bootstrap.css"/>
         <link rel="stylesheet" href="./_dmedia/tango.css"/>
         <link rel="stylesheet/less" type="text/css" href="./_dmedia/style.less">
         <script src="./_dmedia/less.js" type="text/javascript">
--- a/bones/installation/index.html	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/installation/index.html	Mon Mar 28 17:52:57 2016 +0000
@@ -3,7 +3,6 @@
     <head>
         <meta charset="utf-8"/>
         <title>Installation / Bones</title>
-        <link rel="stylesheet" href="../_dmedia/bootstrap.css"/>
         <link rel="stylesheet" href="../_dmedia/tango.css"/>
         <link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
         <script src="../_dmedia/less.js" type="text/javascript">
--- a/bones/overview/index.html	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/overview/index.html	Mon Mar 28 17:52:57 2016 +0000
@@ -3,7 +3,6 @@
     <head>
         <meta charset="utf-8"/>
         <title>Overview / Bones</title>
-        <link rel="stylesheet" href="../_dmedia/bootstrap.css"/>
         <link rel="stylesheet" href="../_dmedia/tango.css"/>
         <link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
         <script src="../_dmedia/less.js" type="text/javascript">
--- a/bones/reference/index.html	Mon Mar 28 17:51:43 2016 +0000
+++ b/bones/reference/index.html	Mon Mar 28 17:52:57 2016 +0000
@@ -3,7 +3,6 @@
     <head>
         <meta charset="utf-8"/>
         <title> API Reference / Bones</title>
-        <link rel="stylesheet" href="../_dmedia/bootstrap.css"/>
         <link rel="stylesheet" href="../_dmedia/tango.css"/>
         <link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
         <script src="../_dmedia/less.js" type="text/javascript">
@@ -14,12 +13,14 @@
             <header><h1><a href="..">Bones</a></h1></header>
                 <div class="markdown">
 <h1 id="api-reference"><a href="">API Reference</a></h1><p>The following is a list of all user-facing parts of Bones.</p>
-<p>If there are backwards-incompatible changes to anything listed here, they will be noted in the changelog and the author will feel bad.</p>
-<p>Anything not listed here is subject to change at any time with no warning, so don't touch it.</p>
+<p>If there are backwards-incompatible changes to anything listed here, they will
+be noted in the changelog and the author will feel bad.</p>
+<p>Anything not listed here is subject to change at any time with no warning, so
+don't touch it.</p>
 <div class="toc">
 <ul>
 <li><a href="#package-bonespaip">Package BONES.PAIP</a><ul>
-<li><a href="#42check-occurs42-variable">*CHECK-OCCURS* (variable)</a></li>
+<li><a href="#check-occurs-variable">*CHECK-OCCURS* (variable)</a></li>
 <li><a href="#clear-db-function">CLEAR-DB (function)</a></li>
 <li><a href="#fact-macro">FACT (macro)</a></li>
 <li><a href="#fail-variable">FAIL (variable)</a></li>
@@ -34,58 +35,58 @@
 </ul>
 </li>
 </ul></div>
-<h2 id="package-bonespaip">Package BONES.PAIP</h2>
+<h2 id="package-bonespaip">Package <code>BONES.PAIP</code></h2>
 <p>Test?</p>
-<h3 id="42check-occurs42-variable">*CHECK-OCCURS* (variable)</h3>
+<h3 id="check-occurs-variable"><code>*CHECK-OCCURS*</code> (variable)</h3>
 <p>Whether to perform an occurs check.</p>
-<h3 id="clear-db-function">CLEAR-DB (function)</h3>
+<h3 id="clear-db-function"><code>CLEAR-DB</code> (function)</h3>
 <div class="codehilite"><pre>(CLEAR-DB)
 </pre></div>
 
 
-<h3 id="fact-macro">FACT (macro)</h3>
+<h3 id="fact-macro"><code>FACT</code> (macro)</h3>
 <div class="codehilite"><pre>(FACT &amp;REST BODY)
 </pre></div>
 
 
-<h3 id="fail-variable">FAIL (variable)</h3>
+<h3 id="fail-variable"><code>FAIL</code> (variable)</h3>
 <p>Failure to unify</p>
-<h3 id="no-bindings-variable">NO-BINDINGS (variable)</h3>
+<h3 id="no-bindings-variable"><code>NO-BINDINGS</code> (variable)</h3>
 <p>A succesful unification, with no bindings.</p>
-<h3 id="query-macro">QUERY (macro)</h3>
+<h3 id="query-macro"><code>QUERY</code> (macro)</h3>
 <div class="codehilite"><pre>(QUERY &amp;REST GOALS)
 </pre></div>
 
 
 <p>Perform the query interactively.</p>
-<h3 id="query-all-macro">QUERY-ALL (macro)</h3>
+<h3 id="query-all-macro"><code>QUERY-ALL</code> (macro)</h3>
 <div class="codehilite"><pre>(QUERY-ALL &amp;REST GOALS)
 </pre></div>
 
 
 <p>Perform the query and automatically show all results.</p>
-<h3 id="query-one-macro">QUERY-ONE (macro)</h3>
+<h3 id="query-one-macro"><code>QUERY-ONE</code> (macro)</h3>
 <div class="codehilite"><pre>(QUERY-ONE &amp;REST GOALS)
 </pre></div>
 
 
 <p>Perform the query and just show the first result.</p>
-<h3 id="return-all-macro">RETURN-ALL (macro)</h3>
+<h3 id="return-all-macro"><code>RETURN-ALL</code> (macro)</h3>
 <div class="codehilite"><pre>(RETURN-ALL &amp;REST GOALS)
 </pre></div>
 
 
-<h3 id="return-one-macro">RETURN-ONE (macro)</h3>
+<h3 id="return-one-macro"><code>RETURN-ONE</code> (macro)</h3>
 <div class="codehilite"><pre>(RETURN-ONE &amp;REST GOALS)
 </pre></div>
 
 
-<h3 id="rule-macro">RULE (macro)</h3>
+<h3 id="rule-macro"><code>RULE</code> (macro)</h3>
 <div class="codehilite"><pre>(RULE &amp;REST CLAUSE)
 </pre></div>
 
 
-<h3 id="unify-function">UNIFY (function)</h3>
+<h3 id="unify-function"><code>UNIFY</code> (function)</h3>
 <div class="codehilite"><pre>(UNIFY X Y &amp;OPTIONAL (BINDINGS NO-BINDINGS))
 </pre></div>