aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/default.template
blob: f87666c8916f1f7d2117eb33d6c9e3d89743bb58 (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
<!DOCTYPE html>
<html>
  <head>
    <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$);
        overflow-x: auto;
        width: 99%;
        margin: 2px;
        border: 2px solid grey;
      }
      table, td, th {border-collapse: collapse; border: 2px solid grey;}

      .toolTip {background: darkcyan;}

      .boxWrapper {
        height: 100%; width: 100%;
        margin: 0; padding: 0; border: none;
        display: grid;
//        grid-template-areas:
//          "logo0 trail"
//          "logo1 head"
//          "menu body"
//          "history foot";
        grid-template-columns: auto 1fr auto auto;
        grid-template-rows:    auto auto 1fr auto auto;
//        grid-auto-columns: minmax(auto, auto);
//        grid-auto-rows: minmax(auto, auto);
        overflow-x: auto; overflow-y: auto;
      }
      .boxLogo0   {grid-area: logo0;   grid-column: 1 / 1; grid-row: 1 / 1; height: min-content;}
      .boxLogo1   {grid-area: logo1;   grid-column: 1 / 1; grid-row: 2 / 2; height: min-content;}

      .boxTrail   {grid-area: trail;   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; width: min-content; vertical-align: top; padding: 4px;}
      .boxBody    {grid-area: body;    grid-column: 2 / 4; grid-row: 3 / 3; vertical-align: top;
        height: 100%; width: 100%;
        background: black; color: white;
      }
      .boxBody a:active  {color: red;}
      .boxBody a:link    {color: orange;}
      .boxBody a:visited {color: $onefangGreen$;}
      .boxBody a:hover   {color: red;}

      .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: foot;    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 ~ body background-image: linear-gradient($karenPurple$, $onefangPurple$);{}
      #modeToggleBody:checked ~ pre {background-image: linear-gradient(to right, $onefangPurple$, $PinkFloyd$);}
      #modeToggleBody:checked ~ .modeBtn  {color: black;}
      #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$;}
      #modeToggleMenu:checked ~ .boxLogo0  {display: none;}
      #modeToggleMenu:checked ~ .boxHead  {display: none;}
      #modeToggleMenu:checked ~ .boxTrail  {display: none;}
      #modeToggleMenu:checked ~ .boxMenu  {display: none;}
      #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="boxLogo0"><header><nav>
        <a href="$home$"><img src="$logo$" alt="Not (Yet) (Another / A) Wiki." title="Not (Yet) (Another / A) Wiki."/></a>
      </nav></header></div>
      <div class="boxLogo1"><header><nav>
        <b class="toolTip" title="🍔 hides or shows non content.
🕶 switches between dark and light themes.
🪵 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>
        <b class="toolTip"><label for="modeToggleMenu" class='modeBtn'>&#127828;</label></b>
        <b class="toolTip"><label for="modeToggleBody" class='modeBtn'>&#x1F576;</label></b>
        <b class="toolTip">&#129717;</b>
        <b class="toolTip">&#128269;</b>
      </nav></header></div>
      <div class="boxTrail"><header><nav><b> &nbsp; &#x1f463; &nbsp; $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/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>
      </footer></div>
    </div>
  </body>
</html>