1/* 2 * Copyright (c) 2001, 2003, 2010 The FreeBSD Documentation Project 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * $FreeBSD$ 27 */ 28 29/* 30 * General DocBook styles from the DocBook XSL distribution 31 */ 32 33.formalpara-title { 34 font-weight: bold; 35} 36 37a:link { 38 color:#0645AD; 39 text-decoration: underline; 40} 41 42a:visited, a:hover, a:active { 43 color:#663366; 44 text-decoration: underline; 45} 46 47div.blockquote-title { 48 font-weight: bold; 49 margin-top: 1em; 50 margin-bottom: 1em; 51} 52 53span.msgmain-title { 54 font-weight: bold; 55} 56 57span.msgsub-title { 58 font-weight: bold; 59} 60 61span.msgrel-title { 62 font-weight: bold; 63} 64 65div.msglevel, div.msgorig, div.msgaud { 66 margin-top: 1em; 67 margin-bottom: 1em; 68} 69 70span.msglevel-title, span.msgorig-title, span.msgaud-title { 71 font-weight: bold; 72} 73 74div.msgexplan { 75 margin-top: 1em; 76 margin-bottom: 1em; 77} 78 79span.msgexplan-title { 80 font-weight: bold; 81} 82 83div.figure-title { 84 font-weight: bold; 85} 86 87div.example-title { 88 font-weight: bold; 89} 90 91div.equation-title { 92 font-weight: bold; 93} 94 95div.table-title { 96 font-weight: bold; 97} 98 99div.sidebar-title { 100 font-weight: bold; 101} 102 103div.synopsis { 104 white-space: pre; 105 font-family: monospace; 106} 107 108/* 109 * FreeBSD-specific formatting 110 */ 111 112body address { 113 line-height: 1.3; 114 margin: .6em 0; 115} 116 117html body { 118 margin: 1em 8% 1em 10%; 119 line-height: 1.2; 120} 121 122@media screen { 123 html body { font-family: sans-serif; } 124} 125 126@media print { 127 html body { font-family: serif; } 128} 129 130.legalnotice { 131 font-size: small; 132 font-variant: small-caps; 133} 134 135body div { 136 margin: 0; 137} 138 139dl { 140 margin: .4em 0 0 0; 141 line-height: 1.2; 142} 143 144dt { 145 font-weight: bold; 146 margin: 0.4em 0 0 0; 147} 148 149div.abstract div.abstract-title, 150div.toc div.toc-title, 151div.list-of-figures div.toc-title, 152div.list-of-tables div.toc-title, 153div.list-of-examples div.toc-title { 154 font-size: 115%; 155} 156 157div.calloutlist dt { 158 float: left; 159width: 1em;} 160 161div.calloutlist dd { 162 clear: right; 163 margin-bottom: 1ex; 164} 165 166body .calloutlist td { 167 padding-right: 0.5em; 168 width: auto; 169} 170 171body .calloutlist td p { 172 line-height: 1.2; 173 margin-top: 4px; 174 margin-bottom: 4px; 175} 176 177body form { 178 margin: .6em 0; 179} 180 181div.example p b, 182.question, 183div.table p b, 184div.procedure p b { 185 color: #990000; 186} 187 188h1.title, h2.title, h3.title, h4.title, h5.title, h6.title, 189h3.author, .corpauthor, 190div.abstract div.abstract-title, 191div.toc div.toc-title, 192div.list-of-figures div.toc-title, 193div.list-of-tables div.toc-title, 194div.list-of-examples div.toc-title { 195 font-weight: bold; 196 line-height: 1.3; 197 margin-top: 1em; 198 margin-left: 0; 199 color: #990000; 200} 201 202h1.title, h2.title { 203 margin: .8em 0 0 -4%; 204} 205 206h3.title, h4.title { 207 margin: .8em 0 0 -3%; 208} 209 210h5.title { 211 margin: .8em 0 0 -2%; 212} 213 214h6.title { 215 margin: .8em 0 0 -1%; 216} 217 218body hr { 219 margin: .6em; 220 border-width: 0 0 1px 0; 221 border-style: solid; 222 border-color: #cecece; 223} 224 225body img.navheader { 226 margin: 0 0 0 -4%; 227} 228 229ol { 230 margin: 0 0 0 1em; 231 line-height: 1.2; 232} 233 234body pre { 235 margin: .75em 0; 236 font-family: monospace; 237} 238 239body td, body th { 240 line-height: 1.2; 241 padding-right: 1.5em; 242} 243 244ul, body dir, body menu { 245 margin: 0 0 0 1em; 246 line-height: 1.2; 247} 248 249html { 250 margin: 0; 251 padding: 0; 252} 253 254.filename { 255 color: #007a00; 256} 257 258.package, .port { 259 color: #007a00; 260 font-family: monospace; 261 font-style: italic; 262} 263 264.svnref { 265 color: #007a00; 266} 267 268.guimenu, .guimenuitem, .guisubmenu, 269.guilabel, .interface, 270.shortcut, .shortcut .keycap { 271 font-weight: bold; 272} 273 274.guibutton { 275 background-color: #CFCFCF; 276 padding: 2px; 277} 278 279.accel { 280 background-color: #F0F0F0; 281 text-decoration: underline; 282} 283 284pre.screen { 285 white-space: pre; 286 overflow: auto; 287 font-family: monospace; 288 padding: 1em; 289 background-color: #edc; 290 border: 1px solid #ccc; 291 border-radius: 4px; 292} 293 294pre.programlisting { 295 white-space: pre; 296 overflow: auto; 297 font-family: monospace; 298 padding: 1ex; 299 background-color: #eee; 300 border: 1px solid #ccc; 301 border-radius: 4px; 302} 303 304@media screen { /* hide from IE3 */ 305 a[href]:hover { background: #ffa } 306} 307 308.informaltable, .table th { 309 padding-left: 0.2em; 310 text-align: left; 311} 312 313.note, .tip, .important, .warning, .caution, .example, div.procedure { 314 border-radius: 4px; 315 padding: 2ex; 316 margin: .75em 3em .75em 1em; 317 line-height: 1.3; 318} 319 320.note, div.procedure { 321 color: #222; 322 background: #eee; 323 border: 1px solid #ccc; 324 width: 90%; 325} 326 327.tip { 328 color: #004F00; 329 background: #d8ecd6; 330 border: 1px solid green; 331 width: 90%; 332} 333 334.important { 335 font-style:italic; 336 border: 1px solid #a00; 337 border-left: 12px solid #c00; 338 width: 90%; 339} 340 341.warning { 342 color: #9F1313; 343 background: #f8e8e8; 344 border: 1px solid #e59595; 345 width: 90%; 346} 347 348.caution { 349 color: #3E3535; 350 background: #FFC; 351 border: 1px solid #e59595; 352 width: 90%; 353} 354 355.example { 356 background: #fefde6; 357 border: 1px solid #f1bb16; 358 width: 90%; 359} 360 361.admontitle { 362 display: inline; 363 line-height: 1; 364 margin-right: 0; 365} 366 367.procedure-title { 368 font-weight: bold; 369 line-height: 1; 370 margin-right: 0; 371} 372 373.note p:first-of-type, .tip p:first-of-type, .important p:first-of-type, .warning p:first-of-type, .caution p:first-of-type { 374 display: inline-block; 375} 376 377.note p, .tip p, .important p, .warning p, .caution p { 378 margin: .4ex 0 .4ex 0; 379} 380 381.informaltable table.calstable tr td { 382 padding-left: 1em; 383 padding-right: 1em; 384} 385 386.authorgroup { 387 font-style: italic; 388} 389 390.userinput, 391.userinput code { 392 font-family: monospace; 393 font-weight: bold; 394} 395 396.errorname { 397 font-family: monospace; 398 font-style: italic; 399} 400 401pre.screen strong { 402 font-family: monospace; 403 font-weight: normal; 404} 405 406.procedure ol { 407 line-height: 1.2; 408 margin: 0 0 0 -1em; 409} 410 411span.contrib { 412 font-size: small; 413 font-style: italic; 414} 415 416.literal, .command { 417 font-family: monospace; 418} 419 420code.prompt { 421 margin-left: -3px; 422} 423