aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/default.template
diff options
context:
space:
mode:
authordvs12025-03-13 14:03:15 +1000
committerdvs12025-03-13 14:03:15 +1000
commit2af9523048d4c88185a88cb8d57d2862ad9342e2 (patch)
tree2a7bacf72d0cd717cf80e129e1f3a3a5e0baa5ee /default.template
parentShrink some parts of the footer. (diff)
downloadnotYetAnotherWiki-2af9523048d4c88185a88cb8d57d2862ad9342e2.zip
notYetAnotherWiki-2af9523048d4c88185a88cb8d57d2862ad9342e2.tar.gz
notYetAnotherWiki-2af9523048d4c88185a88cb8d57d2862ad9342e2.tar.bz2
notYetAnotherWiki-2af9523048d4c88185a88cb8d57d2862ad9342e2.tar.xz
Attempt to tame the CSS.
Diffstat (limited to 'default.template')
-rw-r--r--default.template48
1 files changed, 30 insertions, 18 deletions
diff --git a/default.template b/default.template
index 8f918f3..f87666c 100644
--- a/default.template
+++ b/default.template
@@ -20,29 +20,33 @@
20 overflow-x: auto; 20 overflow-x: auto;
21 width: 99%; 21 width: 99%;
22 margin: 2px; 22 margin: 2px;
23 border: 2px solid grey;
23 } 24 }
24 table, td, th {border-collapse: collapse;border: 2px solid grey;} 25 table, td, th {border-collapse: collapse; border: 2px solid grey;}
25 26
26 .toolTip {background: darkcyan;} 27 .toolTip {background: darkcyan;}
27 28
28 .boxWrapper { 29 .boxWrapper {
29 height: 100%; width: 100%; 30 height: 100%; width: 100%;
31 margin: 0; padding: 0; border: none;
30 display: grid; 32 display: grid;
31// grid-template-areas: 33// grid-template-areas:
32// "logo0 trail" 34// "logo0 trail"
33// "logo1 head" 35// "logo1 head"
34// "menu body" 36// "menu body"
35// "history foot"; 37// "history foot";
36 grid-template-columns: auto 1fr auto; 38 grid-template-columns: auto 1fr auto auto;
37 grid-template-rows: auto auto 1fr auto; 39 grid-template-rows: auto auto 1fr auto auto;
38// grid-auto-columns: minmax(auto, auto); 40// grid-auto-columns: minmax(auto, auto);
39// grid-auto-rows: minmax(auto, auto); 41// grid-auto-rows: minmax(auto, auto);
40 overflow-x: auto; overflow-y: auto; 42 overflow-x: auto; overflow-y: auto;
41 } 43 }
42 .boxLogo0 {grid-area: logo0; grid-column: 1 / 3; grid-row: 1 / 1; height: min-content; margin: 0; padding: 0; border: none;} 44 .boxLogo0 {grid-area: logo0; grid-column: 1 / 1; grid-row: 1 / 1; height: min-content;}
43 .boxLogo1 {grid-area: logo1; grid-column: 1 / 3; grid-row: 2 / 2; height: min-content; margin: 0; padding: 0; border: none;} 45 .boxLogo1 {grid-area: logo1; grid-column: 1 / 1; grid-row: 2 / 2; height: min-content;}
44 .boxHead {grid-area: head; grid-column: 2 / 4; grid-row: 1 / 1; height: min-content; margin: 0; padding: 0; border: none; text-align: right;} 46
45 .boxTrail {grid-area: trail; grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; margin: 0; padding: 0; border: none;} 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;}
49
46 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;} 50 .boxMenu {grid-area: menu; grid-column: 1 / 1; grid-row: 3 / 3; height: min-content; width: min-content; vertical-align: top; padding: 4px;}
47 .boxBody {grid-area: body; grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top; 51 .boxBody {grid-area: body; grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top;
48 height: 100%; width: 100%; 52 height: 100%; width: 100%;
@@ -52,12 +56,16 @@
52 .boxBody a:link {color: orange;} 56 .boxBody a:link {color: orange;}
53 .boxBody a:visited {color: $onefangGreen$;} 57 .boxBody a:visited {color: $onefangGreen$;}
54 .boxBody a:hover {color: red;} 58 .boxBody a:hover {color: red;}
55 .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content; margin: 0; padding: 0; border: none;} 59
56 .boxFoot {grid-area: foot; grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; margin: 0; padding: 0; border: none; text-align: right;} 60 .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;}
62 .boxnyaw {grid-area: foot; grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;}
57 63
58 #modeToggleBody {display: none;} 64 #modeToggleBody {display: none;}
59 #modeToggleMenu {display: none;} 65 #modeToggleMenu {display: none;}
60 #modeBtn {color: white; display: inline-block;} 66 #modeBtn {color: white; display: inline-block;}
67 #modeToggleBody:checked ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{}
68 #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);}
61 #modeToggleBody:checked ~ .modeBtn {color: black;} 69 #modeToggleBody:checked ~ .modeBtn {color: black;}
62 #modeToggleBody:checked ~ .boxBody {background: white; color: black;} 70 #modeToggleBody:checked ~ .boxBody {background: white; color: black;}
63 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;} 71 #modeToggleBody:checked ~ .boxBody a:active {color: $devuanDevuanalink$;}
@@ -70,10 +78,16 @@
70 #modeToggleMenu:checked ~ .boxMenu {display: none;} 78 #modeToggleMenu:checked ~ .boxMenu {display: none;}
71 #modeToggleMenu:checked ~ .boxHistory {display: none;} 79 #modeToggleMenu:checked ~ .boxHistory {display: none;}
72 #modeToggleMenu:checked ~ .boxFoot {display: none;} 80 #modeToggleMenu:checked ~ .boxFoot {display: none;}
81 #modeToggleMenu:checked ~ .boxnyaw {display: none;}
73 </style> 82 </style>
74 </head> 83 </head>
75 <body alink="red" link="orange" vlink="$onefangGreen$"> 84 <body alink="red" link="orange" vlink="$onefangGreen$">
76 <div class="boxWrapper"> 85 <div class="boxWrapper">
86 <input type="checkbox" id="modeToggleMenu"/>
87 <input type="checkbox" id="modeToggleBody"/>
88 <div class="boxLogo0"><header><nav>
89 <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a>
90 </nav></header></div>
77 <div class="boxLogo1"><header><nav> 91 <div class="boxLogo1"><header><nav>
78 <b class="toolTip" title="🍔 hides or shows non content. 92 <b class="toolTip" title="🍔 hides or shows non content.
79🕶 switches between dark and light themes. 93🕶 switches between dark and light themes.
@@ -85,17 +99,15 @@
85 <b class="toolTip">&#129717;</b> 99 <b class="toolTip">&#129717;</b>
86 <b class="toolTip">&#128269;</b> 100 <b class="toolTip">&#128269;</b>
87 </nav></header></div> 101 </nav></header></div>
88 <input type="checkbox" id="modeToggleMenu"/> <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
89 <input type="checkbox" id="modeToggleBody"/> <div class="boxBody"><main>$body$<br/></main></div>
90 <div class="boxLogo0"><header><nav>
91 <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a>
92 </nav></header></div>
93 <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>
94 <div class="boxTrail"><header><nav><b> &nbsp; &#x1f463; &nbsp; $trail$ </b></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>
104 <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
105 <div class="boxBody"><main>$body$<br/></main></div>
95 <div class="boxHistory"><footer>$history$</footer></div> 106 <div class="boxHistory"><footer>$history$</footer></div>
96 <div class="boxFoot"><footer><p>$footer$</footer> 107 <div class="boxFoot"><footer>$footer$</footer></div>
97 <p style="font-size: 0.6em;">No cookies or scripts where harmed in the making of this web site. May contain low fat CSS.</p> 108 <div class="boxnyaw"><footer>
98 </div> 109 <p>Powered&nbsp;by&nbsp;<a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">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>
110 </footer></div>
99 </div> 111 </div>
100 </body> 112 </body>
101</html> 113</html>