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

Unified Diff: utils/apidoc/static/apidoc-styles.css

Issue 9225039: Integrate MDN content into API documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years, 11 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
« no previous file with comments | « utils/apidoc/mdn/search.js ('k') | utils/apidoc/static/mdn-logo-tiny.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/static/apidoc-styles.css
diff --git a/utils/apidoc/static/apidoc-styles.css b/utils/apidoc/static/apidoc-styles.css
new file mode 100644
index 0000000000000000000000000000000000000000..573abcc77d0aa3cca33d03b5fb8a9a81830a415a
--- /dev/null
+++ b/utils/apidoc/static/apidoc-styles.css
@@ -0,0 +1,88 @@
+
+.mdn {
+ border: solid 1px hsl(10, 80%, 90%);
+ border-radius: 4px;
+ font-size: 16px;
+ line-height: 22px;
+ margin: 22px 0;
+ padding: 21px 21px 0 21px;
+}
+
+/* Try to massage the MDN content a bit to look nicer. This makes sure we don't
+ double pad the insides of the box. */
+.mdn > *:first-child {
+ margin-top: 0;
+}
+
+.mdn > *:last-child {
+ margin-bottom: 0;
+}
+
+.mdn .note {
+ background: hsl(220, 80%, 93%);
+ font: 400 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
+ sans-serif;
+ color: hsl(220, 40%, 40%);
+ border-radius: 4px;
+ padding: 11px;
+}
+
+.mdn .warning {
+ background: hsl(40, 80%, 90%);
+ font: 400 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
+ sans-serif;
+ color: hsl(40, 40%, 30%);
+ border-radius: 4px;
+ padding: 11px;
+}
+
+.mdn h6 {
+ font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
+ sans-serif;
+ color: #999;
+ margin: 22px 0 0 0;
+}
+
+/* End MDN massage. */
+
+.mdn-note {
+ font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
+ sans-serif;
+ color: hsl(10, 60%, 80%);
+ text-align: right;
+ line-height: 21px; /* To absorb bottom border 1px. */
+ margin-right: -14px;
+}
+
+.mdn-note a {
+ color: hsl(10, 60%, 80%);
+}
+
+.mdn-note a:hover {
+ color: hsl(10, 60%, 60%);
+}
+
+.mdn-attribution {
+ background: hsl(10, 80%, 95%);
+ border-radius: 4px;
+ font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
+ sans-serif;
+ color: hsl(10, 30%, 30%);
+ padding: 22px 22px 22px 75px;
+}
+
+.mdn-logo {
+ float: left;
+ margin-left: -53px;
+ /*padding-right: 11px;*/
+}
+
+.correspond {
+ font: italic 400 14px/22px 'Open Sans', 'Lucida Sans Unicode',
+ 'Lucida Grande', sans-serif;
+ color: #666;
+}
+
+.correspond .crossref {
+ font: inherit;
+}
« no previous file with comments | « utils/apidoc/mdn/search.js ('k') | utils/apidoc/static/mdn-logo-tiny.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698