Formatting and CSS colour tweaks for examples
authorGraham Klyne
Mon, 19 Nov 2012 13:06:44 +0000
changeset 4795 390df423d8b3
parent 4794 203add198c0f
child 4796 45683a007809
Formatting and CSS colour tweaks for examples
paq/css/prov-aq.css
paq/prov-aq.html
--- a/paq/css/prov-aq.css	Mon Nov 19 12:58:42 2012 +0000
+++ b/paq/css/prov-aq.css	Mon Nov 19 13:06:44 2012 +0000
@@ -4,6 +4,12 @@
     color:  #224433;
 }
 
+p code {
+    /* Above override doesn't work */
+    font-family: monospace;
+    color:  #224433;
+}
+
 
 /* --- PATTERNS --- */
 pre.pattern {
--- a/paq/prov-aq.html	Mon Nov 19 12:58:42 2012 +0000
+++ b/paq/prov-aq.html	Mon Nov 19 13:06:44 2012 +0000
@@ -415,38 +415,33 @@
             An example transaction using content negotiation and redirection might look like this (where <code>C:</code> and <code>S:</code> prefixes indicate client and server emitted data respectively):
           </p>
           <pre class="pattern">
-            C: GET /resource/
-            C: Host: http://example.com/
-            C: Accept: text/html
-            
-            S: 302 Found
-            S: Location: /resource/content.html
-            S: Vary: Accept
-            S:
-            S: HTML content for http://example.com/resource/ 
-            S: is available at http://example.com/resource/content.html
-            
-            C: GET /resource/content.rdf
-            C: Host: http://example.com/
-            C: Accept: text/html
-            
-            S: 200 OK
-            S: Content-type: text/html
-            S: Vary: Accept
-            S: Link: &lt;http://example.com/resource/provenance/&gt;; 
-                     rel="http://www.w3.org/ns/prov#hasProvenance"; 
-                     anchor="http://example.com/resource/"
-            S:
-            S: &lt;html ...&gt;
-            S:  :
-            S: &lt;/html&gt;
-          </pre>
+  C: GET /resource/
+  C: Host: http://example.com/
+  C: Accept: text/html
+
+  S: 302 Found
+  S: Location: /resource/content.html
+  S: Vary: Accept
+  S:
+  S: HTML content for http://example.com/resource/ 
+  S: is available at http://example.com/resource/content.html
+
+  C: GET /resource/content.rdf
+  C: Host: http://example.com/
+  C: Accept: text/html
+
+  S: 200 OK
+  S: Content-type: text/html
+  S: Vary: Accept
+  S: Link: &lt;http://example.com/resource/provenance/&gt;; 
+           rel="http://www.w3.org/ns/prov#hasProvenance"; 
+           anchor="http://example.com/resource/"
+  S:
+  S: &lt;html ...&gt;
+  S:  :
+  S: &lt;/html&gt;</pre>
         </section>
 
-
-
-
-
       </section>
 
       <section>