summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-12-22 07:07:33 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-12-22 07:07:33 +0100
commit597ea6382389861cc16f494c474af8b40e3c392a (patch)
tree644985f7e22c68a4fe12dfbad29f528b89967848
parent36465a7d2acb73ae2356596845994fc8814ef279 (diff)
...
-rw-r--r--config.toml1
-rw-r--r--content/_index.md4
-rw-r--r--content/fate_v1/aliases/default.md1
-rw-r--r--content/fate_v1/computations/_index.md1
-rw-r--r--content/fate_v1/declarations/_index.md1
-rw-r--r--content/fate_v1/extensions/_index.md1
-rw-r--r--content/fate_v1/instructions/_index.md1
-rw-r--r--content/fate_v1/instructions/loops/_index.md6
-rw-r--r--content/wyrd_v1/computations/_index.md1
-rw-r--r--content/wyrd_v1/extensions/_index.md1
-rw-r--r--content/wyrd_v1/instructions/_index.md1
-rw-r--r--static/css/theme-glauque.css108
-rwxr-xr-x[-rw-r--r--]static/images/favicon.pngbin1685 -> 1643 bytes
13 files changed, 122 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index e5910ad..d34f32f 100644
--- a/config.toml
+++ b/config.toml
@@ -7,6 +7,7 @@ theme = "hugo-theme-learn"
custom_css = ["css/prism.css"]
disableShortcutsTitle=true
disableInlineCopyToClipBoard=true
+ themeVariant = "glauque"
# For search functionality
[outputs]
diff --git a/content/_index.md b/content/_index.md
index f3db632..a082ffa 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,8 +1,8 @@
---
title: "Main"
---
-# Welcome to Tonkadur's website!
-Tonkadur is a tool to create game narratives.
+# Welcome to Tonkadur's website
+Tonkadur is a tool to create interactive narratives.
### Find out all about Tonkadur
* **Plain-text format.** Just write in your favorite editor and use your usual tools.
diff --git a/content/fate_v1/aliases/default.md b/content/fate_v1/aliases/default.md
index 9a6bd8a..1247545 100644
--- a/content/fate_v1/aliases/default.md
+++ b/content/fate_v1/aliases/default.md
@@ -1,5 +1,6 @@
---
title: Aliases
+weight: 4
---
Nearly all computations and instructions have aliases, making it easier to
write in the language when not used to it. This page provides most of them. As
diff --git a/content/fate_v1/computations/_index.md b/content/fate_v1/computations/_index.md
index 9312712..1cad064 100644
--- a/content/fate_v1/computations/_index.md
+++ b/content/fate_v1/computations/_index.md
@@ -1,5 +1,6 @@
---
title: Computations
+weight: 2
---
Computations are values. They may read from the memory, but do not modify it
(with a single exception).
diff --git a/content/fate_v1/declarations/_index.md b/content/fate_v1/declarations/_index.md
index 013d404..c079924 100644
--- a/content/fate_v1/declarations/_index.md
+++ b/content/fate_v1/declarations/_index.md
@@ -2,4 +2,5 @@
title: "Declarations"
menuTitle: "Declarations"
chapter: true
+weight: 1
---
diff --git a/content/fate_v1/extensions/_index.md b/content/fate_v1/extensions/_index.md
index 01f7127..c0598ea 100644
--- a/content/fate_v1/extensions/_index.md
+++ b/content/fate_v1/extensions/_index.md
@@ -1,4 +1,5 @@
---
title: Extensions
+weight: 5
---
This page not available yet, sorry.
diff --git a/content/fate_v1/instructions/_index.md b/content/fate_v1/instructions/_index.md
index 51066d1..ec5b413 100644
--- a/content/fate_v1/instructions/_index.md
+++ b/content/fate_v1/instructions/_index.md
@@ -1,5 +1,6 @@
---
title: Instructions
+weight: 3
---
Instructions do not return values, but modify the memory in some way or
interact with the interpreter. Computations are valid instructions, and will be
diff --git a/content/fate_v1/instructions/loops/_index.md b/content/fate_v1/instructions/loops/_index.md
index 03c0f3b..d3c8d65 100644
--- a/content/fate_v1/instructions/loops/_index.md
+++ b/content/fate_v1/instructions/loops/_index.md
@@ -17,10 +17,10 @@ Executes `[I0]` ... `[IM]`, and does so again as long as, `[BOOL]` yields
true.
### FOR
-{{< fatecode >}}(for <pre = INSTRUCTION> [BOOL] <post = INSTRUCTION> [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
+{{< fatecode >}}(for [PRE = INSTRUCTION] [BOOL] [POST = INSTRUCTION] [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
-Executes `<pre>`, then, if and as long as `[BOOL]` yields true, executes
-`[I0]` ... `[IM]` followed by `<post>`.
+Executes `[PRE]`, then, if and as long as `[BOOL]` yields true, executes
+`[I0]` ... `[IM]` followed by `[POST]`.
### FOR EACH
{{< fatecode >}}(foreach [COLLECTION] {String} [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
diff --git a/content/wyrd_v1/computations/_index.md b/content/wyrd_v1/computations/_index.md
index 028a82e..c4ccff0 100644
--- a/content/wyrd_v1/computations/_index.md
+++ b/content/wyrd_v1/computations/_index.md
@@ -1,5 +1,6 @@
---
title: Computations
+weight: 1
---
This page presents all the computations that can be performed in Wyrd.
Computations may access the current memory, but, with one exception, do not
diff --git a/content/wyrd_v1/extensions/_index.md b/content/wyrd_v1/extensions/_index.md
index a21559c..5ce9946 100644
--- a/content/wyrd_v1/extensions/_index.md
+++ b/content/wyrd_v1/extensions/_index.md
@@ -1,4 +1,5 @@
---
title: Extensions
+weight: 3
---
Not available in Version 1.
diff --git a/content/wyrd_v1/instructions/_index.md b/content/wyrd_v1/instructions/_index.md
index 9d43a5a..cda4fec 100644
--- a/content/wyrd_v1/instructions/_index.md
+++ b/content/wyrd_v1/instructions/_index.md
@@ -1,5 +1,6 @@
---
title: Instructions
+weight: 2
---
This page presents all the instructions that can be performed in Wyrd.
Instructions do not return values. With one exception, all instructions increase
diff --git a/static/css/theme-glauque.css b/static/css/theme-glauque.css
new file mode 100644
index 0000000..c9d189c
--- /dev/null
+++ b/static/css/theme-glauque.css
@@ -0,0 +1,108 @@
+:root{
+
+ --MAIN-TEXT-color:#323232; /* Color of text by default */
+ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
+ --MAIN-LINK-color:#588F85; /* Color of links */
+ --MAIN-LINK-HOVER-color:#44756c; /* Color of hovered links */
+ --MAIN-ANCHOR-color: #588F85; /* color of anchors on titles */
+
+ --MENU-HEADER-BG-color:#588F85; /* Background color of menu header */
+ --MENU-HEADER-BORDER-color:#5da697; /*Color of menu header border */
+
+ --MENU-SEARCH-BG-color:#44756c; /* Search field background color (by default borders + icons) */
+ --MENU-SEARCH-BOX-color: #5da697; /* Override search field border color */
+ --MENU-SEARCH-BOX-ICONS-color: #90dbcb; /* Override search field icons color */
+
+ --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
+ --MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
+ --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
+ --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
+ --MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
+ --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
+
+ --MENU-VISITED-color: #5da697; /* Color of 'page visited' icons in menu */
+ --MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
+
+}
+
+body {
+ color: var(--MAIN-TEXT-color) !important;
+}
+
+textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+ border-color: none;
+ box-shadow: none;
+}
+
+#homelinks {
+ background-color: #73b4a7;
+ border-color: #73b4a7;
+}
+
+h2, h3, h4, h5 {
+ color: var(--MAIN-TITLES-TEXT-color) !important;
+}
+
+a {
+ color: var(--MAIN-LINK-color);
+}
+
+.anchor {
+ color: var(--MAIN-ANCHOR-color);
+}
+
+a:hover {
+ color: var(--MAIN-LINK-HOVER-color);
+}
+
+#sidebar ul li.visited > a .read-icon {
+ color: var(--MENU-VISITED-color);
+}
+
+#body a.highlight:after {
+ display: block;
+ content: "";
+ height: 1px;
+ width: 0%;
+ -webkit-transition: width 0.5s ease;
+ -moz-transition: width 0.5s ease;
+ -ms-transition: width 0.5s ease;
+ transition: width 0.5s ease;
+ background-color: var(--MAIN-LINK-HOVER-color);
+}
+#sidebar {
+ background-color: var(--MENU-SECTIONS-BG-color);
+}
+#sidebar #header-wrapper {
+ background: var(--MENU-HEADER-BG-color);
+ color: var(--MENU-SEARCH-BOX-color);
+ border-color: var(--MENU-HEADER-BORDER-color);
+}
+#sidebar .searchbox {
+ border-color: var(--MENU-SEARCH-BOX-color);
+ background: var(--MENU-SEARCH-BG-color);
+}
+#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
+ background: var(--MENU-SECTIONS-ACTIVE-BG-color);
+}
+#sidebar .searchbox * {
+ color: var(--MENU-SEARCH-BOX-ICONS-color);
+}
+
+#sidebar a {
+ color: var(--MENU-SECTIONS-LINK-color);
+}
+
+#sidebar a:hover {
+ color: var(--MENU-SECTIONS-LINK-HOVER-color);
+}
+
+#sidebar ul li.active > a {
+ background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
+ color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
+}
+
+#sidebar hr {
+ border-color: var(--MENU-SECTION-HR-color);
+}
+
diff --git a/static/images/favicon.png b/static/images/favicon.png
index f08e9e7..4dd5d57 100644..100755
--- a/static/images/favicon.png
+++ b/static/images/favicon.png
Binary files differ