aboutsummaryrefslogtreecommitdiff
path: root/stuff/webgarden/index.php
blob: d862000e4a44b5483864e5b8ad16b9a87a8454ca (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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html lang="en">
  <?php 
    $captions = array(
      'bruh moment',
      'Try reloading!',
      'Supports VPNs',
      'I use arch btw',
      'MySite.html',
      'Over Construction',
      'Real isopod hours',
      '[object Object]',
      '* You found the [Moss]!',
      'Minceraft',
      'Isopod gaming',
      'Website of some girl',
      'your mom',
      'Badly programmed',
      'Oh, you know ;)',
      'assholes DNI',
      'swag',
      '\'\'',
      '<span class="minecraftsplash">Kind of dragon free!</span>',
      'your gay',
      'the fuck is a gender',
      'The Only Website',
      '𝓘𝓷đ“Ēđ“Ŧđ“Ŧ𝓮đ“ŧđ“ŧ𝓲đ“Ģđ“ĩ𝓮!',
      'Follow me on Google+!',
      '404: caption not found',
      'Web ΀ compliant!',
      'cringe',
      'real life isopod',
      'holy fucking bingle',
      'crubge',
      'Tested in prod!',
      'pwetty epic B)',
      'Semi-modular!',
      'Did you know?',
      'shrimps is bugs',
      'Delicious!',
      'trnasgener',
      'Opinionated!',
      'Eurorack compatible!',
      'Hackable!',
      'HiDPI!',
      '&amp;mdash; addict',
      '3D printed!',
      'Federated!',
      'Chitinous!',
      'is this a bedbuge?',
      'Now in HD!',
      'Water me!'
    );
    $cap = $captions[array_rand($captions)];
  ?>
  <head>
    <meta charset="utf-8">
    <title>Pot</title>

    <link href="style.css" rel="stylesheet" type="text/css" media="all">
    <style type="text/css">
      :root {
        --top-header-gap: 64px;
        --menuwidth: 140px;
      }
      html, body {
        padding: 0;
        margin: 0;
      }
      body > a {
        text-decoration: none;
      }
      body > a:hover {
        color: var(--fg0);
      }
      #plant {
        background: url('images/webgarden-bg.png');
        background-size: cover;
      }
      .header {
        background-color: var(--bg0);
        border-bottom: .33rem solid var(--accent1);
        width: 100%;
        padding: 8px 0;
      }
      .header h2 {
        font-family: b612_mono, monospace;
        font-size: 2em;
        padding-left: 6px;
        text-decoration: none;
        margin: 0;

        border-bottom: .2rem solid;
        width: fit-content;

        --hbcolor: var(--fg0);
        border-image: linear-gradient(to right, var(--hbcolor) 50%, transparent 50%) 100% 1;
      }
      .h2caption {
        width: 212px;
        padding-left: 6px;
        font-family: b612_mono, monospace;
        font-style: italic;
        text-decoration: none;
        margin: 0;
      }
      #mainmenu {
        background: var(--bg0);
        transition-duration: 0.6s;
        height: 250px;
        width: var(--menuwidth);
        position: absolute;
        top: 0;
        left: calc(250px - 1rem);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 0 black;
        border-left: 1rem solid var(--accent1);
      }
      body:hover #mainmenu {
        left: calc(250px - var(--menuwidth) - 1rem);
        box-shadow: 0 0 40px black;
      }
      a {
        color: var(--fg0);
      }
      #mainmenu a {
        color: var(--linkcolor);
      }
      #mainmenu a:hover {
        color: var(--linkhover);
      }
      hr {
        width: 100%;
        border-bottom: none;
        border-left: none;
        border-right: none;
        color: var(--stdaccentborder);
        border-top-color: var(--stdaccentborder);
      }

      .flipped {
        display: inline-block;
        transform: rotate(180deg);
      }
      .rainbowtext {
          animation-name: rainbow-text;
          animation-duration: 20s;
          animation-iteration-count: infinite;
      }
      .blinking {
          animation-name: opacityblink;
          animation-duration: 2s;
          animation-iteration-count: infinite;
      }
      .minecraftsplash {
          animation-name: growshrink;
          animation-duration: 1.5s;
          animation-iteration-count: infinite;
          color: yellow;
          display: inline-block;
      }

      @keyframes growshrink {
        0%, 100% { transform: scale(1) /*rotate(-10deg)*/; }
        50% { transform: scale(1.2) /*rotate(-10deg)*/; }
      }
      @keyframes opacityblink {
        0%, 50% {opacity: 0;}
        50.001%, 100% {opacity: 1;}
      }
      @keyframes rainbow-text {
        100%,0%{color: rgb(255,0,0); text-shadow: 0 0 4px rgb(216, 1, 1);}
        8%{color: rgb(255,127,0); text-shadow: 0 0 4px rgb(211, 105, 0);}
        16%{color: rgb(255,255,0); text-shadow: 0 0 4px rgb(214, 214, 0);}
        25%{color: rgb(127,255,0); text-shadow: 0 0 4px rgb(105, 211, 0);}
        33%{color: rgb(0,255,0); text-shadow: 0 0 4px rgb(0, 204, 0);}
        41%{color: rgb(0,255,127); text-shadow: 0 0 4px rgb(0, 209, 105);}
        50%{color: rgb(0,255,255); text-shadow: 0 0 4px rgb(0, 202, 202);}
        58%{color: rgb(0,127,255); text-shadow: 0 0 4px rgb(0, 103, 206);}
        66%{color: rgb(0,0,255); text-shadow: 0 0 4px rgb(0, 0, 206);}
        75%{color: rgb(127,0,255); text-shadow: 0 0 4px rgb(103, 0, 206);}
        83%{color: rgb(255,0,255); text-shadow: 0 0 4px rgb(211, 0, 211);}
        91%{color: rgb(255,0,127); text-shadow: 0 0 4px rgb(211, 0, 105);}
      }
      @keyframes arrowwiggle {
        0%,90%,100% { transform: translateX(0); }
        92% {transform: translateX(-4px);}
      }
      audio {
        display: none;
      }
      #mus:checked ~ audio {
        display: initial;
      }

      @media screen and (prefers-color-scheme: light) {
      #plant {
        background-image:
          url('images/webgarden-bg-light.png');
        }
      }

      .meee {
        width: 70px;
        position: absolute;
        top: 172px;
        left: 142px;
        --hannahbg: light-dark(#2228, #ddd4);
        background:
          linear-gradient(135deg, transparent 1rem, var(--hannahbg) 0) top left;

        padding-right: 3rem;
        padding-top: 8px;
        padding-left: 8px;
      }
    </style>
  </head>
  <body>
    <a target="_blank" href="/">
      <div id="plant">
        <div class="header">
          <h2><?php echo($_SERVER['HTTP_HOST']);?></h2>
          <p class="h2caption"><?php echo $cap; ?></p>
        </div>
        <div class="meee">
          <img <?php
          
          if(rand(1, 1000) == 500) {
            echo('src="images/collectmypages.png"');
          } else {
            echo('src="images/yay.png"');
          }
          
          ?> style="max-width: 100%; height: auto;" />
        </div>

        <img class="bubblecolumn" src="images/bubblecolumn1.gif" style="height: 250px; position: absolute; left: 20px; top: 0;" />
        <span id="hoverme">&lt;</span>
      </div>
    </a>
    <input type="checkbox" id="mus" name="mus" style="display: none;"></input>
    <div id="mainmenu">
      <a target="_blank" href="/">homepage</a>
      <!--a target="_blank" href="../../desktop.html">$login<span class="blinking">_</span></a-->
      <hr>
      <a href="image1.html">images</a>
      <a href="status.php">status</a>
      <label for="mus"><a style="text-decoration: underline; cursor: pointer;">song</a></label>
      <hr>
      <iframe src="https://bugwo.men/stuff/beat/frame.php?theme=pixel" style="width: 84px; height: 27px;"></iframe>
      <img src="/etc/buttons/isopodhours.png" alt="isopod hours"/>
      <img src="/etc/buttons/trans.png" alt="transgender"/>
    </div>
    <audio controls style="position: absolute; width: calc(100% - 0.4rem); top: 0.2rem; left: 0.2rem; z-index: 5;"><source src="music.mp3" type="audio/mp3"></audio>
  </body>
</html>