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)
This commit is contained in:
Sven Dowideit 2014-09-11 15:54:03 +10:00 коммит произвёл SvenDowideit
Родитель 32b5d145fa
Коммит df8dbfa45d
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -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.

2
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
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; }