1 | @charset "UTF-8"; |
---|
2 | /* CSS Document */ |
---|
3 | /* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ |
---|
4 | |
---|
5 | /* |
---|
6 | WiTeX |
---|
7 | https://github.com/AndrewBelt/WiTeX |
---|
8 | */ |
---|
9 | /* Latin Modern (LaTeX default) font */ |
---|
10 | |
---|
11 | @font-face { |
---|
12 | font-family: 'Latin Modern Roman'; |
---|
13 | font-weight: normal; |
---|
14 | font-style: normal; |
---|
15 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-regular.woff') format('woff'); |
---|
16 | } |
---|
17 | |
---|
18 | @font-face { |
---|
19 | font-family: 'Latin Modern Roman'; |
---|
20 | font-weight: bold; |
---|
21 | font-style: normal; |
---|
22 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bold.woff') format('woff'); |
---|
23 | } |
---|
24 | |
---|
25 | @font-face { |
---|
26 | font-family: 'Latin Modern Roman'; |
---|
27 | font-weight: normal; |
---|
28 | font-style: italic; |
---|
29 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-italic.woff') format('woff'); |
---|
30 | } |
---|
31 | |
---|
32 | @font-face { |
---|
33 | font-family: 'Latin Modern Roman'; |
---|
34 | font-weight: bold; |
---|
35 | font-style: italic; |
---|
36 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff'); |
---|
37 | } |
---|
38 | |
---|
39 | @font-face { |
---|
40 | font-family: 'Latin Modern Mono'; |
---|
41 | font-weight: normal; |
---|
42 | font-style: normal; |
---|
43 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-regular.woff') format('woff'); |
---|
44 | } |
---|
45 | |
---|
46 | @font-face { |
---|
47 | font-family: 'Latin Modern Mono'; |
---|
48 | font-weight: normal; |
---|
49 | font-style: italic; |
---|
50 | src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-italic.woff') format('woff'); |
---|
51 | } |
---|
52 | |
---|
53 | /* Page Layout */ |
---|
54 | |
---|
55 | body { |
---|
56 | font-size: 14pt; |
---|
57 | font-family: 'Latin Modern Roman', serif; |
---|
58 | color: black; |
---|
59 | width:800px; |
---|
60 | margin:auto; |
---|
61 | } |
---|
62 | |
---|
63 | h1, h2, h3, h4, h5, h6 { |
---|
64 | border: none; |
---|
65 | font-weight: bold; |
---|
66 | } |
---|
67 | |
---|
68 | a:visited { |
---|
69 | color: #b98291; |
---|
70 | } |
---|
71 | a { |
---|
72 | color: #a00; |
---|
73 | } |
---|
74 | a.new, a.new:visited { |
---|
75 | color: black; |
---|
76 | } |
---|
77 | |
---|
78 | ul { |
---|
79 | list-style: none; |
---|
80 | } |
---|
81 | ul li ul { |
---|
82 | list-style: circle; |
---|
83 | } |
---|
84 | |
---|
85 | #mw-navigation, #mw-page-base, #mw-head-base, #footer { |
---|
86 | /* nuke everything but the content */ |
---|
87 | display: none; |
---|
88 | } |
---|
89 | |
---|
90 | /* Content Box */ |
---|
91 | |
---|
92 | .mw-body { |
---|
93 | max-width: 720px; |
---|
94 | margin: 1em auto; |
---|
95 | } |
---|
96 | |
---|
97 | #content, div#content { |
---|
98 | border: none; |
---|
99 | color: black; |
---|
100 | } |
---|
101 | |
---|
102 | #firstHeading, #siteSub { |
---|
103 | text-align: center; |
---|
104 | display: block; |
---|
105 | } |
---|
106 | |
---|
107 | #siteSub { |
---|
108 | margin-top: -0.5em; |
---|
109 | margin-bottom: 4em; |
---|
110 | } |
---|
111 | |
---|
112 | /* Article Body */ |
---|
113 | |
---|
114 | .mw-body-content { |
---|
115 | font-size: inherit; |
---|
116 | text-align: justify; |
---|
117 | -moz-hyphens: auto; |
---|
118 | -webkit-hyphens: auto; |
---|
119 | hyphens: auto; |
---|
120 | line-height: 1.5em; |
---|
121 | } |
---|
122 | |
---|
123 | .mw-body { |
---|
124 | padding: 2em 0; |
---|
125 | } |
---|
126 | |
---|
127 | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, div#content h1, div#content h2, div#content #firstHeading { |
---|
128 | font-family: inherit; |
---|
129 | line-height: 1.5em; |
---|
130 | margin-bottom: 0.5em; |
---|
131 | } |
---|
132 | |
---|
133 | .mw-body h1, div#content h1 { |
---|
134 | font-size: 2em; |
---|
135 | } |
---|
136 | |
---|
137 | .mw-body h2, div#content h2 { |
---|
138 | font-size: 1.5em; |
---|
139 | } |
---|
140 | |
---|
141 | .mw-body h3 { |
---|
142 | font-size: 1.2em; |
---|
143 | } |
---|
144 | |
---|
145 | .mw-body h4 { |
---|
146 | font-size: 1.1em; |
---|
147 | } |
---|
148 | |
---|
149 | .mw-body h5, .mw-body h6 { |
---|
150 | font-size: 1.0em; |
---|
151 | } |
---|
152 | |
---|
153 | .mw-body p { |
---|
154 | margin: 0; |
---|
155 | } |
---|
156 | |
---|
157 | .mw-body p + p { |
---|
158 | text-indent: 2em; |
---|
159 | } |
---|
160 | |
---|
161 | .mw-editsection { |
---|
162 | /* hide more non-content */ |
---|
163 | display: none; |
---|
164 | } |
---|
165 | |
---|
166 | table.ambox { |
---|
167 | margin-bottom: 1em; |
---|
168 | } |
---|
169 | |
---|
170 | dl dd { |
---|
171 | /* center definitions (most useful for display equations) */ |
---|
172 | } |
---|
173 | |
---|
174 | span.texhtml { |
---|
175 | /* revert inline math to default font */ |
---|
176 | font-family: inherit; |
---|
177 | font-size: inherit; |
---|
178 | line-height: inherit; |
---|
179 | } |
---|
180 | |
---|
181 | /* Table of Contents */ |
---|
182 | |
---|
183 | #toc, .toc { |
---|
184 | border: none; |
---|
185 | padding: 0; |
---|
186 | background: none; |
---|
187 | font-size: inherit; |
---|
188 | /* span 100% of the width */ |
---|
189 | display: block; |
---|
190 | } |
---|
191 | |
---|
192 | .mw-body #toc h2, .mw-body .toc h2 { |
---|
193 | font-family: inherit; |
---|
194 | font-size: 1.5em; |
---|
195 | } |
---|
196 | |
---|
197 | #toc h2, .toc h2 { |
---|
198 | display: block; |
---|
199 | } |
---|
200 | |
---|
201 | #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { |
---|
202 | text-align: left; |
---|
203 | } |
---|
204 | |
---|
205 | .toctoggle { |
---|
206 | display: none; |
---|
207 | } |
---|
208 | |
---|
209 | /* Figures */ |
---|
210 | |
---|
211 | div.tright { |
---|
212 | margin: 0.5em 0 0.5em 1.5em; |
---|
213 | } |
---|
214 | |
---|
215 | div.tleft { |
---|
216 | margin: 0.5em 1.5em 0.5em 0; |
---|
217 | } |
---|
218 | |
---|
219 | /* Code */ |
---|
220 | |
---|
221 | .mw-code { |
---|
222 | margin: 1em 0; |
---|
223 | } |
---|
224 | |
---|
225 | pre, code { |
---|
226 | font-family: "Latin Modern Mono", monospace !important; |
---|
227 | } |
---|
228 | |
---|
229 | sup { |
---|
230 | text-indent: 0; |
---|
231 | } |
---|
232 | |
---|
233 | TT { |
---|
234 | font-family: 'Courier New', Courier, monospace; |
---|
235 | padding:3x; |
---|
236 | padding-left:5px; |
---|
237 | padding-right:5px; |
---|
238 | font-weight: bold; |
---|
239 | } |
---|
240 | img { |
---|
241 | max-width:800px; |
---|
242 | } |
---|