Debian Codegraph @

texmf-dist/doc/fonts/feyn/style.css

raw
1 /* Installed from repo: 2022-07-12T17:44:22+01:00, Hg:4e5b8a899d61 */
2
3 body {
4 color: #333;
5 background: white;
6 margin-left: +30%;
7 width: 50%; /* body is 50% of screen width */
8 padding: 0.5em; /* this will make a difference if I decide to
9 have the background a different colour */
10 /* I can't decide on font: Optima's always nice, but Gill looks
11 agreeably intense. Helvetica's a decent fallback. */
12 font-family: "Helvetica Neue", Helvetica, "Gill Sans", gill, sans-serif;
13 /* font-family: Optima, "Gill Sans", gill, Helvetica, sans-serif; */
14 /* font-family: "Gill Sans", gill, Helvetica, sans-serif; */
15 /* I seem to have used 11pt at some point in the past, but this
16 is far too big -- did I ever have a reason for that, or is it
17 just due to browser changes? */
18 font-size: 10pt;
19 line-height: 150%;
20 }
21
22 /* adapt to wider screens */
23 @media screen and (min-width: 700pt) {
24 body {
25 margin-left: 210pt;
26 width: 350pt;
27 }
28 }
29
30 /* The following appears not to work in Safari or Chrome
31 -- don't know why, yet.
32 @media print {
33 @page :right {
34 size: auto;
35 body {
36 margin-top: 2cm;
37 margin-bottom: 3cm;
38 margin-left: 10%;
39 width: 60%;
40 margin-right: 30%;
41 color: #d33;
42 }
43 }
44 @page :left {
45 size: auto;
46 body {
47 margin-top: 2cm;
48 margin-bottom: 3cm;
49 margin-left: 30%;
50 width: 60%;
51 margin-right: 10%;
52 color: #33d;
53 }
54 }
55 }
56 */
57
58 /* The class='topsidebar' is formatting, typically div or ul,
59 for auxiliary stuff, placed at the top of the right-hand column.
60 The element with this class should go just _after_ the <h1> heading. */
61 .topsidebar {
62 float: right;
63 width: 50%; /* ...of the body width (ie, 50% x 50% of screen) */
64 font-size: smaller;
65 line-height: 140%; /* ...of the font size*/
66 margin-left: 1em;
67 padding-left: 1em;
68 border-left: solid thin #AAA;
69 }
70
71 /*
72 I have in the past styled `.topsidebar li` like this,
73 but I think this is too much detail for this location:
74 I should restrict the styling here to the location and general appearance of the sidebar
75 and I should leave such details to more local stylesheets
76 (and in any case I think it's only my blog that actually uses this class)
77 .topsidebar li {
78 list-style-type: none;
79 text-align: right;
80 line-height: 150%;
81 }
82 */
83
84 /* On wider screens, move the sidebar out to the right hand side */
85 /* This uses CSS3 media queries: http://www.w3.org/TR/css3-mediaqueries/ */
86 @media screen and (min-width: 700pt) and (max-width: 850pt) {
87 body {
88 margin-left: 210pt;
89 width: 350pt; /* 50% of 700pt */
90 margin-right: auto;
91 }
92 .topsidebar {
93 position: absolute;
94 /* I feel this size should be 595pt (350 + 210 + 0.05*700),
95 but that's clearly not right -- I don't think I understand what the -5%
96 in the h1 spec below is actually 5% of! */
97 left: 570pt;
98 width: auto;
99 margin-left: 0pt;
100 padding-left: 0pt;
101 border: none;
102 }
103 /* .topsidebar li { text-align: center; } */
104 }
105 /* On still-wider screens, expand the left-margin, keeping the sidebar attached to the right-hand edge.
106 When the screen is 850pt wide (expanding from the @media case above),
107 the left margin will be 210pt, the width 350pt, and the right margin therefore 290pt.*/
108 @media screen and (min-width: 850pt) {
109 body {
110 margin-right: 290pt; /* 290 = 850-(210+350) */
111 width: 350pt;
112 margin-left: auto; /* ...takes up the slack */
113 }
114 .topsidebar {
115 position: absolute;
116 width: 290pt; /* same 290pt as above */
117 left: auto;
118 right: 0%;
119 padding-left: 0pt;
120 border: none;
121 }
122 /* .topsidebar li { text-align: center; } */
123 }
124
125
126 code, pre {
127 font-family: Monaco, fixed;
128 font-size: 9pt;
129 }
130
131 a { text-decoration: none; }
132 a:link { color: #66C; }
133 a:visited { color: #669; }
134 a[href]:hover { background: #EEE; }
135
136 div.abstract {
137 font-style: oblique;
138 text-align: left;
139 }
140 div.abstract em { font-style: normal; }
141 div.abstract code {
142 font-style: normal;
143 font-size: 80%;
144 }
145
146 /* a span/div style for attracting attention */
147 .attention {
148 color: #822;
149 }
150
151 h1, h2, h3, h4, h5, h6 {
152 color: #822;
153 font-weight: 100; /* few fonts have ultra-light weights */
154 line-height: 100%; /* no need to spread out titles */
155 }
156
157 h1 {
158 margin-left: -40%;
159 margin-right: -5%;
160 padding: 0.5em;
161 border: solid thin #666;
162 text-align: right;
163 }
164
165 h2 {
166 margin-left: -40%;
167 margin-right: -5%;
168 padding: 0.2em;
169 border-top: solid thin #666;
170 clear: both;
171 }
172
173 h2.appendices {
174 margin-top: 10ex;
175 border-top: double medium #666;
176 }
177
178 h3 {
179 margin-left: -30%;
180 float: left;
181 width: 25%;
182 display: block;
183 text-align: right;
184 vertical-align: bottom;
185 padding-top: 0pt;
186 padding-right: 0.5em;
187 margin-top: 0pt;
188 line-height: 120%;
189 }
190
191 /*
192 h4 {
193 color: #C66;
194 }
195 */
196
197 pre, table { background: #dde; }
198
199 pre {
200 padding: 1em;
201 line-height: 130%;
202 }
203
204 table {
205 font-size: smaller;
206 }
207 td {
208 padding: 0.5ex;
209 }
210
211 Q:before { content: "“"; }
212 Q:after { content: "”"; }
213
214 img.smallimage {
215 float: right;
216 margin: 24pt;
217 margin-right: -30%;
218 }
219
220 div.signature {
221 margin-left: -40%;
222 margin-right: -5%;
223 margin-top: 4ex;
224 text-align: right;
225 border-top: solid thin #666;
226 padding-top: 0.3em;
227 clear: both;
228 }
229
230 /* ============================================================
231 * Some other curiosities of my one-time formatting for web pages
232 */
233 .doc-history {
234 font-size: xx-small;
235 background: #eee;
236 line-height: 100%;
237 }
238
239 div.subtoc, div.subsubtoc { display: none; }
240
241 /* ============================================================
242 * Special formatting for ToC
243 */
244
245 /*
246 If there's significant amount of text in front of the first subsection,
247 then the following are good to put in the per-document stylesheet:
248 width: 25%;
249 float: right;
250 */
251 div#toc {
252 color: #888;
253 padding: 0;
254 font-size: smaller;
255 text-align: right;
256 }
257 div#toc a:link { color: #888; }
258 div#toc > ul {
259 padding: 0pt;
260 margin: 0pt;
261 list-style: none;
262 }
263 div#toc li {
264 padding: 0pt;
265 display: inline-block;
266 }
267 div#toc li:before {
268 content: "§ ";
269 margin-left: 1em;
270 }
271 /* the following elements aren't currently generated by structure.lx */
272 div#toc li ul {
273 padding-left: 1em;
274 margin-left: 0;
275 font-style: italic;
276 display: inline;
277 }
278 div#toc li ul:before {
279 content: "( ";
280 }
281 div#toc li ul:after {
282 content: " ) ";
283 }
284 div#toc li li {
285 padding-left: 0pt;
286 }
287 div#toc li li:after {
288 content: "; ";
289 }