diff options
author | dvs1 | 2025-02-19 17:40:48 +1000 |
---|---|---|
committer | dvs1 | 2025-02-19 17:40:48 +1000 |
commit | c560ae0b2a0c714c9944fa988632527f4f2630b4 (patch) | |
tree | a2fcfc3e0dc485321ac36605b021ec1099232e8c /default.template | |
parent | TODO is tricksy. (diff) | |
download | notYetAnotherWiki-c560ae0b2a0c714c9944fa988632527f4f2630b4.zip notYetAnotherWiki-c560ae0b2a0c714c9944fa988632527f4f2630b4.tar.gz notYetAnotherWiki-c560ae0b2a0c714c9944fa988632527f4f2630b4.tar.bz2 notYetAnotherWiki-c560ae0b2a0c714c9944fa988632527f4f2630b4.tar.xz |
Major YAR!!
Moved the post download code from the SuckIt's to the main script, and
combined what's left.
Minor icon tweak.
Think I have almost figured out the HTML and CSS to get the layout to
behave.
Major rearrange of the main script.
Use more of lunamark and RE.
Moar colours!
Solved the generic colour shenanigans.
Solved a few other bugs.
Hidden directories.
Lots of things I forgot about.
Diffstat (limited to 'default.template')
-rw-r--r-- | default.template | 88 |
1 files changed, 71 insertions, 17 deletions
diff --git a/default.template b/default.template index bedfdcf..72462f4 100644 --- a/default.template +++ b/default.template | |||
@@ -6,41 +6,95 @@ | |||
6 | <title>$title$</title> | 6 | <title>$title$</title> |
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} | ||
10 | |||
9 | html {font-family: sans-serif;} | 11 | html {font-family: sans-serif;} |
10 | 12 | ||
13 | menu { | ||
14 | list-style-type: none; | ||
15 | } | ||
16 | |||
11 | pre { | 17 | pre { |
12 | background-color: $onefangPurple$; | 18 | background-color: $onefangPurple$; |
13 | overflow-x: auto; | 19 | overflow-x: auto; |
14 | width: 92vw; | 20 | width: 84vw; |
15 | margin: 1px; | 21 | margin: 1px; |
16 | } | 22 | } |
17 | 23 | ||
18 | menu { | 24 | table, |
19 | list-style-type: none; | 25 | td, |
26 | th { | ||
27 | background-color black; | ||
28 | border-collapse: collapse; | ||
29 | border: 1px solid white; | ||
30 | } | ||
31 | |||
32 | .contentBox { | ||
33 | } | ||
34 | .contentBox a:active {color: red} | ||
35 | .contentBox a:link {color: yellow} | ||
36 | .contentBox a:visited {color: yellowgreen} | ||
37 | .contentBox a:hover {color: red} | ||
38 | |||
39 | .stuff { | ||
40 | background-image: linear-gradient($karenPurple$, $onefangPurple$); | ||
41 | height: 98vh; | ||
42 | width: 98vw; | ||
43 | margin: 1; | ||
44 | line-style: none; | ||
45 | border-style: none; | ||
46 | border-spacing: 0; | ||
47 | border: none; | ||
48 | } | ||
49 | .stuffCell { | ||
50 | height: fit-content; | ||
51 | border: none; | ||
52 | } | ||
53 | .stuffCellBody { | ||
54 | background-color: black; | ||
55 | color: white; | ||
56 | border: none; | ||
57 | overflow-x: hidden; | ||
58 | overflow-y: auto; | ||
59 | height: 100%; | ||
60 | width: 100%; | ||
61 | vertical-align: top; | ||
62 | } | ||
63 | .stuffCellMenu { | ||
64 | height: fit-content; | ||
65 | width: fit-content; | ||
66 | border: none; | ||
67 | white-space: nowrap; | ||
68 | vertical-align: top; | ||
69 | } | ||
70 | .stuffCellRight { | ||
71 | height: fit-content; | ||
72 | border: none; | ||
73 | text-align: right; | ||
20 | } | 74 | } |
21 | 75 | ||
22 | </style> | 76 | </style> |
23 | </head> | 77 | </head> |
24 | <body bgcolor="black" text="white" alink="yellow" link="yellowgreen" vlink="red"> | 78 | <body bgcolor="black" color="white" text="white" alink="red" link="yellow" vlink="yellowgreen"> |
25 | <table style="background-color: $karenPurple$; width: 98vw; margin: 1; line-style: none; border-style: none; border-spacing: 0;"> | 79 | <table class="stuff"> |
26 | <tr> | 80 | <tr class="stuffCell"> |
27 | <td><a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a></td> | 81 | <td class="stuffCell"><a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a></td> |
28 | <td><p>👣 $trail$</p></td> | 82 | <td class="stuffCell"><p>👣 $trail$</p></td> |
29 | </tr> | 83 | </tr> |
30 | <tr> | 84 | <tr class="stuffCell"> |
31 | <td rowspan=2 style="white-space:nowrap; vertical-align:top;">$menu$</td> | 85 | <td class="stuffCellMenu" rowspan=2>$menu$</td> |
32 | <td style="text-align: right;">$header$ plus login and register buttons </td> | 86 | <td class="stuffCellRight">$header$ plus login and register buttons </td> |
33 | </tr> | 87 | </tr> |
34 | <tr> | 88 | <tr class="stuffCell"> |
35 | <td style="background-color: black; width: fit-content;"> | 89 | <td class="stuffCellBody"> |
36 | <main class="contentBox" style="overflow-y: auto; overflow-x: hidden;"> | 90 | <main class="contentBox"> |
37 | $body$ | 91 | $body$ |
38 | </main> | 92 | </main> |
39 | </td> | 93 | </td> |
40 | </tr> | 94 | </tr> |
41 | <tr> | 95 | <tr class="stuffCell"> |
42 | <td>$history$</td> | 96 | <td class="stuffCell">$history$</td> |
43 | <td style="text-align: right;">$footer$</td> | 97 | <td class="stuffCellRight">$footer$</td> |
44 | </tr> | 98 | </tr> |
45 | </table> | 99 | </table> |
46 | </body> | 100 | </body> |