blob: 3b4de7dd64ff6c618f06061d8c48bc2acacab7cd [file] [log] [blame]
Shawn Pearce374f1842015-02-10 15:36:54 -08001/**
2 * Copyright 2015 Google Inc. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Shawn Pearcea3e0e282015-02-12 13:57:54 -080017html.doc-page, .doc {
Shawn Pearce374f1842015-02-10 15:36:54 -080018 font-family: arial,sans-serif;
19}
Shawn Pearcea3e0e282015-02-12 13:57:54 -080020.doc-page body {
Shawn Pearce374f1842015-02-10 15:36:54 -080021 margin: 0;
22}
23
Shawn Pearce99cdbce2015-02-10 12:05:45 -080024.banner {
25 min-height: 44px;
26 margin: 0;
27 padding: 14px 15px 13px;
28 border-bottom: 1px solid #eee;
29}
30.banner h1, .banner h2 {
31 float: left;
32 font-size: 32px;
33 font-weight: 300;
34 line-height: 1.375;
35 margin: 0;
36}
37.banner img {
38 margin: -1px 10px -4px 0px;
39 vertical-align: middle;
40}
41.banner a, .banner a:hover {
42 text-decoration: none;
43}
44.banner, .banner a:link, .banner a:visited {
45 color: #777;
46}
47.banner h2:before {
48 border-right: 1px solid #eee;
49 content: "";
50 float: left;
51 height: 44px;
52 margin: 0 12px 0 14px;
53}
Shawn Pearce374f1842015-02-10 15:36:54 -080054
55.nav, .footer-line {
56 color: #333;
57 padding: 0 15px;
58 background: #eee;
59}
60.nav ul {
61 list-style: none;
62 margin: 0;
63 padding: 6px 0;
64}
65.nav li {
66 float: left;
67 font-size: 14px;
68 line-height: 1.43;
69 margin: 0 20px 0 0;
70 padding: 6px 0;
71}
72.nav li a, .footer-line a {
73 color: #7a7af9;
74}
75.nav li a:hover {
76 color: #0000f9;
77}
Shawn Pearce99cdbce2015-02-10 12:05:45 -080078.banner:after, .nav ul:after, .cols:after {
Shawn Pearce374f1842015-02-10 15:36:54 -080079 clear: both;
80 content: "";
81 display: block;
82}
83
Shawn Pearcea3e0e282015-02-12 13:57:54 -080084.nav-aux, .doc {
Shawn Pearce374f1842015-02-10 15:36:54 -080085 max-width: 978px;
86}
Shawn Pearcea3e0e282015-02-12 13:57:54 -080087.nav-aux, .doc-page .doc {
88 margin: auto;
89}
Shawn Pearce374f1842015-02-10 15:36:54 -080090
91.footer-break {
92 clear: both;
93 margin: 120px 0 0 0;
94}
95.footer-line {
96 font-size: 13px;
97 line-height: 30px;
98 height: 30px;
99}
100.footer-line ul {
101 list-style: none;
102 margin: 0;
103 padding: 0;
104}
105.footer-line li {
106 display: inline;
107}
108.footer-line li+li:before {
109 content: "ยท";
110 padding: 0 5px;
111}
112.footer-line .nav-aux {
113 position: relative;
114}
115.gitiles-att {
116 color: #A0ADCC;
117 position: absolute;
118 top: 0;
119 right: 0;
120}
121.gitiles-att a {
122 font-style: italic;
123}
124
Shawn Pearcea3e0e282015-02-12 13:57:54 -0800125/* Markdown rendered in /+doc/ or tree view page . */
126
127.doc {
128 color: #444;
129 font-size: 13px;
130}
131
132.doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 {
133 font-family: "open sans",arial,sans-serif;
134}
135.doc h1, .doc h2, .doc h3, .doc h4 { font-weight: bold; }
136.doc h5, .doc h6 { font-weight: normal; }
137.doc h1 { font-size: 20px; }
138.doc h2 { font-size: 16px; }
139.doc h3 { font-size: 14px; }
140.doc h4, .doc h5, .doc h6 { font-size: 13px; }
141
142.doc a { text-decoration: none; }
143.doc a:link { color: #245dc1; }
144.doc a:visited { color: #7759ae; }
145.doc a:hover { text-decoration: underline; }
146
147.doc ul, .doc ol {
148 margin: 10px 10px 10px 30px;
149 padding: 0;
150}
151
152.doc img {
153 border: 0;
154}
Shawn Pearceee0b06e2015-02-13 00:13:01 -0800155.doc iframe {
156 min-width: 100px;
157 min-height: 30px;
158}
159iframe.noborder {
160 border: 0;
161}
Shawn Pearcea3e0e282015-02-12 13:57:54 -0800162
163.doc pre {
164 border: 1px solid silver;
165 background: #fafafa;
166 margin: 0 2em 0 2em;
167 padding: 2px;
168}
169.doc code, .doc .code {
170 color: #060;
171 font: 13px/1.54 "courier new",courier,monospace;
172}
173
174.doc dl dt {
175 margin-top: 1em;
176}
177
178.doc table {
179 border-collapse: collapse;
180 border-spacing: 0;
181}
182.doc th, .doc td {
183 border: 1px solid #eee;
184 padding: 4px 12px;
185 vertical-align: top;
186}
187.doc th {
188 background-color: #f5f5f5;
189}
190
Shawn Pearce374f1842015-02-10 15:36:54 -0800191.toc {
192 margin-top: 30px;
193}
194.toc-aux {
195 padding: 2px;
196 background: #f9f9f9;
197 border: 1px solid #f2f2f2;
198 border-radius: 4px;
199}
200.toc h2 {
201 margin: 0 0 5px 0;
202}
203.toc ul {
204 margin: 0 0 0 30px;
205}
206.toc ul li {
207 margin-left: 0px;
208 list-style: disc;
209}
210.toc ul ul li {
211 list-style: circle;
212}
213
Shawn Pearce96f6d5f2015-02-06 22:45:58 -0800214.note, .promo, .aside {
215 border: 1px solid;
216 border-radius: 4px;
217 margin: 10px 0;
218 padding: 10px;
219}
220.note {
221 background: #fffbe4;
222 border-color: #f8f6e6;
223}
224.promo {
225 background: #f6f9ff;
226 border-color: #eff2f9;
227}
228.aside {
229 background: #f9f9f9;
230 border-color: #f2f2f2;
231}
Shawn Pearce6f6f1cd2015-02-07 00:10:24 -0800232.note :first-child,
233.promo :first-child,
234.aside :first-child {
Shawn Pearce96f6d5f2015-02-06 22:45:58 -0800235 margin-top: 0;
236}
237.note p:last-child,
238.promo p:last-child,
239.aside p:last-child {
240 margin-bottom: 0;
241}
Shawn Pearce6f6f1cd2015-02-07 00:10:24 -0800242
243.cols {
244 margin: 0 -1.533%;
245 width: 103.067%;
246}
247.col-3 {
248 float: left;
249 margin: 0 1.488% 20px;
250}
251.col-3 { width: 22.023%; }
252.cols hr {
253 width: 80%;
254}