aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/default.template
diff options
context:
space:
mode:
Diffstat (limited to 'default.template')
-rw-r--r--default.template137
1 files changed, 103 insertions, 34 deletions
diff --git a/default.template b/default.template
index eed4c59..baefad1 100644
--- a/default.template
+++ b/default.template
@@ -2,49 +2,118 @@
2<html> 2<html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="generator" contents="lcmark">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
7 <title>$pagetitle$</title> 6 <title>$title$</title>
8 <link rel="icon" type="image/png" href="$favicon$" /> 7 <link rel="icon" type="image/png" href="$favicon$" />
9 <style> 8 <style>
10 html {font-family: sans-serif;} 9 a:hover {color: red;}
11 10 body {
11 height: 100vh; width: 100vw;
12 margin: 0; padding: 0; border: none;
13 background-image: linear-gradient($onefangPurple$, $karenPurple$);
14 color: white;
15 font-family: sans-serif;
16 }
17 menu {list-style-type: none;}
12 pre { 18 pre {
13 background-color: $onefangPurple$; 19 background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$);
14 overflow-x: auto; 20 width: fit-content; max-width: 99%; overflow-x: auto;
15 width: 92vw; 21 margin: 2px; border: 2px solid grey;
16 margin: 1px; 22 }
23 table, td, th {border-collapse: collapse; border: 2px solid grey;}
24
25 .toolTip {background: darkcyan; font-size: 1.42em;}
26
27 .boxWrapper {
28 height: 100%; width: 100%;
29 margin: 0; padding: 0; border: none;
30 display: grid;
31// grid-template-areas:
32// "logo tools tools tools"
33// "logo head head head"
34// "menu body body body"
35// "history foot foot foot"
36// "nyaw nyaw nyaw nyaw";
37 grid-template-columns: 1.4fr 8fr auto auto;
38 grid-template-rows: auto auto 1fr auto auto;
39 overflow-x: auto; overflow-y: auto;
17 } 40 }
41 .boxLogo {grid-area: logo; grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;}
42 .boxTools {grid-area: tools; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;}
43 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;}
18 44
19 menu { 45 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; vertical-align: top; padding: 4px; overflow-x: auto; overflow-y: auto;}
20 list-style-type: none; 46 .boxBody {grid-area: body; grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top;
47 height: 100%; width: 100%;
48 background: black; color: white;
21 } 49 }
50 .boxBody a:active {color: red;}
51 .boxBody a:link {color: orange;}
52 .boxBody a:visited {color: $onefangGreen$;}
53 .boxBody a:hover {color: red;}
54
55 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;}
56 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;}
57 .boxnyaw {grid-area: nyaw; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;}
22 58
59 #modeToggleBody {display: none;}
60 #modeToggleMenu {display: none;}
61 #modeBtn {color: white; display: inline-block;}
62 #modeToggleBody:checked ~ .modeBtn {color: black;}
63// #modeToggleBody:checked ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{}
64// #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);}
65
66 #modeToggleMenu:checked ~ .boxLogo {display: none;}
67 #modeToggleMenu:checked ~ .boxHead {display: none;}
68// #modeToggleMenu:checked ~ .boxTools {display: none;}
69// #modeToggleMenu:checked ~ .boxMenu {display: none; width: 0px; max-width: 0px; }
70
71 #modeToggleBody:checked ~ .boxBody {background: white; color: black;}
72 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;}
73 #modeToggleBody:checked ~ .boxBody a:link {color: $devuanDevuanlink$;}
74 #modeToggleBody:checked ~ .boxBody a:visited {color: $devuanDevuanvlink$;}
75 #modeToggleBody:checked ~ .boxBody a:hover {color: $devuanDevuanhlink$;}
76
77 #modeToggleMenu:checked ~ .boxHistory {display: none;}
78 #modeToggleMenu:checked ~ .boxFoot {display: none;}
79 #modeToggleMenu:checked ~ .boxnyaw {display: none;}
23 </style> 80 </style>
24 </head> 81 </head>
25 <body bgcolor="black" text="white" alink="yellow" link="yellowgreen" vlink="red"> 82 <body alink="red" link="orange" vlink="$onefangGreen$">
26 <table style="background-color: $karenPurple$; width: 98vw; margin: 1; line-style: none; border-style: none; border-spacing: 0;"> 83 <div class="boxWrapper">
27 <tr> 84 <input type="checkbox" id="modeToggleMenu"/>
28 <td><img src="$logo$" alt="alt text" title="Not (Yet) (Another / A) Wiki."/></td> 85 <input type="checkbox" id="modeToggleBody"/>
29 <td style="text-align: right;">$header$ &nbsp; plus login and register buttons &nbsp;</td> 86 <div class="boxLogo" id="top"><header><nav>
30 </tr> 87 <a href="$home$"><img src="$logo$" alt="not (Yet) (Another / A) Wiki."/></a>
31 <tr> 88 </nav></header></div>
32 <td rowspan=2 style="white-space:nowrap; vertical-align:top;">$menu$</td> 89 <div class="boxTools"><header><nav>
33 <td><p>&#x1f463; $trail$</p></td> 90 &nbsp; <a href="/help.HTML"><b class="toolTip" title="🍔 hides / shows non content, reverse hamburger menu.
34 </tr> 91🕶 switches between dark and light themes.
35 <tr> 92📚 shows the list of all pages.
36 <td style="background-color: black; width: fit-content;"> 93🔮 a folder of unsorted pages.
37 <main class="contentBox" style="overflow-y: auto; overflow-x: hidden;"> 94👥 shows the list of users.
38 <h1>$pagetitle$</h1> 95🪵 will be for logging in, when I have written that bit.
39 Author: $author$ 96🔍 will be the search, when I have written that bit.
40 $body$ 97👣 is a trail of the steps to get here.">❓</b></a>
41 </main> 98 &nbsp; <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
42 </td> 99 &nbsp; <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
43 </tr> 100 &nbsp; <a href="/everything.HTML"><b class="toolTip">&#128218;</b></a>
44 <tr> 101 &nbsp; <a href="/unsorted/" ><b class="toolTip">&#128302;</b></a>
45 <td>$history$</td> 102 &nbsp; <a href="/users/" ><b class="toolTip">&#128101;</b></a>
46 <td style="text-align: right;">$footer$</td> 103 &nbsp; <b class="toolTip">&#129717;</b>
47 </tr> 104 &nbsp; <b class="toolTip">&#128269;</b>
48 </table> 105 <b> &nbsp; &#x1f463; $trail$ </b>
106 </nav></header></div>
107 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>
108
109 <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
110 <div class="boxBody"><main>$body$<br/></main></div>
111
112 <div class="boxHistory"><footer>$history$</footer></div>
113 <div class="boxFoot"><footer>$footer$</footer></div>
114 <div class="boxnyaw"><footer>
115 <p>Powered&nbsp;by&nbsp;<a href="https://sledjhamr.org/notYetAnotherWiki/">notYetAnotherWiki</a>&nbsp;v&nbsp;0.0 &nbsp; No cookies or scripts where harmed in the making of this web site. &nbsp; May contain low fat CSS.</p>
116 </footer></div>
117 </div>
49 </body> 118 </body>
50</html> 119</html>