aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/default.template
blob: 588c1a2fce2bb3d780b1b0df7b8a9f50d1e5bb0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html>
  <head>
    <meta name="color-scheme" content="light dark" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <title>$title$</title>
    <link rel="icon" type="image/png" href="$favicon$" />
    <style>
      a:hover {color: red;}
      body {
        height: 100vh; width: 100vw;
        margin: 0; padding: 0; border: none;
        background-image: linear-gradient($onefangPurple$, $karenPurple$);
        color: white;
        font-family: sans-serif;
      }
      menu {list-style-type: none;}
      pre {
        background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$);
        width: fit-content; max-width: 99%; overflow-x: auto;
        margin: 2px; border: 2px solid grey;
      }
      table, td, th {border-collapse: collapse; border: 2px solid grey;}

      .toolTip {background: darkcyan; font-size: 1.42em;}

      .boxWrapper {
        height: 100%; width: 100%;
        margin: 0; padding: 0; border: none;
        display: grid;
//        grid-template-areas:
//          "logo    tools tools tools"
//          "logo    head  head  head"
//          "menu    body  body  body"
//          "history foot  foot  foot"
//          "nyaw    nyaw  nyaw  nyaw";
        grid-template-columns: 1.4fr 8fr auto auto;
        grid-template-rows:    auto auto 1fr auto auto;
        overflow-x: auto; overflow-y: auto;
      }
      .boxLogo    {grid-area: logo;    grid-column: 1 / 1; grid-row: 1 / 2; height: min-content;}
      .boxTools   {grid-area: tools;   grid-column: 2 / 4; grid-row: 1 / 1; height: min-content;}
      .boxHead    {grid-area: head;    grid-column: 2 / 4; grid-row: 2 / 2; height: min-content; text-align: right;}

      .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;}
      .boxBody    {grid-area: body;    grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top;
        height: 100%; width: 100%;
      }

      .boxHistory {grid-area: history; grid-column: 1 / 1; grid-row: 4 / 4; height: min-content;}
      .boxFoot    {grid-area: foot;    grid-column: 2 / 4; grid-row: 4 / 4; height: min-content; text-align: right;}
      .boxnyaw    {grid-area: nyaw;    grid-column: 1 / 4; grid-row: 5 / 5; height: min-content; text-align: right; font-size: 0.55em;}

      #modeToggleBody {display: none;}
      #modeToggleMenu {display: none;}
      #modeBtn {color: white; display: inline-block;}
      #modeToggleBody:checked ~ .modeBtn  {color: black;}
//      #modeToggleBody:checked ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{}
//      #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);}

      #modeToggleMenu:checked ~ .boxLogo  {display: none;}
      #modeToggleMenu:checked ~ .boxHead  {display: none;}
//      #modeToggleMenu:checked ~ .boxTools  {display: none;}
//      #modeToggleMenu:checked ~ .boxMenu  {display: none; width: 0px; max-width: 0px; }

      .boxBody {background: black; color: white;}
      .boxBody a:active  {color: red;}
      .boxBody a:link    {color: orange;}
      .boxBody a:visited {color: $onefangGreen$;}
      .boxBody a:hover   {color: red;}
      #modeToggleBody:checked ~ .boxBody  {background: white; color: black;}
      #modeToggleBody:checked ~ .boxBody a:active  {color: $devuanDevuanalink$;}
      #modeToggleBody:checked ~ .boxBody a:link    {color: $devuanDevuanlink$;}
      #modeToggleBody:checked ~ .boxBody a:visited {color: $devuanDevuanvlink$;}
      #modeToggleBody:checked ~ .boxBody a:hover   {color: $devuanDevuanhlink$;}

      @media (prefers-color-scheme: dark) {
      }
      @media (prefers-color-scheme: light) {
        .boxBody {background: white; color: black;}
        .boxBody a:active  {color: $devuanDevuanalink$;}
        .boxBody a:link    {color: $devuanDevuanlink$;}
        .boxBody a:visited {color: $devuanDevuanvlink$;}
        .boxBody a:hover   {color: $devuanDevuanhlink$;}
        #modeToggleBody:checked ~ .boxBody  {background: black; color: white;}
        #modeToggleBody:checked ~ .boxBody a:active  {color: red;}
        #modeToggleBody:checked ~ .boxBody a:link    {color: orange;}
        #modeToggleBody:checked ~ .boxBody a:visited {color: $onefangGreen$;}
        #modeToggleBody:checked ~ .boxBody a:hover   {color: red;}
      }

      #modeToggleMenu:checked ~ .boxHistory  {display: none;}
      #modeToggleMenu:checked ~ .boxFoot  {display: none;}
      #modeToggleMenu:checked ~ .boxnyaw  {display: none;}
    </style>
  </head>
  <body alink="red" link="orange" vlink="$onefangGreen$">
    <div class="boxWrapper">
      <input type="checkbox" id="modeToggleMenu"/>
      <input type="checkbox" id="modeToggleBody"/>
      <div class="boxLogo" id="top"><header><nav>
        <a href="$home$"><img src="$logo$" alt="not (Yet) (Another / A) Wiki."/></a>
      </nav></header></div>
      <div class="boxTools"><header><nav>
        &nbsp; <a href="/help.HTML"><b class="toolTip" title="🍔  hides / shows non content, reverse hamburger menu.
🕶  switches between dark and light themes.
📚 shows the list of all pages.
🔮 a folder of unsorted pages.
👥 shows the list of users.
🪵 will be for logging in, when I have written that bit.
🔍 will be the search, when I have written that bit.
👣 is a trail of the steps to get here.">❓</b></a>
        &nbsp; <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
        &nbsp; <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
        &nbsp; <a href="/everything.HTML"><b class="toolTip">&#128218;</b></a>
        &nbsp; <a href="/unsorted/"      ><b class="toolTip">&#128302;</b></a>
        &nbsp; <a href="/users/"         ><b class="toolTip">&#128101;</b></a>
        &nbsp; <b class="toolTip">&#129717;</b>
        &nbsp; <b class="toolTip">&#128269;</b>
        <b> &nbsp; &#x1f463; $trail$ </b>
      </nav></header></div>
      <div class="boxHead"><header><nav><b>$header$</b> &nbsp; </nav></header></div>

      <div class="boxMenu"><nav><p><b>$menu$</b></p></nav></div>
      <div class="boxBody"><main>$body$<br/></main></div>

      <div class="boxHistory"><footer>$history$</footer></div>
      <div class="boxFoot"><footer>$footer$</footer></div>
      <div class="boxnyaw"><footer>
        <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>
      </footer></div>
    </div>
  </body>
</html>