NSD spec css updates
authorRich Tibbett <richt@opera.com>
Mon, 11 Mar 2013 05:59:51 +0100
changeset 400 527d10ff225c
parent 399 8b1d2cd4858d
child 401 c0015b3387bf
NSD spec css updates
discovery-api/css/respec.nsd.css
--- a/discovery-api/css/respec.nsd.css	Mon Mar 11 05:28:41 2013 +0100
+++ b/discovery-api/css/respec.nsd.css	Mon Mar 11 05:59:51 2013 +0100
@@ -13,8 +13,8 @@
 pre.widl :link, pre.widl :visited { color: #000; background: transparent; }
 pre.widl:before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
 
-div.example { border: solid thin red; background: #F7DFE5; color: black; padding: 0.5em 1em; position: relative; margin: 1em 0 1em 4.6em; width: auto; }
-div.example:before { content: "EXAMPLE"; font: bold small sans-serif; padding: 0.5em; background: red; color: white; position: absolute; top: 0; margin: -1px 0 0 -7.6em; width: 5em; border: thin solid red; border-radius: 0 0 0 0.5em }
+div.example { border: solid thin black; background: #FFFFF0; color: black; padding: 0.5em 1em; position: relative; margin: 1em 0 1em 4.6em; width: auto; }
+div.example:before { content: "EXAMPLE"; font: bold small sans-serif; padding: 0.5em; background: #FFFFAA; color: black; position: absolute; top: 0; margin: -1px 0 0 -7.6em; width: 5em; border: thin solid black; border-radius: 0 0 0 0.5em }
 
 dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
 hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
@@ -22,7 +22,7 @@
 dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
 dl.domintro dd p { margin: 0.5em 0; }
 dl.domintro code {font-size: inherit; font-style: italic; }
-dl.domintro:before { display: table; margin: -1em -0.5em 0.5em auto; width: auto; content: 'This box is non-normative. Implementation requirements are given below this box.'; color: red; border: solid 2px; background: white; padding: 0 0.25em; }
+dl.domintro:before { display: table; margin: -1em -0.5em 0.5em auto; width: auto; content: 'This box is non-normative. Implementation requirements are given below this box.'; color: red; border: solid 2px; background: white; padding: 0 0.25em; font-size:0.8em; }
 
 table { border-collapse:collapse; border-style:hidden hidden none hidden }
 table thead { border-bottom:solid }