/* --- OLD --- .example { margin-left:1em; padding-left:1em; border-left:double; color:#222; background:#fcfcfc } .example table code { color:inherit } td, th { padding:.1em } .note { margin-left:2em; color:green; font-style:italic; font-weight:bold } p.note::before { content:"Note: " } .XXX { padding:.5em; border:solid red } p.XXX::before { content:"Issue: " } dl.switch { padding-left:2em } dl.switch > dt { text-indent:-1.5em } dl.switch > dt:before { content:'\21AA'; padding:0 0.5em 0 0; display:inline-block; width:1em; text-align:right; line-height:0.5em } code { color:orangered } code :link, code :visited { color:inherit } */ /* --- INLINES --- */ em.rfc2119 { text-transform: lowercase; font-variant: small-caps; font-style: normal; color: #900; } h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym, h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr { border: none; } dfn { font-weight: bold; } a.internalDFN { color: inherit; border-bottom: 1px solid #99c; text-decoration: none; } a.externalDFN { color: inherit; border-bottom: 1px dotted #ccc; text-decoration: none; } a.bibref { text-decoration: none; } code { color: #ff4500; } /* --- EXAMPLES --- */ .example { border-top: 1px solid #ff4500; border-bottom: 1px solid #ff4500; padding: 1em; margin: 2em 0; } .example::before { content: "Example"; display: block; width: 150px; background: #ff4500; color: #fff; font-family: initial; padding: 3px; font-weight: bold; margin: -1em 0 1em -1em; } /* --- EDITORIAL NOTES --- */ .issue { padding: 1em; border: 1px solid #f00; background: #ffc; } .issue::before { content: "Issue"; display: block; width: 150px; margin: -1.5em 0 0.5em 0; font-weight: bold; border: 1px solid #f00; background: #fff; padding: 3px 1em; } .note { padding: 1em; border: 2px solid #cff6d9; background: #e2fff0; } .note::before { content: "Note"; display: block; width: 150px; margin: -1.5em 0 0.5em 0; font-weight: bold; border: 1px solid #cff6d9; background: #fff; padding: 3px 1em; } /* --- WEB IDL --- */ pre.idl { border-top: 1px solid #90b8de; border-bottom: 1px solid #90b8de; padding: 1em; line-height: 120%; } pre.idl::before { content: "WebIDL"; display: block; width: 150px; background: #90b8de; color: #fff; font-family: initial; padding: 3px; font-weight: bold; margin: -1em 0 1em -1em; } .idlType { color: #ff4500; font-weight: bold; text-decoration: none; } /*.idlModule*/ /*.idlModuleID*/ /*.idlInterface*/ .idlInterfaceID, .idlDictionaryID { font-weight: bold; color: #005a9c; } .idlSuperclass { font-style: italic; color: #005a9c; } /*.idlAttribute*/ .idlAttrType, .idlFieldType, .idlMemberType { color: #005a9c; } .idlAttrName, .idlFieldName, .idlMemberName { color: #ff4500; } .idlAttrName a, .idlFieldName a, .idlMemberName a { color: #ff4500; border-bottom: 1px dotted #ff4500; text-decoration: none; } /*.idlMethod*/ .idlMethType { color: #005a9c; } .idlMethName { color: #ff4500; } .idlMethName a { color: #ff4500; border-bottom: 1px dotted #ff4500; text-decoration: none; } /*.idlParam*/ .idlParamType { color: #005a9c; } .idlParamName { font-style: italic; } .extAttr { color: #666; } /*.idlConst*/ .idlConstType { color: #005a9c; } .idlConstName { color: #ff4500; } .idlConstName a { color: #ff4500; border-bottom: 1px dotted #ff4500; text-decoration: none; } /*.idlException*/ .idlExceptionID { font-weight: bold; color: #c00; } .idlTypedefID, .idlTypedefType { color: #005a9c; } .idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code { color: #c00; font-weight: normal; } .excName a { font-family: monospace; } .idlRaises a.idlType, .excName a.idlType { border-bottom: 1px dotted #c00; } .excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse { width: 45px; text-align: center; } .excGetSetTrue, .prmNullTrue, .prmOptTrue { color: #0c0; } .excGetSetFalse, .prmNullFalse, .prmOptFalse { color: #c00; } .idlImplements a { font-weight: bold; } dl.members, dl.constructors. dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members { margin-left: 2em; } .members dt, .constructors dt, .attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt { font-weight: normal; } .members dt code, .constructors dt code, .attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code { font-weight: bold; color: #000; font-family: monospace; } .members dt.attribute code, .members dt.field code, .members dt.dictionary-member code, .attributes dt code, .fields dt code, .dictionary-members dt code { background: #ffffd2; } .attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code { color: #005a9c; background: transparent; font-family: inherit; font-weight: normal; font-style: italic; } .members dt.method code, .methods dt code { background: #d9e6f8; } .members dt.constant code, .constants dt code { background: #ddffd2; } .attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd { margin-bottom: 1em; } table.parameters, table.exceptions { border-spacing: 0; border-collapse: collapse; margin: 0.5em 0; width: 100%; } table.parameters { border-bottom: 1px solid #90b8de; } table.exceptions { border-bottom: 1px solid #deb890; } .parameters th, .exceptions th { color: #fff; padding: 3px 5px; text-align: left; font-family: initial; font-weight: normal; text-shadow: #666 1px 1px 0; } .parameters th { background: #90b8de; } .exceptions th { background: #deb890; } .parameters td, .exceptions td { padding: 3px 10px; border-top: 1px solid #ddd; vertical-align: top; } .parameters tr:first-child td, .exceptions tr:first-child td { border-top: none; } .parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName { width: 100px; } .parameters td.prmType { width: 120px; } table.exceptions table { border-spacing: 0; border-collapse: collapse; width: 100%; }