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