| 1 |
wakaba |
1.1 |
@charset 'iso-2022-jp'; |
| 2 |
|
|
@import 'xhtml.css'; |
| 3 |
|
|
|
| 4 |
|
|
/* Document Header in Body */ |
| 5 |
|
|
|
| 6 |
|
|
div.header { |
| 7 |
|
|
display: block; |
| 8 |
|
|
padding-bottom: 1em; |
| 9 |
|
|
border-bottom: 2px groove #C0C0C0; |
| 10 |
|
|
} |
| 11 |
|
|
|
| 12 |
|
|
/* Title */ |
| 13 |
|
|
html.formal-specification h1 { |
| 14 |
|
|
margin-bottom: 0; |
| 15 |
|
|
text-align: left; |
| 16 |
|
|
line-height: 1.5; |
| 17 |
|
|
font-size: 170%; |
| 18 |
|
|
} |
| 19 |
|
|
|
| 20 |
|
|
html.formal-specification h1 + h1:lang(en) { |
| 21 |
|
|
margin-top: 0; |
| 22 |
|
|
font-size: 120%; |
| 23 |
|
|
} |
| 24 |
|
|
|
| 25 |
|
|
@media screen { |
| 26 |
|
|
html.formal-specification h1 + h1:lang(en) { |
| 27 |
|
|
opacity: 0.3; |
| 28 |
|
|
} |
| 29 |
|
|
} |
| 30 |
|
|
|
| 31 |
|
|
/* Status and Date */ |
| 32 |
|
|
html.formal-specification h1 + h2 { |
| 33 |
|
|
margin-top: 0.67em; |
| 34 |
|
|
text-align: left; |
| 35 |
|
|
line-height: 1.5; |
| 36 |
|
|
font-size: 140%; |
| 37 |
|
|
} |
| 38 |
|
|
|
| 39 |
|
|
/* --- Sections --- */ |
| 40 |
|
|
|
| 41 |
|
|
body { |
| 42 |
|
|
counter-reset: chapter appendix; |
| 43 |
|
|
} |
| 44 |
|
|
|
| 45 |
|
|
div.section { |
| 46 |
|
|
clear: both; |
| 47 |
|
|
} |
| 48 |
|
|
|
| 49 |
wakaba |
1.3 |
html.formal-specification div.section#abstract, |
| 50 |
wakaba |
1.1 |
html.formal-specification div.section#ABSTRACT, |
| 51 |
wakaba |
1.3 |
html.formal-specification div.section#status, |
| 52 |
wakaba |
1.1 |
html.formal-specification div.section#STATUS { |
| 53 |
|
|
counter-increment: none; |
| 54 |
|
|
} |
| 55 |
|
|
|
| 56 |
|
|
html.formal-specification h1, |
| 57 |
|
|
html.formal-specification h2, |
| 58 |
|
|
html.formal-specification h3, |
| 59 |
|
|
html.formal-specification h4, |
| 60 |
|
|
html.formal-specification h5, |
| 61 |
|
|
html.formal-specification h6 { |
| 62 |
|
|
color: #400080; |
| 63 |
|
|
background-color: transparent; |
| 64 |
|
|
} |
| 65 |
|
|
|
| 66 |
|
|
h2, div.appendix h3 { |
| 67 |
|
|
font-size: 140%; |
| 68 |
|
|
counter-increment: chapter; |
| 69 |
|
|
counter-reset: section; |
| 70 |
|
|
} |
| 71 |
|
|
|
| 72 |
|
|
h2:before { |
| 73 |
|
|
content: ""; |
| 74 |
|
|
content: counter(chapter) ". "; |
| 75 |
|
|
} |
| 76 |
|
|
|
| 77 |
|
|
div.appendix h3:before { |
| 78 |
|
|
content: counter(appendix, upper-alpha) "." counter(chapter) ". "; |
| 79 |
|
|
} |
| 80 |
|
|
|
| 81 |
|
|
html.formal-specification div.header > h2, |
| 82 |
wakaba |
1.3 |
html.formal-specification div.section#abstract > h2, |
| 83 |
wakaba |
1.1 |
html.formal-specification div.section#ABSTRACT > h2, |
| 84 |
wakaba |
1.3 |
html.formal-specification div.section#status > h2, |
| 85 |
wakaba |
1.1 |
html.formal-specification div.section#STATUS > h2 { |
| 86 |
|
|
counter-increment: none; |
| 87 |
|
|
} |
| 88 |
|
|
|
| 89 |
|
|
html.formal-specification div.header > h2:before, |
| 90 |
wakaba |
1.3 |
html.formal-specification div.section#abstract > h2:before, |
| 91 |
wakaba |
1.1 |
html.formal-specification div.section#ABSTRACT > h2:before, |
| 92 |
wakaba |
1.3 |
html.formal-specification div.section#status > h2:before, |
| 93 |
wakaba |
1.1 |
html.formal-specification div.section#STATUS > h2:before { |
| 94 |
|
|
content: ""; |
| 95 |
|
|
content: normal; |
| 96 |
|
|
counter-increment: none; |
| 97 |
|
|
} |
| 98 |
|
|
|
| 99 |
|
|
h3, div.appendix h4 { |
| 100 |
|
|
counter-increment: section; |
| 101 |
|
|
counter-reset: subsection; |
| 102 |
|
|
font-size: 120%; |
| 103 |
|
|
} |
| 104 |
|
|
|
| 105 |
|
|
h3:before { |
| 106 |
|
|
content: ""; |
| 107 |
|
|
content: counter(chapter) "." counter(section) ". "; |
| 108 |
|
|
} |
| 109 |
|
|
|
| 110 |
|
|
html.formal-specification h4:before { |
| 111 |
|
|
content: ""; |
| 112 |
|
|
content: counter(appendix, upper-alpha) "." |
| 113 |
|
|
counter(chapter) "." counter(section) ". "; |
| 114 |
|
|
counter-reset: subsection; |
| 115 |
|
|
} |
| 116 |
|
|
|
| 117 |
|
|
html.formal-specification h5:before { |
| 118 |
|
|
content: ""; |
| 119 |
|
|
content: counter(appendix, upper-alpha) "." |
| 120 |
|
|
counter(chapter) "." counter(section) "." |
| 121 |
|
|
counter(subsection)". "; |
| 122 |
|
|
counter-increment: subsection; |
| 123 |
|
|
} |
| 124 |
|
|
|
| 125 |
|
|
div.section.normative h2:after { |
| 126 |
|
|
content: " (規定) "; |
| 127 |
|
|
} |
| 128 |
|
|
div.section.normative h2:lang(en):after { |
| 129 |
|
|
content: " (Normative) "; |
| 130 |
|
|
} |
| 131 |
wakaba |
1.3 |
#reference.section.normative h2:after, |
| 132 |
|
|
#REFERENCE.section.normative h2:after { |
| 133 |
wakaba |
1.1 |
display: none; |
| 134 |
|
|
content: ""; |
| 135 |
|
|
} |
| 136 |
|
|
|
| 137 |
|
|
div.section.informative > h2:after, |
| 138 |
|
|
div.section.informative > h3:after { |
| 139 |
|
|
content: " (参考) "; |
| 140 |
|
|
} |
| 141 |
|
|
div.section.informative > h2:lang(en):after, |
| 142 |
|
|
div.section.informative > h3:lang(en):after { |
| 143 |
|
|
content: " (Informative) "; |
| 144 |
|
|
} |
| 145 |
wakaba |
1.3 |
.reference.section.informative > h2:after, |
| 146 |
|
|
.reference.section.informative > h3:after, |
| 147 |
|
|
#INFORMATIVE-REFERENCE.section.informative > h2:after { |
| 148 |
wakaba |
1.1 |
display: none; |
| 149 |
|
|
content: ""; |
| 150 |
|
|
} |
| 151 |
|
|
|
| 152 |
|
|
div.appendix { |
| 153 |
|
|
margin-top: 5em; |
| 154 |
|
|
border-top: solid black 1px; |
| 155 |
|
|
padding-top: 1em; |
| 156 |
|
|
counter-reset: chapter; |
| 157 |
|
|
counter-increment: appendix; |
| 158 |
|
|
} |
| 159 |
|
|
|
| 160 |
|
|
@media print { |
| 161 |
|
|
div.appendix { |
| 162 |
|
|
border-style: none; |
| 163 |
|
|
page-break-before: always; |
| 164 |
|
|
} |
| 165 |
|
|
} |
| 166 |
|
|
|
| 167 |
|
|
div.appendix h2 { |
| 168 |
|
|
counter-increment: none; |
| 169 |
|
|
text-align: center; |
| 170 |
|
|
} |
| 171 |
|
|
|
| 172 |
|
|
div.appendix h2:before { |
| 173 |
|
|
content: "附属書"; |
| 174 |
|
|
content: "附属書 " counter(appendix, upper-alpha); |
| 175 |
|
|
display: block; |
| 176 |
|
|
} |
| 177 |
|
|
|
| 178 |
|
|
div.appendix h2:after { |
| 179 |
|
|
display: block; |
| 180 |
|
|
color: gray; |
| 181 |
|
|
font-size: 70%; |
| 182 |
|
|
font-weight: normal; |
| 183 |
|
|
} |
| 184 |
|
|
|
| 185 |
|
|
/* --- Term Definition --- */ |
| 186 |
|
|
|
| 187 |
|
|
dl.term-definition { |
| 188 |
|
|
counter-reset: term; |
| 189 |
|
|
} |
| 190 |
|
|
|
| 191 |
|
|
html.formal-specification div.section div.section |
| 192 |
|
|
dl.term-definition > dd + dt { |
| 193 |
|
|
margin-top: 1em; |
| 194 |
|
|
} |
| 195 |
|
|
|
| 196 |
|
|
html.formal-specification div.section div.section |
| 197 |
|
|
dl.term-definition > dt:first-child:before, |
| 198 |
|
|
html.formal-specification div.section div.section |
| 199 |
|
|
dl.term-definition > dd + dt:before { |
| 200 |
|
|
display: block; |
| 201 |
|
|
content: counter(chapter) "." counter(section) "." counter(term) ". "; |
| 202 |
|
|
counter-increment: term; |
| 203 |
|
|
} |
| 204 |
|
|
|
| 205 |
|
|
|
| 206 |
wakaba |
1.2 |
/* --- References --- */ |
| 207 |
|
|
|
| 208 |
|
|
.standard-number, |
| 209 |
|
|
.standard-section, |
| 210 |
|
|
.standard-this { |
| 211 |
|
|
font-family: sans-serif; |
| 212 |
|
|
font-weight: bolder; |
| 213 |
|
|
text-decoration: none; |
| 214 |
|
|
} |
| 215 |
|
|
|
| 216 |
|
|
cite.bibref.normative { |
| 217 |
|
|
color: red; |
| 218 |
|
|
} |
| 219 |
|
|
|
| 220 |
|
|
cite.bibref.informative { |
| 221 |
|
|
color: green; |
| 222 |
|
|
} |
| 223 |
|
|
div.reference > dl > dt, |
| 224 |
|
|
#REFERENCE > dl > dt { |
| 225 |
|
|
width: 7em; |
| 226 |
|
|
float: left; |
| 227 |
|
|
clear: left; |
| 228 |
|
|
list-style: none; |
| 229 |
|
|
font-weight: normal; |
| 230 |
|
|
} |
| 231 |
|
|
|
| 232 |
|
|
div.normative.reference > dl > dt { |
| 233 |
|
|
color: red; |
| 234 |
|
|
background-color: transparent; |
| 235 |
|
|
} |
| 236 |
|
|
|
| 237 |
|
|
div.informative.reference > dl > dt { |
| 238 |
|
|
color: green; |
| 239 |
|
|
background-color: transparent; |
| 240 |
|
|
} |
| 241 |
|
|
|
| 242 |
|
|
div.reference > dl > dt:before, |
| 243 |
|
|
div#REFERENCE > dl > dt:before { |
| 244 |
|
|
content: "["; |
| 245 |
|
|
} |
| 246 |
|
|
|
| 247 |
|
|
div.reference > dl > dt:after, |
| 248 |
|
|
div#REFERENCE > dl > dt:after { |
| 249 |
|
|
content: "]"; |
| 250 |
|
|
} |
| 251 |
|
|
|
| 252 |
|
|
div.reference > dl > dd, |
| 253 |
|
|
div#REFERENCE > dl > dd { |
| 254 |
|
|
margin-left: 1em; |
| 255 |
|
|
margin-bottom: 1em; |
| 256 |
|
|
padding-left: 1em; |
| 257 |
|
|
} |
| 258 |
|
|
|
| 259 |
|
|
div.reference > dl > dd + dd, |
| 260 |
|
|
div#REFERENCE > dl > dd + dd { |
| 261 |
|
|
margin-left: 9.5em; |
| 262 |
|
|
} |
| 263 |
|
|
|
| 264 |
|
|
|
| 265 |
wakaba |
1.1 |
/* License |
| 266 |
|
|
|
| 267 |
wakaba |
1.2 |
Copyright 2004-2006 Wakaba <w@suika.fam.cx>. |
| 268 |
wakaba |
1.1 |
|
| 269 |
|
|
This program is free software; you can redistribute it and/or modify |
| 270 |
|
|
it under the terms of the GNU General Public License as published by |
| 271 |
|
|
the Free Software Foundation; either version 2 of the License, or |
| 272 |
|
|
(at your option) any later version. |
| 273 |
|
|
|
| 274 |
|
|
This program is distributed in the hope that it will be useful, |
| 275 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 276 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 277 |
|
|
GNU General Public License for more details. |
| 278 |
|
|
|
| 279 |
|
|
You should have received a copy of the GNU General Public License |
| 280 |
|
|
along with this program; see the file COPYING. If not, write to |
| 281 |
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 282 |
|
|
Boston, MA 02111-1307, USA. |
| 283 |
|
|
|
| 284 |
|
|
*/ |
| 285 |
|
|
|
| 286 |
wakaba |
1.3 |
/* $Date: 2006/03/03 07:21:11 $ */ |