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