Merge pull request #3112 from dokku/minor-doc-css-fixes

Minor doc css fixes
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2018-03-11 00:45:25 -05:00
commit a2d3a6087c
7 files changed
+43 -27

No files matched your search

+33 -20
View File
@@ -1,5 +1,6 @@
body { body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 62.5%;
font-weight: 400; font-weight: 400;
padding-bottom: 40px; padding-bottom: 40px;
color: #5a5a5a; color: #5a5a5a;
@@ -19,7 +20,7 @@ h1 {
} }
.header .heading { .header .heading {
color: #fff; color: #fff;
font-size: 23px; font-size: 2.4em;
margin: 7px 0 0 0; margin: 7px 0 0 0;
padding: 0 0 0 1em; padding: 0 0 0 1em;
} }
@@ -34,6 +35,9 @@ h1 {
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.header .nav-item a {
font-size: 1.6em;
}
.header .navbar-brand a { .header .navbar-brand a {
background-image: url(https://cdn.rawgit.com/dokku/dokku/v0.11.6/docs/assets/dokku.png); background-image: url(https://cdn.rawgit.com/dokku/dokku/v0.11.6/docs/assets/dokku.png);
text-indent: 40px; text-indent: 40px;
@@ -45,12 +49,18 @@ h1 {
padding: 45px 0; padding: 45px 0;
text-align: center; text-align: center;
} }
.blurb h2 {
font-size: 3.5em;
}
.blurb p { .blurb p {
font-size: 17px; font-size: 1.9em;
font-weight: 300; font-weight: 300;
margin: 18px 0; margin: 18px 0;
text-align: center; text-align: center;
} }
.blurb .btn-lg {
font-size: 2.2em;
}
.quickstart-code { .quickstart-code {
display: block; display: block;
line-height: 1.3em; line-height: 1.3em;
@@ -65,6 +75,7 @@ h1 {
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
color: #444; color: #444;
display: block; display: block;
font-size: 1.6em;
font-weight: 400; font-weight: 400;
margin: 0 20px; margin: 0 20px;
padding: 3px 0; padding: 3px 0;
@@ -103,6 +114,7 @@ h1 {
border-top: 1px solid #bcbcbc; border-top: 1px solid #bcbcbc;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
display: none; display: none;
font-size: 1.4em;
font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace; font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
margin: 0 20px; margin: 0 20px;
padding: 20px; padding: 20px;
@@ -136,6 +148,7 @@ h1 {
} }
.alternate-instructions { .alternate-instructions {
display: block; display: block;
font-size: 1.6em;
line-height: 1.3em; line-height: 1.3em;
margin: 45px auto; margin: 45px auto;
max-width: 750px; max-width: 750px;
@@ -166,7 +179,7 @@ h1 {
} }
.slack-channel { .slack-channel {
background-color: #EEF1F7; background-color: #EEF1F7;
font-size: 16px; font-size: 1.6em;
font-weight: 300; font-weight: 300;
margin-bottom: 2.5em; margin-bottom: 2.5em;
padding-top: 2.5em; padding-top: 2.5em;
@@ -199,7 +212,7 @@ h1 {
} }
.team-members .fund-link { .team-members .fund-link {
display: block; display: block;
font-size: 80%; font-size: .8em;
} }
.team-member { .team-member {
min-height: 320px; min-height: 320px;
@@ -210,7 +223,7 @@ h1 {
.list-group-item { .list-group-item {
border: none; border: none;
font-size: 14px; font-size: 1.1em;
font-weight: normal; font-weight: normal;
padding: .2rem .5rem; padding: .2rem .5rem;
color: #157577; color: #157577;
@@ -231,7 +244,7 @@ a.list-group-item {
text-transform: uppercase; text-transform: uppercase;
} }
.table-of-contents { .table-of-contents {
font-size: 0.8em; font-size: 1.2em;
padding: 1em; padding: 1em;
margin: 0 0 0.5em 0.5em; margin: 0 0 0.5em 0.5em;
} }
@@ -246,6 +259,7 @@ a.list-group-item {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
box-sizing: border-box; box-sizing: border-box;
color: rgb(71, 74, 84); color: rgb(71, 74, 84);
font-size: 1.6em;
font-weight: normal; font-weight: normal;
height: 20px; height: 20px;
line-height: 1.5; line-height: 1.5;
@@ -254,26 +268,26 @@ a.list-group-item {
.markdown-body h1 { .markdown-body h1 {
border-bottom: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf;
color: #444; color: #444;
font-size: 24px; font-size: 1.6em;
padding-bottom: 1em; padding-bottom: 1em;
margin-top: 0; margin-top: 0;
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
} }
.markdown-body h2 { .markdown-body h2 {
font-size: 17px; font-size: 1.3em;
font-weight: 700; font-weight: 700;
color: #555; color: #555;
margin-top: 2em; margin-top: 2em;
text-transform: uppercase; text-transform: uppercase;
} }
.markdown-body h3 { .markdown-body h3 {
font-size: 15px; font-size: 1.2em;
font-weight: 700; font-weight: 700;
color: #555; color: #555;
margin: 1em 0; margin: 1em 0;
} }
.markdown-body h4 { .markdown-body h4 {
font-size: 14px; font-size: 1.1em;
font-weight: 700; font-weight: 700;
color: #555; color: #555;
margin: 1em 0; margin: 1em 0;
@@ -295,7 +309,7 @@ a.list-group-item {
right: 0; right: 0;
width: auto; width: auto;
height: auto; height: auto;
font-size: 0.9em; font-size: 1.2em;
border-radius: 0 0 0 5px; border-radius: 0 0 0 5px;
padding: 0 0.5em; padding: 0 0.5em;
text-shadow: none; text-shadow: none;
@@ -319,7 +333,6 @@ code {
padding-top: 0.2em; padding-top: 0.2em;
padding-bottom: 0.2em; padding-bottom: 0.2em;
margin: 0; margin: 0;
font-size: 85%;
background-color: #fff; background-color: #fff;
background-color: rgba(0, 0, 0, 0.06); background-color: rgba(0, 0, 0, 0.06);
color: #333; color: #333;
@@ -367,6 +380,11 @@ blockquote {
border-left: 4px solid #ef5b58; border-left: 4px solid #ef5b58;
background-color: #f9ad76; background-color: #f9ad76;
} }
.warning {
border-left: 4px solid #cd2512;
background-color: #d1675f;
color: white;
}
.fa:before { .fa:before {
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
} }
@@ -415,10 +433,9 @@ blockquote {
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
margin: 0; margin: 0;
font-size: 14px; font-size: 1.3em;
} }
.git-improve { .git-improve {
font-size: 20px;
vertical-align: -2px; vertical-align: -2px;
padding-left: 8px; padding-left: 8px;
} }
@@ -433,7 +450,6 @@ blockquote {
.icon-improve { .icon-improve {
color: #bdbdb5; color: #bdbdb5;
padding: 2px 9px 0 10px; padding: 2px 9px 0 10px;
font-size: 14px;
} }
a .fa { a .fa {
display: inline-block; display: inline-block;
@@ -584,7 +600,7 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before {
background-image: -ms-linear-gradient(-45deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent); background-image: -ms-linear-gradient(-45deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent);
background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent); background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent);
font-family: "Roboto", Corbel, Avenir, "Lucida Grande", "Lucida Sans", sans-serif; font-family: "Roboto", Corbel, Avenir, "Lucida Grande", "Lucida Sans", sans-serif;
font-size: 14px; font-size: 1.6em;
text-align: center; text-align: center;
background-color: #ffe761; background-color: #ffe761;
} }
@@ -610,14 +626,11 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before {
.col-md-offset-right-2 { .col-md-offset-right-2 {
margin-right: 20.666667%; margin-right: 20.666667%;
} }
.quickstart-code shell {
font-size: 14px;
}
.quickstart-code { .quickstart-code {
line-height: 22px; line-height: 22px;
} }
.featurette-heading { .featurette-heading {
font-size: 50px; font-size: 5em;
} }
} }
@media (min-width: 992px) { @media (min-width: 992px) {
+1 -1
View File
@@ -44,7 +44,7 @@ The following plugins are available and provided by Dokku maintainers. Where not
## Community plugins ## Community plugins
Note: The following plugins have been supplied by our community and may not have been tested by Dokku maintainers. > Warning: The following plugins have been supplied by our community and may not have been tested by Dokku maintainers.
[256dpi]: https://github.com/256dpi [256dpi]: https://github.com/256dpi
[abossard]: https://github.com/dudagroup [abossard]: https://github.com/dudagroup
+1 -1
View File
@@ -218,7 +218,7 @@ See the [image tagging documentation](/docs/deployment/methods/images.md).
See the [application management documentation](/docs/deployment/application-management.md#removing-a-deployed-app). See the [application management documentation](/docs/deployment/application-management.md#removing-a-deployed-app).
### Renaming a deployed app ## Renaming a deployed app
See the [application management documentation](/docs/deployment/application-management.md#renaming-a-deployed-app). See the [application management documentation](/docs/deployment/application-management.md#renaming-a-deployed-app).
+1 -1
View File
@@ -311,7 +311,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# TODO # TODO
``` ```
> WARNING: The `git-pre-pull` trigger should _not_ be used for authentication > Warning: The `git-pre-pull` trigger should _not_ be used for authentication
since it does not get called for commands that use `git-upload-archive` such since it does not get called for commands that use `git-upload-archive` such
as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger. as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger.
+2 -2
View File
@@ -178,8 +178,8 @@
</div> </div>
<div class="alternate-instructions"> <div class="alternate-instructions">
<p>Hate <code>curl | bash</code>? See our official <a href="https://github.com/Azure/azure-quickstart-templates/tree/master/dokku-vm" target="_blank">Azure</a>, <a href="https://www.digitalocean.com/features/one-click-apps/dokku/" target="_blank">DigitalOcean</a>, and <a href="/{{NAME}}~{{REF}}/getting-started/install/dreamhost/">DreamHost Cloud</a> instructions.<p> <p>Hate <code>curl | bash</code>? See our official <a href="https://github.com/Azure/azure-quickstart-templates/tree/master/dokku-vm" target="_blank">Azure</a>, <a href="https://www.digitalocean.com/features/one-click-apps/dokku/" target="_blank">DigitalOcean</a>, and <a href="/{{NAME}}~{{REF}}/getting-started/install/dreamhost/">DreamHost Cloud</a> instructions.</p>
<p>Still no love? <a href="https://github.com/dokku/dokku/blob/master/CONTRIBUTING.md" target="_blank">Contributions welcome</a>!</a> <p>Still no love? <a href="https://github.com/dokku/dokku/blob/master/CONTRIBUTING.md" target="_blank">Contributions welcome</a>!</a></p>
</div> </div>
</div> </div>
+1 -1
View File
@@ -98,7 +98,7 @@ By default, buildpack apps and dockerfile apps **without** explicitly exposed po
## Port management by Deployment Method ## Port management by Deployment Method
> WARNING: If you set a proxy port map but _do not have a global domain set_, Dokku will reset that map upon first deployment. > Warning: If you set a proxy port map but _do not have a global domain set_, Dokku will reset that map upon first deployment.
### Buildpacks ### Buildpacks
+4 -1
View File
@@ -377,7 +377,10 @@
} }
Array.prototype.forEach.call(blockquotes, function (el, i) { Array.prototype.forEach.call(blockquotes, function (el, i) {
if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) { if (el.innerHTML.toLowerCase().indexOf('warning') !== -1) {
addClass(el, 'warning');
el.innerHTML = el.innerHTML.replace('Warning', '<strong>Warning</strong>')
} else if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) {
addClass(el, 'new-as-of'); addClass(el, 'new-as-of');
} else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) { } else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) {
addClass(el, 'not-yet-released'); addClass(el, 'not-yet-released');