1/* manual.css Frank Lübeck */ 2/* This is the default CSS style sheet for GAPDoc HTML manuals. */ 3 4/* basic settings, fonts, sizes, colors, ... */ 5body { 6 position: relative; 7 background: #ffffff; 8 color: #000000; 9 width: 70%; 10 margin: 0pt; 11 padding: 15pt; 12 font-family: Helvetica,Verdana,Arial,sans-serif; 13 text-align: justify; 14} 15 16/* no side toc on title page, bib and index */ 17body.chap0 { 18 width: 95%; 19} 20body.chapBib { 21 width: 95%; 22} 23body.chapInd { 24 width: 95%; 25} 26 27 28h1 { font-size: 200%; } 29h2 { font-size: 160%; } 30h3 { font-size: 160%; } 31h4 { font-size: 130%; } 32h5 { font-size: 100%; } 33 34p.foot { 35 font-size: 60%; 36 font-style: normal; 37} 38 39a:link { 40 color: #00008e; 41 text-decoration: none; 42} 43a:visited { 44 color: #00008e; 45 text-decoration: none; 46} 47a:active { 48 color: #000000; 49 text-decoration: none; 50} 51a:hover { 52 background: #eeeeee; 53} 54 55pre { 56 font-family: "Courier New",Courier,monospace; 57 font-size: 100%; 58 color:#111111; 59} 60 61tt,code { 62 font-family: "Courier New",Courier,monospace; 63 font-size: 110%; 64 color: #000000; } 65 66var { 67} 68 69/* general alignment classes */ 70.pcenter { 71 text-align: center; 72} 73 74.pleft { 75 text-align: left; 76} 77 78.pright { 79 text-align: right; 80} 81 82/* layout for the definitions of functions, variables, ... */ 83div.func { 84 background: #e0e0e0; 85 margin: 0pt 0pt; 86} 87 88 89/* general and special table settings */ 90table { 91 border-collapse: collapse; 92 margin-left: auto; 93 margin-right: auto; 94} 95 96td, th { 97 border-style: none; 98} 99 100table.func { 101 padding: 0pt 1ex; 102 margin-left: 1ex; 103 margin-right: 1ex; 104 background: transparent; 105 /* line-height: 1.1; */ 106 width: 100%; 107} 108 109table.func td.tdright { 110 padding-right: 2ex; 111} 112 113/* Example elements (for old converted manuals, now in div+pre */ 114table.example { 115 background: #efefef; 116 border-style: none; 117 border-width: 0pt; 118 padding: 0px; 119 width: 100% 120} 121table.example td { 122 border-style: none; 123 border-width: 0pt; 124 padding: 0ex 1ex; 125} 126/* becomes ... */ 127div.example { 128 background: #efefef; 129 padding: 0ex 1ex; 130 /* overflow-x: auto; */ 131 overflow: auto; 132} 133 134/* Links to chapters in all files at top and bottom. */ 135/* If there are too many chapters then use 'display: none' here. */ 136div.chlinktop { 137 background: #dddddd; 138 border-style: solid; 139 border-width: thin; 140 margin: 2px; 141 text-align: center; 142} 143 144div.chlinktop a { 145 margin: 3px; 146} 147div.chlinktop a:hover { 148 background: #ffffff; 149} 150 151div.chlinkbot { 152 background: #dddddd; 153 border-style: solid; 154 border-width: thin; 155 margin: 2px; 156 text-align: center; 157 /* width: 100%; */ 158} 159 160div.chlinkbot a { 161 margin: 3px; 162} 163 164span.chlink1 { 165} 166 167/* and this is for the "Top", "Prev", "Next" links */ 168div.chlinkprevnexttop { 169 background: #dddddd; 170 border-style: solid; 171 border-width: thin; 172 text-align: center; 173 margin: 2px; 174} 175 176div.chlinkprevnexttop a:hover { 177 background: #ffffff; 178} 179 180div.chlinkprevnextbot { 181 background: #dddddd; 182 border-style: solid; 183 border-width: thin; 184 text-align: center; 185 margin: 2px; 186} 187 188div.chlinkprevnextbot a:hover { 189 background: #ffffff; 190} 191 192 193/* table of contents, initially don't display subsections */ 194div.ContSSBlock { 195 display: none; 196} 197div.ContSSBlock br { 198 display: none; 199} 200/* format in separate lines */ 201span.tocline { 202 display: block; 203 width: 100%; 204} 205div.ContSSBlock a { 206 display: block; 207} 208 209/* this is for the main table of contents */ 210div.ContChap { 211} 212 213div.ContChap div.ContSect:hover div.ContSSBlock { 214 display: block; 215 position: absolute; 216 background: #eeeeee; 217 border-style: solid; 218 border-width: 1px 4px 4px 1px; 219 border-color: #666666; 220 padding-left: 0.5ex; 221 color: #000000; 222 left: 20%; 223 width: 40%; 224 z-index: 10000; 225} 226 227div.ContSSBlock a:hover { 228 background: #ffffff; 229} 230 231/* and here for the side menu of contents in the chapter files */ 232div.ChapSects { 233} 234 235div.ChapSects a:hover { 236 background: #eeeeee; 237} 238 239div.ChapSects a:hover { 240 display: block; 241 width: 100%; 242 background: #eeeeee; 243 color: #000000; 244} 245 246div.ChapSects div.ContSect:hover div.ContSSBlock { 247 display: block; 248 position: fixed; 249 background: #eeeeee; 250 border-style: solid; 251 border-width: 1px 2px 2px 1px; 252 border-color: #666666; 253 padding-left: 0ex; 254 padding-right: 0.5ex; 255 color: #000000; 256 left: 54%; 257 width: 25%; 258 z-index: 10000; 259} 260 261div.ChapSects div.ContSect:hover div.ContSSBlock a { 262 display: block; 263 margin-left: 3px; 264} 265 266div.ChapSects div.ContSect:hover div.ContSSBlock a:hover { 267 display: block; 268 background: #ffffff; 269} 270 271div.ContSect { 272 text-align: left; 273 margin-left: 1em; 274} 275div.ChapSects { 276 position: fixed; 277 left: 75%; 278 font-size: 90%; 279 overflow: auto; 280 top: 10px; 281 bottom: 0px; 282} 283 284/* Table elements */ 285table.GAPDocTable { 286 border-collapse: collapse; 287 border-style: none; 288 border-color: black; 289} 290 291table.GAPDocTable td, table.GAPDocTable th { 292 padding: 3pt; 293 border-width: thin; 294 border-style: solid; 295 border-color: #555555; 296} 297 298caption.GAPDocTable { 299 caption-side: bottom; 300 width: 70%; 301 margin-top: 1em; 302 margin-left: auto; 303 margin-right: auto; 304} 305 306td.tdleft { 307 text-align: left; 308} 309 310table.GAPDocTablenoborder { 311 border-collapse: collapse; 312 border-style: none; 313 border-color: black; 314} 315 316table.GAPDocTablenoborder td, table.GAPDocTable th { 317 padding: 3pt; 318 border-width: 0pt; 319 border-style: solid; 320 border-color: #555555; 321} 322 323caption.GAPDocTablenoborder { 324 caption-side: bottom; 325 width: 70%; 326 margin-top: 1em; 327 margin-left: auto; 328 margin-right: auto; 329} 330 331td.tdleft { 332 text-align: left; 333} 334 335td.tdright { 336 text-align: right; 337} 338 339td.tdcenter { 340 text-align: center; 341} 342 343/* Colors and fonts can be overwritten for some types of elements. */ 344/* Verb elements */ 345pre.normal { 346 color: #000000; 347} 348 349/* Func-like elements and Ref to Func-like */ 350code.func { 351 color: #000000; 352} 353 354/* K elements */ 355code.keyw { 356 color: #770000; 357} 358 359/* F elements */ 360code.file { 361 color: #8e4510; 362} 363 364/* C elements */ 365code.code { 366} 367 368/* Item elements */ 369code.i { 370} 371 372/* Button elements */ 373strong.button { 374} 375 376/* Headings */ 377span.Heading { 378} 379 380/* Arg elements */ 381var.Arg { 382 color: #006600; 383} 384 385/* Example elements, is in tables, see above */ 386div.Example { 387} 388 389/* Package elements */ 390strong.pkg { 391} 392 393/* URL-like elements */ 394span.URL { 395} 396 397/* Mark elements */ 398strong.Mark { 399} 400 401/* Ref elements */ 402b.Ref { 403} 404span.Ref { 405} 406 407/* this contains the contents page */ 408div.contents { 409} 410 411/* this contains the index page */ 412div.index { 413} 414 415/* ignore some text for non-css layout */ 416span.nocss { 417 display: none; 418} 419 420/* colors for ColorPrompt like examples */ 421span.GAPprompt { 422 color: #000097; 423 font-weight: normal; 424} 425span.GAPbrkprompt { 426 color: #970000; 427 font-weight: normal; 428} 429span.GAPinput { 430 color: #970000; 431} 432 433/* Bib entries */ 434p.BibEntry { 435} 436span.BibKey { 437 color: #005522; 438} 439span.BibKeyLink { 440} 441b.BibAuthor { 442} 443i.BibTitle { 444} 445i.BibBookTitle { 446} 447span.BibEditor { 448} 449span.BibJournal { 450} 451span.BibType { 452} 453span.BibPublisher { 454} 455span.BibSchool { 456} 457span.BibEdition { 458} 459span.BibVolume { 460} 461span.BibSeries { 462} 463span.BibNumber { 464} 465span.BibPages { 466} 467span.BibOrganization { 468} 469span.BibAddress { 470} 471span.BibYear { 472} 473span.BibPublisher { 474} 475span.BibNote { 476} 477span.BibHowpublished { 478} 479 480 481 482 483