diff --git a/docs/extra.css b/docs/extra.css index b92fc8d..ad7c28e 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -2,14 +2,17 @@ body, input { color: #000; } + .md-nav { font-size: 14px; line-height: 1.4; } + .md-typeset { - font-size: 14px; + font-size: .7rem; line-height: 1.5; } + .md-typeset code, .md-typeset pre { white-space: pre-wrap; diff --git a/docs/guides/nginx-configuration.md b/docs/guides/nginx-configuration.md index 870207c..d8172e4 100644 --- a/docs/guides/nginx-configuration.md +++ b/docs/guides/nginx-configuration.md @@ -54,7 +54,8 @@ } location ~ \.php$ { - include snippets/fastcgi-php.conf; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; fastcgi_pass unix:/run/php/php7.0-fpm.sock; fastcgi_param FQDN true; auth_basic "Restricted"; # For Basic Auth diff --git a/docs/guides/vpn/dynDNS.md b/docs/guides/vpn/dynDNS.md index 4d691b5..040cf9a 100644 --- a/docs/guides/vpn/dynDNS.md +++ b/docs/guides/vpn/dynDNS.md @@ -40,7 +40,7 @@ password=mypassword myhost.dyndns.org ``` -If you want to have `ddclient` running as daemon (recommended!), change also your `/etc/defaults/ddclient` to: +If you want to have `ddclient` running as daemon (recommended!), change also your `/etc/default/ddclient` to: ```bash # Configuration for ddclient scripts diff --git a/docs/main/basic-install.md b/docs/main/basic-install.md index 9627a93..0485ca9 100644 --- a/docs/main/basic-install.md +++ b/docs/main/basic-install.md @@ -8,7 +8,7 @@ curl -sSL https://install.pi-hole.net | bash !!! info - [Piping to `bash` is a controversial topic](https://pi-hole.net/2016/07/25/curling-and-piping-to-bash), as it prevents you from [reading code that is about to run](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) on your system. + [Piping to `bash` is a controversial topic](https://pi-hole.net/2016/07/25/curling-and-piping-to-bash/), as it prevents you from [reading code that is about to run](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) on your system. If you would prefer to review the code before installation, we provide these alternative installation methods. diff --git a/mkdocs.yml b/mkdocs.yml index 83664da..ef17e14 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,8 @@ remote_branch: gh-pages theme: name: 'material' favicon: 'images/favicon.ico' + primary: 'deep purple' + accent: 'teal' logo: 'images/logo.svg' language: 'en' font: