Reworked to use Pure.css and Catppuccin
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<h1>eom.dev</h1>
|
||||
<h2>Archive</h2>
|
||||
<a href="/">Home
|
||||
</a> | <a href="/archive">Archive
|
||||
</a> | <a href="/archive/Repositories">Repositories
|
||||
</a> | <a href="/stream">Live Stream
|
||||
</a> | <a href="/archive/Mail">Mailbox
|
||||
</a> | <a href="/chat">Chat
|
||||
</a> | <a href="/donate">Donate
|
||||
</a>
|
||||
<h3>Browse the Archive</h3>
|
||||
@@ -1,126 +0,0 @@
|
||||
/* Catppuccin Inspired Theme */
|
||||
|
||||
:root {
|
||||
--Light-Rosewater: #dc8a78;
|
||||
--Light-Flamingo: #dd7878;
|
||||
--Light-Pink: #ea76cb;
|
||||
--Light-Mauve: #8839ef;
|
||||
--Light-Red: #d20f39;
|
||||
--Light-Maroon: #e64553;
|
||||
--Light-Peach: #fe640b;
|
||||
--Light-Yellow: #df8e1d;
|
||||
--Light-Green: #40a02b;
|
||||
--Light-Teal: #179299;
|
||||
--Light-Sky: #04a5e5;
|
||||
--Light-Sapphire: #209fb5;
|
||||
--Light-Blue: #1e66f5;
|
||||
--Light-Lavender: #7287fd;
|
||||
--Light-Text: #4c4f69;
|
||||
--Light-Subtext-1: #5c5f77;
|
||||
--Light-Subtext-0: #6c6f85;
|
||||
--Light-Overlay-2: #7c7f93;
|
||||
--Light-Overlay-1: #8c8fa1;
|
||||
--Light-Overlay-0: #9ca0b0;
|
||||
--Light-Surface-2: #acb0be;
|
||||
--Light-Surface-1: #bcc0cc;
|
||||
--Light-Surface-0: #ccd0da;
|
||||
--Light-Base: #eff1f5;
|
||||
--Light-Mantle: #e6e9ef;
|
||||
--Light-Crust: #dce0e8;
|
||||
--Dark-Rosewater: #f5e0dc;
|
||||
--Dark-Flamingo: #f2cdcd;
|
||||
--Dark-Pink: #f5c2e7;
|
||||
--Dark-Mauve: #cba6f7;
|
||||
--Dark-Red: #f38ba8;
|
||||
--Dark-Maroon: #eba0ac;
|
||||
--Dark-Peach: #fab387;
|
||||
--Dark-Yellow: #f9e2af;
|
||||
--Dark-Green: #a6e3a1;
|
||||
--Dark-Teal: #94e2d5;
|
||||
--Dark-Sky: #89dceb;
|
||||
--Dark-Sapphire: #74c7ec;
|
||||
--Dark-Blue: #89b4fa;
|
||||
--Dark-Lavender: #b4befe;
|
||||
--Dark-Text: #cdd6f4;
|
||||
--Dark-Subtext-1: #bac2de;
|
||||
--Dark-Subtext-0: #a6adc8;
|
||||
--Dark-Overlay-2: #9399b2;
|
||||
--Dark-Overlay-1: #7f849c;
|
||||
--Dark-Overlay-0: #6c7086;
|
||||
--Dark-Surface-2: #585b70;
|
||||
--Dark-Surface-1: #45475a;
|
||||
--Dark-Surface-0: #313244;
|
||||
--Dark-Base: #1e1e2e;
|
||||
--Dark-Mantle: #181825;
|
||||
--Dark-Crust: #11111b;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Arial', sans-serif;
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
/* Light mode styles */
|
||||
@media (prefers-color-scheme: light) {
|
||||
body {
|
||||
background-color: var(--Light-Base);
|
||||
color: var(--Light-Text);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--Light-Blue);
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--Light-Red);
|
||||
}
|
||||
|
||||
pre, code {
|
||||
color: var(--Light-Subtext-1);
|
||||
background-color: var(--Light-Mantle);
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark mode styles */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: var(--Dark-Base);
|
||||
color: var(--Dark-Text);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--Dark-Blue);
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--Dark-Red);
|
||||
}
|
||||
|
||||
pre, code {
|
||||
color: var(--Dark-Subtext-1);
|
||||
background-color: var(--Dark-Mantle);
|
||||
}
|
||||
}
|
||||
|
||||
/* Additional common styles */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px 15px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba(0, 0, 0, 0.1); /* Light hover effect */
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
function duckduckgo() {
|
||||
const form = document.getElementById("ddg-site-search");
|
||||
const input = document.getElementById("ddg-query");
|
||||
|
||||
form.addEventListener("submit", function () {
|
||||
const domain = window.location.hostname;
|
||||
input.value = "site:eom.dev/archive/Mail/raw/" + " " + input.value;
|
||||
});
|
||||
};
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 134 KiB |
11
htdocs/common/footer.html
Normal file
11
htdocs/common/footer.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<footer>
|
||||
<div class="footer l-box is-center">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1-2">
|
||||
© Eric O'Neill Meehan 2026
|
||||
</div>
|
||||
<div class="pure-u-1-2">
|
||||
Made with <a href="https://pure-css.github.io/">Pure.css</a> and <a href="https://catppuccin.com/">Catppuccin</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -1,20 +0,0 @@
|
||||
<style>
|
||||
div.page_header {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<link rel="icon" type="image/x-icon" href="/common/favicon.ico"></link>
|
||||
<h1>eom.dev</h1>
|
||||
<h2>Repositories</h2>
|
||||
<a href="/">Home
|
||||
</a> | <a href="/archive">Archive
|
||||
</a> | <a href="/archive/Repositories">Repositories
|
||||
</a> | <a href="/stream">Live Stream
|
||||
</a> | <a href="/archive/Mail">Mailbox
|
||||
</a> | <a href="/chat">Chat
|
||||
</a> | <a href="/donate">Donate
|
||||
</a>
|
||||
<h3>Browse Source Code</h3>
|
||||
<p>
|
||||
Powered by <a href="https://git-scm.com/docs/gitweb">GitWeb</a>.
|
||||
</p>
|
||||
8
htdocs/common/header.html
Normal file
8
htdocs/common/header.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/static/pure.css">
|
||||
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/pure-min.css" integrity="sha384-X38yfunGUhNzHpBaEBsWLO+A0HDYOQi8ufWDkZ0k9e0eXz/tH3II7uKZ9msv++Ls" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/grids-responsive-min.css">
|
||||
</head>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 79 KiB |
6
htdocs/common/topnav.html
Normal file
6
htdocs/common/topnav.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<div class="header">
|
||||
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
|
||||
<a class="pure-menu-heading" href="">eom.dev</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user