スタイルシートで、実行例の背景色を黒から白へ
[YACASL2.git] / doc / style.css
1 body {
2     margin-left: 6em;
3     margin-right: 12em;
4     color: black;
5     background-color: #EEE;
6 }
7
8 h1, h2 {
9     margin-left: -2em;
10 }
11
12 .node{
13     margin-left: -3em;
14     color: inherit;
15     background-color: #DDF;
16 }
17
18 .menu, .node {
19     color: inherit;
20     background-color: #DDF;
21 }
22
23 table.menu, table.menu th, table.menu td {
24     border-style: none;
25 }
26
27 h2 {
28     padding: 0.25em;
29     color: white;
30     background-color: navy;
31 }
32
33 .contents {
34     background-color: #DDF;
35     border: 4px double #000;
36 }
37
38 .contents h2 {
39     margin-left: 0;
40     color: black;
41     background-color: #DDF;
42 }
43
44 .shortcontents {
45     background-color: #DDF;
46     border: 4px double #000;
47  }
48
49 .shortcontents h2{
50     display: none;
51 }
52
53 h1.node-heading {
54     display: none;
55 }
56
57 h2.contents-heading{
58     display: none;
59 }
60
61 h2.shortcontents-heading{
62     display: none;
63 }
64
65 .shortcontents a {
66    margin-right: 1em;
67 }
68
69 h3, h4, h5 {
70     color: navy;
71     margin-left: -1em;
72 }
73
74 h5 {
75     font-size: 100%;
76 }
77
78 p {
79     line-height: 1.25em;
80     margin-top: 0;
81     margin-bottom: 0.5em;
82 }
83
84 a:hover {
85     color: red;
86     text-decoration: underline;
87 }
88
89 pre.example, pre.verbatim {
90     padding: 0.5em 1em 0.5em 1em;
91     font-size: 90%;
92 }
93
94 a {
95     text-decoration: none;
96 }
97
98 blockquote {
99     line-height: 1.25em;
100     border: 1px solid #00F;
101 }
102
103 kbd, code, .file, var {
104     font-style: normal;
105     font-family: monospace;
106     font-size: 90%;
107     margin-left:0.5em;
108     margin-right: 0.5em;
109 }
110
111 table, th, td {
112     border: 1px solid #CCC;
113     border-collapse: collapse; /* 枠線の表示方法 */
114     margin-bottom: 1em;
115 }
116
117 table.cartouche, table.cartouche th, table.cartouche td  {
118     border: none;
119 }
120
121 pre.example .command, pre.example .option, pre.example kbd {
122     font-weight: bold;
123     font-family: monospace;
124     background-color: inherit;
125     color: white;
126     font-style: normal;
127     margin-left:0;
128     margin-right: 0;
129 }
130
131 pre.example strong {
132     font: inherit;
133     border: 2px solid green;
134 }
135
136 dt {
137     font-weight: bold;
138 }
139
140 dfn {
141     font-style: normal;
142 }
143
144 .header, .menu {
145     display: none;
146 }