docs: Improve Overview Configuration manual

This commit is contained in:
Mark D. Blackwell
2016-09-16 23:54:39 -04:00
parent a7af63037c
commit 83533a8881
4 changed files with 434 additions and 259 deletions

84
docs/static/css/content-style.css vendored Normal file
View File

@@ -0,0 +1,84 @@
/* Styles used by tables at the URLs:
1. /overview/configuration/#configure-blackfriday-rendering
2. /templates/functions/#math
Their HTML is in the files:
1. ./docs/content/overview/configuration.md
2. ./docs/content/templates/functions.md
*/
table.table {
margin: 1em 0;
}
table.table-bordered tr th,
table.table-bordered tr td {
border-width: 2px;
border-color: #dddddd;
border-style: solid;
padding: 0 0.5em;
}
table.table-bordered-configuration {
max-width: 100%;
}
table.table-bordered-configuration,
table.table-bordered-configuration tr,
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td:not(.purpose-description) {
border-width: 2px;
}
table.table-bordered-configuration tr td.purpose-description {
border-width: 1px;
}
table.table-bordered-configuration,
table.table-bordered-configuration tr,
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td {
border-color: #dddddd;
}
table.table-bordered-configuration {
border-right-style: solid;
border-bottom-style: solid;
}
table.table-bordered-configuration tr,
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td:not(.purpose-description) {
border-left-style: solid;
}
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td:not(.purpose-description) {
border-top-style: solid;
}
table.table-bordered-configuration tr td.purpose-description {
border-top-style: dotted;
}
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td {
padding-top: 0;
padding-right: 0.5em;
padding-left: 0.5em;
}
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td:not(.purpose-description) {
padding-bottom: 0;
}
table.table-bordered-configuration tr td.purpose-description {
padding-bottom: 0.5em;
}
table.table-bordered-configuration tr th,
table.table-bordered-configuration tr td:not(.purpose-description) {
text-align: center;
}
table.table-bordered-configuration tr td:not(.purpose-description) code {
padding: 0;
border-radius: 0;
font-size: 14px;
background-color: inherit;
color: darkgreen;
}
table.table-bordered-configuration tr td span.purpose-title {
padding-right: 0.15em;
font-style: italic;
color: chocolate;
}

View File

@@ -498,30 +498,6 @@ kbd {
font-size: 0.85em;
}
/* For the table used in overview/configuration */
table.table {
margin: 1em 0;
}
.table-bordered th,
.table-bordered td {
border: 2px solid #ddd;
padding: 0 0.5em;
}
td.purpose-title {
text-align: right;
vertical-align: top;
border-right: 0;
padding-right: 0.5em;
font-weight: bold;
}
td.purpose-description {
border-left: 0;
}
/* For definitions of variables */
dl {
@@ -705,4 +681,4 @@ i.freebsd-19px:before {
.algolia-docsearch-suggestion--category-header,
.algolia-docsearch-suggestion--subcategory-column {
display: none !important;
}
}