aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/default.template
diff options
context:
space:
mode:
authordvs12025-02-26 20:08:29 +1000
committerdvs12025-02-26 20:08:29 +1000
commitbcf74340a276aee6aaf0d0b2d6b07b29e50f0b25 (patch)
treef025a338d75694af97ac5728ee978ffc79018fb3 /default.template
parentWrap the edit string at the bottom in a link. At least for PmWiki. (diff)
downloadnotYetAnotherWiki-bcf74340a276aee6aaf0d0b2d6b07b29e50f0b25.zip
notYetAnotherWiki-bcf74340a276aee6aaf0d0b2d6b07b29e50f0b25.tar.gz
notYetAnotherWiki-bcf74340a276aee6aaf0d0b2d6b07b29e50f0b25.tar.bz2
notYetAnotherWiki-bcf74340a276aee6aaf0d0b2d6b07b29e50f0b25.tar.xz
YAR - mostly theming and link conversion.
Includes the new "hide all but content" icon.
Diffstat (limited to 'default.template')
-rw-r--r--default.template94
1 files changed, 65 insertions, 29 deletions
diff --git a/default.template b/default.template
index 9c5765f..f9a2746 100644
--- a/default.template
+++ b/default.template
@@ -7,61 +7,97 @@
7 <link rel="icon" type="image/png" href="$favicon$" /> 7 <link rel="icon" type="image/png" href="$favicon$" />
8 <style> 8 <style>
9 a:hover {color: red;} 9 a:hover {color: red;}
10 body {height: 100vh; width: 100vw; font-family: sans-serif; margin: 0; padding: 0; border: none;} 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 }
11 menu {list-style-type: none;} 17 menu {list-style-type: none;}
12 pre { 18 pre {
13 background-color: $onefangPurple$; 19 background-color: $onefangPurple$;
14 overflow-x: auto; 20 overflow-x: auto;
15 width: 84vw; 21 width: 99%;
16 margin: 2px; 22 margin: 2px;
17 } 23 }
18 table, td, th {border-collapse: collapse;border: 2px solid grey;} 24 table, td, th {border-collapse: collapse;border: 2px solid grey;}
19 25
26 .toolTip {
27 border: 2px solid fuchsia;
28 }
20 29
21 .boxWrapper { 30 .boxWrapper {
22 height: 100vh; width: 100vw; 31 height: 100%; width: 100%;
23 background-image: linear-gradient($onefangPurple$, $karenPurple$);
24 color: white;
25 display: grid; 32 display: grid;
26// grid-template-areas: 33// grid-template-areas:
27// "logo trail" 34// "logo0 trail"
28// "logo head" 35// "logo1 head"
29// "menu body" 36// "menu body"
30// "history foot"; 37// "history foot";
31 grid-template-columns: auto 1fr auto; 38 grid-template-columns: auto 1fr auto;
32 grid-template-rows: auto auto 1fr auto; 39 grid-template-rows: auto auto 1fr auto;
33 grid-auto-columns: minmax(auto, auto); 40// grid-auto-columns: minmax(auto, auto);
34 grid-auto-rows: minmax(auto, auto); 41// grid-auto-rows: minmax(auto, auto);
35 overflow-x: auto; overflow-y: auto; 42 overflow-x: auto; overflow-y: auto;
36 } 43 }
37 .boxLogo {grid-area: logo; grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;} 44 .boxLogo0 {grid-area: logo0; grid-column: 1 / 3; grid-row: 1 / 1; height: min-content; margin: 0; padding: 0; border: none;}
38 .boxTrail {grid-area: trail; grid-column: 2 / 2; grid-row: 1 / 1; height: min-content;} 45 .boxLogo1 {grid-area: logo1; grid-column: 1 / 3; grid-row: 2 / 2; height: min-content; margin: 0; padding: 0; border: none;}
39 .boxCheck {grid-area: head; grid-column: 2 / 2; grid-row: 2 / 2; height: min-content;} 46 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content; margin: 0; padding: 0; border: none; text-align: right;}
40 .boxHead {grid-area: head; grid-column: 2 / 2; grid-row: 2 / 2; height: min-content; text-align: right;} 47 .boxTrail {grid-area: trail; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; margin: 0; padding: 0; border: none;}
41 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; vertical-align: top; padding: 4px;} 48 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;}
42 .boxBody {grid-area: body; grid-column: 2 / 2; grid-row: 3 / 3; vertical-align: top; 49 .boxBody {grid-area: body; grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top;
43 height: 100%; width: 100%; 50 height: 100%; width: 100%;
44 background: black; color: white; 51 background: black; color: white;
45 } 52 }
46 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;} 53 .boxBody a:active {color: red;}
47 .boxFoot {grid-area: foot; grid-column: 2 / 2; grid-row: 4 / 4; height: min-content; text-align: right;} 54 .boxBody a:link {color: orange;}
55 .boxBody a:visited {color: $onefangGreen$;}
56 .boxBody a:hover {color: red;}
57 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content; margin: 0; padding: 0; border: none;}
58 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; margin: 0; padding: 0; border: none; text-align: right;}
48 59
49 /* Hide the toggle checkbox */ 60 #modeToggleBody {display: none;}
50 #mode-toggle {display: none;} 61 #modeToggleMenu {display: none;}
51 #mode-btn {color: white; display: inline-block;} 62 #modeBtn {color: white; display: inline-block;}
52 #mode-btn:checked {color: black;} 63 #modeToggleBody:checked ~ .modeBtn {color: black;}
53 #mode-toggle:checked ~ .boxBody {background: white; color: black;} 64 #modeToggleBody:checked ~ .boxBody {background: white; color: black;}
65 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;}
66 #modeToggleBody:checked ~ .boxBody a:link {color: $devuanDevuanlink$;}
67 #modeToggleBody:checked ~ .boxBody a:visited {color: $devuanDevuanvlink$;}
68 #modeToggleBody:checked ~ .boxBody a:hover {color: $devuanDevuanhlink$;}
69 #modeToggleMenu:checked ~ .boxLogo0 {display: none;}
70 #modeToggleMenu:checked ~ .boxHead {display: none;}
71 #modeToggleMenu:checked ~ .boxTrail {display: none;}
72 #modeToggleMenu:checked ~ .boxMenu {display: none;}
73 #modeToggleMenu:checked ~ .boxHistory {display: none;}
74 #modeToggleMenu:checked ~ .boxFoot {display: none;}
54 </style> 75 </style>
55 </head> 76 </head>
56 <body alink="red" link="yellow" vlink="yellowgreen"> 77 <body alink="red" link="orange" vlink="$onefangGreen$">
57 <div class="boxWrapper"> 78 <div class="boxWrapper">
58 <div class="boxLogo"><header><nav><a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a></nav></header></div> 79 <div class="boxLogo1"><header><nav>
59 <div class="boxTrail"><header><nav> &nbsp; &#x1f463; &nbsp; $trail$</nav></header></div> 80 <b class="toolTip" title="&#127828; hides or shows the left menu.
60 <div class="boxHead"><header><nav>$header$ &nbsp; login &nbsp; register &nbsp; </nav></header></div> 81&#x1F576; switches between dark and light themes.
61 <input type="checkbox" id="mode-toggle" /><div class="boxBody"><main>$body$<br/></main></div> 82&#129717; will be for logging in, when I have written that bit.
62 <div class="boxMenu"><nav>$menu$<label for="mode-toggle" id="mode-btn">&#x1F576;</label></nav></div> 83&#128269; will be the search, when I have written that bit.
84&#x1f463; is a trail of the steps to get here.">&#10067;</b>
85 <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
86 <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
87 <b class="toolTip">&#129717;</b>
88 <b class="toolTip">&#128269;</b>
89 </nav></header></div>
90 <input type="checkbox" id="modeToggleMenu"/> <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
91 <input type="checkbox" id="modeToggleBody"/> <div class="boxBody"><main>$body$<br/></main></div>
92 <div class="boxLogo0"><header><nav>
93 <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a>
94 </nav></header></div>
95 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>
96 <div class="boxTrail"><header><nav><b> &nbsp; &#x1f463; &nbsp; $trail$ </b></nav></header></div>
63 <div class="boxHistory"><footer>$history$</footer></div> 97 <div class="boxHistory"><footer>$history$</footer></div>
64 <div class="boxFoot"><footer>$footer$</footer></div> 98 <div class="boxFoot"><footer><p>$footer$</footer>
99 <p><sub>No cookies or scripts where harmed in the making of this web site. May contain low fat CSS.<sub/></p>
100 </div>
65 </div> 101 </div>
66 </body> 102 </body>
67</html> 103</html>