| /* |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| */ |
| /*============================================================================= |
| Navbar at the top of the page |
| =============================================================================*/ |
| |
| /* Padding at top because of the fixed navbar. */ |
| body { |
| padding-top: 70px; |
| padding-bottom: 50px; |
| } |
| |
| /* Our logo. */ |
| .navbar-logo { |
| padding: 5px 15px 5px 15px; |
| } |
| .navbar-logo img { |
| height: 40px; |
| } |
| |
| /* Links */ |
| .navbar-default .navbar-nav > li > a { |
| color: black; |
| font-weight: bold; |
| } |
| .navbar-default .navbar-nav > li > a:hover, |
| .dropdown-menu > .active > a, |
| .dropdown-menu > .active > a:hover { |
| color: #000000; |
| background: #E7E7E7; |
| } |
| |
| .navbar-collapse .dropdown-header { |
| color: black; |
| } |
| |
| .version { |
| display: block-inline; |
| font-size: 90%; |
| } |
| |
| /*============================================================================= |
| Per page TOC |
| =============================================================================*/ |
| |
| /* Move the side nav a little bit down to align with the main heading */ |
| #markdown-toc { |
| font-size: 90%; |
| padding-top: 16px; |
| padding-bottom: 16px; |
| } |
| |
| /* Custom list styling */ |
| #markdown-toc, #markdown-toc ul { |
| list-style: none; |
| display: block; |
| position: relative; |
| padding-left: 0; |
| margin-bottom: 0; |
| } |
| |
| /* All element */ |
| #markdown-toc li > a { |
| color: #000; |
| display: block; |
| padding: 5px 10px; |
| border: 1px solid #E5E5E5; |
| margin: -1px; |
| } |
| #markdown-toc li > a:hover, |
| #markdown-toc li > a:focus { |
| text-decoration: underline; |
| background-color: #eee; |
| } |
| |
| @media (min-width: 768px) { |
| #markdown-toc > li { |
| width: 400px; |
| } |
| } |
| |
| /* 1st-level elements */ |
| #markdown-toc > li > a { |
| font-weight: bold; |
| } |
| |
| /* 2nd-level element */ |
| #markdown-toc > li li > a { |
| padding-left: 20px; /* A little more indentation*/ |
| } |
| |
| /* >= 3rd-level element */ |
| #markdown-toc > li li li { |
| display: none; /* hide */ |
| } |
| |
| #markdown-toc li:last-child > a { |
| border-bottom: 1px solid #E5E5E5; |
| } |
| |
| /*============================================================================= |
| Sub navigation (left side) |
| =============================================================================*/ |
| |
| /* Custom list styling */ |
| #sub-nav, #sub-nav ul { |
| list-style: none; |
| display: block; |
| position: relative; |
| padding-left: 0; |
| margin-bottom: 0; |
| } |
| |
| /* All elements */ |
| #sub-nav li > a { |
| display: block; |
| padding: 5px 10px; |
| border: 1px solid #e5e5e5; |
| margin: -1px; |
| color: #000000; |
| } |
| |
| #sub-nav li > a:hover, |
| #sub-nav li > a:focus { |
| text-decoration: underline; |
| background-color: #e7e7e7; |
| } |
| |
| /* 1st-level elements */ |
| #sub-nav > li > a { |
| background: #f8f8f8; |
| color: black; |
| font-weight: bold; |
| } |
| |
| /* 2nd-level element */ |
| #sub-nav > li li > a { |
| padding-left: 20px; /* A little more indentation*/ |
| background: #fff; |
| } |
| |
| /* >= 3rd-level element */ |
| #sub-nav > li li li { |
| display: none; /* hide */ |
| } |
| |
| #sub-nav a.active { |
| background: #e7e7e7; |
| } |
| |
| #sub-nav a.active:before { |
| content: 'ยป '; |
| } |
| |
| /*============================================================================= |
| Text |
| =============================================================================*/ |
| |
| h2 { |
| border-bottom: 1px solid #e5e5e5; |
| } |
| |
| h2, h3, h4, h5, h6, h7 { |
| padding-top: 1em; |
| } |
| |
| code { |
| color: #000000; |
| background: #ffffff; |
| padding: 1px; |
| font-family: "Menlo", "Lucida Console", monospace; |
| } |
| |
| pre { |
| background: #f7f7f7; |
| border: none; |
| font-size: 12px; |
| font-family: "Menlo", "Lucida Console", monospace; |
| } |
| |
| img.center { |
| display: block; |
| margin-left: auto; |
| margin-right: auto; |
| } |
| |
| a.top { |
| color: black; |
| text-decoration: none |
| } |
| |
| .text { |
| font-size: 14px; |
| } |
| |
| .beta { |
| font-weight: normal; |
| color: #333; |
| } |
| |
| table { |
| width: 100%; |
| } |
| |
| th { |
| text-align: center; |
| } |
| |
| td { |
| padding: 5px; |
| } |
| |
| img.offset { |
| display: block; |
| margin-left: auto; |
| margin-right: auto; |
| margin-bottom: 30px; |
| margin-top: 30px; |
| padding: 10px; |
| } |
| |
| /*============================================================================= |
| AnchorJS (anchor links when hovering over headers) |
| =============================================================================*/ |
| |
| .anchorjs-link:hover { |
| text-decoration: none; |
| } |
| *:hover > .anchorjs-link { |
| transition: color .25s linear; |
| } |