]> gitweb.factorcode.org Git - factor.git/commitdiff
help.stylesheet: fixed black border bug around nav links in HTML documentation
authorKeith Lazuka <klazuka@gmail.com>
Mon, 14 Sep 2009 12:50:58 +0000 (08:50 -0400)
committerKeith Lazuka <klazuka@gmail.com>
Mon, 14 Sep 2009 12:50:58 +0000 (08:50 -0400)
basis/help/stylesheet/stylesheet.factor
word-at,assocs.html [new file with mode: 0644]

index 2475fba0f6f217e7e66ad03c3cfafa5f51f67a65..88fe81de6e1f3939f4511b94330413ada3d58bb8 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2005, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: colors colors.constants io.styles literals namespaces ;
+USING: colors colors.constants io.styles namespaces ;
 IN: help.stylesheet
 
 SYMBOL: default-span-style
@@ -42,7 +42,7 @@ SYMBOL: help-path-style
 H{
     { font-size 10 }
     { table-gap { 5 5 } }
-    { table-border $ transparent }
+    { table-border COLOR: FactorLightLightTan }
 } help-path-style set-global
 
 SYMBOL: heading-style
diff --git a/word-at,assocs.html b/word-at,assocs.html
new file mode 100644 (file)
index 0000000..f0be858
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
+        <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+            <head>
+                <title>at ( key assoc -- value/f )</title>
+                <style>a:link { text-decoration: none; color: #104e8b; }
+a:visited { text-decoration: none; color: #104e8b; }
+a:active { text-decoration: none; color: #104e8b; }
+a:hover { text-decoration: underline; color: #104e8b; }
+</style>
+            </head>
+            <body><span style="color: #333333; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 20pt; "><div style="background-color: #f3f2ea; padding: 5px 5px; "><a href="word-at%2Cassocs.html">at ( key assoc -- value/f )</a><span style="font-size: 10pt; "><br/><span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="article-handbook.html">Factor handbook</a></span> &gt; <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="article-handbook-language-reference.html">The language</a></span> &gt; <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="article-collections.html">Collections</a></span> &gt; <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="article-assocs.html">Associative mapping operations</a></span> &gt; <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="article-assocs-lookup.html">Lookup and querying of assocs</a></span><br/><table><tr><td valign="top" style="border: 1px solid #f3f2ea; padding: 2px;  border-collapse: collapse;">Prev:</td><td valign="top" style="border: 1px solid #f3f2ea; padding: 2px;  border-collapse: collapse;"><span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-key__que__%2Cassocs.html">key? ( key assoc -- ? )</a></span></td></tr><tr><td valign="top" style="border: 1px solid #f3f2ea; padding: 2px;  border-collapse: collapse;">Next:</td><td valign="top" style="border: 1px solid #f3f2ea; padding: 2px;  border-collapse: collapse;"><span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-__que__at%2Cassocs.html">?at ( key assoc -- value/key ? )</a></span></td></tr></table></span></div></span><br/><span style="font-family: sans-serif; font-style: normal; font-weight: normal; font-size: 12pt; "><span style="color: #373e48; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 16pt; ">Vocabulary</span><br/><span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="vocab-assocs.html">assocs</a></span><br/><br/><span style="color: #373e48; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 16pt; ">Inputs and outputs</span><br/><table><tr><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;"><span style="color: #8b4500; font-family: monospace; font-size: 12pt; ">key</span></td><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;">an object</td></tr><tr><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;"><span style="color: #8b4500; font-family: monospace; font-size: 12pt; ">assoc</span></td><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;">an <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-assoc%2Cassocs.html">assoc</a></span></td></tr><tr><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;"><span style="color: #8b4500; font-family: monospace; font-size: 12pt; ">value/f</span></td><td valign="top" style="border: 1px solid #e3e2db; padding: 2px;  border-collapse: collapse;">the value associated to the key, or <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-f%2Csyntax.html">f</a></span> if the key is not present in the assoc</td></tr></table><br/><br/><span style="color: #373e48; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 16pt; ">Word description</span><br/>Looks up the value associated with a key. This word makes no distinction between a missing value and a value set to <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-f%2Csyntax.html">f</a></span>; if the difference is important, use <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-at__star__%2Cassocs.html">at*</a></span>.<br/><br/><span style="color: #373e48; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 16pt; ">See also</span><br/><span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-at__star__%2Cassocs.html">at*</a></span>, <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-key__que__%2Cassocs.html">key?</a></span>, <span style="color: #104e8b; font-style: normal; font-weight: bold; "><a href="word-__que__at%2Cassocs.html">?at</a></span><br/><br/><span style="color: #373e48; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 16pt; ">Definition</span><br/><span style="font-family: monospace; font-size: 12pt; "><div style="background-color: #f3f2ea; padding: 5px 5px; white-space: pre; font-family: monospace;"><div style="white-space: pre; font-family: monospace;"><a href="word-USING__colon__%2Csyntax.html"><span style="color: #595959; ">USING:</span></a> <a href="vocab-kernel.html"><span style="color: #595959; ">kernel</span></a> <a href="word-%3B%2Csyntax.html"><span style="color: #2f4f4f; ">;</span></a></div><a href="vocab-assocs.html"><div style="white-space: pre; font-family: monospace;"><a href="word-IN__colon__%2Csyntax.html"><span style="color: #595959; ">IN:</span></a> <a href="vocab-assocs.html"><span style="color: #595959; ">assocs</span></a></div></a><a href="word-at%2Cassocs.html"><div style="white-space: pre; font-family: monospace;"><a href="word-__colon__%2Csyntax.html"><span style="color: #2f4f4f; ">:</span></a> <a href="word-at%2Cassocs.html">at</a> <span style="color: #006400; ">( key assoc -- value/f )</span> <a href="word-at__star__%2Cassocs.html">at*</a> <a href="word-drop%2Ckernel.html">drop</a> <a href="word-%3B%2Csyntax.html"><span style="color: #2f4f4f; ">;</span></a> <a href="word-inline%2Csyntax.html"><span style="color: #2f4f4f; ">inline</span></a></div></a></div></span></span><br/></body>
+        </html>
\ No newline at end of file