CSSの更新。日本語で斜体を使わないように
[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 {
90     padding: 0.5em 1em 0.5em 1em;
91     color: #CCC;
92     background: black;
93     font-size: 90%;
94 }
95
96 a {
97     text-decoration: none;
98 }
99
100 blockquote {
101     line-height: 1.25em;
102     border: 1px solid #00F;
103 }
104
105 kbd {
106     font-family: monospace;
107 }
108
109 em {
110     font-weight: bold;
111     font-style: normal;
112 }
113
114 kbd, code, .file {
115     margin-left:0.5em;
116     margin-right: 0.5em;
117 }
118
119 table, th, td {
120     border: 1px solid #888;
121     border-collapse: collapse; /* 枠線の表示方法 */
122     margin-bottom: 1em;
123 }
124
125 table.cartouche, table.cartouche th, table.cartouche td  {
126     border: none;
127 }
128
129 pre.example .command, pre.example .option, pre.example kbd {
130     font-weight: bold;
131     font-family: monospace;
132     background-color: inherit;
133     color: white;
134     margin-left:0;
135     margin-right: 0;
136 }
137
138 pre.example strong {
139     font: inherit;
140     border: 2px solid green;
141 }
142
143 dt {
144     font-weight: bold;
145 }
146
147 dfn {
148     font-style: normal;
149 }