mobile support and shit
This commit is contained in:
23
index.html
23
index.html
@ -10,7 +10,6 @@
|
||||
<meta content="/favicon.png" property="og:image" />
|
||||
<meta content="#c77dff" data-react-helmet="true" name="theme-color" />
|
||||
<meta name="googlebot" content="index, follow, snippet" />
|
||||
<link rel="canonical" href="https://selenite.cc/" />
|
||||
<meta property="og:description" content="Selenite is the best educational website. With over 400 experiences and an account system, no other websites come close to Selenite." />
|
||||
<meta property="og:title" content="Selenite">
|
||||
<meta property="og:type" content="website">
|
||||
@ -41,16 +40,6 @@
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
||||
<!-- seo + other things -->
|
||||
<style>
|
||||
@media screen and (max-width: 660px) {
|
||||
iframe, sidebar {
|
||||
display: none;
|
||||
}
|
||||
mobile-warning {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<title>Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" id="favicon" />
|
||||
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563" crossorigin="anonymous"></script> -->
|
||||
@ -240,7 +229,10 @@
|
||||
location.href = "https://google.com";
|
||||
window.close();
|
||||
})
|
||||
|
||||
} else if(item.childNodes[0].id == "fullscreen") {
|
||||
item.childNodes[0].addEventListener("click", (e)=>{
|
||||
document.getElementById("iframe").requestFullscreen();
|
||||
})
|
||||
}
|
||||
})
|
||||
document.getElementById("open-bottom-menu").addEventListener("click", ()=>{
|
||||
@ -266,6 +258,7 @@
|
||||
<div class="sidebar-item"><a href="#" target="/apps"><img src="/img/apps.svg" /></a><div class="sidebar-item-descriptor">apps</div></div> <!-- apps -->
|
||||
<div class="sidebar-item"><a href="#" target="/bookmarklets"><img src="/img/bookmarklets.svg" /></a><div class="sidebar-item-descriptor">bookmarklets</div></div> <!-- reload -->
|
||||
<div class="sidebar-item"><a href="#" id="openblank"><img src="/img/open.svg" /></a><div class="sidebar-item-descriptor">open blank</div></div> <!-- open blank -->
|
||||
<div class="sidebar-item"><a href="#" id="fullscreen"><img src="/img/fullscreen.svg" /></a><div class="sidebar-item-descriptor">fullscreen</div></div> <!-- open blank -->
|
||||
<div class="sidebar-divider"></div>
|
||||
<div class="sidebar-item"><a href="#" target="/u/"><img src="/img/user.svg" /></a><div class="sidebar-item-descriptor">user profile</div></div> <!-- user -->
|
||||
<div class="sidebar-item"><a href="#" target="/settings"><img src="/img/settings.svg" /></a><div class="sidebar-item-descriptor">settings</div></div> <!-- settings -->
|
||||
@ -279,5 +272,11 @@
|
||||
<div class="bottom-item"><p>|</p></div>
|
||||
<div class="bottom-item"><p id="time">7:41:21 pm</p></div>
|
||||
</div>
|
||||
<div style="display:none">
|
||||
<h1 id="edu-title">Johnson Education</h1>
|
||||
<button id="edu-button">Math Lessons</button>
|
||||
<p id="edu-text">Educational Resources for Students</p>
|
||||
<p id="edu-text">Science Textbooks</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user