| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * manual.css | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* 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. | |
| */ | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * mainframe ;-) | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| html { | |
| font-size: 14px; | |
| } | |
| body { | |
| background-color: #fff; | |
| color: #036; | |
| padding: 0 1em 0 0; | |
| margin: 0; | |
| font-family: Arial, Helvetica, sans-serif; | |
| font-weight: normal; | |
| } | |
| pre, code { | |
| font-family: "Courier New", Courier, monospace; | |
| } | |
| strong { | |
| font-weight: bold; | |
| } | |
| q, em, var { | |
| font-style: italic; | |
| } | |
| span.transnote, span.phonetic { | |
| font-weight: normal; | |
| background-color: inherit; | |
| color: #888; | |
| } | |
| /* fixup IE & Opera | |
| * otherwise they forget to inherit | |
| * the computed font-size value | |
| */ | |
| table, code { | |
| font-size: 1em; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Links | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* normal links */ | |
| /* ====================== */ | |
| a:link { | |
| color: #0073c7; | |
| background-color: inherit; | |
| } | |
| a:visited { | |
| color: #5A88B5; | |
| background-color: inherit; | |
| } | |
| a:link:hover, | |
| a:link:active, | |
| a:visited:hover, | |
| a:visited:active { | |
| color: #0073c7; | |
| background-color: #f0f0f0; | |
| } | |
| /* hover on non-white backgrounds */ | |
| tr.odd a:hover, | |
| tr.odd a:active, | |
| tr.header a:hover, | |
| tr.header a:active, | |
| div.note a:hover, | |
| div.note a:active, | |
| div.example a:hover, | |
| div.example a:active, | |
| div.warning a:hover, | |
| div.warning a:active, | |
| div#quickview a:hover, | |
| div#quickview a:active { | |
| background-color: #fff; | |
| color: #0073c7; | |
| } | |
| /* code.module [links] */ | |
| /* ====================== */ | |
| code.module, | |
| code.module a:link { | |
| color: #8b4513; | |
| background-color: inherit; | |
| } | |
| code.module a:visited { | |
| color: #bc8f8f; | |
| background-color: inherit; | |
| } | |
| code.module a:hover, | |
| code.module a:active { | |
| color: #8b4513; | |
| background-color: #f0f0f0; | |
| } | |
| /* hover on non-white backgrounds */ | |
| tr.odd code.module a:hover, | |
| tr.odd code.module a:active, | |
| tr.header code.module a:hover, | |
| tr.header code.module a:active, | |
| div.note code.module a:hover, | |
| div.note code.module a:active, | |
| div.example code.module a:hover, | |
| div.example code.module a:active, | |
| div.warning code.module a:hover, | |
| div.warning code.module a:active, | |
| div#quickview code.module a:hover, | |
| div#quickview code.module a:active { | |
| background-color: #fff; | |
| color: #8b4513; | |
| } | |
| /* code.directive [links] */ | |
| /* ====================== */ | |
| code.directive, | |
| code.directive a:link { | |
| color: #287f00; | |
| background-color: inherit; | |
| } | |
| code.directive a:visited { | |
| color: #35a500; | |
| background-color: inherit; | |
| } | |
| code.directive a:hover, | |
| code.directive a:active { | |
| color: #287f00; | |
| background-color: #f0f0f0; | |
| } | |
| /* hover on non-white backgrounds */ | |
| tr.odd code.directive a:hover, | |
| tr.odd code.directive a:active, | |
| tr.header code.directive a:hover, | |
| tr.header code.directive a:active, | |
| div.note code.directive a:hover, | |
| div.note code.directive a:active, | |
| div.example code.directive a:hover, | |
| div.example code.directive a:active, | |
| div.warning code.directive a:hover, | |
| div.warning code.directive a:active, | |
| div#quickview code.directive a:hover, | |
| div#quickview code.directive a:active { | |
| background-color: #fff; | |
| color: #287f00; | |
| } | |
| /* glossary [links] */ | |
| /* ====================== */ | |
| .glossarylink { | |
| cursor: help; | |
| border-bottom: 1px dashed #0073c7; | |
| text-decoration: none; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Headings | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* h1 */ | |
| /* ====================== */ | |
| h1 { | |
| padding: 0.2em; | |
| margin: 0; | |
| border: 1px solid #405871; | |
| background-color: inherit; | |
| color: #036; | |
| text-decoration: none; | |
| font-size: 22px; | |
| font-weight: bold; | |
| } | |
| /* h2 */ | |
| /* ====================== */ | |
| h2 { | |
| padding: 0.2em 0 0.2em 0.7em; | |
| margin: 0 0 0.5em 0; | |
| text-decoration: none; | |
| font-size: 18px; | |
| font-weight: bold; | |
| } | |
| .section h2 { | |
| background-color: #405871; | |
| color: #fff; | |
| } | |
| .directive-section h2 { | |
| background-color: #557697; | |
| color: #fff; | |
| } | |
| .category h2 { | |
| background-color: #e5ecf3; | |
| color: #405871; | |
| font-size: 14px; | |
| } | |
| /* take care of <a name>s inside */ | |
| h2 a, | |
| h2 a:hover, | |
| h2 a:active { | |
| color: inherit; | |
| background-color: inherit; | |
| text-decoration: none; | |
| } | |
| /* h3, h4 */ | |
| /* ====================== */ | |
| h3 { | |
| background-color: inherit; | |
| color: #036; | |
| text-decoration: none; | |
| font-weight: bold; | |
| font-size: 16px; | |
| margin: 1.3em 0 0.4em 0; | |
| padding: 0; | |
| } | |
| h4 { | |
| background-color: inherit; | |
| color: #036; | |
| text-decoration: none; | |
| font-weight: bold; | |
| font-size: 14px; | |
| margin: 1.3em 0 0.2em 0; | |
| padding: 0; | |
| } | |
| /* margin adjustment */ | |
| h3 + *, h4 + * { | |
| margin-top: 0; | |
| } | |
| /* IE confuses the + * :-( | |
| * so reset some things | |
| */ | |
| ul, .section table, .directive-section table { | |
| margin-bottom: 1em; | |
| } | |
| /* titles for | |
| * examples, notes and warnings | |
| */ | |
| div.example h3, | |
| div.note h3, | |
| div.warning h3 { | |
| margin: 0 0 0.5em 0; | |
| text-align: left; | |
| font-size: 14px; | |
| } | |
| /* sidebar */ | |
| div#quickview h3 { | |
| margin: 1em 0 0.3em 0.5em; | |
| font-size: 15px; | |
| } | |
| div#quickview h3.directives { | |
| margin-top: 0.3em; | |
| } | |
| /* take care of <a name>s inside */ | |
| h3 a, | |
| h3 a:hover, | |
| h3 a:active, | |
| h4 a, | |
| h4 a:hover, | |
| h4 a:active { | |
| color: inherit; | |
| background-color: inherit; | |
| text-decoration: none; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Up & Top helper images | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* arrow left */ | |
| /* ====================== */ | |
| div.up { | |
| width: 30px; | |
| height: 20px; | |
| padding: 0; | |
| margin: -20px 0 1px 0; | |
| text-align: center; | |
| vertical-align: top; | |
| } | |
| div.up img { | |
| vertical-align: top; | |
| width: 11px; | |
| height: 11px; | |
| border-style: none; | |
| } | |
| /* arrow up (to page top) */ | |
| /* ====================== */ | |
| div.top { | |
| width: 30px; | |
| padding: 0 0 0 30px; | |
| margin: 0; | |
| } | |
| div.top img { | |
| margin-top: 0.5em; | |
| vertical-align: bottom; | |
| width: 11px; | |
| height: 11px; | |
| border-style: none; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Tables | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* general */ | |
| /* ====================== */ | |
| table { | |
| border: 1px solid #aaa; | |
| border-collapse: collapse; | |
| padding: 2px; | |
| margin-top: 0.5em; | |
| margin-bottom: 0; | |
| } | |
| td, th { | |
| empty-cells: show; /* show border around empty cells */ | |
| padding: 0.1em 0.2em; | |
| vertical-align: top; | |
| text-align: left; | |
| line-height: 1.3em; | |
| } | |
| th { | |
| font-weight: bold; | |
| } | |
| td.centered { | |
| text-align: center; | |
| } | |
| td.data { | |
| font-family: monospace; | |
| text-align: right; | |
| padding-left: 1em; | |
| } | |
| th.data { | |
| text-align: right; | |
| } | |
| tr.odd { /* for large tables alternating colors */ | |
| background-color: #f2f2f2; | |
| } | |
| tr.header, tr.header th { | |
| background-color: #e2e2e2; | |
| border-top: 1px solid #aaa; | |
| border-bottom: 1px solid #aaa; | |
| } | |
| /* bordered table cells */ | |
| /* ====================== */ | |
| /* turn off borders in tables nested in | |
| * bordered tables per default | |
| */ | |
| table.bordered table td, | |
| table.bordered table th { | |
| border-style: none; | |
| } | |
| table.bordered td, | |
| table.bordered th, | |
| table table.bordered td, | |
| table table.bordered th { | |
| border: 1px solid #aaa; | |
| } | |
| /* index page layout table */ | |
| /* ======================= */ | |
| body#index-page div#page-content { | |
| width: 100%; /* IE fun */ | |
| } | |
| body[id]#index-page div#page-content { | |
| width: auto; /* reasonable browsers. */ | |
| } | |
| table#indextable { | |
| width: 100%; | |
| border-collapse: collapse; | |
| border: 0 none; | |
| } | |
| table#indextable td { | |
| width: 33.3%; | |
| border-left: 1px solid #aaa; | |
| padding-top: 0; | |
| padding-bottom: 0; | |
| } | |
| table#indextable td.col1 { | |
| border-left: 0 none; | |
| padding-left: 0; | |
| } | |
| table#indextable td.col3 { | |
| padding-right: 0; | |
| } | |
| /* mod/dir. overview table and quick reference */ | |
| /* ============================================ */ | |
| table.module th, | |
| table.directive th { | |
| white-space: nowrap; | |
| } | |
| table.qref { | |
| border-collapse: collapse; | |
| width: 100%; | |
| } | |
| table.qref td { | |
| border-style: none solid; | |
| border-color: #aaa; | |
| border-width: 1px; | |
| } | |
| table.qref td.descr { | |
| padding-left: 1em; | |
| font-size: 13px; | |
| } | |
| table#legend { | |
| width: 100%; | |
| border-style: none; | |
| border-width: 0; | |
| vertical-align: bottom; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| table#legend td { | |
| vertical-align: bottom; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| table#legend td.letters { | |
| width: 100%; | |
| padding-bottom: 0.5em; | |
| } | |
| table#legend table { | |
| vertical-align: bottom; | |
| margin: 0 0 0 0.4em; | |
| padding: 0; | |
| height: 7.5em; | |
| } | |
| table#legend table td, | |
| table#legend table th { | |
| vertical-align: middle; | |
| padding: 0.1ex 0.2em; | |
| line-height: 1em; | |
| white-space: nowrap; | |
| } | |
| /* related modules & dir. */ | |
| /* ====================== */ | |
| /* assuming, all links are enclosed by | |
| * <code class="directive"> or | |
| * <code class="module"> | |
| */ | |
| table.related { | |
| border-collapse: separate; | |
| } | |
| table.related th { | |
| padding: 0.2ex 0.3em; | |
| background-color: #e5ecf3; | |
| color: #405871; | |
| vertical-align: middle; | |
| } | |
| table.related td { | |
| padding: 0.2ex 0.3em; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Lists | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* list default values */ | |
| /* ====================== */ | |
| ul { | |
| list-style-type: disc; | |
| } | |
| ul ul { | |
| list-style-type: square; | |
| } | |
| ul ul ul { | |
| list-style-type: circle; | |
| } | |
| li, dt, dd { | |
| line-height: 1.3em; | |
| } | |
| dt { | |
| margin-top: 0.5em; | |
| font-weight: bold; | |
| } | |
| ol li { | |
| margin-top: 0.5em; | |
| } | |
| ol.up-A { | |
| list-style-type: upper-alpha; | |
| } | |
| ol.lo-A { | |
| list-style-type: lower-alpha; | |
| } | |
| dd.separate { | |
| margin-bottom: 2em; | |
| } | |
| li.separate { | |
| margin-bottom: 1em; | |
| } | |
| /* table of contents */ | |
| /* ====================== */ | |
| #toc, | |
| #topics { | |
| margin: 0 0 1em 0; | |
| padding: 0; | |
| } | |
| #toc li, | |
| #topics li { | |
| list-style-type: none; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* see also */ | |
| /* ====================== */ | |
| .seealso { | |
| margin: 0 0 1em 0; | |
| padding: 0; | |
| } | |
| .seealso li { | |
| list-style-type: none; | |
| margin: 0; | |
| padding: 0 0 0 34px; | |
| } | |
| /* related modules & dir. */ | |
| /* ====================== */ | |
| table.related td ul, | |
| table.related td li { | |
| list-style-type: none; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* list of all directives */ | |
| /* ====================== */ | |
| div#directive-list ul { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* override index */ | |
| /* ============== */ | |
| div#override-list td.module { | |
| width: 20%; | |
| } | |
| /* indextable */ | |
| /* ========== */ | |
| table#indextable td ul { | |
| list-style-type: none; | |
| margin: 0 0 1em 0.5em; | |
| padding: 0 0 0 0; | |
| } | |
| table#indextable td ul li { | |
| margin-top: 0.3em; | |
| } | |
| /* sidebar */ | |
| /* ====================== */ | |
| div#quickview li { | |
| font-size: 13px; | |
| } | |
| div#quickview ul { | |
| margin: 0 0 15px 0; | |
| padding: 0; | |
| } | |
| div#quickview ul#toc { | |
| margin: 0 0 0 0.5em; | |
| padding: 0; | |
| } | |
| #module-index div#quickview ul#toc, | |
| #manual-page div#quickview ul#toc { | |
| margin-left: 0; | |
| } | |
| div#quickview ul#toc li { | |
| margin: 0; | |
| padding: 0; | |
| list-style-type: none; | |
| } | |
| div#quickview li img { | |
| display: none; | |
| } | |
| #module-index div#quickview ul#toc, | |
| #manual-page div#quickview ul#toc, | |
| div#quickview #topics, | |
| div#quickview .seealso { | |
| padding-left: 15px; | |
| } | |
| #module-index div#quickview ul#toc li, | |
| #manual-page div#quickview ul#toc li, | |
| div#quickview #topics li, | |
| div#quickview .seealso li { | |
| margin: 0.4em 0 2px 0; | |
| padding: 0; | |
| list-style-type: square; | |
| list-style-position: outside; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * main page sections | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* page header */ | |
| /* ====================== */ | |
| div#page-header { | |
| margin-left: 30px; | |
| } | |
| div#page-header img { | |
| padding: 0; | |
| display: block; | |
| margin: -70px 0 1px 2em; | |
| width: 248px; | |
| height: 70px; | |
| } | |
| div#page-header p.apache { | |
| background-color: #405871; | |
| color: #fff; | |
| padding: 0 0 0 248px; | |
| margin: 0; | |
| text-align: center; | |
| vertical-align: middle; | |
| font-size: 16px; | |
| font-weight: bold; | |
| line-height: 29px; | |
| } | |
| div#page-header p.menu { | |
| text-align: right; | |
| font-size: 13px; | |
| margin: 30px 0 0.5em 0; | |
| padding: 0; | |
| } | |
| /* breadcrumb navigation */ | |
| div#path { | |
| margin: 0.2em 0 1.2em 30px; | |
| padding: 0; | |
| font-size: 13px; | |
| } | |
| /* content sections */ | |
| /* ====================== */ | |
| div#preamble { | |
| padding-bottom: 1em; | |
| margin-left: 30px; | |
| } | |
| div.section, | |
| div.directive-section { | |
| margin: -1.2em 0 0 60px; | |
| padding: 0; | |
| } | |
| .section p, | |
| .directive-section p { | |
| margin: 0 0 1em 0; | |
| padding: 0; | |
| } | |
| /* look for this on directive | |
| * list pages | |
| */ | |
| div#directive-list { | |
| margin-left: 30px; | |
| padding: 0 0 1em 1em; | |
| } | |
| div#directive-ref { | |
| margin: -1em 0 0 0; | |
| padding: 0 0 1em 30px; | |
| width: 100%; /* IE is BAD (broken as designed) */ | |
| } | |
| div[id]#directive-ref { /* a big sorry to ICab, Amaya (and old Konquerors?) */ | |
| width: auto; /* other browsers are fine ;-) */ | |
| } | |
| /* sidebar position: right */ | |
| div#quickview { | |
| position: absolute; | |
| top: 5.5em; | |
| right: 1em; | |
| margin-left: 0; | |
| margin-top: 40px; | |
| padding: 4px; | |
| width: 13.5em; | |
| background-color: #f0f0f0; | |
| color: inherit; | |
| } | |
| /* -> move content left */ | |
| div#page-content { | |
| padding-top: 0; | |
| margin-right: 13em; | |
| padding-right: 30px; | |
| } | |
| /* unsqueeze on some pages... */ | |
| body.no-sidebar div#page-content, | |
| body#index-page div#page-content { | |
| margin-right: 0; | |
| padding-right: 0; | |
| } | |
| body#index-page div#page-content { | |
| margin-left: 30px; | |
| padding-bottom: 1em; | |
| } | |
| /* in general */ | |
| p { | |
| line-height: 1.3em; | |
| } | |
| /* translations */ | |
| /* ====================== */ | |
| .toplang { | |
| padding: 0; | |
| margin: 0.2em 0.2em 1em 0; | |
| } | |
| .bottomlang { | |
| padding: 0; | |
| margin: 0 0.2em 0.2em 0; | |
| } | |
| .toplang p, | |
| .bottomlang p { | |
| font-size: 13px; | |
| text-align: right; | |
| background-color: inherit; | |
| color: #ccc; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .toplang p span, | |
| .bottomlang p span { | |
| background-color: inherit; | |
| color: #036; | |
| } | |
| .toplang p a:link, | |
| .toplang p a:visited, | |
| .bottomlang p a:link, | |
| .bottomlang p a:visited { | |
| text-decoration: none; | |
| font-weight: bold; | |
| } | |
| .toplang p a:hover, | |
| .toplang p a:active, | |
| .bottomlang p a:hover, | |
| .bottomlang p a:active { | |
| font-weight: bold; | |
| } | |
| /* page footer */ | |
| /* ====================== */ | |
| div#footer { | |
| margin-left: 30px; | |
| font-size: 13px; | |
| border-top: 1px solid #405871; | |
| padding-top: 0.2em; | |
| } | |
| div#footer p.apache { | |
| float: left; | |
| text-align: left; | |
| padding: 0 0 1em 0; | |
| margin-top: 0; | |
| } | |
| div#footer p.menu { | |
| float: right; | |
| text-align: right; | |
| margin-top: 0; | |
| padding: 0 0 1em 0; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * subsections (examples, notes, warnings) | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* examples */ | |
| /* ====================== */ | |
| div.example { | |
| background-color: #e5ecf3; | |
| color: #000; | |
| padding: 0.5em; | |
| margin: 1em 2em 1em 1em; | |
| } | |
| /* example inside a note: | |
| * blue in gray doesn't look good | |
| * so simply draw a border around | |
| * and keep it gray | |
| */ | |
| div.note div.example, | |
| div.warning div.example { | |
| border: 1px solid #aaa; | |
| background-color: transparent; | |
| color: inherit; | |
| margin-right: 1em; | |
| } | |
| /* example inside table */ | |
| table div.example { | |
| margin-right: 1em; | |
| } | |
| /* the following [block] elements | |
| * may appear inside example... | |
| */ | |
| div.example p, | |
| div.example pre, | |
| div.example table { | |
| padding: 0; | |
| margin: 0; | |
| } | |
| div.example p { | |
| line-height: 1em; | |
| } | |
| div.example pre, | |
| div.example p > code { | |
| font-size: 13px; | |
| } | |
| /* notes & warnings */ | |
| /* ====================== */ | |
| div.note, | |
| div.warning { | |
| background-color: #eee; | |
| color: #036; | |
| padding: 0.5em; | |
| margin: 1em 2em 1em 1em; | |
| } | |
| div.warning { | |
| border: 1px solid #f00; | |
| } | |
| div.note p, | |
| div.warning p { | |
| margin: 0.5em 0 0 0; | |
| padding: 0; | |
| } | |
| div.note pre, | |
| div.warning pre { | |
| font-size: 13px; | |
| } | |
| /* inside table */ | |
| table div.note, | |
| table div.warning { | |
| margin-right: 1em; | |
| } | |
| div.outofdate, | |
| div.retired{ | |
| background-color: #ffffc0; | |
| color: #036; | |
| padding: 0.5em; | |
| margin: 1em 2em 1em 1em; | |
| } | |
| div.retired{ | |
| border: solid 1px #ff0000; | |
| margin-left: 3em; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * quotations, indented paragraphs, forms and figures | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| p.letters { | |
| margin: 1em 0 0 0; | |
| } | |
| p.centered { | |
| text-align: center; | |
| } | |
| .letters { | |
| text-align: center; | |
| background-color: inherit; | |
| color: #ccc; | |
| } | |
| .letters a:link, | |
| .letters a:visited { | |
| text-decoration: none; | |
| font-weight: bold; | |
| } | |
| .letters a:hover, | |
| .letters a:active { | |
| font-weight: bold; | |
| } | |
| blockquote p { | |
| font-style: italic; | |
| margin: 0; | |
| } | |
| blockquote p.cite { | |
| font-style: normal; | |
| margin-top: 0; | |
| margin-left: 2em; | |
| } | |
| blockquote p.cite cite { | |
| font-style: normal; | |
| } | |
| p.indent { | |
| margin-left: 2em; | |
| margin-top: 1em; | |
| } | |
| span.indent { | |
| padding-left: 1.5em; | |
| display: block; | |
| } | |
| #index-page form { | |
| text-align: center; | |
| } | |
| #index-page form p { | |
| line-height: 1.1em; | |
| } | |
| #index-page form input { | |
| font-size: 1em; | |
| } | |
| p.figure { | |
| margin-left: 2em; | |
| font-style: italic; | |
| } | |
| p.figure img { | |
| border: 1px solid #aaa; | |
| } | |
| p.figure dfn { | |
| font-weight: bold; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Permalink are used in <h2> tags only. | |
| * They are hidden by default, and become visible only when the mouse | |
| * is over the corresponding element. | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| .permalink { | |
| visibility: hidden; | |
| } | |
| .permalink:link { | |
| color: white; | |
| } | |
| .permalink:visited { | |
| color: white; | |
| } | |
| h2:hover > .permalink { | |
| visibility: visible; | |
| } | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * -> The End <- | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * Responsive / Mobile | |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* Globe toggle - hidden on desktop */ | |
| .lang-toggle { | |
| display: none; | |
| } | |
| /* Quickview toggle - hidden on desktop */ | |
| .qv-toggle { | |
| display: none; | |
| } | |
| /* Tablet breakpoint */ | |
| @media (max-width: 900px) { | |
| div.section, | |
| div.directive-section { | |
| margin-left: 30px; | |
| } | |
| } | |
| /* Mobile breakpoint */ | |
| @media (max-width: 768px) { | |
| body { | |
| padding: 0 0.5em; | |
| } | |
| div#page-header { | |
| margin-left: 0; | |
| background-color: #405871; | |
| padding: 5px 0 8px; | |
| } | |
| div#page-header p.apache { | |
| padding: 0 10px; | |
| text-align: center; | |
| } | |
| div#page-header p.menu { | |
| display: none; | |
| } | |
| /* Language toggle: hidden by default, shown on globe click */ | |
| .toplang { | |
| display: none; | |
| margin: 0.5em 0; | |
| padding: 0 10px; | |
| } | |
| .toplang.open { | |
| display: block; | |
| } | |
| .toplang p { | |
| font-size: 11px; | |
| text-align: center; | |
| } | |
| .lang-toggle { | |
| display: inline-block; | |
| background: #557697; | |
| color: #fff; | |
| border: none; | |
| font-size: 12px; | |
| cursor: pointer; | |
| padding: 4px 10px; | |
| border-radius: 3px; | |
| } | |
| div#page-header img { | |
| width: 100%; | |
| max-width: 248px; | |
| height: auto; | |
| margin: 0 auto; | |
| display: block; | |
| } | |
| div#preamble { | |
| margin-left: 0; | |
| } | |
| div.section, | |
| div.directive-section { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| div#path { | |
| margin-left: 0; | |
| } | |
| div#page-content { | |
| margin-left: 0; | |
| margin-right: 0; | |
| padding-right: 0; | |
| } | |
| div#footer { | |
| margin-left: 0; | |
| } | |
| div.note, | |
| div.example, | |
| div.warning { | |
| margin-left: 0; | |
| margin-right: 0; | |
| } | |
| #quickview { | |
| position: absolute !important; | |
| right: 0; | |
| width: 75%; | |
| max-width: 300px; | |
| max-height: 80vh; | |
| overflow-y: auto; | |
| margin: 0; | |
| padding: 12px; | |
| display: none; | |
| background-color: #f0f0f0; | |
| border-radius: 4px 0 0 4px; | |
| box-shadow: -2px 2px 8px rgba(0,0,0,0.3); | |
| z-index: 1000; | |
| } | |
| #quickview.open { | |
| display: block; | |
| } | |
| .qv-toggle { | |
| display: block; | |
| position: fixed; | |
| top: 10px; | |
| right: 10px; | |
| z-index: 1001; | |
| background: #557697; | |
| color: #fff; | |
| border: none; | |
| font-size: 14px; | |
| padding: 6px 10px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.2); | |
| } | |
| .qv-toggle:hover { | |
| background: #405871; | |
| } | |
| div#directive-ref { | |
| padding-left: 0; | |
| } | |
| div#directive-list { | |
| margin-left: 0; | |
| } | |
| /* Prevent tables from overflowing */ | |
| table { | |
| display: block; | |
| overflow-x: auto; | |
| max-width: 100%; | |
| } | |
| /* Front page: stack the 3-column layout */ | |
| table#indextable, | |
| table#indextable td { | |
| display: block; | |
| width: 100%; | |
| border-left: none; | |
| padding: 0; | |
| } | |
| table#indextable td { | |
| border-top: 1px solid #aaa; | |
| padding: 0.5em 0; | |
| } | |
| /* Prevent code blocks from overflowing */ | |
| pre { | |
| overflow-x: auto; | |
| max-width: 100%; | |
| } | |
| /* Bug 70098: hide back-to-top arrows on narrow viewports */ | |
| div.top { | |
| display: none; | |
| } | |
| } | |
| /* ========================================================================== | |
| * Modern restyle of the manual. | |
| * | |
| * These rules are layered on top of the rules above, so they use | |
| * !important to win. Dark mode follows the reader's OS setting through | |
| * prefers-color-scheme and needs no JavaScript. | |
| * ========================================================================== */ | |
| /* ---- modern (light) ---- */ | |
| html { font-size: 16px !important; } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important; | |
| color: #2b3a45 !important; background: #ffffff !important; line-height: 1.65 !important; | |
| } | |
| /* header */ | |
| #page-header { | |
| background: #1f2d3d !important; margin: 0 !important; padding: 16px 28px !important; | |
| display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px 18px !important; | |
| } | |
| #page-header img { order: -1 !important; display: block !important; width: 168px !important; height: auto !important; margin: 0 !important; padding: 0 !important; } | |
| #page-header p.apache { | |
| background: transparent !important; color: #dfe8f1 !important; padding: 0 !important; margin: 0 !important; | |
| text-align: left !important; font-size: .95rem !important; font-weight: 600 !important; line-height: 1.3 !important; | |
| } | |
| #page-header p.menu { order: 9 !important; flex-basis: 100% !important; text-align: left !important; margin: 4px 0 0 !important; padding: 0 !important; font-size: .82rem !important; } | |
| #page-header p.menu a { color: #9db4cc !important; text-decoration: none !important; } | |
| #page-header p.menu a:hover { color: #ffffff !important; text-decoration: underline !important; } | |
| /* breadcrumb */ | |
| #path { margin: 16px 28px 26px !important; font-size: .85rem !important; color: #6a737d !important; } | |
| #path a { color: #57606a !important; } | |
| /* content */ | |
| #page-content { padding: 0 28px 64px 28px !important; max-width: none; } | |
| @media (min-width: 901px) { #page-content { margin-right: 15.5em !important; } } | |
| @media (max-width: 900px) { | |
| #page-header { padding: 12px 16px !important; } | |
| #page-header img { width: 140px !important; } | |
| #page-content { padding: 0 16px 48px 16px !important; } | |
| #path { margin: 14px 16px 20px !important; } | |
| #footer { margin-left: 16px !important; } | |
| h1 { font-size: 1.6rem !important; } | |
| } | |
| #preamble p { color: #57606a !important; font-size: 1.06rem !important; } | |
| h1 { border: none !important; color: #0b1f33 !important; font-size: 2rem !important; line-height: 1.25 !important; margin: 8px 0 18px !important; font-weight: 700 !important; } | |
| h2 { background: none !important; color: #0b1f33 !important; font-size: 1.32rem !important; font-weight: 650 !important; | |
| border-bottom: 1px solid #e6e9ec !important; padding: 0 0 8px !important; margin: 42px 0 14px !important; } | |
| .section h2, .directive-section h2, .category h2 { background: none !important; color: #0b1f33 !important; } | |
| h3 { color: #12304a !important; font-size: 1.12rem !important; margin: 28px 0 8px !important; background: none !important; } | |
| h4 { color: #12304a !important; background: none !important; } | |
| p, li, dd, td { color: #2b3a45 !important; } | |
| a:link, a:visited { color: #0a66c2 !important; text-decoration: none !important; } | |
| a:hover { text-decoration: underline !important; } | |
| /* Restore the underline cue for links in page content (WCAG 1.4.1: not colour alone) */ | |
| #page-content a:link, #page-content a:visited { | |
| text-decoration-line: underline !important; | |
| text-underline-offset: 2px !important; | |
| text-decoration-thickness: 1px !important; | |
| text-decoration-color: color-mix(in srgb, currentColor 50%, transparent) !important; | |
| } | |
| #page-content a:hover { text-decoration-color: currentColor !important; } | |
| /* ...but not where position already signals a link */ | |
| #page-content .toplang p a, | |
| #page-content a.permalink, | |
| #page-content a.permalink:visited { text-decoration: none !important; } | |
| /* code */ | |
| code, pre, tt, kbd, samp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace !important; } | |
| code { background: #f2f4f6 !important; padding: 1px 5px !important; border-radius: 5px !important; font-size: .9em !important; } | |
| pre.prettyprint, pre { background: #f6f8fa !important; border: 1px solid #e3e8ee !important; | |
| border-left: 4px solid #1f2d3d !important; border-radius: 0 8px 8px 0 !important; | |
| padding: 14px 18px !important; margin: 1.25em 0 !important; font-size: .9rem !important; | |
| line-height: 1.5 !important; overflow: auto !important; tab-size: 4 !important; } | |
| pre code { background: transparent !important; padding: 0 !important; } | |
| code.module, code.module a:link, code.module a:visited { color: #b45309 !important; } | |
| code.directive, code.directive a:link, code.directive a:visited { color: #0f7b3f !important; } | |
| /* notes / examples */ | |
| div.note { background: #eef6ff !important; border: none !important; border-left: 4px solid #0a66c2 !important; | |
| border-radius: 0 8px 8px 0 !important; padding: 12px 16px !important; color: #243b53 !important; margin: 18px 0 !important; } | |
| div.warning { background: #fff4f4 !important; border: none !important; border-left: 4px solid #d13438 !important; | |
| border-radius: 0 8px 8px 0 !important; padding: 12px 16px !important; color: #4a1f1f !important; } | |
| div.example { background: #f6f8fa !important; border: 1px solid #e3e8ee !important; border-radius: 8px !important; | |
| padding: 2px 14px !important; color: #24292f !important; } | |
| /* an example that exists only to hold a code block: let the <pre> be the panel */ | |
| div.example:has(> pre) { background: transparent !important; border: 0 !important; border-radius: 0 !important; | |
| padding: 0 !important; margin: 0 !important; } | |
| div.outofdate, div.retired { background: #fff8e1 !important; color: #5c4813 !important; border-radius: 6px !important; padding: 8px 12px !important; } | |
| /* tables */ | |
| table { border: 1px solid #e3e8ee !important; border-collapse: collapse !important; } | |
| th, td { border-color: #e3e8ee !important; padding: 8px 12px !important; } | |
| tr.header th, tr.header { background: #f2f5f8 !important; color: #12304a !important; } | |
| tr.odd { background: #fafbfc !important; } | |
| table.qref td { border-color: #e3e8ee !important; } | |
| /* sidebar */ | |
| #quickview { background: #f8fafc !important; border: 1px solid #e3e8ee !important; border-radius: 10px !important; | |
| box-shadow: 0 1px 3px rgba(16,24,40,.06) !important; padding: 12px !important; } | |
| #quickview h3 { color: #12304a !important; font-size: .95rem !important; } | |
| #quickview li { font-size: .85rem !important; } | |
| #quickview a { color: #486581 !important; text-decoration: none !important; } | |
| #quickview a:hover { color: #0a66c2 !important; } | |
| /* footer + misc */ | |
| #footer { border-top: 1px solid #e6e9ec !important; color: #6a737d !important; font-size: .82rem !important; margin-left: 28px !important; } | |
| #footer a { color: #57606a !important; } | |
| .toplang { background: #f2f5f8 !important; border-radius: 6px !important; padding: 6px 10px !important; font-size: .85rem !important; } | |
| .toplang p span { color: #57606a !important; } | |
| div.up, div.top { display: none !important; } | |
| .lang-toggle, .qv-toggle { background: #2f4a63 !important; color: #fff !important; border: none !important; border-radius: 999px !important; } | |
| @media screen and (prefers-color-scheme: dark) { | |
| /* ---- modern (dark) ---- */ | |
| html { color-scheme: dark; } | |
| body { background: #0f1419 !important; color: #d7dde5 !important; } | |
| #page-header { background: #0b1117 !important; } | |
| h1, h2, h3, h4, .section h2, | |
| .directive-section h2, .category h2 { color: #e6edf3 !important; } | |
| h2 { border-bottom-color: #2a323c !important; } | |
| p, li, dd, td { color: #c3ccd6 !important; } | |
| #preamble p { color: #9aa7b4 !important; } | |
| a:link, a:visited { color: #6cb6ff !important; } | |
| #page-content a:link, #page-content a:visited { | |
| text-decoration-color: color-mix(in srgb, currentColor 55%, transparent) !important; | |
| } | |
| #page-content a:hover { text-decoration-color: currentColor !important; } | |
| code { background: #1c232b !important; color: #e6edf3 !important; } | |
| pre, pre.prettyprint { background: #161b22 !important; border-color: #2a323c !important; | |
| border-left-color: #4c7db8 !important; } | |
| .prettyprint .pln { color: #c9d1d9 !important; } | |
| .prettyprint .str, .prettyprint .atv { color: #a5d6a7 !important; } | |
| .prettyprint .kwd, .prettyprint .fun, .prettyprint .atn { color: #82aaff !important; } | |
| .prettyprint .com { color: #6b7681 !important; } | |
| .prettyprint .typ, .prettyprint .dec, .prettyprint .var { color: #f78c6c !important; } | |
| .prettyprint .lit, .prettyprint .tag { color: #7fdbca !important; } | |
| table, th, td, table.qref td { border-color: #2a323c !important; } | |
| tr.header th, tr.header { background: #182029 !important; color: #e6edf3 !important; } | |
| tr.odd { background: #141a20 !important; } | |
| div.note { background: #10202f !important; color: #c9d6e4 !important; border-left-color: #3d8bfd !important; } | |
| div.warning { background: #2a1416 !important; color: #f0c9c9 !important; border-left-color: #e05555 !important; } | |
| div.example { background: #161b22 !important; border-color: #2a323c !important; color: #d7dde5 !important; } | |
| div.outofdate, div.retired { background: #2e2712 !important; color: #e8d9a0 !important; } | |
| #quickview { background: #12181f !important; border-color: #2a323c !important; } | |
| #quickview h3 { color: #cbd6e2 !important; } | |
| #quickview a { color: #9db4cc !important; } | |
| #path, #footer { color: #8b98a5 !important; } | |
| #path a, #footer a { color: #9db4cc !important; } | |
| .toplang { background: #161d25 !important; } | |
| } |