diff options
| author | Misko Hevery | 2012-05-29 16:25:21 -0700 |
|---|---|---|
| committer | Misko Hevery | 2012-08-27 21:20:51 -0700 |
| commit | 152537c4e939baefa516c507c33fcc753c20b934 (patch) | |
| tree | a1b243c5fe678f77aeb815d6a60c365b4f2cd6e9 /docs/src | |
| parent | 8b46bf6bc9a98871b30bd6940b4d7198722534c9 (diff) | |
| download | angular.js-152537c4e939baefa516c507c33fcc753c20b934.tar.bz2 | |
doc(guide): add concepts
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/example.js | 4 | ||||
| -rw-r--r-- | docs/src/templates/css/docs.css | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/src/example.js b/docs/src/example.js index c85e1d0e..7477b0a5 100644 --- a/docs/src/example.js +++ b/docs/src/example.js @@ -58,10 +58,10 @@ exports.Example.prototype.addSource = function(name, content) { }; exports.Example.prototype.toHtml = function() { - return '<h1>Source</h1>\n' + + return '<h2>Source</h2>\n' + this.toHtmlEdit() + this.toHtmlTabs() + - '<h1>Demo</h1>\n' + + '<h2>Demo</h2>\n' + this.toHtmlEmbed(); }; diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css index a262eb9c..53478e33 100644 --- a/docs/src/templates/css/docs.css +++ b/docs/src/templates/css/docs.css @@ -145,6 +145,11 @@ ul.events > li > h3 { font-family: monospace; } +.center { + display: block; + margin: 2em auto; +} + .diagram { display: block; margin: 2em auto; @@ -175,3 +180,7 @@ ul.events > li > h3 { color: white; text-decoration: none; } + +.clear { + clear: both; +} |
