Browse code

Override prettyPrint's colour choice (red) for strings in quotes.

I've moved the docs.css to last so it can tweak any existing css, and
then set that to the same grey colour used for 'normal' text.

While testing I found and fixed an over-zealous line wrap.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)

Sven Dowideit authored on 2014/09/11 14:54:03
Showing 3 changed files
... ...
@@ -208,8 +208,8 @@ When a single Dockerfile is given as `URL` or is piped through `STDIN`
208 208
 (`docker build - < Dockerfile`), then no context is set.
209 209
 
210 210
 When a Git repository is set as `URL`, then the repository is used as
211
-the context. The Git repository is cloned with its submodules (`git
212
-clone -recursive`). A fresh `git clone` occurs in a temporary directory
211
+the context. The Git repository is cloned with its submodules
212
+(`git clone -recursive`). A fresh `git clone` occurs in a temporary directory
213 213
 on your local host, and then this is sent to the Docker daemon as the
214 214
 context.  This way, your local user credentials and VPN's etc can be
215 215
 used to access private repositories.
... ...
@@ -16,9 +16,9 @@
16 16
   {% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
17 17
   <link href="/css/bootstrap-custom.css" rel="stylesheet">
18 18
   <link href="/css/main.css" rel="stylesheet">
19
-  <link href="/css/docs.css" rel="stylesheet">
20 19
   <link href="/css/prettify-1.0.css" rel="stylesheet">
21 20
   <link href="/tipuesearch/tipuesearch.css" rel="stylesheet">
21
+  <link href="/css/docs.css" rel="stylesheet">
22 22
   <link rel="shortcut icon" href="{{ site_favicon }}">
23 23
   <title>{% if page_title != '**HIDDEN** - '+site_name %}{{ page_title }}{% else %}{{ site_name }}{% endif %}</title>
24 24
   <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
... ...
@@ -335,3 +335,7 @@ table.table tr td img {
335 335
 #versionnav ul ul {
336 336
     padding: 0;
337 337
 }
338
+
339
+/* over-ride the prettyPrint colouring */
340
+
341
+.str, .atv { color: #48484C; }