aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2015-03-13 12:43:46 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-03-13 14:44:54 +0000
commit2bf7254410e20d1b26f57e941680f1af29c49453 (patch)
treedcaf2738f3f33b768e6d743af775b2d024c91191
parent81e0858eb2ca599c9252fd3474476b9a2c768ad8 (diff)
Prettify our documentation: add fallback font + nicer css.
-- MOS_MIGRATED_REVID=88538944
-rw-r--r--docs/docs_style.css31
-rw-r--r--docs/support.md14
2 files changed, 37 insertions, 8 deletions
diff --git a/docs/docs_style.css b/docs/docs_style.css
index 197326a0a2..bb225e1fd9 100644
--- a/docs/docs_style.css
+++ b/docs/docs_style.css
@@ -1,5 +1,5 @@
* {
- font-family: "Open Sans";
+ font-family: "Open Sans", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
@@ -30,3 +30,32 @@ pre {
border: 1px solid #9ab;
padding: 0.5em;
}
+
+table {
+ border-spacing: 0px;
+ border: 1px solid #9ab;
+}
+
+th, td {
+ border-left: 1px solid #9ab;
+}
+
+th:first-child, td:first-child {
+ border-left: none;
+}
+
+th {
+ padding: 0.5em;
+}
+
+td {
+ padding: 0.3em;
+}
+
+tr:nth-child(odd) {
+ background: #eee;
+}
+
+tr:nth-child(even) {
+ background: #fff;
+}
diff --git a/docs/support.md b/docs/support.md
index 4f23fe9e68..e449d64ce4 100644
--- a/docs/support.md
+++ b/docs/support.md
@@ -27,7 +27,7 @@ the tests pass.
<th>Notes</th>
</tr>
<tr>
- <td>C/C++ rules except `cc_toolchain`</td>
+ <td>C/C++ rules except <code>cc_toolchain</code></td>
<td></td>
</tr>
<tr>
@@ -35,15 +35,15 @@ the tests pass.
<td></td>
</tr>
<tr>
- <td>`genrule`</td>
+ <td><code>genrule</code></td>
<td></td>
</tr>
<tr>
- <td>`test_suite`</td>
+ <td><code>test_suite</code></td>
<td></td>
</tr>
<tr>
- <td>`filegroup`</td>
+ <td><code>filegroup</code></td>
<td></td>
</tr>
</table>
@@ -60,7 +60,7 @@ behind the current state of the tools. We ensure that all the tests pass.
<th>Notes</th>
</tr>
<tr>
- <td>`cc_toolchain`</td>
+ <td><code>cc_toolchain</code></td>
<td>
<ul>
<li>We intend to make significant changes to the way C/C++ toolchains are defined; we will
@@ -82,7 +82,7 @@ behind the current state of the tools. We ensure that all the tests pass.
</td>
</tr>
<tr>
- <td>Extra actions (`extra_action`, `action_listener`)</td>
+ <td>Extra actions (<code>extra_action</code>, <code>action_listener</code>)</td>
<td>
<ul>
<li>Extra actions expose information about Bazel that we consider to be implementation
@@ -144,7 +144,7 @@ or up-to-date.
</td>
</tr>
<tr>
- <td>`Fileset`</td>
+ <td><code>Fileset</code></td>
<td>
<ul>
<li>There are vestiges of Fileset / FilesetEntry in the source code, but we do not intend to