Browse Source

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 10 years ago
parent
commit
df8dbfa45d

+ 2 - 2
docs/sources/reference/commandline/cli.md

@@ -208,8 +208,8 @@ When a single Dockerfile is given as `URL` or is piped through `STDIN`
 (`docker build - < Dockerfile`), then no context is set.
 
 When a Git repository is set as `URL`, then the repository is used as
-the context. The Git repository is cloned with its submodules (`git
-clone -recursive`). A fresh `git clone` occurs in a temporary directory
+the context. The Git repository is cloned with its submodules
+(`git clone -recursive`). A fresh `git clone` occurs in a temporary directory
 on your local host, and then this is sent to the Docker daemon as the
 context.  This way, your local user credentials and VPN's etc can be
 used to access private repositories.

+ 1 - 1
docs/theme/mkdocs/base.html

@@ -16,9 +16,9 @@
   {% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
   <link href="/css/bootstrap-custom.css" rel="stylesheet">
   <link href="/css/main.css" rel="stylesheet">
-  <link href="/css/docs.css" rel="stylesheet">
   <link href="/css/prettify-1.0.css" rel="stylesheet">
   <link href="/tipuesearch/tipuesearch.css" rel="stylesheet">
+  <link href="/css/docs.css" rel="stylesheet">
   <link rel="shortcut icon" href="{{ site_favicon }}">
   <title>{% if page_title != '**HIDDEN** - '+site_name %}{{ page_title }}{% else %}{{ site_name }}{% endif %}</title>
   <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

+ 4 - 0
docs/theme/mkdocs/css/docs.css

@@ -335,3 +335,7 @@ table.table tr td img {
 #versionnav ul ul {
     padding: 0;
 }
+
+/* over-ride the prettyPrint colouring */
+
+.str, .atv { color: #48484C; }