Terra Cotta Home Page, Quill Updates
This commit is contained in:
@@ -9,32 +9,12 @@
|
||||
|
||||
body {
|
||||
font-size: 16px;
|
||||
background-image: url("_/images/fabric.png");
|
||||
background-size: 33vw auto; /* width height of each tile */
|
||||
}
|
||||
|
||||
.main-image {
|
||||
content:url("_/images/castle.svg"); position: absolute; height: 70vh; bottom: 2vh; left: 55vw; transform: translateX(-50%);
|
||||
user-select: none;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.main-image {
|
||||
max-width: 90vw; bottom: -7vh;
|
||||
}}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.main-image {
|
||||
content:url("_/images/castle-dark3.svg");
|
||||
height: 1000px; bottom: -34vmin; left: 26vw;
|
||||
}}
|
||||
@media (prefers-color-scheme: dark) and (max-width: 600px) {
|
||||
.main-image {
|
||||
max-width: 195vw; height: 80vh; left: 0vw;
|
||||
}}
|
||||
</style>
|
||||
<script src="_/code/quill.js"></script>
|
||||
<script type="module">
|
||||
import PageFooter from "./components/Footer.js"
|
||||
import NavBar from "./components/NavBar.js"
|
||||
import SideBar from "./components/SideBar.js"
|
||||
</script>
|
||||
<script type="module" src="index.js"></script>
|
||||
<script>
|
||||
window.addEventListener('load', () => {
|
||||
if (window.location.search) {
|
||||
@@ -45,75 +25,5 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<span id="title" class="link" onclick='window.location.href="/"' style="user-select: none;">hyperia
|
||||
</span>
|
||||
<img class="main-image">
|
||||
<div class="links" style="z-index: 1; cursor: default; position: fixed; top: 5.5vh; right: 4.5vw">
|
||||
<!-- <a href="about">about</a>
|
||||
<span>|</span>
|
||||
<a href="services">services</a>
|
||||
<span>|</span>
|
||||
<a href="events">events</a>
|
||||
<span>|</span> -->
|
||||
<a href="join">join</a>
|
||||
<span>|</span>
|
||||
<a href="signin">sign in</a>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; top: 110vh; left: 52vw; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;">
|
||||
|
||||
<!-- INTRO SECTION -->
|
||||
<div style="display: flex; flex-direction: column; max-width: 50vw; align-items: center">
|
||||
<h1 style="font-family: Canterbury; font-size: 3.5rem; ">A Classical Christian Society</h1>
|
||||
|
||||
<div style="font-size: 1.3em; margin-top: 1em; max-width: 42vw; text-align: justify">
|
||||
<p>Hyperia is a private club, focused on promoting the Classical Christian movement in America.</p>
|
||||
<p>Inspired by Classical Christian schools, Hyperia is a similar space for adults.</p>
|
||||
</div>
|
||||
|
||||
<div style="height: 3vh;"></div>
|
||||
</div>
|
||||
|
||||
<!-- GOALS SECTION -->
|
||||
<div style="display: flex; flex-direction: column; align-items: flex-start; width: 55vw; margin-top: 2vh;">
|
||||
|
||||
|
||||
<div style="height: 10vh;"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.link, a {
|
||||
transition: background-color 0.3s ease, scale 0.3s;
|
||||
padding: 5px 10px; /* optional padding for visual clarity */
|
||||
border-radius: 4px; /* optional */
|
||||
}
|
||||
|
||||
.link.touched, a.touched {
|
||||
background-color: orange;
|
||||
color: black;
|
||||
scale: 1.3;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.querySelectorAll('.link, a').forEach(link => {
|
||||
link.addEventListener('touchstart', () => {
|
||||
link.classList.add('touched');
|
||||
});
|
||||
|
||||
link.addEventListener('touchend', () => {
|
||||
link.classList.remove('touched');
|
||||
});
|
||||
|
||||
// Optional: also handle touchcancel in case the user moves their finger away
|
||||
link.addEventListener('touchcancel', () => {
|
||||
link.classList.remove('touched');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user