From 71cefaa9af2a8bcd6905c46e787d16e69f38021e Mon Sep 17 00:00:00 2001 From: Agathe <agathe.baez@live.fr> Date: Fri, 18 Jun 2021 16:02:51 +0200 Subject: [PATCH] =?UTF-8?q?Class=20active=20op=C3=A9rationnelle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 0 archetypes/default.md | 0 config.toml | 4 +- content/_index.md | 0 .../0-overview.md => docs/0-intro.md} | 4 +- content/{overview => docs}/1-why-xsweet.md | 2 +- content/{overview => docs}/2-features.md | 2 +- content/{overview => docs}/3-xsweet-story.md | 2 +- .../{overview => docs}/4-related-project.md | 2 +- .../{overview => docs}/5-further-reading.md | 2 +- content/{overview => docs}/6-credits.md | 2 +- content/{overview => docs}/_index.md | 0 content/documentation/HTMLevator.md | 0 content/documentation/_index.md | 0 content/documentation/editoria-typescript.md | 0 content/documentation/images/html-768x251.png | Bin content/documentation/images/math_docx.png | Bin content/documentation/images/math_ff.png | Bin content/documentation/images/table-demo.html | 0 content/documentation/images/table_html.png | Bin content/documentation/images/table_word.png | Bin .../images/wax_notes-768x472.png | Bin .../images/word_xml-768x1504.png | Bin content/documentation/overview.md | 0 content/documentation/xsweet-core.md | 0 content/images/thanks-logo-ljaf-632x244.png | Bin content/images/thanks-logo-moore-476x184.png | Bin .../thanks-logo-shuttleworth-608x172.png | Bin content/involved/_index.md | 0 content/involved/how-to.md | 2 +- content/using/_index.md | 0 .../using/images/editoria_wax_big-768x447.png | Bin content/using/images/xsweet_bash-768x291.png | Bin content/using/using-xsweet.md | 0 gitlab-ci.yml | 0 package-lock.json | 0 package.json | 0 themes/my-doks/layouts/_default/baseof.html | 0 .../my-doks/layouts/partials/head/head.html | 0 themes/my-doks/layouts/partials/head/seo.html | 0 .../layouts/partials/head/stylesheet.html | 0 .../layouts/partials/header/header.html | 0 .../layouts/partials/main/blog-meta.html | 0 .../partials/main/docs-navigation.html | 0 .../layouts/partials/main/edit-page.html | 0 .../layouts/partials/main/headline-hash.html | 0 .../layouts/partials/sidebar/docs-menu.html | 8 +- .../layouts/partials/sidebar/docs-toc.html | 0 themes/my-doks/layouts/shortcodes/alert.html | 0 .../my-doks/layouts/shortcodes/btn-copy.html | 0 themes/my-doks/layouts/shortcodes/email.html | 0 .../layouts/shortcodes/img-simple.html | 0 themes/my-doks/layouts/shortcodes/img.html | 0 themes/my-doks/theme.toml | 0 themes/xsweet-theme/assets/css/compoments.css | 0 themes/xsweet-theme/assets/css/doks.css | 0 themes/xsweet-theme/assets/css/main.css | 3674 +++++++++-------- themes/xsweet-theme/assets/css/theme.css | 0 .../assets/js/masonry-docs.min.js | 0 .../layouts/_default/documentation.html | 0 .../xsweet-theme/layouts/_default/index.html | 0 .../xsweet-theme/layouts/_default/list.html | 0 .../xsweet-theme/layouts/_default/single.html | 0 .../layouts/partials/cabbage-tree-logo.html | 0 .../xsweet-theme/layouts/partials/footer.html | 4 +- themes/xsweet-theme/layouts/partials/git.html | 0 .../layouts/partials/mailchimp.html | 87 + .../layouts/partials/mattermost.html | 0 .../layouts/partials/menu-sub.html | 5 +- .../xsweet-theme/layouts/partials/menu.html | 5 +- .../layouts/shortcodes/alert.html | 0 .../layouts/shortcodes/btn-copy.html | 0 .../layouts/shortcodes/email.html | 0 .../layouts/shortcodes/img-simple.html | 0 .../xsweet-theme/layouts/shortcodes/img.html | 0 .../static/fonts/VictorMono-Bold.otf | Bin .../static/fonts/VictorMono-Italic.otf | Bin .../static/fonts/VictorMono-Regular.otf | Bin 78 files changed, 1972 insertions(+), 1833 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 archetypes/default.md mode change 100644 => 100755 config.toml mode change 100644 => 100755 content/_index.md rename content/{overview/0-overview.md => docs/0-intro.md} (98%) mode change 100644 => 100755 rename content/{overview => docs}/1-why-xsweet.md (99%) mode change 100644 => 100755 rename content/{overview => docs}/2-features.md (98%) mode change 100644 => 100755 rename content/{overview => docs}/3-xsweet-story.md (99%) mode change 100644 => 100755 rename content/{overview => docs}/4-related-project.md (99%) mode change 100644 => 100755 rename content/{overview => docs}/5-further-reading.md (98%) mode change 100644 => 100755 rename content/{overview => docs}/6-credits.md (96%) mode change 100644 => 100755 rename content/{overview => docs}/_index.md (100%) mode change 100644 => 100755 mode change 100644 => 100755 content/documentation/HTMLevator.md mode change 100644 => 100755 content/documentation/_index.md mode change 100644 => 100755 content/documentation/editoria-typescript.md mode change 100644 => 100755 content/documentation/images/html-768x251.png mode change 100644 => 100755 content/documentation/images/math_docx.png mode change 100644 => 100755 content/documentation/images/math_ff.png mode change 100644 => 100755 content/documentation/images/table-demo.html mode change 100644 => 100755 content/documentation/images/table_html.png mode change 100644 => 100755 content/documentation/images/table_word.png mode change 100644 => 100755 content/documentation/images/wax_notes-768x472.png mode change 100644 => 100755 content/documentation/images/word_xml-768x1504.png mode change 100644 => 100755 content/documentation/overview.md mode change 100644 => 100755 content/documentation/xsweet-core.md mode change 100644 => 100755 content/images/thanks-logo-ljaf-632x244.png mode change 100644 => 100755 content/images/thanks-logo-moore-476x184.png mode change 100644 => 100755 content/images/thanks-logo-shuttleworth-608x172.png mode change 100644 => 100755 content/involved/_index.md mode change 100644 => 100755 content/involved/how-to.md mode change 100644 => 100755 content/using/_index.md mode change 100644 => 100755 content/using/images/editoria_wax_big-768x447.png mode change 100644 => 100755 content/using/images/xsweet_bash-768x291.png mode change 100644 => 100755 content/using/using-xsweet.md mode change 100644 => 100755 gitlab-ci.yml mode change 100644 => 100755 package-lock.json mode change 100644 => 100755 package.json mode change 100644 => 100755 themes/my-doks/layouts/_default/baseof.html mode change 100644 => 100755 themes/my-doks/layouts/partials/head/head.html mode change 100644 => 100755 themes/my-doks/layouts/partials/head/seo.html mode change 100644 => 100755 themes/my-doks/layouts/partials/head/stylesheet.html mode change 100644 => 100755 themes/my-doks/layouts/partials/header/header.html mode change 100644 => 100755 themes/my-doks/layouts/partials/main/blog-meta.html mode change 100644 => 100755 themes/my-doks/layouts/partials/main/docs-navigation.html mode change 100644 => 100755 themes/my-doks/layouts/partials/main/edit-page.html mode change 100644 => 100755 themes/my-doks/layouts/partials/main/headline-hash.html mode change 100644 => 100755 themes/my-doks/layouts/partials/sidebar/docs-menu.html mode change 100644 => 100755 themes/my-doks/layouts/partials/sidebar/docs-toc.html mode change 100644 => 100755 themes/my-doks/layouts/shortcodes/alert.html mode change 100644 => 100755 themes/my-doks/layouts/shortcodes/btn-copy.html mode change 100644 => 100755 themes/my-doks/layouts/shortcodes/email.html mode change 100644 => 100755 themes/my-doks/layouts/shortcodes/img-simple.html mode change 100644 => 100755 themes/my-doks/layouts/shortcodes/img.html mode change 100644 => 100755 themes/my-doks/theme.toml mode change 100644 => 100755 themes/xsweet-theme/assets/css/compoments.css mode change 100644 => 100755 themes/xsweet-theme/assets/css/doks.css mode change 100644 => 100755 themes/xsweet-theme/assets/css/main.css mode change 100644 => 100755 themes/xsweet-theme/assets/css/theme.css mode change 100644 => 100755 themes/xsweet-theme/assets/js/masonry-docs.min.js mode change 100644 => 100755 themes/xsweet-theme/layouts/_default/documentation.html mode change 100644 => 100755 themes/xsweet-theme/layouts/_default/index.html mode change 100644 => 100755 themes/xsweet-theme/layouts/_default/list.html mode change 100644 => 100755 themes/xsweet-theme/layouts/_default/single.html mode change 100644 => 100755 themes/xsweet-theme/layouts/partials/cabbage-tree-logo.html mode change 100644 => 100755 themes/xsweet-theme/layouts/partials/git.html create mode 100644 themes/xsweet-theme/layouts/partials/mailchimp.html mode change 100644 => 100755 themes/xsweet-theme/layouts/partials/mattermost.html mode change 100644 => 100755 themes/xsweet-theme/layouts/shortcodes/alert.html mode change 100644 => 100755 themes/xsweet-theme/layouts/shortcodes/btn-copy.html mode change 100644 => 100755 themes/xsweet-theme/layouts/shortcodes/email.html mode change 100644 => 100755 themes/xsweet-theme/layouts/shortcodes/img-simple.html mode change 100644 => 100755 themes/xsweet-theme/layouts/shortcodes/img.html mode change 100644 => 100755 themes/xsweet-theme/static/fonts/VictorMono-Bold.otf mode change 100644 => 100755 themes/xsweet-theme/static/fonts/VictorMono-Italic.otf mode change 100644 => 100755 themes/xsweet-theme/static/fonts/VictorMono-Regular.otf diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/archetypes/default.md b/archetypes/default.md old mode 100644 new mode 100755 diff --git a/config.toml b/config.toml old mode 100644 new mode 100755 index e32466f..601efef --- a/config.toml +++ b/config.toml @@ -32,9 +32,9 @@ theme = ["hugo-video", "xsweet-theme", "my-doks"] [menu] [[menu.main]] - identifier = "overview" + identifier = "docs" name = "Overview" - url = "/overview/0-overview/" + url = "/docs/0-intro/" weight= 1 [[menu.main]] diff --git a/content/_index.md b/content/_index.md old mode 100644 new mode 100755 diff --git a/content/overview/0-overview.md b/content/docs/0-intro.md old mode 100644 new mode 100755 similarity index 98% rename from content/overview/0-overview.md rename to content/docs/0-intro.md index 6632f5c..c896192 --- a/content/overview/0-overview.md +++ b/content/docs/0-intro.md @@ -1,10 +1,10 @@ --- -title: "Overview" +title: "Introduction" draft: false weight: 100 part: 1 Intro : "XSweet is a free, open source conversion tool for converting Microsoft Word documents (.docx) into HTML and beyond" -class: overview +class: docs --- XSweet is a free, open source conversion tool for converting Microsoft Word documents (.docx) into HTML and beyond. diff --git a/content/overview/1-why-xsweet.md b/content/docs/1-why-xsweet.md old mode 100644 new mode 100755 similarity index 99% rename from content/overview/1-why-xsweet.md rename to content/docs/1-why-xsweet.md index 3484c55..e504a33 --- a/content/overview/1-why-xsweet.md +++ b/content/docs/1-why-xsweet.md @@ -4,7 +4,7 @@ draft: false weight: 110 part: 1 Intro : "The most common use case for XSweet is to migrate MS Word files 'to the web'." -class: overview +class: docs --- The most common use case for XSweet is to migrate MS Word files 'to the web'. If you have any amount of content that exists in standalone MS Word files and you need to have those in some sort of web-based CMS, data store, or website, then XSweet will help you greatly. diff --git a/content/overview/2-features.md b/content/docs/2-features.md old mode 100644 new mode 100755 similarity index 98% rename from content/overview/2-features.md rename to content/docs/2-features.md index 5d00e9e..e2c3886 --- a/content/overview/2-features.md +++ b/content/docs/2-features.md @@ -4,7 +4,7 @@ draft: false weight: 120 part: 1 Intro : "XSweet 1.0 conversion addresses the following" -class: overview +class: docs --- XSweet 1.0 conversion addresses the following: diff --git a/content/overview/3-xsweet-story.md b/content/docs/3-xsweet-story.md old mode 100644 new mode 100755 similarity index 99% rename from content/overview/3-xsweet-story.md rename to content/docs/3-xsweet-story.md index 7e8592b..b54c1e9 --- a/content/overview/3-xsweet-story.md +++ b/content/docs/3-xsweet-story.md @@ -4,7 +4,7 @@ draft: false weight: 130 part: 1 Intro : "Microsoft Word has long been the de facto standard" -class: overview +class: docs --- Microsoft Word has long been the de facto standard for authoring and editing manuscripts for publication. But while they (sometimes) look nice to a human reader, a peek under the hood reveals a messy slurry of largely unstructured text, tags, and cruft. As a result, publishing processes tend to look something like this: diff --git a/content/overview/4-related-project.md b/content/docs/4-related-project.md old mode 100644 new mode 100755 similarity index 99% rename from content/overview/4-related-project.md rename to content/docs/4-related-project.md index 9ba2eb9..441c29a --- a/content/overview/4-related-project.md +++ b/content/docs/4-related-project.md @@ -4,7 +4,7 @@ draft: false weight: 140 part: 1 Intro : "As with all software projects XSweet owes a debt of gratitude" -class: overview +class: docs --- As with all software projects XSweet owes a debt of gratitude to those that have come before and those that still exist in this space. If XSweet does not meet your needs we recommend you also look at the following for docx to HTML conversion (only open source projects listed): diff --git a/content/overview/5-further-reading.md b/content/docs/5-further-reading.md old mode 100644 new mode 100755 similarity index 98% rename from content/overview/5-further-reading.md rename to content/docs/5-further-reading.md index 3af0e42..010af53 --- a/content/overview/5-further-reading.md +++ b/content/docs/5-further-reading.md @@ -4,7 +4,7 @@ draft: false weight: 150 part: 1 Intro : "Although we see HTML as our primary use case, XSweet also proposes" -class: overview +class: docs --- Although we see HTML as our primary use case, XSweet also proposes a new approach to what has previously been known as a 'hub format'. So, here is a collection of some writings on this approach, most written by the XSweet team, with a few other contributions. [Text. You keep using that word…](https://www.balisage.net/Proceedings/vol19/html/Sperberg-McQueen02/BalisageVol19-Sperberg-McQueen02.html "www.balisage.net") by C. M. Sperberg-McQueen, (Co-editor of XML Recommendation (1998), long-time Editor of TEI) diff --git a/content/overview/6-credits.md b/content/docs/6-credits.md old mode 100644 new mode 100755 similarity index 96% rename from content/overview/6-credits.md rename to content/docs/6-credits.md index c0d072e..ff95aae --- a/content/overview/6-credits.md +++ b/content/docs/6-credits.md @@ -4,7 +4,7 @@ draft: false weight: 160 part: 1 Intro : "XSweet is a project from Cabbage Tree Labs" -class: overview +class: docs --- XSweet is a project from [Cabbage Tree Labs](https://cabbagetreelabs.org "cabbagetreelabs.org"), conceived by Adam Hyde and co-designed with veteran XML programmer [Wendell Piez](http://wendellpiez.com/ "wendellpiez.com"). XSweet scripts were built and tested by Wendell Piez and Alex Theg. diff --git a/content/overview/_index.md b/content/docs/_index.md old mode 100644 new mode 100755 similarity index 100% rename from content/overview/_index.md rename to content/docs/_index.md diff --git a/content/documentation/HTMLevator.md b/content/documentation/HTMLevator.md old mode 100644 new mode 100755 diff --git a/content/documentation/_index.md b/content/documentation/_index.md old mode 100644 new mode 100755 diff --git a/content/documentation/editoria-typescript.md b/content/documentation/editoria-typescript.md old mode 100644 new mode 100755 diff --git a/content/documentation/images/html-768x251.png b/content/documentation/images/html-768x251.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/math_docx.png b/content/documentation/images/math_docx.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/math_ff.png b/content/documentation/images/math_ff.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/table-demo.html b/content/documentation/images/table-demo.html old mode 100644 new mode 100755 diff --git a/content/documentation/images/table_html.png b/content/documentation/images/table_html.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/table_word.png b/content/documentation/images/table_word.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/wax_notes-768x472.png b/content/documentation/images/wax_notes-768x472.png old mode 100644 new mode 100755 diff --git a/content/documentation/images/word_xml-768x1504.png b/content/documentation/images/word_xml-768x1504.png old mode 100644 new mode 100755 diff --git a/content/documentation/overview.md b/content/documentation/overview.md old mode 100644 new mode 100755 diff --git a/content/documentation/xsweet-core.md b/content/documentation/xsweet-core.md old mode 100644 new mode 100755 diff --git a/content/images/thanks-logo-ljaf-632x244.png b/content/images/thanks-logo-ljaf-632x244.png old mode 100644 new mode 100755 diff --git a/content/images/thanks-logo-moore-476x184.png b/content/images/thanks-logo-moore-476x184.png old mode 100644 new mode 100755 diff --git a/content/images/thanks-logo-shuttleworth-608x172.png b/content/images/thanks-logo-shuttleworth-608x172.png old mode 100644 new mode 100755 diff --git a/content/involved/_index.md b/content/involved/_index.md old mode 100644 new mode 100755 diff --git a/content/involved/how-to.md b/content/involved/how-to.md old mode 100644 new mode 100755 index 5e7f31b..5a2072a --- a/content/involved/how-to.md +++ b/content/involved/how-to.md @@ -4,7 +4,7 @@ draft: false weight: 400 part: 1 Intro : "Editoria Typescript transforms HTML into a format required for the Coko Foundation's" -class: documentation +class: how-to --- ## Contributing diff --git a/content/using/_index.md b/content/using/_index.md old mode 100644 new mode 100755 diff --git a/content/using/images/editoria_wax_big-768x447.png b/content/using/images/editoria_wax_big-768x447.png old mode 100644 new mode 100755 diff --git a/content/using/images/xsweet_bash-768x291.png b/content/using/images/xsweet_bash-768x291.png old mode 100644 new mode 100755 diff --git a/content/using/using-xsweet.md b/content/using/using-xsweet.md old mode 100644 new mode 100755 diff --git a/gitlab-ci.yml b/gitlab-ci.yml old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/_default/baseof.html b/themes/my-doks/layouts/_default/baseof.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/head/head.html b/themes/my-doks/layouts/partials/head/head.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/head/seo.html b/themes/my-doks/layouts/partials/head/seo.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/head/stylesheet.html b/themes/my-doks/layouts/partials/head/stylesheet.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/header/header.html b/themes/my-doks/layouts/partials/header/header.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/main/blog-meta.html b/themes/my-doks/layouts/partials/main/blog-meta.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/main/docs-navigation.html b/themes/my-doks/layouts/partials/main/docs-navigation.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/main/edit-page.html b/themes/my-doks/layouts/partials/main/edit-page.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/main/headline-hash.html b/themes/my-doks/layouts/partials/main/headline-hash.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/partials/sidebar/docs-menu.html b/themes/my-doks/layouts/partials/sidebar/docs-menu.html old mode 100644 new mode 100755 index 21ad7c2..d1691e7 --- a/themes/my-doks/layouts/partials/sidebar/docs-menu.html +++ b/themes/my-doks/layouts/partials/sidebar/docs-menu.html @@ -1,9 +1,15 @@ <div class="card-list"> + {{ $currentURL := .URL }} + {{ $currentSection := .CurrentSection }} {{ range where .Site.RegularPages.ByWeight "Section" .Section }} {{ if in (.Permalink | string) $currentSection.RelPermalink }} - <div class="card my-3"> + + <div class="card my-3 {{if in .Permalink $currentURL }}active{{ end }}"> + + <div class="card-body"> + <a class="stretched-link" href="{{ .Permalink }}">{{ .Params.title | title }}</a> <!-- {{ if ne .Params.toc false -}} diff --git a/themes/my-doks/layouts/partials/sidebar/docs-toc.html b/themes/my-doks/layouts/partials/sidebar/docs-toc.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/shortcodes/alert.html b/themes/my-doks/layouts/shortcodes/alert.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/shortcodes/btn-copy.html b/themes/my-doks/layouts/shortcodes/btn-copy.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/shortcodes/email.html b/themes/my-doks/layouts/shortcodes/email.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/shortcodes/img-simple.html b/themes/my-doks/layouts/shortcodes/img-simple.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/layouts/shortcodes/img.html b/themes/my-doks/layouts/shortcodes/img.html old mode 100644 new mode 100755 diff --git a/themes/my-doks/theme.toml b/themes/my-doks/theme.toml old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/assets/css/compoments.css b/themes/xsweet-theme/assets/css/compoments.css old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/assets/css/doks.css b/themes/xsweet-theme/assets/css/doks.css old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/assets/css/main.css b/themes/xsweet-theme/assets/css/main.css old mode 100644 new mode 100755 index 3ab7038..17241ea --- a/themes/xsweet-theme/assets/css/main.css +++ b/themes/xsweet-theme/assets/css/main.css @@ -2,1870 +2,1912 @@ /* Document ========================================================================== */ -html { - line-height: 1.15; /* 1 */ - -webkit-text-size-adjust: 100%; /* 2 */ - scroll-behavior: smooth; - background: var(--color-background); -} -html * { - box-sizing: border-box; -} - -/* Sections - ========================================================================== */ -body { - margin: 0; -} -main { - display: block; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/* Grouping content - ========================================================================== */ - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -pre { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/* Text-level semantics - ========================================================================== */ -a { - background-color: transparent; -} -/** - * 1. Remove the bottom border in Chrome 57- - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove the border on images inside links in IE 10. - */ - -img { - border-style: none; -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change the font styles in all browsers. - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; /* 1 */ - font-size: 100%; /* 1 */ - line-height: 1.15; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { - /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { - /* 1 */ - text-transform: none; -} - -/** - * Correct the inability to style clickable types in iOS and Safari. - */ - -button, -[type="button"], -[type="reset"], -[type="submit"] { - -webkit-appearance: button; -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Correct the padding in Firefox. - */ - -fieldset { padding: 0.35em 0.75em 0.625em; } - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { vertical-align: baseline;} - -/** - * Remove the default vertical scrollbar in IE 10+. - */ - -textarea { overflow: auto;} - -/** - * 1. Add the correct box sizing in IE 10. - * 2. Remove the padding in IE 10. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding in Chrome and Safari on macOS. - */ - -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} - -/* Interactive - ========================================================================== */ - -/* - * Add the correct display in Edge, IE 10+, and Firefox. - */ - -details { display: block; } - -/* - * Add the correct display in all browsers. - */ - -summary { display: list-item; } - -/* Misc ============================================================ */ - -/** - * Add the correct display in IE 10+. - */ - -template { display: none; } - -/** - * Add the correct display in IE 10. - */ - -[hidden] { display: none; } - -/* xSweet theme ========================================================================== */ -/* 1. variantes ========================================================================== */ - -/* 2. Base ========================================================================== */ - -body { - overflow-y: scroll; - box-sizing: border-box; - display: grid; - grid-template-columns: [left] 25% [main] 50% [right] 25% [end]; - width: 80%; - grid-gap: 0vw; - background: var(--color-background); - max-width: 1300px; - margin: auto; - position: relative; - z-index: 0; - padding: 3em; - /* min-height: 100%; */ -} -body { - font-family: var(--font-serif); - font-size: var(--font-size); - line-height: 1.4; - color: var(--color-body); - letter-spacing: 0.2px; - font-variant-ligatures: common-ligatures; - font-weight: 300; -} -/* -body:not(.homepage):before { - content: ''; - position: absolute; - width: 100%; - height: 3px; - max-width: 1300px; - margin-left: 0px; - background: linear-gradient(to right,#1e549e 20%, #94c11f, #3aaa35); -} */ - -article { - grid-template-columns: [left] 5% [main] 90% 5%[end]; - margin-top: 0.5em; -} - -article { - grid-column: left / end; -} - -/* Documentation ----------------------------------------*/ -.docssidebar { - position: fixed; -} -.docs-content { - line-height: 1.6; -} -.docs-content .meta { - margin: 0; - width: 100%; - max-width: 100%; - margin-top: 2em; - margin-bottom: 2em; - font-family: var(--font-sans); -} -.docs-content .date { - font-weight: 500; -} -.docs-content p, -.docs-content li { - margin-bottom: 0em; - margin-top: 0.5em; - hyphens: auto; - font-family: var(--font-serif); - font-size: 0.9em; -} -.docs-content p, -article p, -article li { - max-width: 60ch; -} -.docs-content strong { - font-weight: 700; - line-height: 0; -} - -.docs-content li { - max-width: calc(60ch - 10ch); - margin-left: 5ch; -} -.docs-content a { - text-decoration: none; - border: 0; - line-height: 1; - color: var(--color-body); - border-bottom: 1px solid black; -} -.docs-content a:hover { - border-bottom: 2px solid var(--color-primary); -} -.docs-content blockquote { - font-size: 0.9em; - font-family: var(--font-serif); - text-align: center; - font-style: italic; -} - -/* DOC list ----------------*/ -.docs-content ol { - padding: 0; -} -.docs-content ul { - list-style-type: none; - padding: 0; - font-family: var(--font-sans); -} -.docs-content ul li::before { - content: " - "; - display: block; - position: absolute; - margin-left: -3ch; -} - -/* DOC headings ----------------*/ -.docs-content h1, -.docs-content h2, -.docs-content h3, -.docs-content h4, -.docs-content h5, -.docs-content h6 { - margin: 0; - font-weight: 300; - font-family: var(--font-sans); - line-height: 1.2; - margin-top: 1.8em; - margin-bottom: 0.5em; - break-after: avoid; -} -.docs-content h1:first-child, -.docs-content h2:first-child, -.docs-content h3:first-child, -.docs-content h4:first-child, -.docs-content h5:first-child, -.docs-content h6:first-child { - margin-top: 1em; -} -.docs-content h1 { - max-width: 100%; - font-size: 3.5em; - line-height: 1.1; - text-transform: none; - margin-bottom: 0.8em; - padding-bottom: 25px; - font-family: var(--font-mono); - font-style: italic; - background-image: var(--color-gradient); - background-size: 100%; - background-repeat: repeat; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - -moz-background-clip: text; - -moz-text-fill-color: transparent; - background-color: var(--color-primary); - -} -.docs-content h2 { - font-size: 1.7em; - margin-top: 2em; - padding-top: 1em; - font-weight: 500; - -} -.docs-content h3 { - font-size: 1.4em; - padding-top: 2em; - margin-top: 0; - color: var(--color-primary); - font-weight: 500; - - -} -.docs-content h4 { - font-size: 1.1em; - font-style: normal; - font-weight: 500; -} -.docs-content h5 { - font-size: 1.125em; - font-family: var(--font-sans); - font-style: italic; -} -.docs-content h6 { - font-size: 1em; - font-family: var(--font-sans); -} -/* DOC code ----------------*/ -.highlight { - margin: 1em 0 2em 0; -} -.highlight + .highlight { - margin-top: -2em; -} -pre { - padding: 0em 0.5em; - font-weight: 300; - font-size: 1em; - line-height: 1.35; - padding: 0.2em 0.5em; - white-space: pre-wrap; - margin: 0; - background: var(--color-background) !important; - -} - -code { - font-size: 0.8em; - font-family: var(--font-mono); - line-height: 1.2em; - background: var(--color-background); - margin: 0 0.3ch; - line-height: 1; - padding-left: 1ch; - padding-right: 1ch; - font-weight: 600; -} -a code { - font-style: normal; - border-bottom: none; -} -pre code { - padding: 0; - background: transparent; -} -article article h2 :not(pre) code { - font-weight: 600; - font-size: 0.8em; -} - -/* DOC table ----------------*/ -.docs-content .table { - flex-direction: column; - width: 100%; - margin: 3em auto; -} -.docs-content .table figcaption { - display: block; - font-family: var(--font-sans); - text-align: center; - font-style: italic; - font-size: 0.9em; -} -.docs-content .table figcaption span { - font-size: 0.8em; - font-weight: 800; - margin-right: 4ch; - display: none; -} -.docs-content table.specs a { - font-style: normal; -} -.docs-content table [colspan="4"] { - padding-top: 3em; -} -.docs-content table { - border-collapse: collapse; - font-family: var(--font-sans); - font-size: 0.75em; - width: 100%; - margin: 2em auto; -} -.docs-content table tr:nth-of-type(even) { - background: var(--color-lightest-grey); -} -.docs-content table tr { - border-bottom: 1px solid grey; -} -.docs-content table tr th { - padding: 0.3em 1em 0.2em; - border-bottom: 5px solid var(--color-grey); -} -.docs-content table tr td { - padding: 0.5em 1em 0.2em; -} - -/* DOC figure ----------------*/ -.docs-content figure { - margin: 1em 0em; - display: flex; -} - -/* picture */ -.docs-content figure img { - width: 720px; - margin: 0 auto; -} -.docs-content img { - display: block; - max-width: 100%; - margin: 0 auto; -} - -/* DOC definition terms ----------------*/ -.docs-content .dt { - display: inline; - border-bottom: 3px solid var(--color-primary); - cursor: help; - position: relative; -} -.docs-content .dt:hover .dd { - display: block; -} -.docs-content .dd { - position: absolute; - background: var(--color-primary); - color: var(--color-body); - font-family: var(--font-sans); - top: 2em; - left: 0px; - width: 15em; - padding: 0.5em 1em; - display: none; - border-radius: 8px; -} - -/* DOC Note ----------------*/ -.docs-content .note { - font-size: 0.8em; - font-family: var(--font-sans); - margin: 4em -30px 3em -30px; - padding: 2px 20px; - border-left: 15px solid var(--color-primary); - border-right: 15px solid var(--color-primary); -} - -.docs-content .note::before { - z-index: -1; - content: " "; - width: 2em; - height: 2em; - background: var(--color-lightest-grey); - display: block; - position: absolute; - left: -2ch; - top: -0.7em; - border-radius: 50%; - background: linear-gradient(34deg, #f6f6f6, var(--color-lightest-grey)); -} - -.docs-content .note :first-child { - padding-top: 0; -} - -/* HEADINGS ----------------------------------------*/ - -header { - --color-primary: var(color-body); - display: flex; - flex-direction: column; - position: relative; - grid-column: left/end; - font-size: 0.8em; - margin-bottom: 2em; - margin-top: 3em; -} - -header .top-title { - color: grey; - display: block; - font-size: 0.5em; - margin-top: -1em; -} - -header #title { - margin-top: 0; - margin-bottom: 0; - color: var(--color-body); - font-size: 2.5em; - font-family: var(--font-serif); - position: relative; - border: 0px solid transparent; -} - -.intro { - font-family: var(--font-sans); - font-size: 1.2em; - line-height: 1.5; - max-width: 50ch; - margin-top: 0.5em; - color: var(--color-body); - max-width: 90%; - display: block; - grid-column: main/end; -} - -.intro + p { - margin-top: 4em; -} - -header p, -header ul, -header ol, -header h2, -header h4, -header h5, -header h6 { - margin-left: 0; -} - -header h2 { - font-size: 1.5em; -} - -.downloads table { - grid-column: main/main; -} - -#discourse-comments { - margin-top: 5em; - grid-column: main/main; -} - -/* SEARCH -------------------------------------------------------- */ -#search { - margin-top: 3em; - width: 100%; - grid-column: left/end; -} -#search input { - width: 100%; - border: 0 solid transparent; - background: transparent; - border-bottom: 2px dashed var(--color-lightest-grey); - font-family: var(--font-serif); - font-style: italic; - font-size: 1.3em; - text-align: center; - letter-spacing: 2px; - color: var(--color-body); - padding-bottom: 0.2em; -} -#search input::placeholder { - color: grey; -} -#search label { - font-family: var(--font-sans); -} -#search label[for="search"] { - display: block; - font-family: var(--font-serif); - font-size: 2em; - margin: 0 0 1em 0; -} -#searchResults { - list-style-type: none; - margin-top: 3em; -} -#searchResults .title { - font-size: 1.5em; - margin-bottom: 0; -} -#searchResults .meta { - margin-top: 0; - font-family: var(--font-sans); - font-size: 0.8em; -} -#searchResults li { - position: relative; - margin-bottom: 3em; -} -#searchResults a { - background: none; -} -#searchResults li::before { - content: none; -} -#searchResults span.type { - font-family: var(--font-sans); - text-transform: uppercase; - display: block; - font-size: 0.7em; - margin-top: 1em; - margin-bottom: 0.5em; -} -@media screen and (max-width: 900px) { + html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + scroll-behavior: smooth; + background: var(--color-background); + } + html * { + box-sizing: border-box; + } + /* Sections + ========================================================================== */ + body { + margin: 0; + } + main { + display: block; + } + + /** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + + h1 { + font-size: 2em; + margin: 0.67em 0; + } + + /* Grouping content + ========================================================================== */ + + /** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + + hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ + } + + /** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + + pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ + } + + /* Text-level semantics + ========================================================================== */ + a { + background-color: transparent; + } + /** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + + abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ + } + + /** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + + b, + strong { + font-weight: bolder; + } + + /** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + + code, + kbd, + samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ + } + + /** + * Add the correct font size in all browsers. + */ + + small { + font-size: 80%; + } + + /** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + + sub, + sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + sub { + bottom: -0.25em; + } + + sup { + top: -0.5em; + } + + /* Embedded content + ========================================================================== */ + + /** + * Remove the border on images inside links in IE 10. + */ + + img { + border-style: none; + } + + /* Forms + ========================================================================== */ + + /** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + + button, + input, + optgroup, + select, + textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ + } + + /** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + + button, + input { + /* 1 */ + overflow: visible; + } + + /** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + + button, + select { + /* 1 */ + text-transform: none; + } + + /** + * Correct the inability to style clickable types in iOS and Safari. + */ + + button, + [type="button"], + [type="reset"], + [type="submit"] { + -webkit-appearance: button; + } + + /** + * Remove the inner border and padding in Firefox. + */ + + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; + } + + /** + * Restore the focus styles unset by the previous rule. + */ + + button:-moz-focusring, + [type="button"]:-moz-focusring, + [type="reset"]:-moz-focusring, + [type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; + } + + /** + * Correct the padding in Firefox. + */ + + fieldset { padding: 0.35em 0.75em 0.625em; } + + /** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + + legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ + } + + /** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + + progress { vertical-align: baseline;} + + /** + * Remove the default vertical scrollbar in IE 10+. + */ + + textarea { overflow: auto;} + + /** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + + [type="checkbox"], + [type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ + } + + /** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + + [type="number"]::-webkit-inner-spin-button, + [type="number"]::-webkit-outer-spin-button { + height: auto; + } + + /** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + + [type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ + } + + /** + * Remove the inner padding in Chrome and Safari on macOS. + */ + + [type="search"]::-webkit-search-decoration { + -webkit-appearance: none; + } + + /** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + + ::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ + } + + /* Interactive + ========================================================================== */ + + /* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + + details { display: block; } + + /* + * Add the correct display in all browsers. + */ + + summary { display: list-item; } + + /* Misc ============================================================ */ + + /** + * Add the correct display in IE 10+. + */ + + template { display: none; } + + /** + * Add the correct display in IE 10. + */ + + [hidden] { display: none; } + + /* xSweet theme ========================================================================== */ + /* 1. variantes ========================================================================== */ + + /* 2. Base ========================================================================== */ + + body { + overflow-y: scroll; + box-sizing: border-box; + display: grid; + grid-template-columns: [left] 25% [main] 50% [right] 25% [end]; + width: 80%; + grid-gap: 0vw; + background: var(--color-background); + max-width: 1300px; + margin: auto; + position: relative; + z-index: 0; + padding: 3em; + /* min-height: 100%; */ + } + body { + font-family: var(--font-serif); + font-size: var(--font-size); + line-height: 1.4; + color: var(--color-body); + letter-spacing: 0.2px; + font-variant-ligatures: common-ligatures; + font-weight: 300; + } + /* + body:not(.homepage):before { + content: ''; + position: absolute; + width: 100%; + height: 3px; + max-width: 1300px; + margin-left: 0px; + background: linear-gradient(to right,#1e549e 20%, #94c11f, #3aaa35); + } */ + + article { + grid-template-columns: [left] 5% [main] 90% 5%[end]; + margin-top: 0.5em; + } + + article { + grid-column: left / end; + } + + /* Documentation ----------------------------------------*/ + .docssidebar { + position: fixed; + } + .docs-content { + line-height: 1.6; + } + .docs-content .meta { + margin: 0; + width: 100%; + max-width: 100%; + margin-top: 2em; + margin-bottom: 2em; + font-family: var(--font-sans); + } + .docs-content .date { + font-weight: 500; + } + .docs-content p, + .docs-content li { + margin-bottom: 0em; + margin-top: 0.5em; + hyphens: auto; + font-family: var(--font-serif); + font-size: 0.9em; + } + .docs-content p, + article p, + article li { + max-width: 60ch; + } + .docs-content strong { + font-weight: 700; + line-height: 0; + } + + .docs-content li { + max-width: calc(60ch - 10ch); + margin-left: 5ch; + } + .docs-content a { + text-decoration: none; + border: 0; + line-height: 1; + color: var(--color-body); + border-bottom: 1px solid black; + } + .docs-content a:hover { + border-bottom: 2px solid var(--color-primary); + } + .docs-content blockquote { + font-size: 0.9em; + font-family: var(--font-serif); + text-align: center; + font-style: italic; + } + + /* DOC list ----------------*/ + .docs-content ol { + padding: 0; + } + .docs-content ul { + list-style-type: none; + padding: 0; + font-family: var(--font-sans); + } + .docs-content ul li::before { + content: " - "; + display: block; + position: absolute; + margin-left: -3ch; + } + + /* DOC headings ----------------*/ + .docs-content h1, + .docs-content h2, + .docs-content h3, + .docs-content h4, + .docs-content h5, + .docs-content h6 { + margin: 0; + font-weight: 300; + font-family: var(--font-sans); + line-height: 1.2; + margin-top: 1.8em; + margin-bottom: 0.5em; + break-after: avoid; + } + .docs-content h1:first-child, + .docs-content h2:first-child, + .docs-content h3:first-child, + .docs-content h4:first-child, + .docs-content h5:first-child, + .docs-content h6:first-child { + margin-top: 1em; + } + .docs-content h1 { + max-width: 100%; + font-size: 3.5em; + line-height: 1.1; + text-transform: none; + margin-bottom: 0.8em; + padding-bottom: 25px; + font-family: var(--font-mono); + font-style: italic; + background-image: var(--color-gradient); + background-size: 100%; + background-repeat: repeat; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -moz-background-clip: text; + -moz-text-fill-color: transparent; + background-color: var(--color-primary); + + } + .docs-content h2 { + font-size: 1.7em; + margin-top: 2em; + padding-top: 1em; + font-weight: 500; + + } + .docs-content h3 { + font-size: 1.4em; + padding-top: 2em; + margin-top: 0; + color: var(--color-primary); + font-weight: 500; + + + } + .docs-content h4 { + font-size: 1.1em; + font-style: normal; + font-weight: 500; + } + .docs-content h5 { + font-size: 1.125em; + font-family: var(--font-sans); + font-style: italic; + } + .docs-content h6 { + font-size: 1em; + font-family: var(--font-sans); + } + /* DOC code ----------------*/ + .highlight { + margin: 1em 0 2em 0; + } + .highlight + .highlight { + margin-top: -2em; + } + pre { + padding: 0em 0.5em; + font-weight: 300; + font-size: 1em; + line-height: 1.35; + padding: 0.2em 0.5em; + white-space: pre-wrap; + margin: 0; + background: var(--color-background) !important; + + } + + code { + font-size: 0.8em; + font-family: var(--font-mono); + line-height: 1.2em; + background: var(--color-background); + margin: 0 0.3ch; + line-height: 1; + padding-left: 1ch; + padding-right: 1ch; + font-weight: 600; + } + a code { + font-style: normal; + border-bottom: none; + } + pre code { + padding: 0; + background: transparent; + } + article article h2 :not(pre) code { + font-weight: 600; + font-size: 0.8em; + } + + /* DOC table ----------------*/ + .docs-content .table { + flex-direction: column; + width: 100%; + margin: 3em auto; + } + .docs-content .table figcaption { + display: block; + font-family: var(--font-sans); + text-align: center; + font-style: italic; + font-size: 0.9em; + } + .docs-content .table figcaption span { + font-size: 0.8em; + font-weight: 800; + margin-right: 4ch; + display: none; + } + .docs-content table.specs a { + font-style: normal; + } + .docs-content table [colspan="4"] { + padding-top: 3em; + } + .docs-content table { + border-collapse: collapse; + font-family: var(--font-sans); + font-size: 0.75em; + width: 100%; + margin: 2em auto; + } + .docs-content table tr:nth-of-type(even) { + background: var(--color-lightest-grey); + } + .docs-content table tr { + border-bottom: 1px solid grey; + } + .docs-content table tr th { + padding: 0.3em 1em 0.2em; + border-bottom: 5px solid var(--color-grey); + } + .docs-content table tr td { + padding: 0.5em 1em 0.2em; + } + + /* DOC figure ----------------*/ + .docs-content figure { + margin: 1em 0em; + display: flex; + } + + /* picture */ + .docs-content figure img { + width: 720px; + margin: 0 auto; + } + .docs-content img { + display: block; + max-width: 100%; + margin: 0 auto; + } + + /* DOC definition terms ----------------*/ + .docs-content .dt { + display: inline; + border-bottom: 3px solid var(--color-primary); + cursor: help; + position: relative; + } + .docs-content .dt:hover .dd { + display: block; + } + .docs-content .dd { + position: absolute; + background: var(--color-primary); + color: var(--color-body); + font-family: var(--font-sans); + top: 2em; + left: 0px; + width: 15em; + padding: 0.5em 1em; + display: none; + border-radius: 8px; + } + + /* DOC Note ----------------*/ + .docs-content .note { + font-size: 0.8em; + font-family: var(--font-sans); + margin: 4em -30px 3em -30px; + padding: 2px 20px; + border-left: 15px solid var(--color-primary); + border-right: 15px solid var(--color-primary); + } + + .docs-content .note::before { + z-index: -1; + content: " "; + width: 2em; + height: 2em; + background: var(--color-lightest-grey); + display: block; + position: absolute; + left: -2ch; + top: -0.7em; + border-radius: 50%; + background: linear-gradient(34deg, #f6f6f6, var(--color-lightest-grey)); + } + + .docs-content .note :first-child { + padding-top: 0; + } + + /* HEADINGS ----------------------------------------*/ + + header { + --color-primary: var(color-body); + display: flex; + flex-direction: column; + position: relative; + grid-column: left/end; + font-size: 0.8em; + margin-bottom: 2em; + margin-top: 3em; + } + + header .top-title { + color: grey; + display: block; + font-size: 0.5em; + margin-top: -1em; + } + + header #title { + margin-top: 0; + margin-bottom: 0; + color: var(--color-body); + font-size: 2.5em; + font-family: var(--font-serif); + position: relative; + border: 0px solid transparent; + } + + .intro { + font-family: var(--font-sans); + font-size: 1.2em; + line-height: 1.5; + max-width: 50ch; + margin-top: 0.5em; + color: var(--color-body); + max-width: 90%; + display: block; + grid-column: main/end; + } + + .intro + p { + margin-top: 4em; + } + + header p, + header ul, + header ol, + header h2, + header h4, + header h5, + header h6 { + margin-left: 0; + } + + header h2 { + font-size: 1.5em; + } + + .downloads table { + grid-column: main/main; + } + + #discourse-comments { + margin-top: 5em; + grid-column: main/main; + } + + /* SEARCH -------------------------------------------------------- */ #search { - width: calc(100%); - margin: 0 0 2em; + margin-top: 3em; + width: 100%; + grid-column: left/end; + } + #search input { + width: 100%; + border: 0 solid transparent; + background: transparent; + border-bottom: 2px dashed var(--color-lightest-grey); + font-family: var(--font-serif); + font-style: italic; + font-size: 1.3em; + text-align: center; + letter-spacing: 2px; + color: var(--color-body); + padding-bottom: 0.2em; + } + #search input::placeholder { + color: grey; + } + #search label { + font-family: var(--font-sans); + } + #search label[for="search"] { + display: block; + font-family: var(--font-serif); + font-size: 2em; + margin: 0 0 1em 0; + } + #searchResults { + list-style-type: none; + margin-top: 3em; + } + #searchResults .title { + font-size: 1.5em; + margin-bottom: 0; + } + #searchResults .meta { + margin-top: 0; + font-family: var(--font-sans); + font-size: 0.8em; + } + #searchResults li { + position: relative; + margin-bottom: 3em; + } + #searchResults a { + background: none; + } + #searchResults li::before { + content: none; + } + #searchResults span.type { + font-family: var(--font-sans); + text-transform: uppercase; + display: block; + font-size: 0.7em; + margin-top: 1em; + margin-bottom: 0.5em; + } + @media screen and (max-width: 900px) { + #search { + width: calc(100%); + margin: 0 0 2em; + } + #search li { + margin-left: 0; + } } - #search li { + + /* RUNNING HEAD -------------------------------------------------------- */ + + .running-head { + grid-column: left/end; + display: flex; + justify-content: space-between; + position: sticky; + top: 0; + background: var(--color-background); + z-index: 9999999; + align-items: flex-end; + font-size: 0.9em; + padding-bottom: 50px; + padding-top: 20px; + } + .running-head:before { + content: ''; + position: absolute; + width: 100%; + height: 3px; + max-width: 1300px; + margin-left: 0px; + margin-bottom: -50px; + background: linear-gradient(to right,#1e549e 20%, #94c11f, #3aaa35); + } + .running-head .back-home { + width: 17ch; + background: 0 0; + padding: 0; + position: relative; + top: 0; margin-left: 0; + min-width: 10ch; + box-shadow: none; + border: none; } -} - -/* RUNNING HEAD -------------------------------------------------------- */ - -.running-head { - grid-column: left/end; - display: flex; - justify-content: space-between; - position: sticky; - top: 0; - background: var(--color-background); - z-index: 9999999; - align-items: flex-end; - font-size: 0.9em; - padding-bottom: 50px; - padding-top: 20px; -} -.running-head:before { - content: ''; - position: absolute; - width: 100%; - height: 3px; - max-width: 1300px; - margin-left: 0px; - margin-bottom: -50px; - background: linear-gradient(to right,#1e549e 20%, #94c11f, #3aaa35); -} -.running-head .back-home { - width: 17ch; - background: 0 0; - padding: 0; - position: relative; - top: 0; - margin-left: 0; - min-width: 10ch; - box-shadow: none; - border: none; -} - -.menu { - grid-column: left/end; - margin: 0; - font-family: var(--font-sans); - font-size: 1.1em; - padding-bottom: 15px; -} - -.menu.hide { - display: flex; -} - -.menu ul { - width: 100%; - list-style-type: none; - display: flex; - justify-content: space-between; - margin: 0; - flex-wrap: wrap; -} - -.menu ul li { - margin: 0; - margin-left: 3ch; - line-height: 1.6; -} - -/* .menu ul li.active { - font-weight: 700; - color: #00688b; -} */ - -.menu ul li.active { - font-weight: 700; - color: #00688b; -} - -.menu ul li a { - font-style: normal; - text-decoration: none; - background: var(--color-paper); -} - -.menu ul li::before { - content: none; - margin: 0; -} - -.menu-call { - display: none; -} - -.menu-call { - font-family: var(--font-serif); - background: transparent; - position: absolute; - right: 0; - top: 30px; - padding: 1em; - border-top: 1px solid var(--color-body); - border-bottom: 1px solid var(--color-body); - border-left: 0px; - border-right: 0px; -} - -/* HOMEPAGE -------------------------------------------------------- */ - -figure { - padding: 0; - margin: 0; -} - -.eighty { - border: 2px solid var(--color-grey); -} - -.eighty img { - width: 80%; - object-fit: contain; - padding: 1em; -} - -/* FOOTER -------------------------------------------------------- */ - -footer { - margin: 10em 0 0; - font-size: 0.8em; - grid-column: left/end; - font-family: var(--font-sans); - color: white; - align-items: left; - position: relative; - border-radius: 8px; - background-image: var(--color-gradient); -} -.footer-main { - padding: 20px; - display: flex; - flex-direction: row; -} -footer .col:nth-child(2) { - padding-left: 30px; - padding-right: 30px; -} -footer .col ul li{ - display: inline; -} -footer .foot3 ul{ - padding-left: 0px; -} -footer .foot3 img{ - padding: 0 40px 40px 0; -} -footer .col li img{ - width: 200px; -} -footer .cabage svg { - width: 270px; -} -footer .social svg { - width: 30px; - fill: white; -} - -footer p.foot-content { - line-height: 1.4; - max-width: unset; - text-align: center; -} - -/* POST IT -------------------------------------------------------- */ - -.postit { - line-height: 1; - text-align: center; - width: 275px; - /* margin: 25px; */ - min-height: 250px; - max-height: 250px; - /* padding-top: 35px; */ - position: relative; - border: 1px solid #e8e8e8; - border-left: 15px solid #fdfd86; - border-bottom-right-radius: 60px 5px; - display: inline-block; - background: #ffff88; /* Old browsers */ - background: -moz-linear-gradient( - -45deg, - #ffff88 81%, - #ffff88 82%, - #ffff88 82%, - #ffffc6 100% - ); /* FF3.6+ */ - background: -webkit-gradient( - linear, - left top, - right bottom, - color-stop(81%, #ffff88), - color-stop(82%, #ffff88), - color-stop(82%, #ffff88), - color-stop(100%, #ffffc6) - ); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient( - -45deg, - #ffff88 81%, - #ffff88 82%, - #ffff88 82%, - #ffffc6 100% - ); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient( - -45deg, - #ffff88 81%, - #ffff88 82%, - #ffff88 82%, - #ffffc6 100% - ); /* Opera 11.10+ */ - background: -ms-linear-gradient( - -45deg, - #ffff88 81%, - #ffff88 82%, - #ffff88 82%, - #ffffc6 100% - ); /* IE10+ */ - background: linear-gradient( - 135deg, - #ffff88 81%, - #ffff88 82%, - #ffff88 82%, - #ffffc6 100% - ); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff88', endColorstr='#ffffc6', GradientType=1); /* IE6-9 fallback on horizontal gradient */ -} -.postit::after { - content: ""; - position: absolute; - z-index: -1; - right: -0px; - bottom: 20px; - width: 200px; - height: 25px; - background: rgba(0, 0, 0, 0.2); - box-shadow: 2px 15px 5px rgba(0, 0, 0, 0.4); - /* -moz-transform: matrix(-1, -0.1, 0, 1, 0, 0); - -webkit-transform: matriX(-1, -0.1, 0, 1, 0, 0); - -o-transform: matrix(-1, -0.1, 0, 1, 0, 0); - -ms-transform: matriX(-1, -0.1, 0, 1, 0, 0); - transform: matrix(-1, -0.1, 0, 1, 0, 0); */ - transform: matrix(-1, -0.1, 0, 1, 0, 0); -} - -/* Background --------------------------------------*/ -.chroma { - background-color: var(--color-background); -} -/* Error */ -.chroma .err { - color: #a61717; - background-color: #e3d2d2; -} -/* LineTableTD */ -.chroma .lntd { - vertical-align: top; - padding: 0; - margin: 0; - border: 0; -} -/* LineTable */ -.chroma .lntable { - border-spacing: 0; - padding: 0; - margin: 0; - border: 0; - width: auto; - overflow: auto; - display: block; -} -/* LineHighlight */ -.chroma .hl { - display: block; - width: 100%; - background-color: #ffffcc; -} -/* LineNumbersTable */ -.chroma .lnt { - margin-right: 0.4em; - padding: 0 0.4em 0 0.4em; - color: #7f7f7f; -} -/* LineNumbers */ -.chroma .ln { - margin-right: 0.4em; - padding: 0 0.4em 0 0.4em; - color: #7f7f7f; -} -/* Keyword */ -.chroma .k { - color: #8b008b; - font-weight: bold; -} -/* KeywordConstant */ -.chroma .kc { - color: #8b008b; - font-weight: bold; -} -/* KeywordDeclaration */ -.chroma .kd { - color: #8b008b; - font-weight: bold; -} -/* KeywordNamespace */ -.chroma .kn { - color: #8b008b; - font-weight: bold; -} -/* KeywordPseudo */ -.chroma .kp { - color: #8b008b; - font-weight: bold; -} -/* KeywordReserved */ -.chroma .kr { - color: #8b008b; - font-weight: bold; -} -/* KeywordType */ -.chroma .kt { - color: #00688b; - font-weight: bold; -} -/* NameAttribute */ -.chroma .na { - color: #658b00; -} -/* NameBuiltin */ -.chroma .nb { - color: #658b00; -} -/* NameClass */ -.chroma .nc { - color: #008b45; - font-weight: bold; -} -/* NameConstant */ -.chroma .no { - color: #00688b; -} -/* NameDecorator */ -.chroma .nd { - color: #707a7c; -} -/* NameException */ -.chroma .ne { - color: #008b45; - font-weight: bold; -} -/* NameFunction */ -.chroma .nf { - color: #008b45; -} -/* NameNamespace */ -.chroma .nn { - color: #008b45; - text-decoration: underline; -} -/* NameTag */ -.chroma .nt { - color: #8b008b; - font-weight: bold; -} -/* NameVariable */ -.chroma .nv { - color: #00688b; -} -/* LiteralString */ -.chroma .s { - color: #cd5555; -} -/* LiteralStringAffix */ -.chroma .sa { - color: #cd5555; -} -/* LiteralStringBacktick */ -.chroma .sb { - color: #cd5555; -} -/* LiteralStringChar */ -.chroma .sc { - color: #cd5555; -} -/* LiteralStringDelimiter */ -.chroma .dl { - color: #cd5555; -} -/* LiteralStringDoc */ -.chroma .sd { - color: #cd5555; -} -/* LiteralStringDouble */ -.chroma .s2 { - color: #cd5555; -} -/* LiteralStringEscape */ -.chroma .se { - color: #cd5555; -} -/* LiteralStringHeredoc */ -.chroma .sh { - color: #1c7e71; - font-style: italic; -} -/* LiteralStringInterpol */ -.chroma .si { - color: #cd5555; -} -/* LiteralStringOther */ -.chroma .sx { - color: #cb6c20; -} -/* LiteralStringRegex */ -.chroma .sr { - color: #1c7e71; -} -/* LiteralStringSingle */ -.chroma .s1 { - color: #cd5555; -} -/* LiteralStringSymbol */ -.chroma .ss { - color: #cd5555; -} -/* LiteralNumber */ -.chroma .m { - color: #b452cd; -} -/* LiteralNumberBin */ -.chroma .mb { - color: #b452cd; -} -/* LiteralNumberFloat */ -.chroma .mf { - color: #b452cd; -} -/* LiteralNumberHex */ -.chroma .mh { - color: #b452cd; -} -/* LiteralNumberInteger */ -.chroma .mi { - color: #b452cd; -} -/* LiteralNumberIntegerLong */ -.chroma .il { - color: #b452cd; -} -/* LiteralNumberOct */ -.chroma .mo { - color: #b452cd; -} -/* OperatorWord */ -.chroma .ow { - color: #8b008b; -} -/* Comment */ -.chroma .c { - color: #228b22; -} -/* CommentHashbang */ -.chroma .ch { - color: #228b22; -} -/* CommentMultiline */ -.chroma .cm { - color: #228b22; -} -/* CommentSingle */ -.chroma .c1 { - color: #228b22; -} -/* CommentSpecial */ -.chroma .cs { - color: #8b008b; - font-weight: bold; -} -/* CommentPreproc */ -.chroma .cp { - color: #1e889b; -} -/* CommentPreprocFile */ -.chroma .cpf { - color: #1e889b; -} -/* GenericDeleted */ -.chroma .gd { - color: #aa0000; -} -/* GenericEmph */ -.chroma .ge { - font-style: italic; -} -/* GenericError */ -.chroma .gr { - color: #aa0000; -} -/* GenericHeading */ -.chroma .gh { - color: #000080; - font-weight: bold; -} -/* GenericInserted */ -.chroma .gi { - color: #00aa00; -} -/* GenericOutput */ -.chroma .go { - color: #888888; -} -/* GenericPrompt */ -.chroma .gp { - color: #555555; -} -/* GenericStrong */ -.chroma .gs { - font-weight: bold; -} -/* GenericSubheading */ -.chroma .gu { - color: #800080; - font-weight: bold; -} -/* GenericTraceback */ -.chroma .gt { - color: #aa0000; -} -/* GenericUnderline */ -.chroma .gl { - text-decoration: underline; -} -/* TextWhitespace */ -.chroma .w { - color: #bbbbbb; -} - -.not-found { - --color-paper: white; -} - -.not-found .background { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - opacity: 0.5; - z-index: -1; -} - -.not-found h1, -.not-found p, -.not-found #title { - max-width: max-content; - padding: 0.4em; - background: white; -} - -section { - grid-column: left / end; -} /* breadcrumb */ -#breadcrumbs { - font-family: var(--font-sans); -} -#breadcrumbs .delimiter { - color: inherit; - font-weight: 400; -} -#breadcrumbs { - padding-bottom: 0.7em; - color: var(--color-grey); -} -#breadcrumbs a { - color: inherit; - background: var(--color-paper); -} -#breadcrumbs a::after { - content: none; -} -#breadcrumbs a:last-child { - color: var(--color-body); -} -#breadcrumbs a:hover { - color: var(--color-accent); -} - -article { - display: grid; - grid-template-columns: [left] 20% [main] 70% 10%[end]; -} - -article .top { - grid-column: left/end; -} - -article #breadcrumbs { - grid-column: left/end; -} - -article header { - grid-column: left/end; -} - -article figure { - grid-column: left/end; -} - -article p, -article ul, -article ol, -article h1, -article h2, -article h3, -article h4, -article h5, -article h6, -article blockquote { - grid-column: main/main; -} - -article pre, -article table, -article .highlight, -article .talkyard-comments { - grid-column: left/end; -} - -article .signature { - max-width: 50ch; - grid-column: main/end; - font-family: var(--font-sans); - margin-top: 2em; - font-size: 0.8em; - /* max-width: 60%; */ - /* margin: 5em 0 auto auto; */ - line-height: 1.6em; - color: var(--color-primary); -} - -article .signature .name { - /* border-bottom: 2px dotted var(--color-lightest-grey); */ - margin-left: -3em; - padding-left: 3em; - max-width: max-content; - padding-right: 0.3ch; -} - -article .signature img { - border: 2px solid var(--color-lightest-grey); - float: left; - display: block; - width: 73px; - margin-left: -90px; - height: auto; - margin-right: 1em; - border-radius: 50%; - padding: 5px; - background: var(--color-paper); - margin-top: -6px; - /* box-shadow: 0 0 0 5px var(--color-primary); */ -} - -.tags-wrap { - margin-top: 1em; - font-size: 0.8em; -} - -a.tag { - font-family: var(--font-sans); - margin-right: 2ch; - text-decoration: underline; - font-style: normal; - font-weight: 400; - margin-top: 1em; -} - -.talkyard-comments { - margin-top: 100px !important; -} -/* -.list { - counter-reset: doc; - grid-column: main/end; -} - -.list a { - text-decoration: none; - background: none; - font-style: normal; -} - -.list * { - max-width: unset; -} - -.list ul ul { - padding-left: 2ch; - border-left: 1px solid var(--color-lightest-grey); - margin-left: 2ch; - font-size: 1em; -} - -.list nav:not(".menu") > ul { - margin-left: 5ch; -} - -.list ul li { - list-style-type: none; - font-size: 1em; -} - -.list ul li > ul { - margin-bottom: 0.5em; - margin-left: 1ch; - padding-left: 1ch; - font-size: 1em; - - border-left: 1px solid var(--color-lightest-grey); -} - -.list ul li::before { - content: none; -} - -.list ul li:hover::before { - color: var(--color-accent); -} - -.list p { - max-width: 45ch; - font-size: 1em; - font-family: var(--font-sans); -} - -.list .article { - margin-left: 0; - margin-top: 3em; -} - -.list .article .meta { - font-family: var(--font-sans); - font-size: 0.7em; - margin-bottom: 0; -} - -.list .article .intro { - font-family: var(--font-sans); - font-size: 1.4em; - line-height: 1.5; - max-width: 50ch; - margin-top: 0.3em; - color: var(--color-primary); - padding-left: 1em; - border-left: 2px solid var(--color-grey); - - max-width: 51ch; - display: block; - font-family: var(--font-serif); - margin-left: 3ch; -} - -.list .article h2 { - width: 100%; - font-size: 1.5em; - font-weight: 400; - margin-top: 0; - position: relative; - border-color: transparent; - margin-bottom: 0; - line-height: 1.1; -} - -.list .article h2::before { - content: "................................................................................................................................................."; - text-align: right; - color: #ccc; - font-size: 0.8em; - bottom: 2px; - position: absolute; - width: 98%; - padding-left: 5px; - letter-spacing: 2px; - overflow: hidden; -} - -.list .article h2 a { - counter-increment: doc; - position: relative; - z-index: 100; - padding-right: 0.5ch; - font-style: italic; - line-height: 1.1; -} - -.list .article h2 a span { - background: var(--color-paper); - display: inline; - padding-right: 1ch; -} - -.list .article h2 a::after { - padding-left: 1ch; - content: counter(doc); - float: right; - background: var(--color-paper); - font-style: normal; - font-size: 0.8em; - bottom: 0; - position: relative; - top: 0.2em; -} - -.list .article .toc-emoji { - float: right; - position: relative; - background: var(--color-paper); - padding-left: 1ch; -} */ - -/* PAGES -----------------------------------------*/ - -.about .meta { - display: none; -} -.documentation { - counter-reset: doc; -} - -.documentation .list .content .article ul ul { - font-size: 1em; - color: red; -} - -@media screen and (max-width: 570px) { - body { + + .menu { + grid-column: left/end; + margin: 0; + font-family: var(--font-sans); + font-size: 1.1em; + padding-bottom: 15px; + } + + .menu.hide { + display: flex; + } + + .menu ul { + width: 100%; + list-style-type: none; + display: flex; + justify-content: space-between; + margin: 0; + flex-wrap: wrap; + } + + .menu ul li { + margin: 0; + margin-left: 3ch; + line-height: 1.6; + } + + + .menu ul li.active { + font-weight: 700; + color: #00688b; + } + + .menu ul li a { + font-style: normal; + text-decoration: none; + background: var(--color-paper); + } + + .menu ul li::before { + content: none; + margin: 0; + } + + .menu-call { + display: none; + } + + .menu-call { + font-family: var(--font-serif); + background: transparent; + position: absolute; + right: 0; + top: 30px; + padding: 1em; + border-top: 1px solid var(--color-body); + border-bottom: 1px solid var(--color-body); + border-left: 0px; + border-right: 0px; + } + + /* HOMEPAGE -------------------------------------------------------- */ + + figure { + padding: 0; + margin: 0; + } + + .eighty { + border: 2px solid var(--color-grey); + } + + .eighty img { + width: 80%; + object-fit: contain; + padding: 1em; + } + + /* FOOTER -------------------------------------------------------- */ + + footer { + margin: 10em 0 0; + font-size: 0.8em; + grid-column: left/end; + font-family: var(--font-sans); + color: white; + align-items: left; + position: relative; + border-radius: 8px; + background-image: var(--color-gradient); + } + .footer-main { + padding: 20px 20px 0; + display: flex; + flex-direction: row; + width: 100%; + } + footer h2 { + margin-top: 0px; + } + + footer .foot2 { + margin-left: 50px; + margin-right: 50px; + width: 70%; + min-width: 300px; + } + + footer .col ul li{ + display: inline; + } + footer .foot3 ul{ + padding-left: 0px; + } + footer .col li img{ + width: 30%; + min-width: 120px; + } + footer .foot3 img{ + margin: 0 10px 15px 0; + + } + footer .cabage svg { + width: 100%; + min-width: 150px; + } + footer .social svg { + width: 30px; + fill: white; + } + + footer p.foot-content { + line-height: 1.4; + max-width: unset; + text-align: center; + } + + input[type=text] { + width: 50%; + float: left; + padding-right: 5px; + } + input[type=submit], + input[type=email] { width: 100%; + } + input[type=text], input[type=submit], + input[type=email] { + padding: 12px; + margin: 8px 0; + display: inline-block; + border: 1px solid var(--color-secondary); + box-sizing: border-box; + border-radius: 4px; + } + + input[type=checkbox] { + margin-top: 16px; + } + + input[type=submit] { + color: white; + border: 1px solid white; + background-color: initial; + } + + input[type=submit]:hover { + background-color: white; + color: var(--color-body); + } + + + /* POST IT -------------------------------------------------------- */ + + .postit { + line-height: 1; + text-align: center; + width: 275px; + /* margin: 25px; */ + min-height: 250px; + max-height: 250px; + /* padding-top: 35px; */ + position: relative; + border: 1px solid #e8e8e8; + border-left: 15px solid #fdfd86; + border-bottom-right-radius: 60px 5px; + display: inline-block; + background: #ffff88; /* Old browsers */ + background: -moz-linear-gradient( + -45deg, + #ffff88 81%, + #ffff88 82%, + #ffff88 82%, + #ffffc6 100% + ); /* FF3.6+ */ + background: -webkit-gradient( + linear, + left top, + right bottom, + color-stop(81%, #ffff88), + color-stop(82%, #ffff88), + color-stop(82%, #ffff88), + color-stop(100%, #ffffc6) + ); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient( + -45deg, + #ffff88 81%, + #ffff88 82%, + #ffff88 82%, + #ffffc6 100% + ); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient( + -45deg, + #ffff88 81%, + #ffff88 82%, + #ffff88 82%, + #ffffc6 100% + ); /* Opera 11.10+ */ + background: -ms-linear-gradient( + -45deg, + #ffff88 81%, + #ffff88 82%, + #ffff88 82%, + #ffffc6 100% + ); /* IE10+ */ + background: linear-gradient( + 135deg, + #ffff88 81%, + #ffff88 82%, + #ffff88 82%, + #ffffc6 100% + ); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff88', endColorstr='#ffffc6', GradientType=1); /* IE6-9 fallback on horizontal gradient */ + } + .postit::after { + content: ""; + position: absolute; + z-index: -1; + right: -0px; + bottom: 20px; + width: 200px; + height: 25px; + background: rgba(0, 0, 0, 0.2); + box-shadow: 2px 15px 5px rgba(0, 0, 0, 0.4); + /* -moz-transform: matrix(-1, -0.1, 0, 1, 0, 0); + -webkit-transform: matriX(-1, -0.1, 0, 1, 0, 0); + -o-transform: matrix(-1, -0.1, 0, 1, 0, 0); + -ms-transform: matriX(-1, -0.1, 0, 1, 0, 0); + transform: matrix(-1, -0.1, 0, 1, 0, 0); */ + transform: matrix(-1, -0.1, 0, 1, 0, 0); + } + + /* Background --------------------------------------*/ + .chroma { + background-color: var(--color-background); + } + /* Error */ + .chroma .err { + color: #a61717; + background-color: #e3d2d2; + } + /* LineTableTD */ + .chroma .lntd { + vertical-align: top; + padding: 0; + margin: 0; + border: 0; + } + /* LineTable */ + .chroma .lntable { + border-spacing: 0; padding: 0; + margin: 0; + border: 0; + width: auto; + overflow: auto; + display: block; + } + /* LineHighlight */ + .chroma .hl { + display: block; + width: 100%; + background-color: #ffffcc; } - - body .article { - grid-template-columns: [left] 2% [main] 96% 2%[end]; + /* LineNumbersTable */ + .chroma .lnt { + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #7f7f7f; } -} - -@media screen and (max-width: 1540px) { - body { - padding: 1.5em; - width: 90%; + /* LineNumbers */ + .chroma .ln { + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #7f7f7f; } -} - -@media screen and (max-width: 1200px) { - body { - padding: 1.5em; - margin: 1em; - width: auto; + /* Keyword */ + .chroma .k { + color: #8b008b; + font-weight: bold; } - - .running-head { - flex-direction: column; - align-items: center; - justify-content: center; - height: auto; - padding-top: 0; - width: 100%; - background: white; + /* KeywordConstant */ + .chroma .kc { + color: #8b008b; + font-weight: bold; } - - article { - grid-template-columns: [left] 10% [main] 80% 10% [end]; + /* KeywordDeclaration */ + .chroma .kd { + color: #8b008b; + font-weight: bold; } - - .menu { - width: 100%; - padding-top: 15px; + /* KeywordNamespace */ + .chroma .kn { + color: #8b008b; + font-weight: bold; } - - .menu ul { - justify-content: space-around; - padding: 0; + /* KeywordPseudo */ + .chroma .kp { + color: #8b008b; + font-weight: bold; } - - .menu ul li { - margin: 0 1ch; + /* KeywordReserved */ + .chroma .kr { + color: #8b008b; + font-weight: bold; } -} - -@media screen and (max-width: 900px) { - :root { - --font-size: 17px; + /* KeywordType */ + .chroma .kt { + color: #00688b; + font-weight: bold; } - .homepage { - min-height: 80vh; - height: 90vh; - margin: 5%; - padding-bottom: 5vh; + /* NameAttribute */ + .chroma .na { + color: #658b00; } - .homepage .running-head { - height: auto; - border-bottom: 0 solid transparent; - margin-bottom: 3em; - justify-content: flex-start; - padding-top: 4em; + /* NameBuiltin */ + .chroma .nb { + color: #658b00; } - .homepage .menu { - align-items: flex-start; + /* NameClass */ + .chroma .nc { + color: #008b45; + font-weight: bold; } - - article { - grid-template-columns: [left] 5% [main] 90% 5%[end]; - margin-top: 0.5em; + /* NameConstant */ + .chroma .no { + color: #00688b; } - - body { - padding: 0em; - margin: 1em; - width: auto; - grid-template-columns: 5% [left] 0% [main] 80% [right] 0% [end] 5%; + /* NameDecorator */ + .chroma .nd { + color: #707a7c; } - body.homepage { - grid-template-columns: 0; + /* NameException */ + .chroma .ne { + color: #008b45; + font-weight: bold; } - - .running-head { - flex-direction: column; - align-items: center; - justify-content: center; - height: auto; - padding-top: 0; - width: 100%; + /* NameFunction */ + .chroma .nf { + color: #008b45; + } + /* NameNamespace */ + .chroma .nn { + color: #008b45; + text-decoration: underline; + } + /* NameTag */ + .chroma .nt { + color: #8b008b; + font-weight: bold; + } + /* NameVariable */ + .chroma .nv { + color: #00688b; + } + /* LiteralString */ + .chroma .s { + color: #cd5555; + } + /* LiteralStringAffix */ + .chroma .sa { + color: #cd5555; + } + /* LiteralStringBacktick */ + .chroma .sb { + color: #cd5555; + } + /* LiteralStringChar */ + .chroma .sc { + color: #cd5555; + } + /* LiteralStringDelimiter */ + .chroma .dl { + color: #cd5555; + } + /* LiteralStringDoc */ + .chroma .sd { + color: #cd5555; + } + /* LiteralStringDouble */ + .chroma .s2 { + color: #cd5555; + } + /* LiteralStringEscape */ + .chroma .se { + color: #cd5555; + } + /* LiteralStringHeredoc */ + .chroma .sh { + color: #1c7e71; + font-style: italic; + } + /* LiteralStringInterpol */ + .chroma .si { + color: #cd5555; + } + /* LiteralStringOther */ + .chroma .sx { + color: #cb6c20; + } + /* LiteralStringRegex */ + .chroma .sr { + color: #1c7e71; + } + /* LiteralStringSingle */ + .chroma .s1 { + color: #cd5555; + } + /* LiteralStringSymbol */ + .chroma .ss { + color: #cd5555; + } + /* LiteralNumber */ + .chroma .m { + color: #b452cd; + } + /* LiteralNumberBin */ + .chroma .mb { + color: #b452cd; + } + /* LiteralNumberFloat */ + .chroma .mf { + color: #b452cd; + } + /* LiteralNumberHex */ + .chroma .mh { + color: #b452cd; + } + /* LiteralNumberInteger */ + .chroma .mi { + color: #b452cd; + } + /* LiteralNumberIntegerLong */ + .chroma .il { + color: #b452cd; + } + /* LiteralNumberOct */ + .chroma .mo { + color: #b452cd; + } + /* OperatorWord */ + .chroma .ow { + color: #8b008b; + } + /* Comment */ + .chroma .c { + color: #228b22; + } + /* CommentHashbang */ + .chroma .ch { + color: #228b22; + } + /* CommentMultiline */ + .chroma .cm { + color: #228b22; + } + /* CommentSingle */ + .chroma .c1 { + color: #228b22; + } + /* CommentSpecial */ + .chroma .cs { + color: #8b008b; + font-weight: bold; + } + /* CommentPreproc */ + .chroma .cp { + color: #1e889b; + } + /* CommentPreprocFile */ + .chroma .cpf { + color: #1e889b; + } + /* GenericDeleted */ + .chroma .gd { + color: #aa0000; + } + /* GenericEmph */ + .chroma .ge { + font-style: italic; + } + /* GenericError */ + .chroma .gr { + color: #aa0000; + } + /* GenericHeading */ + .chroma .gh { + color: #000080; + font-weight: bold; + } + /* GenericInserted */ + .chroma .gi { + color: #00aa00; + } + /* GenericOutput */ + .chroma .go { + color: #888888; + } + /* GenericPrompt */ + .chroma .gp { + color: #555555; + } + /* GenericStrong */ + .chroma .gs { + font-weight: bold; + } + /* GenericSubheading */ + .chroma .gu { + color: #800080; + font-weight: bold; + } + /* GenericTraceback */ + .chroma .gt { + color: #aa0000; + } + /* GenericUnderline */ + .chroma .gl { + text-decoration: underline; + } + /* TextWhitespace */ + .chroma .w { + color: #bbbbbb; + } + + .not-found { + --color-paper: white; + } + + .not-found .background { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + opacity: 0.5; + z-index: -1; + } + + .not-found h1, + .not-found p, + .not-found #title { + max-width: max-content; + padding: 0.4em; background: white; } - - .running-head .back-home { - position: unset; - background: 0 0; - padding-top: 1em; - width: 100%; - background: #fff; - padding: 1.5em 73% 0.5em 0; + + section { + grid-column: left / end; + } /* breadcrumb */ + #breadcrumbs { + font-family: var(--font-sans); } - - .running-head .menu-call { - display: block; - z-index: 3000; + #breadcrumbs .delimiter { + color: inherit; + font-weight: 400; } - - .running-head .menu { - margin-top: 0; - transition: all 0.6s; - opacity: 1; - padding-top: 0; - display: flex; - flex-direction: column; + #breadcrumbs { + padding-bottom: 0.7em; + color: var(--color-grey); } - - .running-head .menu.hide { - display: none; + #breadcrumbs a { + color: inherit; + background: var(--color-paper); } - - .running-head .menu ul { - padding: 0; - text-align: left; - flex-direction: column; + #breadcrumbs a::after { + content: none; } - - .running-head .menu ul li { - margin: 0; - border-bottom: 1px solid grey; - padding: 1em; + #breadcrumbs a:last-child { + color: var(--color-body); } - - .running-head .menu ul li:last-of-type { - border-bottom: none; + #breadcrumbs a:hover { + color: var(--color-accent); } - - header { - grid-column: main/main; - margin-top: 4em; + + article { + display: grid; + grid-template-columns: [left] 20% [main] 70% 10%[end]; } - - header #title { - font-size: 3.25em; + + article .top { + grid-column: left/end; } - - .intro { - grid-column: main/main; + + article #breadcrumbs { + grid-column: left/end; } - - .symbol-text { - display: none; + + article header { + grid-column: left/end; } - - .paginator { - grid-column: main; - flex-direction: column; - align-items: center; - font-size: 1.5em; - line-height: 1.2; + + article figure { + grid-column: left/end; } - .paginator .next, - .paginator .previous { - max-width: unset; + + article p, + article ul, + article ol, + article h1, + article h2, + article h3, + article h4, + article h5, + article h6, + article blockquote { + grid-column: main/main; } - .paginator .next { - width: 100%; - text-align: center; - border: none; - padding: 0; + + article pre, + article table, + article .highlight, + article .talkyard-comments { + grid-column: left/end; + } + + article .signature { + max-width: 50ch; + grid-column: main/end; + font-family: var(--font-sans); margin-top: 2em; + font-size: 0.8em; + /* max-width: 60%; */ + /* margin: 5em 0 auto auto; */ + line-height: 1.6em; + color: var(--color-primary); } - - .paginator .next::before { - font-size: 0.3em; - text-align: center; + + article .signature .name { + /* border-bottom: 2px dotted var(--color-lightest-grey); */ + margin-left: -3em; + padding-left: 3em; + max-width: max-content; + padding-right: 0.3ch; } - - .paginator .previous { - text-align: center; - width: 100%; - border: none; - padding: 0; + + article .signature img { + border: 2px solid var(--color-lightest-grey); + float: left; + display: block; + width: 73px; + margin-left: -90px; + height: auto; + margin-right: 1em; + border-radius: 50%; + padding: 5px; + background: var(--color-paper); + margin-top: -6px; + /* box-shadow: 0 0 0 5px var(--color-primary); */ } - - .paginator .previous::before { - font-size: 0.3em; - text-align: center; + + .tags-wrap { + margin-top: 1em; + font-size: 0.8em; } - - footer a { - white-space: pre; + + a.tag { + font-family: var(--font-sans); + margin-right: 2ch; + text-decoration: underline; + font-style: normal; + font-weight: 400; + margin-top: 1em; } - - /* list */ - body .article { - grid-template-columns: [left] 2% [main] 96% 2%[end]; + + .talkyard-comments { + margin-top: 100px !important; } - + /* .list { - grid-column: main/main; + counter-reset: doc; + grid-column: main/end; } - .list .article .intro { - margin-top: 0.5em; - font-size: 1.1em; + + .list a { + text-decoration: none; + background: none; + font-style: normal; + } + + .list * { + max-width: unset; + } + + .list ul ul { + padding-left: 2ch; + border-left: 1px solid var(--color-lightest-grey); + margin-left: 2ch; + font-size: 1em; + } + + .list nav:not(".menu") > ul { + margin-left: 5ch; + } + + .list ul li { + list-style-type: none; + font-size: 1em; + } + + .list ul li > ul { + margin-bottom: 0.5em; + margin-left: 1ch; + padding-left: 1ch; + font-size: 1em; + + border-left: 1px solid var(--color-lightest-grey); + } + + .list ul li::before { + content: none; } - .list ul { - padding-left: 0; + + .list ul li:hover::before { + color: var(--color-accent); + } + + .list p { + max-width: 45ch; + font-size: 1em; + font-family: var(--font-sans); + } + + .list .article { + margin-left: 0; + margin-top: 3em; } + .list .article .meta { + font-family: var(--font-sans); + font-size: 0.7em; + margin-bottom: 0; + } + + .list .article .intro { + font-family: var(--font-sans); + font-size: 1.4em; + line-height: 1.5; + max-width: 50ch; + margin-top: 0.3em; + color: var(--color-primary); + padding-left: 1em; + border-left: 2px solid var(--color-grey); + + max-width: 51ch; + display: block; + font-family: var(--font-serif); + margin-left: 3ch; + } + + .list .article h2 { + width: 100%; + font-size: 1.5em; + font-weight: 400; + margin-top: 0; + position: relative; + border-color: transparent; + margin-bottom: 0; + line-height: 1.1; + } + + .list .article h2::before { + content: "................................................................................................................................................."; + text-align: right; + color: #ccc; font-size: 0.8em; + bottom: 2px; + position: absolute; + width: 98%; + padding-left: 5px; + letter-spacing: 2px; + overflow: hidden; } -} - -.hide { - display: none; -} + + .list .article h2 a { + counter-increment: doc; + position: relative; + z-index: 100; + padding-right: 0.5ch; + font-style: italic; + line-height: 1.1; + } + + .list .article h2 a span { + background: var(--color-paper); + display: inline; + padding-right: 1ch; + } + + .list .article h2 a::after { + padding-left: 1ch; + content: counter(doc); + float: right; + background: var(--color-paper); + font-style: normal; + font-size: 0.8em; + bottom: 0; + position: relative; + top: 0.2em; + } + + .list .article .toc-emoji { + float: right; + position: relative; + background: var(--color-paper); + padding-left: 1ch; + } */ + + /* PAGES -----------------------------------------*/ + + .about .meta { + display: none; + } + .documentation { + counter-reset: doc; + } + + .documentation .list .content .article ul ul { + font-size: 1em; + color: red; + } + + @media screen and (max-width: 570px) { + body { + width: 100%; + padding: 0; + } + + body .article { + grid-template-columns: [left] 2% [main] 96% 2%[end]; + } + } + + @media screen and (max-width: 1540px) { + body { + padding: 1.5em; + width: 90%; + } + } + + @media screen and (max-width: 1200px) { + body { + padding: 1.5em; + margin: 1em; + width: auto; + } + + .running-head { + flex-direction: column; + align-items: center; + justify-content: center; + height: auto; + padding-top: 0; + width: 100%; + background: white; + } + + article { + grid-template-columns: [left] 10% [main] 80% 10% [end]; + } + + .menu { + width: 100%; + padding-top: 15px; + } + + .menu ul { + justify-content: space-around; + padding: 0; + } + + .menu ul li { + margin: 0 1ch; + } + } + + @media screen and (max-width: 900px) { + :root { + --font-size: 17px; + } + .homepage { + min-height: 80vh; + height: 90vh; + margin: 5%; + padding-bottom: 5vh; + } + .homepage .running-head { + height: auto; + border-bottom: 0 solid transparent; + margin-bottom: 3em; + justify-content: flex-start; + padding-top: 4em; + } + .homepage .menu { + align-items: flex-start; + } + + article { + grid-template-columns: [left] 5% [main] 90% 5%[end]; + margin-top: 0.5em; + } + + body { + padding: 0em; + margin: 1em; + width: auto; + grid-template-columns: 5% [left] 0% [main] 80% [right] 0% [end] 5%; + } + body.homepage { + grid-template-columns: 0; + } + + .running-head { + flex-direction: column; + align-items: center; + justify-content: center; + height: auto; + padding-top: 0; + width: 100%; + background: white; + } + + .running-head .back-home { + position: unset; + background: 0 0; + padding-top: 1em; + width: 100%; + background: #fff; + padding: 1.5em 73% 0.5em 0; + } + + .running-head .menu-call { + display: block; + z-index: 3000; + } + + .running-head .menu { + margin-top: 0; + transition: all 0.6s; + opacity: 1; + padding-top: 0; + display: flex; + flex-direction: column; + } + + .running-head .menu.hide { + display: none; + } + + .running-head .menu ul { + padding: 0; + text-align: left; + flex-direction: column; + } + + .running-head .menu ul li { + margin: 0; + border-bottom: 1px solid grey; + padding: 1em; + } + + .running-head .menu ul li:last-of-type { + border-bottom: none; + } + + header { + grid-column: main/main; + margin-top: 4em; + } + + header #title { + font-size: 3.25em; + } + + .intro { + grid-column: main/main; + } + + .symbol-text { + display: none; + } + + .paginator { + grid-column: main; + flex-direction: column; + align-items: center; + font-size: 1.5em; + line-height: 1.2; + } + .paginator .next, + .paginator .previous { + max-width: unset; + } + .paginator .next { + width: 100%; + text-align: center; + border: none; + padding: 0; + margin-top: 2em; + } + + .paginator .next::before { + font-size: 0.3em; + text-align: center; + } + + .paginator .previous { + text-align: center; + width: 100%; + border: none; + padding: 0; + } + + .paginator .previous::before { + font-size: 0.3em; + text-align: center; + } + /* + footer a { + white-space: pre; + } */ + + /* list */ + body .article { + grid-template-columns: [left] 2% [main] 96% 2%[end]; + } + + .list { + grid-column: main/main; + } + .list .article .intro { + margin-top: 0.5em; + font-size: 1.1em; + } + .list ul { + padding-left: 0; + } + .list .article .meta { + font-size: 0.8em; + } + } + + .hide { + display: none; + } + \ No newline at end of file diff --git a/themes/xsweet-theme/assets/css/theme.css b/themes/xsweet-theme/assets/css/theme.css old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/assets/js/masonry-docs.min.js b/themes/xsweet-theme/assets/js/masonry-docs.min.js old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/_default/documentation.html b/themes/xsweet-theme/layouts/_default/documentation.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/_default/index.html b/themes/xsweet-theme/layouts/_default/index.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/_default/list.html b/themes/xsweet-theme/layouts/_default/list.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/_default/single.html b/themes/xsweet-theme/layouts/_default/single.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/partials/cabbage-tree-logo.html b/themes/xsweet-theme/layouts/partials/cabbage-tree-logo.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/partials/footer.html b/themes/xsweet-theme/layouts/partials/footer.html index 59ce1cc..a8ca490 100755 --- a/themes/xsweet-theme/layouts/partials/footer.html +++ b/themes/xsweet-theme/layouts/partials/footer.html @@ -28,10 +28,10 @@ </ul> </div> <div class="col foot2"> - <p>Stay up to date</p> + {{ partial "mailchimp.html" . }} </div> <div class="col foot3"> - <p>xSweet is made thanks to</p> + <h2>xSweet is made thanks to</h2> <ul> <li><img src="../../images/thanks-logo-ljaf-632x244.png" alt="ljaf foundation"></li> <li><img src="../../images/thanks-logo-moore-476x184.png" alt="Moore foundation"></li> diff --git a/themes/xsweet-theme/layouts/partials/git.html b/themes/xsweet-theme/layouts/partials/git.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/partials/mailchimp.html b/themes/xsweet-theme/layouts/partials/mailchimp.html new file mode 100644 index 0000000..f98ff6b --- /dev/null +++ b/themes/xsweet-theme/layouts/partials/mailchimp.html @@ -0,0 +1,87 @@ +<div id="mc_embed_signup"> + <form + action="https://foundation.us6.list-manage.com/subscribe/post?u=66d7a0d094af81044257abe87&id=a640a65dc9" + method="post" + id="mc-embedded-subscribe-form" + name="mc-embedded-subscribe-form" + class="validate" + target="_blank" + novalidate + > + <div id="mc_embed_signup_scroll"> + <h2>Stay up to date</h2> + + <div class="mc-field-group"> + <!-- <label for="mce-EMAIL" + >Email Address <span class="asterisk">*</span> + </label> --> + <input + type="email" + value="" + placeholder="Email Address*" + name="EMAIL" + class="required email" + id="mce-EMAIL" + /> + </div> + + <div class="mc-field-group"> + <!-- <label for="mce-FNAME">First Name </label> --> + <input type="text" value="" placeholder="First Name" name="FNAME" class="" id="mce-FNAME" /> + </div> + + <div class="mc-field-group"> + <!-- <label for="mce-LNAME">Last Name </label> --> + <input type="text" value="" placeholder="Last Name" name="LNAME" class="" id="mce-LNAME" /> + </div> + <div id="mce-responses" class="clear"> + <div + class="response" + id="mce-error-response" + style="display: none" + ></div> + <div + class="response" + id="mce-success-response" + style="display: none" + ></div> + </div> + <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> + <div style="position: absolute; left: -5000px" aria-hidden="true"> + <input + type="text" + name="b_66d7a0d094af81044257abe87_a640a65dc9" + tabindex="-1" + value="" + /> + </div> + <div class="clear"> + <input + type="submit" + value="Subscribe" + name="subscribe" + id="mc-embedded-subscribe" + class="button" + /> + </div> + </div> + </form> +</div> + +<script + type="text/javascript" + src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js" +></script> +<script type="text/javascript"> + (function ($) { + window.fnames = new Array(); + window.ftypes = new Array(); + fnames[0] = "EMAIL"; + ftypes[0] = "email"; + fnames[1] = "FNAME"; + ftypes[1] = "text"; + fnames[2] = "LNAME"; + ftypes[2] = "text"; + })(jQuery); + var $mcj = jQuery.noConflict(true); +</script> diff --git a/themes/xsweet-theme/layouts/partials/mattermost.html b/themes/xsweet-theme/layouts/partials/mattermost.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/partials/menu-sub.html b/themes/xsweet-theme/layouts/partials/menu-sub.html index 8b63da9..8e1fdc0 100755 --- a/themes/xsweet-theme/layouts/partials/menu-sub.html +++ b/themes/xsweet-theme/layouts/partials/menu-sub.html @@ -1,8 +1,9 @@ <nav role="sub" class="sub"> <ul> - {{ $url := .URL }} + {{ $currentPage := . }} + {{ range .Site.Menus.docs }} - <li class="{{ if eq $url .URL }}active{{ end }}"> + <li {{if in .URL $currentPage.Params.class }}class="active"{{ end }}> <a href="{{.URL}}"> <span>{{ .Name }}</span> diff --git a/themes/xsweet-theme/layouts/partials/menu.html b/themes/xsweet-theme/layouts/partials/menu.html index 252f47e..ca4d29d 100755 --- a/themes/xsweet-theme/layouts/partials/menu.html +++ b/themes/xsweet-theme/layouts/partials/menu.html @@ -1,13 +1,16 @@ <nav class="menu hide" role="main"> <ul> + {{ $currentPage := . }} {{ range .Site.Menus.main }} - <li {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}class="active"{{ end }}> + + <li {{if in .URL $currentPage.Params.class }}class="active"{{ end }}> <a href="{{ .URL }}"> <span>{{ .Name }}</span> </a> </li> {{ end }} + </ul> </nav> diff --git a/themes/xsweet-theme/layouts/shortcodes/alert.html b/themes/xsweet-theme/layouts/shortcodes/alert.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/shortcodes/btn-copy.html b/themes/xsweet-theme/layouts/shortcodes/btn-copy.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/shortcodes/email.html b/themes/xsweet-theme/layouts/shortcodes/email.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/shortcodes/img-simple.html b/themes/xsweet-theme/layouts/shortcodes/img-simple.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/layouts/shortcodes/img.html b/themes/xsweet-theme/layouts/shortcodes/img.html old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/static/fonts/VictorMono-Bold.otf b/themes/xsweet-theme/static/fonts/VictorMono-Bold.otf old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/static/fonts/VictorMono-Italic.otf b/themes/xsweet-theme/static/fonts/VictorMono-Italic.otf old mode 100644 new mode 100755 diff --git a/themes/xsweet-theme/static/fonts/VictorMono-Regular.otf b/themes/xsweet-theme/static/fonts/VictorMono-Regular.otf old mode 100644 new mode 100755 -- GitLab