From 9f2ff4844476c595f8a84649edce1915ca0d2e2e Mon Sep 17 00:00:00 2001 From: ahocevar Date: Wed, 3 Apr 2013 00:11:49 +0200 Subject: [PATCH] Use bootstrap layout and css from examples I'm sure this can be made much prettier still, but at least we have a common theme with the examples now. --- doc/template/static/styles/jsdoc-default.css | 2 +- doc/template/tmpl/layout.tmpl | 26 ++++++++++++++++---- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/doc/template/static/styles/jsdoc-default.css b/doc/template/static/styles/jsdoc-default.css index 47b2756c09..56bbb5b4e4 100644 --- a/doc/template/static/styles/jsdoc-default.css +++ b/doc/template/static/styles/jsdoc-default.css @@ -203,7 +203,7 @@ dt.tag-source, dd.tag-source { } .details { margin-top: 14px; } -.details dt { width:100px; float:left; border-left: 2px solid #DDD; padding-left: 10px; padding-top: 6px; } +.details dt { width:110px; float:left; border-left: 2px solid #DDD; padding-left: 10px; padding-top: 6px; } .details dd { margin-left: 50px; } .details ul { margin: 0; } .details ul { list-style-type: none; } diff --git a/doc/template/tmpl/layout.tmpl b/doc/template/tmpl/layout.tmpl index 91857f98e7..1bbc1b9128 100644 --- a/doc/template/tmpl/layout.tmpl +++ b/doc/template/tmpl/layout.tmpl @@ -2,7 +2,7 @@ - OpenLayers: <?js= title ?> + OpenLayers 3 API Documentation - <?js= title ?> @@ -11,14 +11,29 @@ + + + -
- -

- + + +
+
@@ -31,6 +46,7 @@
Documentation generated by JSDoc 3 on
+