Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4992)

Unified Diff: chrome/common/extensions/docs/static/sass/_api.scss

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/sass/_api.scss
diff --git a/chrome/common/extensions/docs/static/sass/_api.scss b/chrome/common/extensions/docs/static/sass/_api.scss
new file mode 100644
index 0000000000000000000000000000000000000000..b09f7ba25acd7e0b31c03e6d0949ec8110d7dbf5
--- /dev/null
+++ b/chrome/common/extensions/docs/static/sass/_api.scss
@@ -0,0 +1,49 @@
+// Uses vertical_rythm library from
+// http://compass-style.org/reference/compass/typography/vertical_rhythm/
+// as explained in _typography.scss
+@import "compass/typography/vertical_rhythm";
+
+.api {
+ color: #333;
+ font-size: 14px;
+
+ .api-summary {
+ td, th {
+ padding: 5px 10px;
+ }
+ }
+
+ .api-reference {
+ .description {
+ margin-left: 20px;
+ }
+ table.innerTable {
+ margin: 10px 0;
+ td, th {
+ padding: 5px 10px;
+ border: 1px solid #eee;
+ }
+ th {
+ background: none;
+ }
+ p {
+ margin: 0;
+ }
+ }
+ td, th {
+ border: 1px solid #eee;
+ }
+ th {
+ background: #fafafa;
+ }
+ h2 {
+ background-color: darken($gray-light, 5%);
+ padding: $default-padding;
+ margin-left: $default-padding * -1;
+ margin-right: $default-padding * -1;
+ }
+ h3 {
+ margin-top: rhythm(2);
+ }
+ }
+}
« no previous file with comments | « chrome/common/extensions/docs/static/images/chrome-logo_2x.png ('k') | chrome/common/extensions/docs/static/sass/_navbar.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698