-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.html
More file actions
228 lines (182 loc) · 7.34 KB
/
css.html
File metadata and controls
228 lines (182 loc) · 7.34 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>localhost knowledge base | Subconscious</title>
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
<meta name="description" content="MEV Sovereign Perimeter - Internal Subconscious" />
<meta name="theme-color" content="#3366cc" />
<meta name="color-scheme" content="light dark" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: blob:; script-src 'self' blob:; object-src 'none'; style-src 'self' 'unsafe-inline'; worker-src 'self' blob:; base-uri 'self'; form-action 'self';">
<meta http-equiv="Referrer-Policy" content="no-referrer">
<meta http-equiv="Permissions-Policy" content="microphone=(), camera=(), geolocation=(), interest-cohort=()">
<link rel="manifest" href="./manifest.json">
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="./icon-192.png">
<script>
/**
* MEV Legacy Sentry
* Detects if the browser is 'Outdated' (Cannot handle ES6 logic)
* and redirects to the 'Less' interface for safety.
*/
(function() {
var isLegacy = false;
try {
// Test for Arrow Functions and Default Parameters (ES6)
new Function("(a = 0) => a");
} catch (err) {
isLegacy = true;
}
// Also check for LocalStorage (Required for the Subconscious)
if (!window.localStorage) {
isLegacy = true;
}
if (isLegacy) {
console.log("Legacy Browser Detected. Redirecting to Less Interface...");
window.location.href = "./less.html";
}
})();
</script>
<script src="./a.js" defer></script>
</head>
<body class="subconscious-state">
<header>
<button id="menu-btn" aria-label="Toggle menu navigation">☰</button>
<div id="ai-bar">
<input
type="text"
id="ai-input"
placeholder="search or speak your query…"
aria-label="Search or question input"
data-action="filter-sidebar"
pattern="^[a-zA-Z0-9\s\?\.\!\-]+$"
title="Standard alphanumeric characters only for security."
list="search-suggestions">
<datalist id="search-suggestions">
<option value="Main_Page">
<option value="Formatting_Examples">
</datalist>
<button id="ai-button">OK</button>
</div>
</header>
<section id="find-view" aria-labelledby="search-note">
<div id="search-container">
<p id="search-note" style="font-size: 0.9em; margin-bottom: 10px;"></p>
<input
id="filterInput-find"
data-action="filter-findview"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
type="text"
placeholder="Search wiki pages..."
aria-label="Search wiki pages"
pattern="^[a-zA-Z0-9\s]+$"
required>
<ul id="page-list-find" role="list"></ul>
<div id="status-message-find">Start typing to filter pages...</div>
</div>
</section>
<div id="container">
<nav id="sidebar" aria-label="Sovereign Navigation">
<div id="auth-links">
<div id="user-status">Not logged in</div>
<a href="#create" id="create-account-link">Create Account</a><br>
<a href="#login" id="login-link">Log In</a><br>
<a href="#profile" id="profile-link">My Profile</a><br>
<a href="#logout" id="logout-link" class="hidden">Log Out</a>
</div>
<br>
<center>
<button id="theme-toggle-btn" class="mev-button" style="width: auto; margin-left: 10px; padding: 5px 10px;">
Toggle "Less" Theme
</button>
</center>
<br>
<hr/>
<section>
<h3>Navigation Filters</h3>
<ul id="quick-filters">
<li class="titleInput"><button data-page-target="Main_Page">Main_Page</button></li>
<li class="titleInput"><button data-nav-target="recent">Recent Changes</button></li>
<li class="titleInput"><button data-nav-target="settings">Settings</button></li>
<li class="titleInput"><button data-nav-target="about">About</button></li>
<li class="titleInput"><button data-page-target="Formatting_Examples">Wiki Formatting Help</button></li>
</ul>
</section>
<hr />
<section>
<h3>Wiki Pages</h3>
<ul id="page-list"></ul>
<button id="create-page-btn" class="edit-btn" style="width: 100%; margin-top: 10px;">+ New Page</button>
</section>
<div id="storage-bar" aria-label="Internal Storage Usage">
<div id="storage-bar-inner"></div>
</div>
</nav>
<main id="main-content-wrapper" itemscope itemtype="https://schema.org/WebPage">
<meta itemprop="url" content="https://jehovahsays.github.io/mev/">
<div id="page-container" aria-live="polite"></div>
</main>
</div>
<footer>
<div id="status-indicator">🔴 Offline</div>
<div id="ticker" aria-live="off"><span id="ticker-content"></span></div>
<span id="last-updated" style="margin-left: auto;"></span>
</footer>
<div id="auth-modal" class="modal-overlay" aria-hidden="true">
<div class="modal-box" role="dialog" aria-labelledby="auth-modal-title">
<h2 id="auth-modal-title">Enter Username</h2>
<label for="auth-username">Username:</label>
<input id="auth-username" type="text" autocomplete="username" pattern="[a-zA-Z0-9]+" title="Alphanumeric only" /><br><br>
<label for="auth-pin">PIN/Passphrase (4-12 characters):</label>
<input id="auth-pin" type="password" maxlength="12" autocomplete="current-password" />
<p style="font-size: 0.8em; color: red; margin-top: 10px;">⚠️ If you set a PIN/Passphrase, **all your data will be encrypted**.</p>
<div class="modal-actions">
<button id="submit-auth">Submit</button>
<button id="cancel-auth">Cancel</button>
</div>
</div>
</div>
<div id="offline-message" hidden>
⚠️ You’re offline. Some features may be unavailable.
</div>
<noscript>
<div id="noscript-warning" style="text-align: center; color: red; padding: 20px; border: 2px solid red;">
<h2>Logic Disabled</h2>
<p>This application requires JavaScript to manage the Sovereign Perimeter.<br>
Please enable it to access your subconscious wiki.</p>
</div>
</noscript>
<div id="mev-splash-screen" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: black; z-index: 9999; overflow: hidden;">
<div id="info" style="position: absolute; top: 10px; width: 100%; text-align: center; color: white; z-index: 100; pointer-events: none;"></div>
<a href="./play.html">
<button class="mev-button"
style="color: #ccc; margin-top: 10px; font-family: monospace;">
Touch screen browser mobile game
</button>
</a>
<a href="./voice.html">
<button class="mev-button"
style="color: #ccc; margin-top: 10px; font-family: monospace;">
voice command mobile game
</button>
</a>
<a href="./#search">
<button
class="mev-button"
style="color: #ccc; margin-top: 10px; font-family: monospace;">
Turn on CSS
</button>
</a>
<ul id="page-list-splash" style="list-style: none; padding: 0; margin: 10px 0;">
</ul>
<div id="status-message-splash" style="color: #ccc; margin-top: 10px; font-family: monospace;">
</div>
</div>
</div>
</body>
</html>