More CSS tweaking to override RewSopec.js colouring
authorGraham Klyne
Mon, 19 Nov 2012 13:23:54 +0000
changeset 4796 45683a007809
parent 4795 390df423d8b3
child 4797 64fcd73e2fc8
child 4824 6a283fe7b70c
More CSS tweaking to override RewSopec.js colouring
paq/css/prov-aq.css
paq/prov-aq.html
--- a/paq/css/prov-aq.css	Mon Nov 19 13:06:44 2012 +0000
+++ b/paq/css/prov-aq.css	Mon Nov 19 13:23:54 2012 +0000
@@ -4,14 +4,20 @@
     color:  #224433;
 }
 
+    /* Be more specific: above override doesn't work */
 p code {
-    /* Above override doesn't work */
+    font-family: monospace;
+    color:  #224433;
+}
+
+div code {
     font-family: monospace;
     color:  #224433;
 }
 
 
 /* --- PATTERNS --- */
+
 pre.pattern {
     border-top: 1px solid #224433;
     border-bottom: 1px solid #224433;
@@ -24,6 +30,17 @@
     color:  #224433;
 }
 
+pre.example.code {
+    border-bottom: 1px solid #224433;
+    border-top: 1px solid #224433;
+    margin-top: 1em;
+    padding: 1em;
+}
+
+pre.example.code:before {
+    background: #224433;
+}
+
 /*
 pre.pattern::before {
     content:    "";
--- a/paq/prov-aq.html	Mon Nov 19 13:06:44 2012 +0000
+++ b/paq/prov-aq.html	Mon Nov 19 13:23:54 2012 +0000
@@ -367,16 +367,16 @@
         <p>
           For a resource accessible using HTTP, provenance information may be indicated using an HTTP <code>Link</code> header field, as defined by <a href="http://tools.ietf.org/html/rfc5988" class="externalRef">Web Linking (RFC 5988)</a> [[LINK-REL]].  The <code>Link</code> header field is included in the HTTP response to a GET or HEAD operation (other HTTP operations are not excluded, but are not considered here).
         </p>
-A <code>hasProvenance</code> link relation type for referencing provenance information may be used as shown:
-
-<pre class="pattern">Link: <cite>provenance-URI</cite>; rel="http://www.w3.org/ns/prov#hasProvenance"; anchor="<cite>target-URI</cite>"</pre>
-
-When used in conjunction with an HTTP success response code (<code>2xx</code>), this HTTP header field indicates that <code><cite>provenance-URI</cite></code> is the URI of some provenance information associated with the requested resource and that the associated resource is identified within the referenced provenance information as <code><cite>target-URI</cite></code>. (See also <a href="#interpreting-provenance-information" class="sectionRef"></a>.)
         <p>
-        If no <code>anchor</code> parameter is provided then the <code><cite>target-URI</cite></code> is assumed to be the URI of the resource, used in the corresponding HTTP request.
+          A <code>hasProvenance</code> link relation type for referencing provenance information may be used as shown:
+        </p>
+        <pre class="pattern">Link: <cite>provenance-URI</cite>; rel="http://www.w3.org/ns/prov#hasProvenance"; anchor="<cite>target-URI</cite>"</pre>
+        <p>When used in conjunction with an HTTP success response code (<code>2xx</code>), this HTTP header field indicates that <code><cite>provenance-URI</cite></code> is the URI of some provenance information associated with the requested resource and that the associated resource is identified within the referenced provenance information as <code><cite>target-URI</cite></code>. (See also <a href="#interpreting-provenance-information" class="sectionRef"></a>.)</p>
+        <p>
+          If no <code>anchor</code> parameter is provided then the <code><cite>target-URI</cite></code> is assumed to be the URI of the resource, used in the corresponding HTTP request.
         </p>
         <p>
-          At this time, the meaning of these links returned with other HTTP response codes is not defined: future revisions of this specification may define interpretations for these.
+          This specification does not define the meaning of these links returned with other HTTP response codes: future revisions may define interpretations for these.
         </p>
         <p>
           An HTTP response MAY include multiple <code>hasProvenance</code> link header fields, indicating a number of different provenance resources that are known to the responding server, each providing provenance information about the accessed resource.