summaryrefslogtreecommitdiff
path: root/embed_old_old.cgi
blob: f42dd86abe7bd70c0177432afce75d0c9da4d5de (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
#!/bin/sh

# ubq323 citrons coral gollark 

ubq323="https://ubq323.website"
citrons="https://mondecitronne.com"
coral="https://coral.shoes"
gollark="https://osmarks.net"
heav="https://hpage.osmarks.net/george_landing_page.html"
helloboi="https://www.helloboi.tk"
quintopia="http://esolang.rutteric.com/"
truttle1="http://truttle1.xyz/"


case "$QUERY_STRING" in 
    "ubq323")      PREV="$coral"
                   NEXT="$citrons"       ;;
    "citrons")     PREV="$ubq323"
                   NEXT="$gollark"       ;;
    "gollark")     PREV="$citrons"
                   NEXT="$heav"          ;;
    "heav")        PREV="$gollark"
	           NEXT="$helloboi"      ;;
    "helloboi")    PREV="$heav"
                   NEXT="$quintopia"     ;;
    "quintopia")   PREV="$helloboi"
                   NEXT="$truttle1"      ;;
    "truttle1")    NEXT="$coral"
                   PREV="$quintopia"     ;;
    "coral")       PREV="$truttle1"
                   NEXT="$ubq323"        ;;
esac

echo "Content-Type: text/html"
echo ""
#cat <<EOF
#<!DOCTYPE html>
#<html>
#	<head>
#		<base target="_parent">
#	</head>
#	<body>
#		<style>
#			* { box-sizing: inherit; }
#			body,html {
#				overflow: hidden;
#				font-family: sans-serif;
#				padding:0;
#				margin:0;
#				box-sizing: border-box;
#			}
#			main {
#				margin:0;
#				padding-left: 5px;
#				padding-right: 5px;
#				height: 50px;
#				border: 1px solid black;
#				box-shadow: 5px 5px black;
#				/*background-color: pink;*/
#				display: flex;
#				flex-wrap: nowrap;
#				justify-content: space-between;
#			}
#			#george {
#				color: cyan;
#				text-decoration: underline;
#				text-decoration-color: blue;
#				text-decoration-thickness: 2px;
#				font-style: oblique;
#				animation: 2s infinite alternate george;
#			}
#			@keyframes george {
#				from {
#					letter-spacing: 1px;
#				}
#				to {
#					letter-spacing: 6px;
#				}
#			}
#			a {
#				color: blue;
#			}
#		</style>
#		<main>
#			<p><a href="$PREV">&lt; PREV</a></p>
#			<p>The <a href="https://george.gh0.pw" id="george">GEORGE</a> is a noble animal.</p>
#			<p><a href="$NEXT">NEXT &gt;</a></p>
#		</main>
#	</body>
#</html>
#EOF
cat <<EOF
<!DOCTYPE html>
<html>
        <head>
                <base target="_parent">
        </head>
        <body>
                <style>
                        body,html {
                                overflow: hidden;
                                font-family: sans-serif;
                                padding:0;
                                margin:0;
                        }
                        main {
                                margin:0;
                                padding-left: 5px;
                                padding-right: 5px;
                                height: 45px;
                                border: 1px solid black;
                                box-shadow: 5px 5px black;
                                /*background-color: pink;*/
                                display: flex;
                                flex-wrap: nowrap;
                                justify-content: space-between;
                        }
                        #george {
                                color: cyan;
                                text-decoration: underline;
                                text-decoration-color: blue;
                                text-decoration-thickness: 2px;
                                font-style: oblique;
                                animation: 2s infinite alternate george;
                        }
                        #noble {
                                font-size: min(3vw, 12pt);
                        }
                        p {
                                white-space: nowrap;
                                align-self: center;
                        }
                        @keyframes george {
                                from {
                                        letter-spacing: 1px;
                                }
                                to {
                                        letter-spacing: 6px;
                                }
                        }
                        a {
                                color: blue;
                        }
                </style>
                <main>
                        <p><a href="$PREV">&lt; PREV</a></p>
                        <p id="noble">
                                The <a href="https://george.gh0.pw" id="george">GEORGE</a> is a noble animal.
                        </p>
                        <p><a href="$NEXT">NEXT &gt;</a></p>
                </main>
        </body>
</html>
EOF