-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestIndex.html
163 lines (147 loc) · 4.84 KB
/
testIndex.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>hazel != not a dev</title>
<style>
body {
background-color: #01010F;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #4799DB;
text-wrap: nowrap;
}
@media only screen and (max-device-width: 640px) {
/* Fullscreen container */
.fullscreen-container {
text-wrap: nowrap;
width: 125vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
flex-direction: column;
}
/* ASCII art and additional text container */
.ascii-container {
text-wrap: nowrap;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
font-size: 14px;
}
}
@media only screen and (max-device-width: 1920px) {
/* Fullscreen container */
.fullscreen-container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-size: 18px;
flex-direction: column;
}
/* ASCII art and additional text container */
.ascii-container {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
}
#ascii-art {
font-family: monospace;
font-size: 18px;
color: #4799DB;
background-color: #01010F;
border: none;
outline: none;
resize: none;
width: 600px;
height: 175px;
overflow: hidden;
}
/* Additional text */
.additional-text {
margin-top: 20px;
font-size: 16px;
}
.additional-text a {
color: #98C7EE;
text-decoration: none;
transition: color 0.3s ease;
}
.additional-text a:hover {
color: #6F2DCD;
}
/* Second part div */
.secondpart {
margin-top: 20px;
font-size: 20px;
justify-content: center;
align-items: center;
text-align: center;
background-color: #020219;
height: 5vh;
display: flex;
}
/* Footer */
footer {
background-color: #15021D;
color: #E19AFF;
text-align: center;
padding: 10px 0;
}
textarea {
white-space: pre;
overflow-wrap: normal;
overflow-x: scroll;
}
</style>
</head>
<body>
<!-- Fullscreen container -->
<div class="fullscreen-container">
<div class="ascii-container">
<textarea id="ascii-art" readonly>
___ ___ ________ ______ ______ __
/__/\ /__/\ /_______/\ /_____/\/_____/\ /_/\
\::\ \\ \ \\::: _ \ \ \:::__\/\::::_\/_\:\ \
\::\/_\ .\ \\::(_) \ \ /: / \:\/___/\\:\ \
\:: ___::\ \\:: __ \ \ /::/___ \::___\/_\:\ \____
\: \ \\::\ \\:.\ \ \ \/_:/____/\\:\____/\\:\/___/\
\__\/ \::\/ \__\/\__\/\_______\/ \_____\/ \_____\/
</textarea>
<div class="additional-text">
<p>Well hai~! I'm Hazel! <br> I make things in <a href="https://penguinmod.com">PenguinMod</a>, and sometimes in Godot!
<br> Oh, and I have a <a href="blog/">blog!</a><br><a href="other/">Here's</a> some misc stuff!</p>
</div>
</div>
</div>
<!-- Second part div -->
<div class="secondpart">
<div class="extra-text">
<p>Your local transgender lesbian that kind of knows how to code! <br> I know some Python, GDScript, and ALOT of Scratch/PenguinMod. </p>
</div>
</div>
<!-- Footer -->
<footer>
Hazel © 2024-present. You may fork this project, however not for commercial use.
</footer>
<script>
// Check if the device is mobile and adjust the width of the ASCII art textarea accordingly
function isMobileDevice() {
return (typeof window.orientation !== "undefined") || (navigator.userAgent.indexOf('IEMobile') !== -1);
}
if (isMobileDevice()) {
document.getElementById("ascii-art").style.width = "90%";
}
</script>
</body>
</html>