]> git.agnieray.net Git - galette.git/blob - galette/docs/source/doxygen-awesome-sidebar-only.css
Fix apidocs on readthedocs
[galette.git] / galette / docs / source / doxygen-awesome-sidebar-only.css
1 /**
2
3 Doxygen Awesome
4 https://github.com/jothepro/doxygen-awesome-css
5
6 MIT License
7
8 Copyright (c) 2021 jothepro
9
10 Permission is hereby granted, free of charge, to any person obtaining a copy
11 of this software and associated documentation files (the "Software"), to deal
12 in the Software without restriction, including without limitation the rights
13 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14 copies of the Software, and to permit persons to whom the Software is
15 furnished to do so, subject to the following conditions:
16
17 The above copyright notice and this permission notice shall be included in all
18 copies or substantial portions of the Software.
19
20 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26 SOFTWARE.
27
28 */
29
30 html {
31 /* side nav width. MUST be = `TREEVIEW_WIDTH`.
32 * Make sure it is wide enought to contain the page title (logo + title + version)
33 */
34 --side-nav-fixed-width: 340px;
35 --menu-display: none;
36
37 --top-height: 120px;
38 }
39
40
41 @media screen and (min-width: 768px) {
42 html {
43 --searchbar-background: var(--page-background-color);
44 }
45
46 #side-nav {
47 min-width: var(--side-nav-fixed-width);
48 max-width: var(--side-nav-fixed-width);
49 top: var(--top-height);
50 }
51
52 #nav-tree, #side-nav {
53 height: calc(100vh - var(--top-height)) !important;
54 }
55
56 #nav-tree {
57 padding: 0;
58 }
59
60 #top {
61 display: block;
62 border-bottom: none;
63 height: var(--top-height);
64 margin-bottom: calc(0px - var(--top-height));
65 max-width: var(--side-nav-fixed-width);
66 background: var(--side-nav-background);
67 }
68 #main-nav {
69 float: left;
70 padding-right: 0;
71 }
72
73 .ui-resizable-handle {
74 cursor: default;
75 width: 1px !important;
76 box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
77 }
78
79 #nav-path {
80 position: fixed;
81 right: 0;
82 left: var(--side-nav-fixed-width);
83 bottom: 0;
84 width: auto;
85 }
86
87 #doc-content {
88 height: calc(100vh - 31px) !important;
89 padding-bottom: calc(3 * var(--spacing-large));
90 padding-top: calc(var(--top-height) - 80px);
91 box-sizing: border-box;
92 margin-left: var(--side-nav-fixed-width) !important;
93 }
94
95 #MSearchBox {
96 width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)));
97 }
98
99 #MSearchField {
100 width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px);
101 }
102
103 #MSearchResultsWindow {
104 left: var(--spacing-medium) !important;
105 right: auto;
106 }
107 }