aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorMisko Hevery2012-05-29 16:25:21 -0700
committerMisko Hevery2012-08-27 15:44:38 -0700
commit7a5f25f6671eb5f51b06615d74a05855ab79f31e (patch)
treeacc28ac6cc3ec755531fa43147b06e5bd5b6c565 /docs/src
parent96697f464fdce21480f52b4cf6d74a267058f63d (diff)
downloadangular.js-7a5f25f6671eb5f51b06615d74a05855ab79f31e.tar.bz2
doc(guide): add concepts
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/example.js4
-rw-r--r--docs/src/templates/css/docs.css9
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;
+}