Parent Directory
|
Revision Log
++ ChangeLog 1 Jul 2007 10:02:07 -0000 * cc.cgi: Return 404 if |PATH_INFO| is different from |/|. Link to |error-description|. * error-description-source.xml: New. * mkdescription.pl: New. 2007-07-01 Wakaba <wakaba@suika.fam.cx>
| 1 | wakaba | 1.1 | @import '/www/style/html/xoxo.css'; |
| 2 | |||
| 3 | wakaba | 1.2 | .section { |
| 4 | display: block; | ||
| 5 | margin: 1em; | ||
| 6 | border: #800080 1px solid; | ||
| 7 | padding: 0.5em 1em; | ||
| 8 | } | ||
| 9 | |||
| 10 | dt { | ||
| 11 | font-weight: bolder; | ||
| 12 | font-family: sans-serif; | ||
| 13 | } | ||
| 14 | dt:after { | ||
| 15 | content: ":"; | ||
| 16 | } | ||
| 17 | |||
| 18 | wakaba | 1.5 | h1 { |
| 19 | font-weight: bolder; | ||
| 20 | font-family: sans-serif; | ||
| 21 | font-size: 180%; | ||
| 22 | } | ||
| 23 | |||
| 24 | wakaba | 1.2 | h2 { |
| 25 | margin: 0; | ||
| 26 | border-style: none; | ||
| 27 | padding: 0; | ||
| 28 | font-weight: bolder; | ||
| 29 | font-family: sans-serif; | ||
| 30 | font-size: 150%; | ||
| 31 | } | ||
| 32 | |||
| 33 | wakaba | 1.5 | h3 { |
| 34 | font-weight: bolder; | ||
| 35 | font-family: sans-serif; | ||
| 36 | font-size: 100%; | ||
| 37 | background-color: #fff0f0; | ||
| 38 | color: black; | ||
| 39 | } | ||
| 40 | |||
| 41 | wakaba | 1.2 | .tree-text q, .tree-cdata q, .tree-comment q { |
| 42 | display: block; | ||
| 43 | } | ||
| 44 | |||
| 45 | q, #source-string li { | ||
| 46 | wakaba | 1.1 | white-space: pre; |
| 47 | white-space: -moz-pre-wrap; | ||
| 48 | white-space: pre-wrap; | ||
| 49 | } | ||
| 50 | |||
| 51 | wakaba | 1.2 | q, #source-string ol { |
| 52 | background-color: #f0f0ff; | ||
| 53 | color: black; | ||
| 54 | line-height: 1.5; | ||
| 55 | } | ||
| 56 | |||
| 57 | q:before, q:after { | ||
| 58 | content: ""; | ||
| 59 | } | ||
| 60 | |||
| 61 | wakaba | 1.4 | #parse-errors dl:empty:before { |
| 62 | content: "This document has no parse error."; | ||
| 63 | font-style: italic; | ||
| 64 | } | ||
| 65 | |||
| 66 | #document-errors dl:empty:before { | ||
| 67 | content: "This document has no document error."; | ||
| 68 | font-style: italic; | ||
| 69 | } | ||
| 70 | |||
| 71 | wakaba | 1.2 | #document-tree > ol { |
| 72 | margin-left: 0; | ||
| 73 | padding-left: 0; | ||
| 74 | } | ||
| 75 | #document-tree > ol > li { | ||
| 76 | display: block; | ||
| 77 | list-style: none; | ||
| 78 | margin-left: 0; | ||
| 79 | padding-left: 0; | ||
| 80 | } | ||
| 81 | |||
| 82 | #document-tree ol ol { | ||
| 83 | margin-left: 1em; | ||
| 84 | padding-left: 0; | ||
| 85 | } | ||
| 86 | |||
| 87 | #document-tree ol ol li { | ||
| 88 | margin-left: 0; | ||
| 89 | padding-left: 0.4em; | ||
| 90 | } | ||
| 91 | |||
| 92 | #document-tree ul.attributes { | ||
| 93 | margin-left: 3em; | ||
| 94 | padding: 0; | ||
| 95 | } | ||
| 96 | |||
| 97 | #document-tree ul.attributes li { | ||
| 98 | display: inline; | ||
| 99 | list-style: none; | ||
| 100 | margin: 0 2em 0 0; | ||
| 101 | padding: 0; | ||
| 102 | text-indent: 0; | ||
| 103 | font-size: 90%; | ||
| 104 | } | ||
| 105 | |||
| 106 | wakaba | 1.5 | #parse-errors dd, #document-errors dd, #error-description h3 { |
| 107 | wakaba | 1.4 | margin-left: 20px; |
| 108 | padding-left: 40px; | ||
| 109 | min-height: 32px; | ||
| 110 | background-image: url(large-stop); | ||
| 111 | background-position: top left; | ||
| 112 | background-repeat: no-repeat; | ||
| 113 | } | ||
| 114 | |||
| 115 | wakaba | 1.5 | #error-description h3 { |
| 116 | margin-left: 1em; | ||
| 117 | margin-right: 1em; | ||
| 118 | } | ||
| 119 | |||
| 120 | #document-errors dd.should, #error-description .should h3 { | ||
| 121 | wakaba | 1.4 | background-image: url(large-alert); |
| 122 | } | ||
| 123 | |||
| 124 | #document-errors dd.unsupported { | ||
| 125 | margin-left: 60px; | ||
| 126 | border: red 0.2em solid; | ||
| 127 | padding: 0.5em; | ||
| 128 | wakaba |