diff options
Diffstat (limited to 'default.template')
-rw-r--r-- | default.template | 150 |
1 files changed, 100 insertions, 50 deletions
diff --git a/default.template b/default.template index 4c1ac12..baefad1 100644 --- a/default.template +++ b/default.template | |||
@@ -2,68 +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 | |||
12 | body { | 10 | body { |
13 | background-color: black; | 11 | height: 100vh; width: 100vw; |
14 | color: white !important; | 12 | margin: 0; padding: 0; border: none; |
13 | background-image: linear-gradient($onefangPurple$, $karenPurple$); | ||
14 | color: white; | ||
15 | font-family: sans-serif; | ||
15 | } | 16 | } |
16 | 17 | menu {list-style-type: none;} | |
17 | pre { | 18 | pre { |
18 | background-color: #cc00ff; | 19 | background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$); |
19 | overflow: auto; | 20 | width: fit-content; max-width: 99%; overflow-x: auto; |
20 | width: 42%; | 21 | margin: 2px; border: 2px solid grey; |
21 | } | 22 | } |
23 | table, td, th {border-collapse: collapse; border: 2px solid grey;} | ||
24 | |||
25 | .toolTip {background: darkcyan; font-size: 1.42em;} | ||
22 | 26 | ||
23 | menu { | 27 | .boxWrapper { |
24 | list-style-type: none; | 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; | ||
25 | } | 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;} | ||
26 | 44 | ||
27 | .contentBox { | 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;} |
28 | overflow-y: auto; | 46 | .boxBody {grid-area: body; grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top; |
29 | overflow-x: hidden; | 47 | height: 100%; width: 100%; |
48 | background: black; color: white; | ||
30 | } | 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;} | ||
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;} | ||
31 | </style> | 80 | </style> |
32 | </head> | 81 | </head> |
33 | <body bgcolor="black" text="white" alink="red" link="yellow" vlink="blue"> | 82 | <body alink="red" link="orange" vlink="$onefangGreen$"> |
34 | <table> | 83 | <div class="boxWrapper"> |
35 | <tr> | 84 | <input type="checkbox" id="modeToggleMenu"/> |
36 | <td><img src="Connie_click-me.gif" alt="alt text" title="Not (Yet) (Another / A) Wiki."/></td> | 85 | <input type="checkbox" id="modeToggleBody"/> |
37 | <td>$header$ plus login and register buttons</td> | 86 | <div class="boxLogo" id="top"><header><nav> |
38 | </tr> | 87 | <a href="$home$"><img src="$logo$" alt="not (Yet) (Another / A) Wiki."/></a> |
39 | <td rowspan=0 style="background-color: rebeccapurple; text-align:left; white-space:nowrap; vertical-align:top"> | 88 | </nav></header></div> |
40 | menu for the current directory | 89 | <div class="boxTools"><header><nav> |
41 | $menu$ | 90 | <a href="/help.HTML"><b class="toolTip" title="🍔 hides / shows non content, reverse hamburger menu. |
42 | </td> | 91 | 🕶 switches between dark and light themes. |
43 | <td style="background-color: rebeccapurple"> | 92 | 📚 shows the list of all pages. |
44 | 👣 $trail$ | 93 | 🔮 a folder of unsorted pages. |
45 | </td> | 94 | 👥 shows the list of users. |
46 | </tr> | 95 | 🪵 will be for logging in, when I have written that bit. |
47 | <tr> | 96 | 🔍 will be the search, when I have written that bit. |
48 | <td> | 97 | 👣 is a trail of the steps to get here.">❓</b></a> |
49 | <main class="contentBox"> | 98 | <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>🍔</label></b> |
50 | <div name="contentFrame"> | 99 | <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>🕶</label></b> |
51 | <h1>$pagetitle$</h1> | 100 | <a href="/everything.HTML"><b class="toolTip">📚</b></a> |
52 | Author: $author$ | 101 | <a href="/unsorted/" ><b class="toolTip">🔮</b></a> |
53 | $body$ | 102 | <a href="/users/" ><b class="toolTip">👥</b></a> |
54 | </div> | 103 | <b class="toolTip">🪵</b> |
55 | </main> | 104 | <b class="toolTip">🔍</b> |
56 | </td> | 105 | <b> 👣 $trail$ </b> |
57 | </tr> | 106 | </nav></header></div> |
58 | <tr> | 107 | <div class="boxHead"><header><nav><b>$header$</b> </nav></header></div> |
59 | <td style="background-color: rebeccapurple"> | 108 | |
60 | <p>Page <a href="$history$">history</a>. Web site <a href="$feedatom$">atom feed</a> and <a href="$sourcecode$">source code</a> Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version $version$.</p> | 109 | <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div> |
61 | </td> | 110 | <div class="boxBody"><main>$body$<br/></main></div> |
62 | </tr> | 111 | |
63 | <tr> | 112 | <div class="boxHistory"><footer>$history$</footer></div> |
64 | <td> | 113 | <div class="boxFoot"><footer>$footer$</footer></div> |
65 | </td> | 114 | <div class="boxnyaw"><footer> |
66 | </tr> | 115 | <p>Powered by <a href="https://sledjhamr.org/notYetAnotherWiki/">notYetAnotherWiki</a> v 0.0 No cookies or scripts where harmed in the making of this web site. May contain low fat CSS.</p> |
67 | </table> | 116 | </footer></div> |
117 | </div> | ||
68 | </body> | 118 | </body> |
69 | </html> | 119 | </html> |