]>
git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/doc/template.css
1 /* CSS style for Seastar's tutorial.
2 * TODO: We also get some style for syntax highlighting inserted by our
3 * use of "highlight-style tango" in configure.py. Perhaps we can insert
4 * this style here too, for finer control.
13 font-family: arial
, sans-serif
;
19 /* In older versions, Pandoc puts the title, author and date, if any, in its
20 * own div id="header". In recent versions, it uses a "header" tag instead.
23 border-top: 1px solid
#aaa;
24 border-bottom: 1px solid
#aaa;
31 /* The title is in an h1.title, in the above div#header */
40 /* The author/date are h2.author and h3.date */
50 /* table of contents is in div id="TOC" in older versions, or a nav id="TOC"
51 * in newer versions */
53 border-top: 1px solid
#aaa;
54 border-bottom: 1px solid
#aaa;
62 h1
, h2
, h3
, h4
, h5
, h6
{
67 text-decoration: none
;
74 text-decoration: underline
;
78 /* Multiline code snippets are wrapped in a "code" inside a "pre".
79 * Inline code snippets are just in a "code".
82 background-color: #FFFFFF;
84 /* Need all the following to word wrap instead of scroll box */
85 /* This will override the overflow:auto if present */
86 white-space: pre-wrap
; /* css-3 */
87 white-space: -moz-pre-wrap
!important
; /* Mozilla, since 1999 */
88 white-space: -pre-wrap
; /* Opera 4-6 */
89 white-space: -o-pre-wrap
; /* Opera 7 */
90 word-wrap: break-word
; /* Internet Explorer 5.5+ */
95 border: 1px dotted
#777;
100 background-color: #f8f8f8;
103 /* Fix stuff for printing, in case somebody tries to print the HTML instead
104 * of getting a PDF and printing that. For example, too big fonts and big
105 * margins may be a waste of paper.
106 * buttondown.css has a nice trick for replacing links with the actual text
107 * of the URL - might be nice to copy it one day.
110 body
{ font-size: 11pt; }
111 a
{ color: black
; background: transparent
; }
112 pre
{ border: 1px solid
#aaa; }