aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--README.md.md2
-rw-r--r--default.template50
-rwxr-xr-xnotYetAnotherWiki.lua4
3 files changed, 30 insertions, 26 deletions
diff --git a/README.md.md b/README.md.md
index bc85e8c..31ea1e7 100644
--- a/README.md.md
+++ b/README.md.md
@@ -1 +1 @@
title=notYetAnotherWiki title=nYAW
diff --git a/default.template b/default.template
index f87666c..86a6f36 100644
--- a/default.template
+++ b/default.template
@@ -24,27 +24,26 @@
24 } 24 }
25 table, td, th {border-collapse: collapse; border: 2px solid grey;} 25 table, td, th {border-collapse: collapse; border: 2px solid grey;}
26 26
27 .toolTip {background: darkcyan;} 27 .toolTip {background: darkcyan; font-size: 1.42em;}
28 28
29 .boxWrapper { 29 .boxWrapper {
30 height: 100%; width: 100%; 30 height: 100%; width: 100%;
31 margin: 0; padding: 0; border: none; 31 margin: 0; padding: 0; border: none;
32 display: grid; 32 display: grid;
33// grid-template-areas: 33// grid-template-areas:
34// "logo0 trail" 34// "logo tools"
35// "logo1 head" 35// "logo head"
36// "menu body" 36// "menu body"
37// "history foot"; 37// "history foot"
38// "nyaw .";
38 grid-template-columns: auto 1fr auto auto; 39 grid-template-columns: auto 1fr auto auto;
39 grid-template-rows: auto auto 1fr auto auto; 40 grid-template-rows: auto auto 1fr auto auto;
40// grid-auto-columns: minmax(auto, auto); 41// grid-auto-columns: minmax(auto, auto);
41// grid-auto-rows: minmax(auto, auto); 42// grid-auto-rows: minmax(auto, auto);
42 overflow-x: auto; overflow-y: auto; 43 overflow-x: auto; overflow-y: auto;
43 } 44 }
44 .boxLogo0 {grid-area: logo0; grid-column: 1 / 1; grid-row: 1 / 1; height: min-content;} 45 .boxLogo {grid-area: logo; grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;}
45 .boxLogo1 {grid-area: logo1; grid-column: 1 / 1; grid-row: 2 / 2; height: min-content;} 46 .boxTools {grid-area: tools; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;}
46
47 .boxTrail {grid-area: trail; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;}
48 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;} 47 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;}
49 48
50 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;} 49 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;}
@@ -59,7 +58,7 @@
59 58
60 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;} 59 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;}
61 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;} 60 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;}
62 .boxnyaw {grid-area: foot; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;} 61 .boxnyaw {grid-area: nyaw; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;}
63 62
64 #modeToggleBody {display: none;} 63 #modeToggleBody {display: none;}
65 #modeToggleMenu {display: none;} 64 #modeToggleMenu {display: none;}
@@ -67,15 +66,18 @@
67 #modeToggleBody:checked ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{} 66 #modeToggleBody:checked ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{}
68 #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);} 67 #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);}
69 #modeToggleBody:checked ~ .modeBtn {color: black;} 68 #modeToggleBody:checked ~ .modeBtn {color: black;}
69
70 #modeToggleMenu:checked ~ .boxLogo {display: none;}
71 #modeToggleMenu:checked ~ .boxHead {display: none;}
72// #modeToggleMenu:checked ~ .boxTools {display: none;}
73
74 #modeToggleMenu:checked ~ .boxMenu {display: none;}
70 #modeToggleBody:checked ~ .boxBody {background: white; color: black;} 75 #modeToggleBody:checked ~ .boxBody {background: white; color: black;}
71 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;} 76 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;}
72 #modeToggleBody:checked ~ .boxBody a:link {color: $devuanDevuanlink$;} 77 #modeToggleBody:checked ~ .boxBody a:link {color: $devuanDevuanlink$;}
73 #modeToggleBody:checked ~ .boxBody a:visited {color: $devuanDevuanvlink$;} 78 #modeToggleBody:checked ~ .boxBody a:visited {color: $devuanDevuanvlink$;}
74 #modeToggleBody:checked ~ .boxBody a:hover {color: $devuanDevuanhlink$;} 79 #modeToggleBody:checked ~ .boxBody a:hover {color: $devuanDevuanhlink$;}
75 #modeToggleMenu:checked ~ .boxLogo0 {display: none;} 80
76 #modeToggleMenu:checked ~ .boxHead {display: none;}
77 #modeToggleMenu:checked ~ .boxTrail {display: none;}
78 #modeToggleMenu:checked ~ .boxMenu {display: none;}
79 #modeToggleMenu:checked ~ .boxHistory {display: none;} 81 #modeToggleMenu:checked ~ .boxHistory {display: none;}
80 #modeToggleMenu:checked ~ .boxFoot {display: none;} 82 #modeToggleMenu:checked ~ .boxFoot {display: none;}
81 #modeToggleMenu:checked ~ .boxnyaw {display: none;} 83 #modeToggleMenu:checked ~ .boxnyaw {display: none;}
@@ -85,24 +87,26 @@
85 <div class="boxWrapper"> 87 <div class="boxWrapper">
86 <input type="checkbox" id="modeToggleMenu"/> 88 <input type="checkbox" id="modeToggleMenu"/>
87 <input type="checkbox" id="modeToggleBody"/> 89 <input type="checkbox" id="modeToggleBody"/>
88 <div class="boxLogo0"><header><nav> 90 <div class="boxLogo"><header><nav>
89 <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a> 91 <a href="$home$"><img src="$logo$" alt="not (Yet) (Another / A) Wiki."/></a>
90 </nav></header></div> 92 </nav></header></div>
91 <div class="boxLogo1"><header><nav> 93 <div class="boxTools"><header><nav>
92 <b class="toolTip" title="🍔 hides or shows non content. 94 &nbsp; <b class="toolTip" title="🍔 hides / shows non content, reverse hamburger menu.
93🕶 switches between dark and light themes. 95🕶 switches between dark and light themes.
94🪵 will be for logging in, when I have written that bit. 96🪵 will be for logging in, when I have written that bit.
95🔍 will be the search, when I have written that bit. 97🔍 will be the search, when I have written that bit.
96👣 is a trail of the steps to get here.">❓</b> 98👣 is a trail of the steps to get here.">❓</b>
97 <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b> 99 &nbsp; <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
98 <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b> 100 &nbsp; <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
99 <b class="toolTip">&#129717;</b> 101 &nbsp; <b class="toolTip">&#129717;</b>
100 <b class="toolTip">&#128269;</b> 102 &nbsp; <b class="toolTip">&#128269;</b>
103 <b> &nbsp; &#x1f463; $trail$ </b>
101 </nav></header></div> 104 </nav></header></div>
102 <div class="boxTrail"><header><nav><b> &nbsp; &#x1f463; &nbsp; $trail$ </b></nav></header></div>
103 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div> 105 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>
106
104 <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div> 107 <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
105 <div class="boxBody"><main>$body$<br/></main></div> 108 <div class="boxBody"><main>$body$<br/></main></div>
109
106 <div class="boxHistory"><footer>$history$</footer></div> 110 <div class="boxHistory"><footer>$history$</footer></div>
107 <div class="boxFoot"><footer>$footer$</footer></div> 111 <div class="boxFoot"><footer>$footer$</footer></div>
108 <div class="boxnyaw"><footer> 112 <div class="boxnyaw"><footer>
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 8be3850..33a9e32 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -700,10 +700,10 @@ for name, file in pairs(Files) do
700 for i, b in ipairs(bits) do 700 for i, b in ipairs(bits) do
701 local p = table.concat(bits, '/', 1, i) 701 local p = table.concat(bits, '/', 1, i)
702 if i < #bits then 702 if i < #bits then
703 metadata.trail = metadata.trail .. '<a href="' .. linkFrom(file.path, p) .. Subs[p].whichPage .. '">' .. b .. '</a> &#x1f463; &nbsp; ' 703 metadata.trail = metadata.trail .. '<a href="' .. linkFrom(file.path, p) .. Subs[p].whichPage .. '">' .. b .. '</a> &nbsp; &#x1f463; '
704 linkFrom(file.path, table.concat(bits, '/', 1, i)) 704 linkFrom(file.path, table.concat(bits, '/', 1, i))
705 else 705 else
706 metadata.trail = metadata.trail .. b .. ' &nbsp; ' 706 metadata.trail = metadata.trail .. ' ' .. b
707 end 707 end
708 end 708 end
709 709