Release 0.41.92
[vala-gnome.git] / doc / manual / default.css
blob1e69dff8c646964d81bc1286ab3c14a33f319816
1 body {
2 background-color: white;
3 font-family: cantarell, sans-serif;
4 text-align: justify;
5 margin-top: 2.8em;
8 h1, h2, h3, h4 {
9 color: #005a9c;
10 margin: 1.5em 0 0 0;
13 h3 { border-top: solid 0.5em #eee; }
15 h4 { border-top: solid 0.2em #eee; }
17 p { margin: 0 0 1em 0; }
19 a:link, a:visited, a:hover, a:active {
20 color: #005a9c;
21 text-decoration: none;
24 .toc {
25 font-weight: bold;
26 font-size: 120%;
27 line-height: 1.8;
28 max-width: 19em;
31 .toc li {
32 list-style-type: none;
35 .toc li li {
36 font-size: 80%;
39 .toc a {
40 display:block;
41 border-radius: 0.4em;
42 padding-left: 0.4em;
45 .toc a:hover, .toc a:focus {
46 background-color: #ddd;
49 .page_toc {
50 list-style: none;
53 .page_toc a {
54 width: 18em;
55 display: block;
56 border-radius: 0.4em;
57 padding-left: 0.4em;
60 .page_toc a:hover, .page_toc a:focus {
61 background: #ddd;
64 h3 {
65 /* ensure anchors don't vanish below the fixed header */
66 padding-top: 1.4em;
69 .o-fixedtop {
70 position: fixed;
71 left: 0;
72 top: 0;
73 width: 100%;
74 overflow: hidden;
77 .o-inlinewidth-4 {
78 display: inline-block;
79 width: 4em;
82 .o-navbar {
83 padding: .35em;
84 height: 1.4em;
85 max-width: 35em;
88 .c-navbar {
89 background-color: #005a9c;
90 color: white;
91 font-weight: bold;
92 text-align: center;
95 .c-pageturner a {
96 color: white;
97 border-radius: 0.4em;
98 padding: 0 0.5em;
101 .c-pageturner a:hover {
102 color: #005a9c;
103 background-color: white;
106 div.note {
107 border: 3px solid #005a9c;
108 padding: 1em;
109 margin: 0 2em 1em 2em;
112 div.note p, div.note h4 {
113 margin: 0;
116 pre {
117 background-color: #eee;
118 border: 1px solid black;
119 border-radius: 4px;
120 padding: .5em 1em;
121 margin: 0 0 1em 0;
124 .o-box { padding: 1.2em;
125 margin: 0 0 1em 0;
126 line-height: 1.5;
128 .c-program { background-color: #f5f5f5;
129 border: 2px solid #ca8;
130 border-radius: 4px;
131 font-family: monospace;
132 white-space: pre-wrap;
134 .c-program-type { color: #533; }
135 .c-program-token { color: #000;
136 font-weight: bold;
138 .c-program-methodname { color: #520;
139 font-style: italic;
141 .c-program-phrase { color: #161; }
143 .c-informaltable { border: solid 2px #ccc;
144 border-radius: 4px;
146 .c-informaltable td { border-bottom: solid 1px #ccc;
147 border-right: solid 1px #ccc;
149 .c-informaltable td:last-child { border-right: none; }
150 .c-informaltable tr:last-child td { border-bottom: none; }
151 .c-informaltable tr:nth-child(even) { background-color: #f5f5f5; }
153 .c-rules { border: solid 2px #729fcf;
154 border-radius: 4px;
155 background-color: #f5f5f5;
156 white-space: pre-wrap;
159 .c-document_version { border: solid 2px #ccc;
160 border-radius: 4px;
161 width: 100%;
163 .c-document_version tr td:first-child { text-align: right; }
164 .c-document_version tr:nth-child(odd) { background-color: #f0f0f0; }
166 blockquote span.literal {
167 font-family: monospace;
168 font-weight: bold;
169 font-size: 110%;
170 padding-right: 0.5em;
173 .u-float-left {
174 float: left;
175 overflow: hidden;
177 .u-float-right {
178 float: right;
179 overflow: hidden;
181 .u-center {
182 margin-left: auto;
183 margin-right: auto;
186 @media screen {
187 body { max-width: 35em; }
190 @media print {
191 * { background: none !important; }
192 h1 {
193 text-align: center;
194 padding: 2em 0 4em 0;
196 h1+p, h1+p+p, h1+p+p+p { max-width: 28em;
197 margin: 0 auto 1em;
199 .c-document_version { position: absolute; bottom: 0; }
200 h2, .toc { page-break-before: always; }
201 h1, h2, h3, h4 { page-break-after: avoid; }
202 h2, h3, h4 {
203 border: none;
204 padding: 0;
208 @page {
209 counter-increment: page;
210 @top-center { content: "Vala Reference Manual"; }
211 @bottom-center {
212 content: counter(page);
214 font-family: cantarell, sans-serif;