You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by al...@apache.org on 2023/05/18 18:47:10 UTC
[ignite-website] branch master updated: Fix documentation styles (filenames collision)
This is an automated email from the ASF dual-hosted git repository.
alexpl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new eff2fc350b Fix documentation styles (filenames collision)
eff2fc350b is described below
commit eff2fc350b15266b01a2f857614cd06920bfdbc9
Author: Aleksey Plekhanov <pl...@gmail.com>
AuthorDate: Thu May 18 21:42:02 2023 +0300
Fix documentation styles (filenames collision)
---
_docs/_sass/{docs.scss => page-docs.scss} | 0
_docs/assets/css/styles.scss | 2 +-
assets/css/styles.css | 240 ++++++++++++++++++++++++++++++
assets/css/styles.css.map | 2 +-
4 files changed, 242 insertions(+), 2 deletions(-)
diff --git a/_docs/_sass/docs.scss b/_docs/_sass/page-docs.scss
similarity index 100%
rename from _docs/_sass/docs.scss
rename to _docs/_sass/page-docs.scss
diff --git a/_docs/assets/css/styles.scss b/_docs/assets/css/styles.scss
index 1eb1c53578..de05c4a186 100644
--- a/_docs/assets/css/styles.scss
+++ b/_docs/assets/css/styles.scss
@@ -12,6 +12,6 @@
@import "footer";
@import "railroad-diagram";
-@import "docs";
+@import "page-docs";
@import "asciidoc-pygments";
\ No newline at end of file
diff --git a/assets/css/styles.css b/assets/css/styles.css
index 904a1e1376..bc4e4cc491 100644
--- a/assets/css/styles.css
+++ b/assets/css/styles.css
@@ -999,6 +999,246 @@ body > footer {
fill: #eee;
}
+section.page-docs {
+ display: grid;
+ transition: grid-template-columns 0.15s;
+ grid-template-columns: auto 1fr auto;
+ grid-template-rows: 100%;
+ grid-template-areas: "left-nav content right-nav";
+ line-height: 20px;
+ max-width: 1440px;
+ margin: auto;
+ width: 100%;
+}
+section.page-docs > article {
+ border-left: 1px solid #eeeeee;
+ background-color: #ffffff;
+ padding: 0 50px 30px;
+ grid-area: content;
+ overflow: hidden;
+ font-family: sans-serif;
+ font-size: 16px;
+ color: #545454;
+ line-height: 1.6em;
+}
+section.page-docs > article h1, section.page-docs > article h2, section.page-docs > article h3:not(.discrete), section.page-docs > article h4, section.page-docs > article h5, section.page-docs > article strong, section.page-docs > article th {
+ font-family: "Open Sans";
+}
+section.page-docs > article li {
+ margin-bottom: 0.5em;
+}
+section.page-docs > article li > p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+section.page-docs > article img {
+ max-width: 100%;
+ height: auto;
+}
+@media (max-width: 800px) {
+ section.page-docs > article {
+ padding-left: 15px;
+ padding-right: 15px;
+ }
+}
+section.page-docs .edit-link {
+ position: relative;
+ top: 10px;
+ right: 10px;
+ float: right;
+ padding-top: calc(var(--header-height) + var(--padding-top));
+ margin-top: calc(-1 * var(--header-height));
+}
+section.page-docs h1, section.page-docs h2, section.page-docs h3:not(.discrete), section.page-docs h4, section.page-docs h5 {
+ margin-bottom: 0;
+}
+section.page-docs h1[id], section.page-docs h2[id], section.page-docs h3:not(.discrete)[id], section.page-docs h4[id], section.page-docs h5[id] {
+ margin-top: var(--margin-top);
+ margin-bottom: calc(var(--margin-top) * 0.5);
+ z-index: -1;
+}
+section.page-docs .toc > ul {
+ margin: 0;
+}
+section.page-docs .content > .pygments.highlight {
+ margin-top: 0px;
+}
+section.page-docs .title {
+ font-style: italic;
+}
+section.page-docs .checkmark:before {
+ content: "";
+ background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='check-square' class='svg-inline--fa fa-check-square fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%2300a100' d='M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249- [...]
+ width: 15px;
+ height: 15px;
+ display: inline-block;
+ background-repeat: no-repeat;
+ visibility: visible;
+}
+section.page-docs .checkmark {
+ visibility: hidden;
+}
+section.page-docs .stretch {
+ width: 100%;
+}
+section.page-docs h1[id] {
+ --margin-top: 1em;
+}
+section.page-docs h2[id] {
+ --margin-top: 1.2em;
+}
+section.page-docs .toc > h2 {
+ --margin-top: 1em;
+}
+section.page-docs h3[id] {
+ --margin-top: 1.2em;
+}
+section.page-docs h4[id] {
+ --margin-top: 0.5em;
+}
+section.page-docs h5[id] {
+ --margin-top: 1.67em;
+}
+section.page-docs .imageblock .content, section.page-docs .image {
+ text-align: center;
+ display: block;
+}
+section.page-docs .imageblock img:not([width]):not([height]), section.page-docs .image img:not([width]):not([height]) {
+ width: auto;
+ height: auto;
+ max-width: 100%;
+ max-height: 450px;
+}
+section.page-docs strong {
+ color: #757575;
+}
+section.page-docs th.valign-top, section.page-docs td.valign-top {
+ vertical-align: top;
+}
+section.page-docs table {
+ margin: 16px 0;
+}
+section.page-docs table tr td {
+ hyphens: auto;
+}
+section.page-docs table thead, section.page-docs table tfoot {
+ background: #f7f8f7;
+ color: #757575;
+}
+section.page-docs table tr.even, section.page-docs table tr.alt {
+ background: #f8f8f7;
+}
+section.page-docs table.stripes-all tr, section.page-docs table.stripes-odd tr:nth-of-type(odd), section.page-docs table.stripes-even tr:nth-of-type(even), section.page-docs table.stripes-hover tr:hover {
+ background: #f8f8f7;
+}
+
+.copyright {
+ margin-top: 3em;
+ padding-top: 1em;
+ border-top: 1px solid #f0f0f0;
+ font-size: 0.9em;
+ line-height: 1.8em;
+ color: #757575;
+}
+
+body.hide-left-nav .left-nav {
+ display: none;
+}
+
+.left-nav {
+ bottom: 0;
+ position: -webkit-sticky;
+ position: sticky;
+}
+
+.left-nav {
+ grid-area: left-nav;
+}
+
+.right-nav {
+ grid-area: right-nav;
+}
+
+.left-nav__overlay {
+ display: none;
+ background: rgba(0, 0, 0, 0.5);
+ z-index: 1;
+ position: fixed;
+ top: var(--header-height);
+ bottom: 0;
+ left: 0;
+ right: 0;
+}
+
+#doc-feedback-btn {
+ background-color: #b02032 !important;
+ display: block;
+ font-weight: 400;
+ color: white;
+ text-align: center;
+ cursor: pointer;
+ user-select: none;
+ background-color: transparent;
+ border: 1px solid transparent;
+ padding: 0.375rem 0.75rem;
+ margin: 1rem auto;
+ font-size: 14px;
+ line-height: 1.5;
+ border-radius: 0.25rem;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+
+@media (max-width: 990px) {
+ body:not(.hide-left-nav) .left-nav__overlay {
+ display: block;
+ }
+ nav.left-nav {
+ background: #fafafa;
+ grid-area: left-nav;
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12);
+ min-height: calc(100vh - var(--header-height));
+ max-height: calc(100vh - var(--header-height));
+ position: fixed;
+ bottom: 0;
+ top: var(--header-height);
+ z-index: 2;
+ }
+ section.page-docs > article {
+ grid-column-start: left-nav;
+ grid-column-end: content;
+ grid-row: content;
+ }
+}
+@media (max-width: 800px) {
+ nav.right-nav {
+ display: block;
+ width: 100%;
+ height: 80px;
+ }
+ nav.right-nav .toc-wrapper {
+ display: none;
+ }
+ section.page-docs {
+ display: block;
+ }
+}
+:target:before {
+ content: "";
+ display: block;
+ margin-top: calc(var(--header-height) * -1);
+ height: var(--header-height);
+ width: 1px;
+}
+
+@media (min-width: 600px) and (max-width: 900px) {
+ :target:before {
+ content: "";
+ display: block;
+ width: 1px;
+ margin-top: -150px;
+ height: 150px;
+ }
+}
pre.pygments .hll {
background-color: #ffffcc;
}
diff --git a/assets/css/styles.css.map b/assets/css/styles.css.map
index 1758af0cf7..4a7e7bb173 100644
--- a/assets/css/styles.css.map
+++ b/assets/css/styles.css.map
@@ -1 +1 @@
-{"version":3,"sourceRoot":"","sources":["../../_sass/variables.scss","../../_sass/header.scss","../../_sass/code.scss","../../_sass/rouge-base16-solarized.scss","../../_sass/text.scss","../../_sass/callouts.scss","../../_sass/layout.scss","../../_sass/left-nav.scss","../../_sass/right-nav.scss","../../_sass/footer.scss","../../_sass/railroad-diagram.scss","../../_sass/asciidoc-pygments.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;E [...]
\ No newline at end of file
+{"version":3,"sourceRoot":"","sources":["../../_sass/variables.scss","../../_sass/header.scss","../../_sass/code.scss","../../_sass/rouge-base16-solarized.scss","../../_sass/text.scss","../../_sass/callouts.scss","../../_sass/layout.scss","../../_sass/left-nav.scss","../../_sass/right-nav.scss","../../_sass/footer.scss","../../_sass/railroad-diagram.scss","../../_sass/page-docs.scss","../../_sass/asciidoc-pygments.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA [...]
\ No newline at end of file