diff --git a/lib/resources/styles.css b/lib/resources/styles.css
index d0be3de656..ad39ca0276 100644
--- a/lib/resources/styles.css
+++ b/lib/resources/styles.css
@@ -201,8 +201,15 @@ dt {
}
dd {
- margin-bottom: 16px;
- color: #727272;
+ color: #212121;
+}
+
+dd.callable, dd.constant, dd.property {
+ margin-bottom: 24px;
+}
+
+dd p {
+ margin-top: 4px;
}
section.summary h2 {
@@ -225,6 +232,7 @@ dl.dl-horizontal dt {
dt .name {
font-size: 17px;
+ font-weight: 500;
}
dl dt.callable .name {
@@ -236,8 +244,13 @@ dl dt.callable .name {
white-space: nowrap;
}
+.signature {
+ color: #727272;
+}
+
.signature a {
- color: rgb(51, 51, 51);
+ /* 50% mix of default-primary-color and primary-text-color. */
+ color: #4674a2;
}
.optional {
@@ -337,9 +350,12 @@ footer .container-fluid {
margin: 0;
}
-.is-inherited {
- color: #727272;
+/* The little slug line under a declaration for things like "const",
+ "read-only", etc. */
+.features {
+ font-size: 14px;
font-style: italic;
+ color: #727272;
}
.multi-line-signature {
@@ -413,10 +429,6 @@ nav .self-name {
font-style: italic;
}
-.readable-writable {
- font-style: italic;
-}
-
section.multi-line-signature div.parameters {
margin-left: 24px;
}
diff --git a/lib/templates/_callable.html b/lib/templates/_callable.html
index 4b27839d19..f28c7d8f9a 100644
--- a/lib/templates/_callable.html
+++ b/lib/templates/_callable.html
@@ -6,9 +6,7 @@
{{#isInherited}}
-
- inherited
-
+ inherited
{{/isInherited}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
diff --git a/lib/templates/_constant.html b/lib/templates/_constant.html
index 0a61f0c1c6..1e809e881a 100644
--- a/lib/templates/_constant.html
+++ b/lib/templates/_constant.html
@@ -1,12 +1,9 @@
{{{ linkedReturnType }}}
{{{ linkedName }}}
- =
- {{{ constantValue }}}
+ = {{{ constantValue }}}
-
- const
-
- {{{ oneLineDoc }}}
+ const
+ {{{ oneLineDoc }}}
diff --git a/lib/templates/_property.html b/lib/templates/_property.html
index efcac8d955..a99f836143 100644
--- a/lib/templates/_property.html
+++ b/lib/templates/_property.html
@@ -1,8 +1,9 @@
- {{#isInherited}}{{>name_summary}}{{/isInherited}}{{^isInherited}}{{{linkedName}}}{{/isInherited}}
+ {{#isInherited}}{{>name_summary}}{{/isInherited}}
+ {{^isInherited}}{{{linkedName}}}{{/isInherited}}
→ {{{ linkedReturnType }}}
{{>readable_writable}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
diff --git a/lib/templates/_readable_writable.html b/lib/templates/_readable_writable.html
index 17bcb43576..1e220228af 100644
--- a/lib/templates/_readable_writable.html
+++ b/lib/templates/_readable_writable.html
@@ -1,3 +1,3 @@
-
- {{#readOnly}}read-only{{/readOnly}}{{#writeOnly}}write-only{{/writeOnly}}{{#readWrite}}read / write{{/readWrite}}{{#isInherited}},
inherited{{/isInherited}}
+
+ {{#readOnly}}read-only{{/readOnly}}{{#writeOnly}}write-only{{/writeOnly}}{{#readWrite}}read / write{{/readWrite}}{{#isInherited}}, inherited{{/isInherited}}
diff --git a/lib/templates/class.html b/lib/templates/class.html
index 22fd954f39..322a8a99c4 100644
--- a/lib/templates/class.html
+++ b/lib/templates/class.html
@@ -131,7 +131,7 @@
Constructors
const
{{/isConst}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
{{/clazz.constructors}}
diff --git a/lib/templates/index.html b/lib/templates/index.html
index 772be78361..3e9d5053c3 100644
--- a/lib/templates/index.html
+++ b/lib/templates/index.html
@@ -15,7 +15,7 @@ Libraries
{{#isNotDocumented}}Library not documented.{{/isNotDocumented}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
{{/package.libraries}}
diff --git a/lib/templates/library.html b/lib/templates/library.html
index a61c84303b..6c77adb7f6 100644
--- a/lib/templates/library.html
+++ b/lib/templates/library.html
@@ -77,7 +77,7 @@ Enums
{{{linkedName}}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
{{/library.enums}}
@@ -94,7 +94,7 @@ Classes
{{{linkedName}}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
{{/library.classes}}
@@ -111,7 +111,7 @@ Exceptions / Errors
{{{linkedName}}}
- {{{ oneLineDoc }}}
+ {{{ oneLineDoc }}}
{{/library.exceptions}}