mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-13 18:38:11 +02:00
First version.
This commit is contained in:
1 parent
bcf3a3b4ef
commit
e083ead16b
8 files changed
+292
No files matched your search
Executable
BIN
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 394 B |
+184
@@ -0,0 +1,184 @@
|
||||
@font-face {
|
||||
font-family: "FSEX302";
|
||||
src: url("../Assets/FSEX302.ttf") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
:root,
|
||||
:root[data-palette="CatppuccinMocha"] {
|
||||
--Rosewater: #f5e0dc;
|
||||
--Flamingo: #f2cdcd;
|
||||
--Pink: #f5c2e7;
|
||||
--Mauve: #cba6f7;
|
||||
--Red: #f38ba8;
|
||||
--Maroon: #eba0ac;
|
||||
--Peach: #fab387;
|
||||
--Yellow: #f9e2af;
|
||||
--Green: #a6e3a1;
|
||||
--Teal: #94e2d5;
|
||||
--Sky: #89dceb;
|
||||
--Sapphire: #74c7ec;
|
||||
--Blue: #89b4fa;
|
||||
--Lavender: #b4befe;
|
||||
|
||||
--Text: #cdd6f4;
|
||||
--Subtext1: #bac2de;
|
||||
--Subtext0: #a6adc8;
|
||||
--Overlay2: #9399b2;
|
||||
--Overlay1: #7f849c;
|
||||
--Overlay0: #6c7086;
|
||||
--Surface2: #585b70;
|
||||
--Surface1: #45475a;
|
||||
--Surface0: #313244;
|
||||
--Base: #1e1e2e;
|
||||
--Mantle: #181825;
|
||||
--Crust: #11111b;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: "FSEX302";
|
||||
color: var(--Text);
|
||||
|
||||
background-image: url("../Assets/Img/Tile.png");
|
||||
background-repeat: repeat;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 2rem;
|
||||
|
||||
font-family: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.MainContainer {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
|
||||
color: var(--Text);
|
||||
background-color: var(--Base);
|
||||
|
||||
border: 4px solid var(--Mauve);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
color: var(--Mauve);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 3px solid var(--Mauve);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
color: var(--Blue);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
color: var(--Green);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.25rem;
|
||||
color: var(--Peach);
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1rem;
|
||||
color: var(--Yellow);
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.9rem;
|
||||
color: var(--Rosewater);
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
color: var(--Text);
|
||||
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--Blue);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--Sky);
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--Peach);
|
||||
}
|
||||
|
||||
em {
|
||||
color: var(--Lavender);
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
color: var(--Text);
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 0;
|
||||
padding: 1rem;
|
||||
|
||||
color: var(--Subtext1);
|
||||
background-color: var(--Mantle);
|
||||
|
||||
border-left: 4px solid var(--Mauve);
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0.2rem 0.4rem;
|
||||
|
||||
color: var(--Green);
|
||||
background-color: var(--Mantle);
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1rem;
|
||||
overflow-x: auto;
|
||||
|
||||
color: var(--Text);
|
||||
background-color: var(--Crust);
|
||||
|
||||
border: 2px solid var(--Surface2);
|
||||
}
|
||||
|
||||
pre code {
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
border-top: 2px solid var(--Surface2);
|
||||
}
|
||||
|
||||
input, button, textarea, select {
|
||||
font-family: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>My Webpage</title>
|
||||
|
||||
<link rel="stylesheet" href="CSS/Style.css">
|
||||
</head>
|
||||
Whitespace-only changes.
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" data-palette="CatppuccinMocha">
|
||||
<div include="./HTML/Bits/Head.html"></div>
|
||||
<body>
|
||||
<main class="MainContainer">
|
||||
<h1>Welcome</h1>
|
||||
|
||||
<p>
|
||||
Hi. There's nothing here yet, sorry.
|
||||
</p>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
<script src="./JS/Script.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,26 @@
|
||||
function includeHTML() {
|
||||
var z, i, elmnt, file, xhttp;
|
||||
|
||||
console.log("Including HTML.")
|
||||
|
||||
z = document.getElementsByTagName("*");
|
||||
for (i = 0; i < z.length; i++) {
|
||||
elmnt = z[i];
|
||||
|
||||
file = elmnt.getAttribute("include");
|
||||
if (file) {
|
||||
xhttp = new XMLHttpRequest();
|
||||
xhttp.onreadystatechange = function() {
|
||||
if (this.readyState == 4) {
|
||||
if (this.status == 200) {elmnt.innerHTML = this.responseText;}
|
||||
if (this.status == 404) {elmnt.innerHTML = "Page not found.";}
|
||||
elmnt.removeAttribute("include");
|
||||
includeHTML();
|
||||
}
|
||||
}
|
||||
xhttp.open("GET", file, true);
|
||||
xhttp.send();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" data-palette="CatppuccinMocha">
|
||||
<div include="./HTML/Bits/Head.html"></div>
|
||||
<body>
|
||||
<main class="MainContainer">
|
||||
<h1>Welcome</h1>
|
||||
|
||||
<p>
|
||||
You've arrived at Sarahtonin's homepage.
|
||||
Feel free to browse around as much as you want.
|
||||
</p>
|
||||
<p>
|
||||
If you want to access <strong>other links</strong>, you probably need to join my tailscale network.
|
||||
<br>
|
||||
Also, this is simply the homepage. You can use the <strong>navbar</strong> to the right to navigate around.
|
||||
</p>
|
||||
<p>
|
||||
<b>
|
||||
Have fun snooping!
|
||||
</b>
|
||||
</p>
|
||||
|
||||
<h2>About Sarahtonin</h2>
|
||||
|
||||
<p>
|
||||
I'm Sarahtonin. The creator of this very website.
|
||||
It's a bit strange for me to write in first-person, I suppose. No matter, though.
|
||||
</p>
|
||||
<p>
|
||||
I made this website because I'd prefer an easier way to share my socials,
|
||||
and to just introduce myself in a better way.
|
||||
</p>
|
||||
<p>
|
||||
Speaking of introducing myself, you should probably visit the <a href="HTML/Sarahtonin.html">page</a> about me.
|
||||
</p>
|
||||
|
||||
<h3>Credits</h3>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
The theme is
|
||||
<a href="https://catppuccin.com/palette/#flavor-mocha">Catppuccin-mocha</a>
|
||||
by
|
||||
<a href="https://catppuccin.com/community/">several people</a>.
|
||||
</li>
|
||||
<li>
|
||||
The font is
|
||||
<a href="https://github.com/kika/fixedsys">Fixedsys</a>
|
||||
by
|
||||
<a href="https://github.com/kika">Kirill Pertsev</a>.
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
<script src="./JS/Script.js"></script>
|
||||
</html>
|
||||
Reference in new issue
Block a user