diff --git a/ldoc.lua b/ldoc.lua index ed604a8..e32472c 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -753,7 +753,7 @@ if builtin_style or builtin_template then local function tmpwrite (name) local ok,text = pcall(require,'ldoc.html.'..name:gsub('%.','_')) if not ok then - quit("cannot find builtin template "..name..": "..text) + quit("cannot find builtin template "..name) end if not utils.writefile(path.join(tmpdir,name),text) then quit("cannot write to temp directory "..tmpdir) diff --git a/ldoc/html/ldoc_css.lua b/ldoc/html/ldoc_css.lua index 157f1a6..825f823 100644 --- a/ldoc/html/ldoc_css.lua +++ b/ldoc/html/ldoc_css.lua @@ -72,7 +72,7 @@ body { background-color: #ffffff; margin: 0px; } -code, tt { font-family: monospace; } +code, tt { font-family: monospace; font-size: 1.1em; } span.parameter { font-family:monospace; } span.parameter:after { content:":"; } span.types:before { content:"("; } @@ -296,10 +296,10 @@ a:target + * { pre .comment { color: #558817; } pre .constant { color: #a8660d; } pre .escape { color: #844631; } -pre .keyword { color: #2239a8; font-weight: bold; } +pre .keyword { color: #aa5050; font-weight: bold; } pre .library { color: #0e7c6b; } pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; } -pre .string { color: #a8660d; } +pre .string { color: #8080ff; } pre .number { color: #f8660d; } pre .operator { color: #2239a8; font-weight: bold; } pre .preprocessor, pre .prepro { color: #a33243; } diff --git a/ldoc/html/ldoc_fixed_css.lua b/ldoc/html/ldoc_fixed_css.lua index 8963d1a..d710f8d 100644 --- a/ldoc/html/ldoc_fixed_css.lua +++ b/ldoc/html/ldoc_fixed_css.lua @@ -72,7 +72,7 @@ body { background-color: #ffffff; margin: 0px; } -code, tt { font-family: monospace; } +code, tt { font-family: monospace; font-size: 1.1em; } span.parameter { font-family:monospace; } span.parameter:after { content:":"; } span.types:before { content:"("; } @@ -304,10 +304,10 @@ a:target + * { pre .comment { color: #558817; } pre .constant { color: #a8660d; } pre .escape { color: #844631; } -pre .keyword { color: #2239a8; font-weight: bold; } +pre .keyword { color: #aa5050; font-weight: bold; } pre .library { color: #0e7c6b; } pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; } -pre .string { color: #a8660d; } +pre .string { color: #8080ff; } pre .number { color: #f8660d; } pre .operator { color: #2239a8; font-weight: bold; } pre .preprocessor, pre .prepro { color: #a33243; } diff --git a/ldoc/html/ldoc_one_css.lua b/ldoc/html/ldoc_one_css.lua index 0a63858..567cf0d 100644 --- a/ldoc/html/ldoc_one_css.lua +++ b/ldoc/html/ldoc_one_css.lua @@ -72,7 +72,7 @@ body { background-color: #ffffff; margin: 0px; } -code, tt { font-family: monospace; } +code, tt { font-family: monospace; font-size: 1.1em; } body, p, td, th { font-size: .95em; line-height: 1.2em;} @@ -269,9 +269,17 @@ dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;} dl.table h3, dl.function h3 {font-size: .95em;} /* styles for prettification of source */ -.keyword {font-weight: bold; color: #6666AA; } -.number { color: #AA6666; } -.string { color: #8888AA; } -.comment { color: #666600; } -.prepro { color: #006666; } +pre .comment { color: #558817; } +pre .constant { color: #a8660d; } +pre .escape { color: #844631; } +pre .keyword { color: #aa5050; font-weight: bold; } +pre .library { color: #0e7c6b; } +pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; } +pre .string { color: #8080ff; } +pre .number { color: #f8660d; } +pre .operator { color: #2239a8; font-weight: bold; } +pre .preprocessor, pre .prepro { color: #a33243; } +pre .global { color: #800080; } +pre .prompt { color: #558817; } +pre .url { color: #272fc2; text-decoration: underline; } ]==] diff --git a/ldoc/html/ldoc_pale_css.lua b/ldoc/html/ldoc_pale_css.lua index edae358..e30f83f 100644 --- a/ldoc/html/ldoc_pale_css.lua +++ b/ldoc/html/ldoc_pale_css.lua @@ -71,7 +71,7 @@ body { background-color: #ffffff; margin: 0px; } -code, tt { font-family: monospace; } +code, tt { font-family: monospace; font-size: 1.1em; } span.parameter { font-family:monospace; } span.parameter:after { content:":"; } span.types:before { content:"("; } @@ -295,10 +295,10 @@ a:target + * { pre .comment { color: #558817; } pre .constant { color: #a8660d; } pre .escape { color: #844631; } -pre .keyword { color: #2239a8; font-weight: bold; } +pre .keyword { color: #aa5050; font-weight: bold; } pre .library { color: #0e7c6b; } pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; } -pre .string { color: #a8660d; } +pre .string { color: #8080ff; } pre .number { color: #f8660d; } pre .operator { color: #2239a8; font-weight: bold; } pre .preprocessor, pre .prepro { color: #a33243; }