* Modifies documentation to use a wider layout; adds better md table formatting

Signed-off-by: Colin Bayer <ccbayer@gmail.com>

* Adds Changelog notes

Signed-off-by: Colin Bayer <ccbayer@gmail.com>

* remove redundant css rule

Signed-off-by: Colin Bayer <ccbayer@gmail.com>
pull/1866/head
colin bayer 2019-09-10 13:33:26 -07:00 committed by Steve Kriss
parent 6623e1f273
commit 8b0cf3855c
5 changed files with 50 additions and 13 deletions

View File

@ -0,0 +1 @@
Jeckyll Site updates - modifies documentation to use a wider layout; adds better markdown table formatting

View File

@ -16,28 +16,28 @@
<div class="container-fluid site-outer-container">
<div class="site-container">
{% include site-header.html %}
<div class="post-single-hero bg-color-{{ site.hero.background-color }}">
<div class="post-single-hero post-single-hero-short bg-color-{{ site.hero.background-color }}">
<div class="section">
<div class="section-content">
<h1>Documentation</h1>
</div>
</div>
</div>
<div class="post-single-body">
<div class="section section-card">
<div class="section-content pt-4 pb-0">
<div class="row">
<div class="col-md-3">
{% include versions.html %}
{% include nav.html %}
</div>
<div class="col-md-8 offset-md-1">
{% include version-warning.html %}
<div class="section section-card pt-4 pb-0">
<div class="container container-max">
<div class="row">
<div class="col-md-3 toc">
{% include versions.html %}
{% include nav.html %}
</div>
<div class="col-md-8">
{% include version-warning.html %}
<div class="documentation-container">
{{ content }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% include footer.html %}
</div>

1
site/_scss/_styles.scss Normal file → Executable file
View File

@ -10,6 +10,7 @@
// Layouts
@import "./site/layouts/container";
@import "./site/layouts/documentation";
// Objects
@import "./site/objects/header";

View File

@ -0,0 +1,32 @@
#docs {
.container.container-max {
max-width: 90%;
}
table {
@extend .table;
@extend .table-striped;
@extend .table-bordered;
thead {
@extend .thead-light;
}
td {
code {
word-break: keep-all;
}
}
}
.toc {
padding-left: 30px;
nav {
ul {
padding: 0;
}
}
}
.documentation-container {
@include media-breakpoint-down(lg) {
max-width: 100%;
overflow-x: scroll;
}
}
}

3
site/_scss/site/objects/_post.scss Normal file → Executable file
View File

@ -25,6 +25,9 @@
font-weight: $font-weight-light;
text-align: center;
}
&.post-single-hero-short {
padding-bottom: 0;
}
}
.post-single-body {