diff --git a/static/api.css b/static/api.css index b329a12..12b115d 100644 --- a/static/api.css +++ b/static/api.css @@ -15,10 +15,12 @@ table.parameters { margin: 1em 0; } -table.parameters th { +table.parameters td, table.parameters th { + padding: 0.2em 0.5em; } -table.parameters td { +table.parameters th { + background-color: #F0F0F0; } table.parameters tr:first-child { @@ -29,3 +31,11 @@ table.parameters tr:first-child { table.parameters td:first-child { font-family: monospace; } + +table.parameters tr:nth-child(2n + 3) { + background-color: #E0E0E0; +} + +table.parameters tr:nth-child(2n + 4) { + background-color: #F0F0F0; +} diff --git a/templates/api.mako b/templates/api.mako index cf62fa6..0464332 100644 --- a/templates/api.mako +++ b/templates/api.mako @@ -35,7 +35,7 @@ format json, jsonfm - No (default: json) + No (default: json) The default output format is JSON. jsonfm mode produces the same output, but renders it as a formatted HTML document for debugging. @@ -70,7 +70,7 @@ title string - Yes (either title or oldid) + Yes (either title or oldid) The title of the page or article to make a comparison against. Namespace must be included if the page isn't in the mainspace. @@ -111,7 +111,7 @@ title string - Yes (either title or oldid) + Yes (either title or oldid) The title of the page or article to make a check against. Namespace must be included if the page isn't in the mainspace.