diff options
| author | Misko Hevery | 2011-01-19 12:15:25 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-01-24 14:23:50 -0800 |
| commit | 22c5b7059b3239bb7fe36454d66ea4356a3c6666 (patch) | |
| tree | 8eb9aa4e8a99dd1c906774fc8786a53c892d9010 /docs/src | |
| parent | 190498efd741ad0f5df0c59d9ff9ae9dedfcf598 (diff) | |
| download | angular.js-22c5b7059b3239bb7fe36454d66ea4356a3c6666.tar.bz2 | |
updated doc styling for methods/properties
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/templates/docs.css | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/src/templates/docs.css b/docs/src/templates/docs.css index aaef7e58..3b2dbae6 100644 --- a/docs/src/templates/docs.css +++ b/docs/src/templates/docs.css @@ -100,10 +100,31 @@ a { margin-top: 1.5em; } -#main ul.methods h3, -#main ul.properties h3 { +#main ul.methods, +#main ul.properties { + margin: 0; + padding-left: 1em; +} + +#main ul.methods > li, +#main ul.properties > li { + list-style: none; + padding: 0 10px 10px 10px; margin-top: 1.5em; + border: 1px solid #000; +} + +#main ul.methods > li > h3, +#main ul.properties > li > h3 { font-family: "Courier New", monospace; + background-color: #E0E0E0; + margin: 0 -10px 5px -10px; + padding: .5em .5em .25em .5em; + border-bottom: 1px solid #888; +} + +#main li > p { + display: inline; /* the top most paragraph should not cause new lines inside lists. */ } .main-title { @@ -148,7 +169,7 @@ a { #sidebar ul li a { display: block; padding: 2px 2px 2px 4px; -} +} #sidebar ul li.selected a { background-color: #DDD; |
