Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: native_client_sdk/src/doc/_static/css/nacl.css

Issue 153333002: [NaCl SDK Docs] Update CSS for docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reuse CSS from local_extensions Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 /* GENERAL */
6 .inline-toc ul, .inline-toc ol {list-style-type: none;}
7 .small-gap {margin-top: 0.5em;}
8 .small-gap li, dt {margin-top: 1em;}
9 .no-gap {margin-bottom: 0;}
10 .no-gap-li li {margin-top: 0;}
11 .indent {margin-left: 40px;}
12 .indent-small {margin-left: 20px;}
13
14 table {width: auto;}
15 .showcase, .showcase-list {margin: auto;}
16 body table.showcase td {text-align: center; vertical-align: middle;}
17 .showcase-list th, .generic th {text-align: center;}
18 .showcase-list tbody th, .generic tbody th {text-align: left;}
19 body table.showcase-list td {vertical-align: middle;}
20 table.showcase td.empty {border-bottom-style: hidden; border-right-style: hidden ;}
21 table.showcase-list td.top-left, table.generic td.top-left {border-top-style: hi dden; border-left-style: hidden;}
22 th.center {text-align: center;}
23
24 .showcase img.hold {opacity: 0.5;}
25 .showcase span.hold {color: #888;}
26 .col3 td {width: 33%;}
27 .col4 td {width: 25%;}
28 .col5 td {width: 20%;}
29 .kd-butterbar.shown.pepper-version {text-align: right; top: 150px; right: 44px; width: 31em;}
30 .kd-butterbar.shown.pepper-version span {background-color: #E5ECF9; border: 1px solid #36C;}
31 .kd-butterbar.shown.pepper-version span.deprecated {background-color: #FCC; bord er: 1px solid #A03;}
32 .kd-butterbar.shown.special-announcement {text-align: right; /* top: 185px; */ t op: 150px; right: 44px; width: 31em;}
33 .kd-butterbar.shown.special-announcement span {background-color: #F9EDBE; border : 1px solid #F0C36D;}
34
35 /* VERSION INFORMATION */
Andy 2014/02/05 00:30:08 Delete styles under VERSION INFORMATION. This app
binji 2014/02/05 01:41:45 Done.
36 /*
37 #gc-main .gc-toc li:first-child a {font-weight: bold; margin-bottom: 8px; backgr ound-color: #777; color: #FFF;}
38 #gc-main .gc-toc li li:first-child a {font-weight: normal; margin-bottom: 0; bac kground-color: transparent; color: #777;}
39 #gc-main .gc-toc li li:first-child a:hover {background-color: #EEE; color: #000; }
40 #gc-main .gc-toc li li:first-child a.tlw-control:hover {background-color: transp arent;}
41
42 */
43 #gc-main .gc-toc > ul:first-child > li:first-child > a {font-weight: bold; margi n-bottom: 8px; background-color: #777; color: #FFF;}
44
45 /* HOME PAGE */
46 .features section h3 {font-weight: bold; margin-bottom: 0.2em; margin-top: 0;}
47 .features section p {margin-bottom: 0;}
48 p.date {margin-top: 0; margin-bottom: 0.5em; font-style: italic; }
49 blockquote.indent-only {font-style: normal; color: #000; }
50 #home .button-nacl {
51 border-top: 1px solid #96d1f8;
52 background: #65a9d7;
53 background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), t o(#65a9d7));
54 background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
55 background: -moz-linear-gradient(top, #3e779d, #65a9d7);
56 background: -ms-linear-gradient(top, #3e779d, #65a9d7);
57 background: -o-linear-gradient(top, #3e779d, #65a9d7);
58 padding: 5px 10px;
59 -webkit-border-radius: 5px;
60 -moz-border-radius: 5px;
61 border-radius: 5px;
62 -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
63 -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
64 box-shadow: rgba(0,0,0,1) 0 1px 0;
65 text-shadow: rgba(0,0,0,.4) 0 1px 0;
66 color: white;
67 font-size: 18px;
68 text-decoration: none;
69 vertical-align: middle;
70 }
71 #home .button-nacl:visited {
72 color: #fff;
73 }
74 #home .button-nacl:hover {
75 border-top-color: #28597a;
76 background: #28597a;
77 color: #ccc;
78 }
79 #home .button-nacl:active {
80 border-top-color: #1b435e;
81 background: #1b435e;
82 }
83 #home .button-download {
84 float: right;
85 margin: 2em 4em;
86 }
87 #home .big-intro {
88 font-size: 16px;
89 }
90 #home iframe.video {
91 display: block;
92 margin: 1em auto 0;
93 }
94 #home .right-side {
95 float: right;
96 width: 54%;
97 background-color: #FFF;
98 }
99 #home .right-side-inner {
100 padding-left: 40px;
101 }
102
103 /* ======================== */
104 /* OLD STYLES FROM CODESITE */
Andy 2014/02/05 00:30:08 Delete styles under "CODESITE".
binji 2014/02/05 01:41:45 Done.
105 /* ======================== */
106 .note ul, .caution ul {
107 margin-bottom: 0;
108 }
109 /* CSS for the Examples page */
110 .INFO {
111 font-weight: bold;
112 margin: 1.5em auto 2em;
113 width: 90%;
114 border: solid blue 2px;
115 padding: 5px;
116 line-height: 1.3;
117 }
118 .WARNING {
119 font-weight: bold;
120 margin: 1.7em auto 2.2em;
121 width: 90%;
122 font-size: 110%;
123 background-color: #ffe;
124 border: solid red 2px;
125 padding: 7px;
126 }
127 .inactive_link {
128 font-weight: bold;
129 color: #888888;
130 text-decoration: line-through;
131 }
132 a img {
133 border: none;
134 }
135
136 /* CSS for the Release Notes page */
137 .functions {list-style-type: none;}
138 li.gap, .gap li {margin-top: 1.5em;}
139 .gap li li {margin-top: 0.2em;}
140
141 /*
142 * The #doxygen-ref is an id tag which encompasses code generated by doxygen
143 * and allows override of standard html tags while not affecting the rest
144 * of the page such as sidebars.
145 */
146
147 #doxygen-ref table {
148 margin: 0;
149 }
150
151 #doxygen-ref td {
152 border: none;
153 }
154
155 #doxygen-ref tr {
156 border: none;
157 }
158
159 #doxygen-ref .memitem {
160 margin-top: 2em;
161 }
162
163 #doxygen-ref .memproto {
164 background-color: #e1e1e4;
165 border: 1px solid #e1e1f4;
166 font-weight: bold;
167 border-radius: 8px;
168 -moz-border-radius: 8px;
169 -webkit-border-radius: 8px;
170 }
171
172 /*
173 TODO(binji): remove
174
175 This is the old doxygen CSS formatting from devsite. It causes problems on many
176 pages, but it is probably useful to keep around while we are transitioning to
177 chromesite.
178
179 #doxygen-ref A.el {
180 text-decoration: none;
181 font-weight: bold;
182 text-align:left;
183
184 }
185
186 #doxygen-ref A.code:link,
187 A.code:visited {
188 text-decoration: none;
189 font-weight: normal;
190 color: #00F;
191 }
192 #doxygen-ref A.codeRef:link,
193 A.codeRef:visited {
194 font-weight: normal;
195 color: #00F;
196 }
197 #doxygen-ref A:hover {
198 text-decoration: none;
199 background-color: #f2f2ff;
200 }
201
202 #doxygen-ref DL.el {
203 margin-left: -1cm;
204 }
205 #doxygen-ref .fragment {
206 font-family: Fixed, monospace;
207 font-size: 95%;
208 }
209 #doxygen-ref PRE.fragment {
210 border: 1px solid #CCC;
211 background-color: #f5f5f5;
212 margin: 4px 8px 4px 2px
213 padding: 4px 6px;
214 }
215
216 #doxygen-ref TD {
217 margin: 0;
218 padding: 0;
219 }
220
221 #doxygen-ref TD.memname {
222 width: 50%;
223 }
224
225 #doxygen-ref TD.paramtype {
226 width: auto;
227
228 }
229
230 #doxygen-ref TD.md {
231 background-color: #e1e1e4;
232 font-weight: bold;
233 border: none;
234 }
235
236 #doxygen-ref .memberdecls {
237 border: "0";
238 }
239
240 #doxygen-ref .memitem {
241 padding: 4px;
242 background-color: #ffff;
243 }
244
245 #doxygen-ref .memItemLeft {
246 white-space: nowrap;
247 }
248
249 #doxygen-ref .memItemRight {
250 white-space: nowrap;
251 }
252
253 #doxygen-ref .memname {
254 background-color: #e1e1e4;
255 white-space: nowrap;
256 font-weight: bold;
257 }
258 #doxygen-ref .memdoc{
259 padding-left: 10px;
260 }
261 #doxygen-ref div.memproto td {
262 background-color: #e1e1e4;
263 }
264 #doxygen-ref .memproto {
265 background-color: #e1e1e4;
266 width: auto;
267 border-width: 1px;
268 border-style: solid;
269 border-color: #e1e1f4;
270 font-weight: bold;
271 -moz-border-radius: 8px 8px 8px 8px;
272 }
273 #doxygen-ref .memproto .deprecated,
274 .memname .deprecated,
275 .summary .deprecated {
276 color: red;
277 }
278 #doxygen-ref .paramkey {
279 text-align: right;
280 }
281 #doxygen-ref .paramtype {
282 white-space: nowrap;
283 }
284 #doxygen-ref .paramname {
285 color: #602020;
286 font-style: italic;
287 white-space: nowrap;
288 }
289 #doxygen-ref DIV.groupHeader {
290 margin: 12px 16px 6px auto;
291 font-weight: bold;
292 }
293
294 #doxygen-ref TR.memlist {
295 background-color: #f0f0f0;
296 }
297
298 #doxygen-ref table.memname {
299 width: auto;
300 }
301
302 #doxygen-ref td.memname {
303 width: auto;
304 }
305
306 #doxygen-ref table.memname td {
307 padding: 0 2px;
308 }
309
310 #doxygen-ref .memberdecls td {
311 width: auto;
312 border: none;
313 }
314
315 #doxygen-ref th {
316 font-size: 16px;
317 background-color: #DDD;
318 padding: 0 4px;
319 }
320
321 #doxygen-ref SPAN.keyword,
322 SPAN.keywordflow {
323 color: #008000;
324 }
325 #doxygen-ref SPAN.keywordtyp {
326 color: #604020;
327 }
328 #doxygen-ref SPAN.comment {
329 color: #800000;
330 }
331 #doxygen-ref SPAN.preprocessor {
332 color: #806020;
333 }
334 #doxygen-ref SPAN.stringliteral {
335 color: #002080;
336 }
337 #doxygen-ref SPAN.charliteral {
338 color: #008080;
339 }
340
341 #doxygen-ref .mdescLeft,
342 #doxygen-ref .mdescRight {
343 padding: 0 8px 4px 8px;
344 font-size: 80%;
345 font-style: italic;
346 background-color: #FAFAFA;
347 border: 1px none #E0E0E0;
348 margin: 0;
349 }
350 #doxygen-ref .search {
351 color: #039;
352 font-weight: bold;
353 }
354
355 #doxygen-ref HR {
356 height: 1px;
357 border: none;
358 display: none;
359 }
360 #doxygen-ref table,
361 #doxygen-ref td,
362 #doxygen-ref tr {
363 border:none;
364 width: auto;
365 text-align: left;
366 padding: 10px;
367 margin-bottom: 0;
368 }
369 #doxygen-ref .contents H1 {
370 text-align: center;
371 background-color: #ffffff;
372 border: 0;
373 }
374
375 #doxygen-ref CAPTION {
376 font-weight: bold;
377 }
378 #doxygen-ref .contents .summary {
379 line-height: 1em;
380 }
381 #doxygen-ref .contents .summary TD {
382 }
383 #doxygen-ref .contents .summary .type {
384 text-align: right;
385 }
386 #doxygen-ref .memdoc {
387 padding-left: 30px;
388 }
389 #doxygen-ref .memitem {
390 border-top:1px solid #E5ECF9;
391 border:none;
392 }
393 #doxygen-ref .doxygen-global {
394 background-color: #ffcc66;
395 }
396
397 */
OLDNEW
« no previous file with comments | « native_client_sdk/src/doc/_static/css/local_extensions.css ('k') | native_client_sdk/src/doc/doxygen/footer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698