mirror of
https://git.kittycat.homes/zoe/hugo-batsite.git
synced 2024-08-15 03:18:24 +00:00
update build
This commit is contained in:
parent
3b07fbbd23
commit
0759960496
15 changed files with 214 additions and 139 deletions
|
@ -69,27 +69,27 @@ i’m also trans and gay and queer :)</p>
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -48,27 +48,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -48,27 +48,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -63,27 +63,27 @@ if you ever wish to <em>experience</em> of of those, i hope you enjoy!</p>
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -1 +1,25 @@
|
|||
function activateHamburger() {}
|
||||
const button = document.getElementById("hamburger-button");
|
||||
const bg = document.getElementById("hamburger-bg");
|
||||
let hidden = true;
|
||||
|
||||
export function activateHamburger() {
|
||||
button.addEventListener("click", function () {
|
||||
hidden = !hidden;
|
||||
console.log(hidden);
|
||||
if (hidden === true) {
|
||||
hide();
|
||||
} else {
|
||||
unhide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function unhide() {
|
||||
bg.classList.remove("hidden");
|
||||
button.innerHTML = "窱";
|
||||
}
|
||||
|
||||
function hide() {
|
||||
bg.classList.add("hidden");
|
||||
button.innerHTML = "";
|
||||
}
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
const checkbox = document.getElementById("darkmode-toggle");
|
||||
const colorswitchers = document.getElementsByClassName("colorswitch");
|
||||
const button = document.getElementById("darkmode-button-small");
|
||||
|
||||
function switchToLight() {
|
||||
button.innerHTML = "滛";
|
||||
for (let item of colorswitchers) {
|
||||
item.classList.add("light");
|
||||
}
|
||||
}
|
||||
|
||||
function switchToDark() {
|
||||
button.innerHTML = "";
|
||||
for (let item of colorswitchers) {
|
||||
console.log(item);
|
||||
item.classList.remove("light");
|
||||
|
@ -21,6 +24,10 @@ export function updateMode() {
|
|||
switchToDark();
|
||||
}
|
||||
checkbox.checked = localStorage.getItem("dark");
|
||||
|
||||
button.addEventListener("click", function () {
|
||||
checkbox.click();
|
||||
});
|
||||
checkbox.addEventListener("change", function () {
|
||||
localStorage.setItem("light", this.checked);
|
||||
if (this.checked) {
|
||||
|
|
|
@ -89,27 +89,27 @@ this type of website also just makes me happy!</p>
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -58,27 +58,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -66,27 +66,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -69,27 +69,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -54,27 +54,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -48,27 +48,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -220,6 +220,24 @@ button {
|
|||
#pageindicator:hover {
|
||||
background-color: transparent; }
|
||||
|
||||
#hamburger-bg {
|
||||
background-color: #413c74; }
|
||||
#hamburger-bg .hamburger-nav-item {
|
||||
background-color: transparent;
|
||||
color: #ffdc6d;
|
||||
border-color: #ffdc6d; }
|
||||
#hamburger-bg .hamburger-nav-item:hover {
|
||||
background-color: #ffdc6d;
|
||||
color: #413c74; }
|
||||
#hamburger-bg.light {
|
||||
background-color: #ffffff; }
|
||||
#hamburger-bg.light .hamburger-nav-item {
|
||||
color: #9b5bb4;
|
||||
border-color: #9b5bb4; }
|
||||
#hamburger-bg.light .hamburger-nav-item:hover {
|
||||
background-color: #9b5bb4;
|
||||
color: #ffffff; }
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
|
@ -337,14 +355,25 @@ header {
|
|||
|
||||
#hamburger-bg {
|
||||
position: fixed;
|
||||
background-color: red;
|
||||
opacity: 40%;
|
||||
width: 100%;
|
||||
height: calc(100% - 42pt);
|
||||
left: 0pt;
|
||||
top: 0pt;
|
||||
right: 0;
|
||||
transition: 0s; }
|
||||
transition: 0s;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center; }
|
||||
#hamburger-bg * {
|
||||
display: grid;
|
||||
margin-top: 2%;
|
||||
margin-bottom: 2%;
|
||||
text-align: center; }
|
||||
#hamburger-bg.hidden {
|
||||
display: none; }
|
||||
|
||||
#darkmode-button-small {
|
||||
margin-right: 8pt; }
|
||||
|
||||
@font-face {
|
||||
font-family: CaskaydiaCove;
|
||||
|
@ -490,7 +519,13 @@ ul a {
|
|||
border-style: solid;
|
||||
padding: 0.12em; }
|
||||
|
||||
#hamburger-button {
|
||||
#hamburger-bg .hamburger-nav-item {
|
||||
border-style: solid;
|
||||
padding: 0.12em; }
|
||||
|
||||
#hamburger-button,
|
||||
#hamburger-bg,
|
||||
#darkmode-button-small {
|
||||
display: none; }
|
||||
|
||||
@media screen and (max-width: 640pt) {
|
||||
|
@ -498,5 +533,14 @@ ul a {
|
|||
#darkmode-toggle,
|
||||
#darkmode-toggle-label {
|
||||
display: none; }
|
||||
#hamburger-button {
|
||||
display: flex; } }
|
||||
#hamburger-button,
|
||||
#darkmode-button-small,
|
||||
#hamburger-bg,
|
||||
#hamburger-bg #darkmode-toggle-label,
|
||||
#hamburger-bg #darkmode-toggle {
|
||||
display: flex; }
|
||||
#hamburger-bg #darkmode-toggle,
|
||||
#hamburger-bg #darkmode-toggle-label {
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
right: 1em; } }
|
||||
|
|
|
@ -48,27 +48,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item active colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item active colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
|
@ -48,27 +48,27 @@
|
|||
<span id="footer-right">
|
||||
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger"></button>
|
||||
<div class="hamburger colorswitch" id="hamburger-bg">
|
||||
<nav id="footer-nav" aria-label="navigation">
|
||||
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||
<nav id="hamburger-nav" aria-label="navigation">
|
||||
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/software/" title="software"></a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/software/" title="software"> software</a><br>
|
||||
|
||||
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue