Debian Codegraph @

www/sqlite.css

raw
1 /* Style sheet for the SQLite Website and Documentation */
2 * {box-sizing:border-box;}
3 @media screen and (max-width: 800px){
4 body {margin: 2px;}
5 }
6 body {
7 margin-top: 0;
8 font-family: Verdana, sans-serif;
9 }
10
11 /* Horizonal rules */
12 .xhr {
13 color: #044a64;
14 height: 2px;
15 }
16
17 /* Hyperlinks that look like buttons */
18 .button {
19 background-color: #ddd;
20 border: 2px solid #aaa;
21 text-decoration: none;
22 border-radius: 4px;
23 padding: 0 1ex 0 1ex;
24 white-space: nowrap;
25 font-size: 90%;
26 line-height: 150%;
27 color: black;
28 }
29 .button:visited {
30 color: black;
31 }
32
33 /* Sidebars on the right-hand side of the screen */
34 .rightsidebar {
35 padding-right: 1ex;
36 margin: 1ex;
37 float: right;
38 }
39
40 /* Border box */
41 .border2px {
42 border: 2px solid #044a64;
43 }
44
45 .hdrfont {
46 font-weight:bold;
47 font-size:115%;
48 }
49 .nounderline a { text-decoration: none }
50
51 a { color: #044a64 }
52 a:visited { color: #734559 }
53
54 .logo { float: left; margin:1px; }
55 .tagline {
56 float:right;
57 text-align:right;
58 font-style:italic;
59 width:300px;
60 margin:12px;
61 margin-top:58px;
62 }
63
64 /* Style common to both the main and submenu */
65 .menu::before {
66 content: "";
67 clear: both; /* Clear the Logo and TagLine */
68 display: block;
69 }
70 .menu ul {
71 margin: 0;
72 list-style-type: none;
73 padding: 0;
74 overflow: hidden;
75 }
76 .menu ul li {
77 color: white;
78 }
79 .menu ul li a {
80 display: block;
81 color: white;
82 text-align: center;
83 padding: 0.7ex 1.4ex;
84 text-decoration: none;
85 }
86
87 /* Styling specific to the main menu */
88 .mainmenu ul {
89 background-color: #044a64;
90 border-radius: 8px;
91 }
92 .mainmenu ul li {
93 float: left;
94 }
95 .mainmenu ul li.search {
96 float: right;
97 }
98
99 /* Styling specific to the submenu */
100 .submenu {
101 display: none;
102 }
103 .submenu ul {
104 color: white;
105 }
106 .submenu ul li {
107 float: none;
108 border-radius: 8px;
109 background-color: #0482c4;
110 border-top: 2px solid white;
111 }
112
113 /* Styling for the search menu */
114 .searchmenu {
115 width: 100%;
116 text-align: right;
117 display: none;
118 float: none;
119 padding: 1ex;
120 background-color: #0482c4;
121 border-radius: 8px;
122 }
123
124 /* Add the "mobileonly" class to any elements that should be visible
125 ** on narrow-screen mobile devices only */
126 @media screen and (min-width: 600px){
127 /* Settings for wide desktop screens */
128 .mobileonly {display: none;}
129 }
130 /* Add the "desktoponly" class to any elements that should be visible
131 ** on desktops with at least 600 pixels of horizontal space. */
132 @media screen and (max-width: 600px){
133 /* Settings for narrow mobile screens */
134 .desktoponly {display: none;}
135 }
136 /* Add the "wideonly" class to any elements that should be visible
137 ** on wide-screen desktops with */
138 @media screen and (max-width: 800px){
139 /* Settings for screens that are less than 800px wide */
140 .wideonly {display: none;}
141 }
142
143 .content { margin: 5%; }
144 .content dt { font-weight:bold; }
145 .content dd { margin-bottom: 25px; margin-left:20%; }
146 .content ul { padding:0px; padding-left: 15px; margin:0px; }
147
148 /* Things for "fancyformat" documents start here. */
149 .fancy img+p {font-style:italic}
150 .fancy .codeblock {
151 display: table;
152 border: 1px solid #80a796;
153 padding: 1ex;
154 background-color: #eee;
155 }
156 .fancy .codeblock pre {
157 display: table-cell;
158 font-size: 1em;
159 }
160 .fancy .codeblock i { color: darkblue; }
161 .fancy h1,.fancy h2,.fancy h3,.fancy h4 {font-weight:normal;color:#044a64}
162 .fancy th {text-align:left;border-bottom:solid 1px #444}
163 .fancy th, .fancy td {padding: 0.2em 1ex; vertical-align:top}
164 .toct { color: #044a64 ! important; }
165 #toc_sub a { color: #044a64; text-decoration: none }
166 #toc_sub { display: none; margin-top: 1em; }
167 .fancy .todo { color: #AA3333 ; font-style : italic }
168 .fancy .todo:before { content: 'TODO:' }
169 .fancy p.todo { border: solid #AA3333 1px; padding: 1ex }
170 .fancy img { display:block; }
171 .fancy :link:hover, .fancy :visited:hover { background: wheat }
172 .fancy_title {
173 font-size: 2em;
174 text-align: center;
175 color: #044a64;
176 }
177 .fancy_toc {
178 margin-top: 1em;
179 }
180 .fancy_toc > a {
181 margin: 1em;
182 margin-left: 0;
183 font-size: 1.5em;
184 color: #044a64;
185 text-decoration: none;
186 cursor: pointer;
187 }
188 @media screen and (min-width: 600px){
189 /* Indentation amounts for non-mobile screens, 600 pixels or wider */
190 .fancy p,.fancy ul,.fancy ol,.fancy dl { margin: 1em 5ex }
191 .fancy li p { margin: 1em 0 }
192 .fancy blockquote { margin-left : 10ex }
193 .toct {margin-left:4ex;}
194 .fancy-toc1 {margin-left:6ex;}
195 .fancy-toc2 {margin-left:12ex;}
196 .fancy-toc3 {margin-left:18ex;}
197 .fancy-toc4 {margin-left:24ex;}
198 .fancy-toc5 {margin-left:30ex;}
199 .fancy-toc6 {margin-left:36ex;}
200 .fancy .codeblock {margin:0 10ex;}
201 .fancy ol .codeblock {margin:0 5ex;}
202 .fancy .imgcontainer {margin: 1em 5ex}
203 }
204 @media screen and (max-width: 600px){
205 /* Indentation amounts for narrow mobile screens */
206 .toct {margin-left:0;}
207 .fancy-toc1 {padding-left:4ex;text-indent:-2ex;}
208 .fancy-toc2 {padding-left:8ex;text-indent:-4ex;}
209 .fancy-toc3 {padding-left:12ex;text-indent:-6ex;}
210 .fancy-toc4 {padding-left:16ex;text-indent:-8ex;}
211 .fancy-toc5 {padding-left:20ex;text-indent:-10ex;}
212 .fancy-toc6 {padding-left:24ex;text-indent:-12ex;}
213 .lessindent {padding-left: 1em; margin-left: 0;}
214 .fancy .codeblock {margin:0 1ex;}
215 }
216 /* End of "fancyformat" specific rules. */
217
218 /* <ul> elements used for multi-column lists */
219 .multicol_list {padding-left:1em;margin-left:0;}
220
221 .yyterm {
222 background: #fff;
223 border: 1px solid #000;
224 border-radius: 11px;
225 padding-left: 4px;
226 padding-right: 4px;
227 line-height: 125%;
228 }
229 .yynonterm {
230 background: #fff;
231 border: 1px solid #000;
232 padding-left: 2px;
233 padding-right: 2px;
234 line-height: 125%;
235 }
236
237 /* Container for an image */
238 .imgcontainer img {
239 max-height: 100%;
240 max-width: 100%;
241 }
242
243 /* Default fill and stroke for SVG paths */
244 polygon { fill: black; stroke:#111111; stroke-width:1 }
245 path { fill: none; stroke:#111111; stroke-width:1 }
246
247 .doccat a {
248 color: #044a64 ;
249 text-decoration: none;
250 }
251 .doccat h {
252 font-weight: bold;
253 }
254 .doccat h a {
255 font-size: smaller;
256 color: black;
257 }
258 .doccat {
259 padding-left: 2ex;
260 padding-right: 2ex;
261 white-space:nowrap;
262 }
263 .doccat li {
264 list-style-type: none;
265 font-size: smaller;
266 line-height: 150%;
267 }
268 .doccat ul {
269 margin-top: 0.5em;
270 }
271
272 .footer {
273 padding-top: 2px;
274 padding-bottom: 1px;
275 border-top: 2px solid #044a64;
276 }
277
278 th.sort:after {
279 margin-left: .4em;
280 cursor: pointer;
281 text-shadow: 0 0 0 #000; /* Makes arrow darker */
282 }
283 th.sort.none:after {
284 content: '\2666';
285 }
286 th.sort.asc:after {
287 content: '\2193';
288 }
289 th.sort.desc:after {
290 content: '\2191'
291 }
292
293 div.columns {
294 padding: 0 2em 0 2em;
295 max-width: 2000px;
296 }
297 div.columns > ul {
298 margin: 0;
299 padding: 0 0 0 1em;
300 list-style-type: none;
301 padding: 10px;
302 margin: 0px;
303 white-space: nowrap;
304 }
305 div.columns > ul li:first-child {
306 margin-top:0px;
307 }
308 .columns li {
309 break-inside: avoid;
310 page-break-inside: avoid;
311 }