blob: 36e10dddbba0b3e09900eb728cfc2915bc3e869b [file] [log] [blame]
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
html.doc-page, .doc {
font-family: arial,sans-serif;
}
.doc-page body {
margin: 0;
}
.banner {
min-height: 44px;
margin: 0;
padding: 14px 15px 13px;
border-bottom: 1px solid #eee;
}
.banner h1, .banner h2 {
float: left;
font-size: 32px;
font-weight: 300;
line-height: 1.375;
margin: 0;
}
.banner img {
margin: -1px 10px -4px 0px;
vertical-align: middle;
}
.banner a, .banner a:hover {
text-decoration: none;
}
.banner, .banner a:link, .banner a:visited {
color: #777;
}
.banner h2:before {
border-right: 1px solid #eee;
content: "";
float: left;
height: 44px;
margin: 0 12px 0 14px;
}
.nav, .footer-line {
color: #333;
padding: 0 15px;
background: #eee;
}
.nav ul {
list-style: none;
margin: 0;
padding: 6px 0;
}
.nav li {
float: left;
font-size: 14px;
line-height: 1.43;
margin: 0 20px 0 0;
padding: 6px 0;
}
.nav li a, .footer-line a {
color: #7a7af9;
}
.nav li a:hover {
color: #0000f9;
}
.banner:after, .nav ul:after, .cols:after {
clear: both;
content: "";
display: block;
}
.nav-aux, .doc {
max-width: 978px;
}
.nav-aux, .doc-page .doc {
margin: auto;
}
.footer-break {
clear: both;
margin: 120px 0 0 0;
}
.footer-line {
font-size: 13px;
line-height: 30px;
height: 30px;
}
.footer-line ul {
list-style: none;
margin: 0;
padding: 0;
}
.footer-line li {
display: inline;
}
.footer-line li+li:before {
content: "ยท";
padding: 0 5px;
}
.footer-line .nav-aux {
position: relative;
}
.gitiles-att {
color: #A0ADCC;
position: absolute;
top: 0;
right: 0;
}
.gitiles-att a {
font-style: italic;
}
/* Markdown rendered in /+doc/ or tree view page . */
.doc {
color: #444;
font-size: 13px;
}
.doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 {
font-family: "open sans",arial,sans-serif;
}
.doc h1, .doc h2, .doc h3, .doc h4 { font-weight: bold; }
.doc h5, .doc h6 { font-weight: normal; }
.doc h1 { font-size: 20px; }
.doc h2 { font-size: 16px; }
.doc h3 { font-size: 14px; }
.doc h4, .doc h5, .doc h6 { font-size: 13px; }
.doc a { text-decoration: none; }
.doc a:link { color: #245dc1; }
.doc a:visited { color: #7759ae; }
.doc a:hover { text-decoration: underline; }
.doc ul, .doc ol {
margin: 10px 10px 10px 30px;
padding: 0;
}
.doc img {
border: 0;
}
.doc pre {
border: 1px solid silver;
background: #fafafa;
margin: 0 2em 0 2em;
padding: 2px;
}
.doc code, .doc .code {
color: #060;
font: 13px/1.54 "courier new",courier,monospace;
}
.doc dl dt {
margin-top: 1em;
}
.doc table {
border-collapse: collapse;
border-spacing: 0;
}
.doc th, .doc td {
border: 1px solid #eee;
padding: 4px 12px;
vertical-align: top;
}
.doc th {
background-color: #f5f5f5;
}
.toc {
margin-top: 30px;
}
.toc-aux {
padding: 2px;
background: #f9f9f9;
border: 1px solid #f2f2f2;
border-radius: 4px;
}
.toc h2 {
margin: 0 0 5px 0;
}
.toc ul {
margin: 0 0 0 30px;
}
.toc ul li {
margin-left: 0px;
list-style: disc;
}
.toc ul ul li {
list-style: circle;
}
.note, .promo, .aside {
border: 1px solid;
border-radius: 4px;
margin: 10px 0;
padding: 10px;
}
.note {
background: #fffbe4;
border-color: #f8f6e6;
}
.promo {
background: #f6f9ff;
border-color: #eff2f9;
}
.aside {
background: #f9f9f9;
border-color: #f2f2f2;
}
.note :first-child,
.promo :first-child,
.aside :first-child {
margin-top: 0;
}
.note p:last-child,
.promo p:last-child,
.aside p:last-child {
margin-bottom: 0;
}
.cols {
margin: 0 -1.533%;
width: 103.067%;
}
.col-3 {
float: left;
margin: 0 1.488% 20px;
}
.col-3 { width: 22.023%; }
.cols hr {
width: 80%;
}