diff options
7 files changed, 44 insertions, 61 deletions
diff --git a/exampleSite/content/content-organisation/customize-style/_index.md b/exampleSite/content/content-organisation/customize-style/_index.md index e0913fe..45f7fa0 100644 --- a/exampleSite/content/content-organisation/customize-style/_index.md +++ b/exampleSite/content/content-organisation/customize-style/_index.md @@ -50,7 +50,7 @@ now feel free to add the JS, CSS code you want :) ## Add custom HTML before and after key elements of this theme : -* @see [site placehors]({{%relref "placeholders/_index.md"%}}) +* @see [site placehors]({{%relref "content-organisation/placeholders/_index.md"%}}) ## Overide existing CSS or JS diff --git a/exampleSite/content/docport-theme/_index.md b/exampleSite/content/docport-theme/_index.md index d3cd40d..3e45ce1 100644 --- a/exampleSite/content/docport-theme/_index.md +++ b/exampleSite/content/docport-theme/_index.md @@ -12,15 +12,16 @@ weight = 1 ## Main features + * [Search Engine]({{%relref "search/_index.md" %}}) * **Unlimited menu levels** +* [Placeholders]({{%relref "content-organisation/placeholders/_index.md" %}}) to inject HTML, CSS, JS in theme without modifying it. +* [Customizable look and feel, colors]({{%relref "content-organisation/customize-style/_index.md" %}}) * [RevealJS presentation]({{%relref "page-slide.md"%}}) from markdown (embededed or fullscreen page) * [Image resizing, shadow...]({{%relref "create-page/page-images.md" %}}) -* [Attachments files]({{%relref "shortcodes/attachments.md" %}}) -* [List child pages]({{%relref "shortcodes/children/_index.md" %}}) -* [Excerpt]({{%relref "shortcodes/excerpt.md"%}}) ! Include segment of content from one page in another * [Mermaid diagram]({{%relref "shortcodes/mermaid.md" %}}) (flowchart, sequence, gantt) -* [Icons]({{%relref "shortcodes/icon.md" %}}), [Buttons]({{%relref "shortcodes/button.md" %}}), [Alerts]({{%relref "shortcodes/alert.md" %}}), [Panels]({{%relref "shortcodes/panel.md" %}}), [Tip/Note/Info/Warning boxes]({{%relref "shortcodes/notice.md" %}}), [Expand]({{%relref "shortcodes/expand.md" %}}) +* [Attachments files]({{%relref "shortcodes/attachments.md" %}}), [Icons]({{%relref "shortcodes/icon.md" %}}), [Buttons]({{%relref "shortcodes/button.md" %}}), [Alerts]({{%relref "shortcodes/alert.md" %}}), [Panels]({{%relref "shortcodes/panel.md" %}}), [Tip/Note/Info/Warning boxes]({{%relref "shortcodes/notice.md" %}}), [Expand]({{%relref "shortcodes/expand.md" %}}), [List child pages]({{%relref "shortcodes/children/_index.md" %}}) +* [Excerpt]({{%relref "shortcodes/excerpt.md"%}}) ! Include segment of content from one page in another ## Contribute to this documentation Feel free to update this content, just click the **Edit this page** link displayed on top right of each page, and pullrequest it diff --git a/exampleSite/resources/_gen/assets/scss/sass/main.scss_8211071dd35cc258f01c62f8d3d53bd1.content b/exampleSite/resources/_gen/assets/scss/sass/main.scss_8211071dd35cc258f01c62f8d3d53bd1.content index cfd4888..3ae509b 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/main.scss_8211071dd35cc258f01c62f8d3d53bd1.content +++ b/exampleSite/resources/_gen/assets/scss/sass/main.scss_8211071dd35cc258f01c62f8d3d53bd1.content @@ -5,7 +5,7 @@ body { line-height: 1.5; color: black; } body a { - color: black; + color: #241500; text-decoration: none; background-color: transparent; } body header { @@ -81,7 +81,7 @@ body { letter-spacing: -1px; display: block; margin-bottom: 14px; - border-bottom: 1px dotted black; + border-bottom: 1px dotted #241500; color: black; font-variant: small-caps; } body article section.right-menu .TableOfContents nav > ul { @@ -90,7 +90,7 @@ body { body article section.right-menu .TableOfContents nav > ul ul { padding: 0px 0px 0px 14px; margin: 0px 0px 0px 0px; - border-left: 1px solid black; } + border-left: 1px solid #241500; } body article section.right-menu .TableOfContents nav > ul ul li { font-size: 90%; } body article section.right-menu .TableOfContents ul { @@ -145,22 +145,22 @@ article section.page nav.subpages { min-width: 50px; } article section.page nav.subpages li a { font-size: 90%; - color: black; } + color: #241500; } article section.page nav.subpages li:not(:first-child):before { display: inline-block; padding-right: .75rem; - color: black; + color: #241500; content: "|"; } article section.page nav.subpages li.active { font-weight: bold; } article section.page nav.subpages li:first-child:before { content: "└ "; - color: black; } + color: #241500; } article section.page div.chevrons { margin-top: 3rem; - border-top: 1px solid #737373; - border-bottom: 1px solid #737373; + border-top: 1px solid #f09719; + border-bottom: 1px solid #f09719; padding: 1rem 0rem; display: flex; flex-direction: row; @@ -220,7 +220,7 @@ article section.page div.content { top: -7rem; visibility: hidden; } article section.page div.content a { - color: black; + color: #241500; font-weight: 500; text-decoration: underline; } article section.page div.content h1 { diff --git a/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content b/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content index e2a6bfe..9d80e7c 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content +++ b/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content @@ -3,9 +3,9 @@ body { font-family: "Montserrat",sans-serif; font-weight: 400; line-height: 1.5; - color: #0feba5; } + color: #7e446d; } body a { - color: #e0fff5; + color: #ffa8e5; text-decoration: none; background-color: transparent; } body header { @@ -17,7 +17,7 @@ body { flex-wrap: nowrap; justify-content: space-between; align-items: stretch; - color: #9af9db; } + color: #c695b7; } body header .logo { display: flex; flex-direction: row; @@ -57,7 +57,7 @@ body { font-size: 1.5rem; margin-right: 0.5rem; } body header nav.shortcuts li a { - color: #9af9db; + color: #c695b7; padding: 0 1rem; font-weight: bold; font-size: 90%; } @@ -81,8 +81,8 @@ body { letter-spacing: -1px; display: block; margin-bottom: 14px; - border-bottom: 1px dotted #e0fff5; - color: #52f4c1; + border-bottom: 1px dotted #f2b5e0; + color: #ab6396; font-variant: small-caps; } body article section.right-menu .TableOfContents nav > ul { padding: 0px 0px 0px 0px; @@ -90,7 +90,7 @@ body { body article section.right-menu .TableOfContents nav > ul ul { padding: 0px 0px 0px 14px; margin: 0px 0px 0px 0px; - border-left: 1px solid #e0fff5; } + border-left: 1px solid #f2b5e0; } body article section.right-menu .TableOfContents nav > ul ul li { font-size: 90%; } body article section.right-menu .TableOfContents ul { @@ -119,11 +119,11 @@ article section.page #breadcrumb { display: inline-block; padding-right: .5rem; padding-left: .5rem; - color: #0feba5; + color: #7e446d; content: "⊸"; } article section.page #breadcrumb ol li a { - color: #0feba5; - border-bottom: 1px solid #9af9db; + color: #7e446d; + border-bottom: 1px solid #c695b7; padding-bottom: 2px; padding-right: 0px; } article section.page #breadcrumb ol li.active:after { @@ -145,17 +145,17 @@ article section.page nav.subpages { min-width: 50px; } article section.page nav.subpages li a { font-size: 90%; - color: #e0fff5; } + color: #f6b1e2; } article section.page nav.subpages li:not(:first-child):before { display: inline-block; padding-right: .75rem; - color: #e0fff5; + color: #eebade; content: "|"; } article section.page nav.subpages li.active { font-weight: bold; } article section.page nav.subpages li:first-child:before { content: "└ "; - color: #e0fff5; } + color: #eebade; } article section.page div.chevrons { margin-top: 3rem; @@ -198,7 +198,7 @@ article section.page { article section.page h1:first-of-type { font-size: 2.6rem; margin-top: 3rem !important; - color: #52f4c1; + color: #ab6396; margin-bottom: 0px; line-height: 1.05; letter-spacing: -.05em; @@ -209,7 +209,7 @@ article section.page { article section.page h1:first-of-type span:before { padding-left: .75rem; padding-right: .75rem; - color: #52f4c1; + color: #ab6396; content: "⊷"; } article section.page div.content { @@ -220,11 +220,11 @@ article section.page div.content { top: -7rem; visibility: hidden; } article section.page div.content a { - color: #e0fff5; + color: #ffa8e5; font-weight: 500; text-decoration: underline; } article section.page div.content h1 { - color: #9af9db; + color: #c695b7; font-size: 30px; font-variant-ligatures: none; font-weight: 700; diff --git a/exampleSite/resources/_gen/assets/scss/sass/menu.scss_11ec87c0e45b1a85c098a07257dc0c80.content b/exampleSite/resources/_gen/assets/scss/sass/menu.scss_11ec87c0e45b1a85c098a07257dc0c80.content index 8856f4b..75d314b 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/menu.scss_11ec87c0e45b1a85c098a07257dc0c80.content +++ b/exampleSite/resources/_gen/assets/scss/sass/menu.scss_11ec87c0e45b1a85c098a07257dc0c80.content @@ -1,7 +1,7 @@ article > aside { /*background-color: $c_light3;*/ - background-color: rgba(132, 98, 114, 0.1); - background-color: #f4f0f2; + background-color: rgba(130, 111, 100, 0.1); + background-color: #f4f2f1; padding: 2rem 0rem 1rem 0rem; } article > aside .menu { list-style-type: none; @@ -24,7 +24,7 @@ article > aside { font-size: 14px; /*color: rgb(110, 119, 122);*/ /*color:$color_main;*/ - color: #725562; } + color: #706057; } article > aside .menu .dd-item ul { padding-inline-start: 0px; } article > aside .menu .dd-item li { @@ -34,17 +34,17 @@ article > aside { article > aside .menu .dd-item.parent > ul { display: block; } article > aside .menu .dd-item.active { - background-color: rgba(132, 98, 114, 0.1); } + background-color: rgba(130, 111, 100, 0.1); } article > aside .menu .dd-item.active.haschildren { /*background-color: transparent;*/ } article > aside .menu .dd-item.active.haschildren > a { font-weight: 700; } article > aside .menu .dd-item.active > a { - color: #58414c; } + color: #564a43; } article > aside .menu .dd-item.active > ul { display: block; } article > aside .menu .dd-item.active > div { - background-color: #58414c; } + background-color: #564a43; } article > aside .menu .dd-item.active > div * { font-weight: bold; border-bottom: dotted 1px red; } diff --git a/exampleSite/resources/_gen/assets/scss/sass/menu.scss_351ac3e8f13af76fe8c76ce0d01fb09a.content b/exampleSite/resources/_gen/assets/scss/sass/menu.scss_351ac3e8f13af76fe8c76ce0d01fb09a.content index 1c9203a..42650d4 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/menu.scss_351ac3e8f13af76fe8c76ce0d01fb09a.content +++ b/exampleSite/resources/_gen/assets/scss/sass/menu.scss_351ac3e8f13af76fe8c76ce0d01fb09a.content @@ -1,7 +1,7 @@ article > aside { /*background-color: $c_light3;*/ - background-color: rgba(107, 110, 123, 0.1); - background-color: #f1f2f3; + background-color: rgba(217, 166, 13, 0.1); + background-color: #fef8e7; padding: 2rem 0rem 1rem 0rem; } article > aside .menu { list-style-type: none; @@ -24,7 +24,7 @@ article > aside { font-size: 14px; /*color: rgb(110, 119, 122);*/ /*color:$color_main;*/ - color: #5c606a; } + color: #bc900b; } article > aside .menu .dd-item ul { padding-inline-start: 0px; } article > aside .menu .dd-item li { @@ -34,17 +34,17 @@ article > aside { article > aside .menu .dd-item.parent > ul { display: block; } article > aside .menu .dd-item.active { - background-color: rgba(107, 110, 123, 0.1); } + background-color: rgba(217, 166, 13, 0.1); } article > aside .menu .dd-item.active.haschildren { /*background-color: transparent;*/ } article > aside .menu .dd-item.active.haschildren > a { font-weight: 700; } article > aside .menu .dd-item.active > a { - color: #474a52; } + color: #916f08; } article > aside .menu .dd-item.active > ul { display: block; } article > aside .menu .dd-item.active > div { - background-color: #474a52; } + background-color: #916f08; } article > aside .menu .dd-item.active > div * { font-weight: bold; border-bottom: dotted 1px red; } diff --git a/netlify.toml b/netlify.toml index cd0fab9..85e14a2 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,21 +2,3 @@ publish = "exampleSite/public" command = "hugo -s exampleSite --config config.toml --baseURL /" -[context.production.environment] -HUGO_VERSION = "0.74.3" -HUGO_ENV = "production" - - -[build.environment] - HUGO_THEME = "repo" - HUGO_THEMESDIR = "/opt/build" - -# [context.production.environment] -# HUGO_VERSION = "0.51" - -# [context.deploy-preview.environment] -# HUGO_VERSION = "0.51" - -# [context.branch-deploy.environment] -# HUGO_VERSION = "0.51" - |