summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/core.css
blob: 1007bca0ee70a3ad14c49c8133d406d6d5e0ed8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*======================================================================
 Core CSS for LaTeXML documents converted to (X)HTML */

/* Generic Page layout */
/* Header & footer */
/*.header:before { content:url(latexml.png); }*/
.header,.footer   { font-size:80%; }
.header .previous,
.footer .previous { float:left; }
.header .up,
.footer           { display:block; text-align:center; }
.header .next,
.footer .next     { float:right; }
.header li { padding:0.1em 0.2em 0.1em 1em;}

/* Main content */
.content { clear:both; padding-top:5px; border-top:1px solid; }
.footer  { margin-top:5px;  border-top:1px solid; }

/* if shown */
.navbar .toc li { margin-left:-0.5em; }
.navbar li { white-space:nowrap; display:block; overflow:hidden; }
.navbar li .here { white-space:normal; overflow:visible; }

.slide {width: 95%;
    margin: 5mm 5mm 5mm 5mm;
    border-style:solid;
    border-width:medium;
    padding: 10pt;
    position: relative;
}

/*======================================================================
 Titles & Frontmatter */
h1 { text-align:center; font-size: 150%; font-family:sans-serif;}
h2 { font-family:sans-serif; padding-left:0.2em; margin-left:-0.5em; }   
h3 { font-family:sans-serif; padding-left:0.2em; margin-left:-0.3em; }
/* h6 { display:run-in; }*/
/* Hack to simulate run-in! */
h6 { display:inline; font-size:100%; font-family:sans-serif; }
h6:after { content:" "; }
h6 + div.para,
h6 + p { display:inline; }

.subtitle    { text-align:center; font-size: 120%; font-family:sans-serif;
	       padding-left:0.2em; margin-left:-0.5em; }
.author      { text-align:center; font-family:sans-serif; }
.author .personname  { font-size: 130%; }
.dedicatory  { font-style:oblique; }
.classification,
.keywords    { font-size:90%; margin-left:4em; }
.abstract    { margin:1em 4em 1em 4em; }
.toc li      { list-style-type:none;  }

.navbar { display: none; } /* override! */
.main { margin:0px; padding:1em 3em 1em 2em; }

/*======================================================================
 Blocks, Lists, Floats */
.inline-block { display:inline-block; }
div.equation { display:block; width:95%; text-align:center; }
.equation span.refnum.left { position:absolute; left:2em; }
.equation span.refnum.right { position:absolute; right:2em; }

.equation td { width:auto; }
table.equation,
table.equationgroup { width:100%; }
/* Hide this from IE */
tr > td.eqpad { width:50%; }

dl.description dt { margin-right:0.5em; float:left;
	            font-weight:bold; font-size:95%; }
dl.description dd { margin-left:5em; }
dl.description dl.description dd { margin-left:3em; }

.theorem  {margin:1em 0em 1em 0em; }

.bibliography dt { margin-right:0.5em; float:left; }
.bibliography dd { margin-left:3em; }
.biblist { list-style-type:none; }
.bibtag { font-weight:bold; margin-left:-2em; width:3em; }
/*.bibitem-tag + div { display:inline; }*/
.bib-title { font-style:italic; }
.bib-article .bib-title { font-style:normal !important; }
.bib-journal  { font-style:italic; }
.bib-volume { font-weight:bold; }

.indexlist li { list-style-type:none;  }
.indexlist { margin-left:1em; padding-left:1em;}
.listing td.linenumber,
.listingblock td.linenumber
   { width:3em; text-align:right;}
/*======================================================================
 Borders and such */
.framed  { border:1px solid black;}
.tabular td, .tabular th { padding:0.1em 0.5em; }
table { border-collapse:collapse; }
/* Hmm... the star should be m:mtd */
td.t,  th.t,  *[class~="t"]  { border-top:1px solid black; }
td.r,  th.r,  *[class~="r"]  { border-right:1px solid black; }
td.b,  th.b,  *[class~="b"]  { border-bottom:1px solid black; }
td.l,  th.l,  *[class~="l"]  { border-left:1px solid black; }
td.tt, th.tt, *[class~="tt"] { border-top:3px double black; }
td.rr, th.rr, *[class~="rr"] { border-right:3px double black; }
td.bb, th.bb, *[class~="bb"] { border-bottom:3px double black; }
td.ll, th.ll, *[class~="ll"] { border-left:3px double black; }

td.left,   th.left   { text-align:left; white-space:nowrap; }
td.right,  th.right  { text-align:right; white-space:nowrap; }
td.center, th.center { text-align:center; white-space:nowrap; }
td.middle, th.middle, tr.middle       { vertical-align:middle; }
td.baseline, th.baseline, tr.baseline { vertical-align:baseline; }

/*======================================================================
 Low-level Basics */
.TINY       { font-size:50%; }
.Tiny       { font-size:60%; }
.tiny       { font-size:65%; }
.script     { font-size:70%; }
.footnote   { font-size:80%; }
.small      { font-size:90%; }
.normal     { font-size:100%; }
.large      { font-size:110%; }
.Large      { font-size:120%; }
.LARGE      { font-size:140%; }
.huge       { font-size:150%; }
.Huge       { font-size:170%; }
.HUGE       { font-size:200%; }
.sansserif  { font-family: sans-serif; }
.typewriter { font-family: monospace; }
.bold       { font-weight: bold; }
.medium     { font-weight: normal; }
.italic     { font-style: italic; }
.upright    { font-style: normal; }
.slanted    { font-style: oblique; }
.smallcaps  { font-variant: small-caps; }
.red        { color:red; }
.centering  { text-align:center; 
	      margin:auto; }
.inline-block.centering,
img.centering  { display:block;
	      margin:auto; }
.flushleft  { text-align:left; }
.flushright { text-align:right; }
.ERROR      { color:red; }
cite        { font-style: normal; }

/*======================================================================
 pop-up footnotes, endnote, margin */
.note .note_content {display:none; }
.note .note_content {
     width: 70%; right:5%;  font-size:80%;
     background:#E0E0E0; border:3px outset gray; }
.note .mark { color:blue; }
.note-type  { font-weight: bold; }
.note:hover .note_content 
   { display:block; position:absolute; z-index:10; }