ドキュメントのスタイルシートを修正
[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     padding: 0.5em 1em 0.5em 1em;
37 }
38
39 .contents h2 {
40     margin-left: 0;
41     color: black;
42     background-color: #DDF;
43 }
44
45 .contents li {
46     list-style-type: none;
47 }
48
49 .shortcontents {
50     background-color: #DDF;
51     border: 4px double #000;
52  }
53
54 .shortcontents h2{
55     display: none;
56 }
57
58 h1.node-heading {
59     display: none;
60 }
61
62 h2.contents-heading{
63     display: none;
64 }
65
66 h2.shortcontents-heading{
67     display: none;
68 }
69
70 .shortcontents a {
71    margin-right: 1em;
72 }
73
74 h3, h4, h5 {
75     color: navy;
76     margin-left: -1em;
77 }
78
79 h5 {
80     font-size: 100%;
81 }
82
83 p {
84     line-height: 1.25em;
85     margin-top: 0;
86     margin-bottom: 0.5em;
87 }
88
89 a:hover {
90     color: red;
91     text-decoration: underline;
92 }
93
94 pre.example, pre.verbatim {
95     padding: 0.5em 1em 0.5em 1em;
96     border: 1px solid #CCC;
97 }
98
99 a {
100     text-decoration: none;
101 }
102
103 blockquote {
104     line-height: 1.25em;
105     border: 1px solid #00F;
106 }
107
108 kbd, code, .file, var {
109     font-style: normal;
110     font-family: monospace;
111     margin-left:0.5em;
112     margin-right: 0.5em;
113 }
114
115 table, th, td {
116     border: 1px solid #CCC;
117     border-collapse: collapse; /* 枠線の表示方法 */
118     margin-bottom: 1em;
119 }
120
121 table.cartouche, table.cartouche th, table.cartouche td  {
122     border: none;
123 }
124
125 pre.example .command, pre.example .option, pre.example kbd {
126     font-weight: bold;
127     font-family: monospace;
128     background-color: inherit;
129     font-style: normal;
130     margin-left:0;
131     margin-right: 0;
132 }
133
134 pre.example strong {
135     font: inherit;
136     border: 2px solid green;
137 }
138
139 dt {
140     font-weight: bold;
141 }
142
143 dfn {
144     font-style: normal;
145 }
146
147 .header, .menu {
148     display: none;
149 }