Codebase list lua-ldoc / c23e2a9
changed prettify keyword colour to make it more distinct from link; pushed up <code> size; cleaned up style-sheet-found-error Steve Donovan 9 years ago
5 changed file(s) with 24 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
7171 background-color: #ffffff; margin: 0px;
7272 }
7373
74 code, tt { font-family: monospace; }
74 code, tt { font-family: monospace; font-size: 1.1em; }
7575 span.parameter { font-family:monospace; }
7676 span.parameter:after { content:":"; }
7777 span.types:before { content:"("; }
295295 pre .comment { color: #558817; }
296296 pre .constant { color: #a8660d; }
297297 pre .escape { color: #844631; }
298 pre .keyword { color: #2239a8; font-weight: bold; }
298 pre .keyword { color: #aa5050; font-weight: bold; }
299299 pre .library { color: #0e7c6b; }
300300 pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
301 pre .string { color: #a8660d; }
301 pre .string { color: #8080ff; }
302302 pre .number { color: #f8660d; }
303303 pre .operator { color: #2239a8; font-weight: bold; }
304304 pre .preprocessor, pre .prepro { color: #a33243; }
7171 background-color: #ffffff; margin: 0px;
7272 }
7373
74 code, tt { font-family: monospace; }
74 code, tt { font-family: monospace; font-size: 1.1em; }
7575 span.parameter { font-family:monospace; }
7676 span.parameter:after { content:":"; }
7777 span.types:before { content:"("; }
303303 pre .comment { color: #558817; }
304304 pre .constant { color: #a8660d; }
305305 pre .escape { color: #844631; }
306 pre .keyword { color: #2239a8; font-weight: bold; }
306 pre .keyword { color: #aa5050; font-weight: bold; }
307307 pre .library { color: #0e7c6b; }
308308 pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
309 pre .string { color: #a8660d; }
309 pre .string { color: #8080ff; }
310310 pre .number { color: #f8660d; }
311311 pre .operator { color: #2239a8; font-weight: bold; }
312312 pre .preprocessor, pre .prepro { color: #a33243; }
7171 background-color: #ffffff; margin: 0px;
7272 }
7373
74 code, tt { font-family: monospace; }
74 code, tt { font-family: monospace; font-size: 1.1em; }
7575
7676 body, p, td, th { font-size: .95em; line-height: 1.2em;}
7777
268268 dl.table h3, dl.function h3 {font-size: .95em;}
269269
270270 /* styles for prettification of source */
271 .keyword {font-weight: bold; color: #6666AA; }
272 .number { color: #AA6666; }
273 .string { color: #8888AA; }
274 .comment { color: #666600; }
275 .prepro { color: #006666; }
271 pre .comment { color: #558817; }
272 pre .constant { color: #a8660d; }
273 pre .escape { color: #844631; }
274 pre .keyword { color: #aa5050; font-weight: bold; }
275 pre .library { color: #0e7c6b; }
276 pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
277 pre .string { color: #8080ff; }
278 pre .number { color: #f8660d; }
279 pre .operator { color: #2239a8; font-weight: bold; }
280 pre .preprocessor, pre .prepro { color: #a33243; }
281 pre .global { color: #800080; }
282 pre .prompt { color: #558817; }
283 pre .url { color: #272fc2; text-decoration: underline; }
276284 ]==]
7070 background-color: #ffffff; margin: 0px;
7171 }
7272
73 code, tt { font-family: monospace; }
73 code, tt { font-family: monospace; font-size: 1.1em; }
7474 span.parameter { font-family:monospace; }
7575 span.parameter:after { content:":"; }
7676 span.types:before { content:"("; }
294294 pre .comment { color: #558817; }
295295 pre .constant { color: #a8660d; }
296296 pre .escape { color: #844631; }
297 pre .keyword { color: #2239a8; font-weight: bold; }
297 pre .keyword { color: #aa5050; font-weight: bold; }
298298 pre .library { color: #0e7c6b; }
299299 pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
300 pre .string { color: #a8660d; }
300 pre .string { color: #8080ff; }
301301 pre .number { color: #f8660d; }
302302 pre .operator { color: #2239a8; font-weight: bold; }
303303 pre .preprocessor, pre .prepro { color: #a33243; }
752752 local function tmpwrite (name)
753753 local ok,text = pcall(require,'ldoc.html.'..name:gsub('%.','_'))
754754 if not ok then
755 quit("cannot find builtin template "..name..": "..text)
755 quit("cannot find builtin template "..name)
756756 end
757757 if not utils.writefile(path.join(tmpdir,name),text) then
758758 quit("cannot write to temp directory "..tmpdir)