Compare commits

..

No commits in common. "6ca2842b45bbe8be423ee0403f0a8767a851c2d0" and "27b5cc11af4f46ee9868a15484529c864d1d49ea" have entirely different histories.

17 changed files with 21 additions and 115 deletions

View file

@ -1,4 +0,0 @@
{
"sitename": "yukinets",
"motd": "kill everyone now!! condone first degree murder!!"
}

View file

@ -1,21 +1,11 @@
<!DOCTYPE html>
<html>
<head>
{% include "base_head.njk" %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %} {{ title }} | yukinets {% else %} yukinets {% endif %}</title>
</head>
<body>
<div class="main-page-wrapper">
<div class="header-wrapper">
<img class="header-banner" src="/img/banner-alt.png" alt="yukinets">
</div>
<marquee class="motd" behavior="scroll" direction="left">
<img src="/img/Witch-on-broom.gif" alt="">
<p>{{ motd if motd else meta.motd }}</p>
</marquee>
<nav class="navbar-wrapper">
<img class="nav-button" src="/img/hbutton.png" alt="Home">
</nav>
{{ content | safe }}
</div>
{{ content | safe }}
</body>
</html>

View file

@ -1,4 +0,0 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %} {{ title }} | {{ meta.sitename }} {% else %} {{ meta.sitename }} {% endif %}</title>
<link rel="stylesheet" href="/css/{{ style if style else "main" }}.css">

View file

@ -1,11 +0,0 @@
* {
margin: 0;
box-sizing: border-box;
}
.main-page-wrapper {
height: min-content;
min-width: 0;
max-width: 802px;
margin: 8px auto;
}

View file

@ -1,2 +0,0 @@
$bg: #e4ffdc;
$border: #000;

View file

@ -1,32 +0,0 @@
@use "general";
@use "main-palette" as mp;
body {
background-color: mp.$bg;
background-image: url("/img/bgpat.png");
background-repeat: repeat;
}
.header-wrapper {
width: 100%;
img {
border: 1px solid mp.$border;
display: block;
margin-bottom: 8px;
}
}
.motd {
img { display: inline; }
p { display: inline; }
}
.navbar-wrapper {
margin: 0;
padding: 0;
.nav-button {
border: 1px solid mp.$border;
}
}

View file

@ -1,12 +1,21 @@
const eleventySass = require("eleventy-sass");
const sass = require("sass");
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(eleventySass);
eleventyConfig.addPassthroughCopy("img");
eleventyConfig.addTemplateFormats("scss");
return {
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk"
}
// Creates the extension for use
eleventyConfig.addExtension("scss", {
outputFileExtension: "css", // optional, default: "html"
// `compile` is called once per .scss file in the input directory
compile: async function (inputContent) {
let result = sass.compileString(inputContent);
// This is the render function, `data` is the full data cascade
return async (data) => {
return result.css;
};
},
});
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

39
package-lock.json generated
View file

@ -10,7 +10,6 @@
"license": "WTFPL",
"dependencies": {
"@11ty/eleventy": "^3.0.0",
"eleventy-sass": "^3.0.0-beta.0",
"sass": "^1.86.0"
}
},
@ -1096,34 +1095,6 @@
"integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
"license": "MIT"
},
"node_modules/eleventy-sass": {
"version": "3.0.0-beta.0",
"resolved": "https://registry.npmjs.org/eleventy-sass/-/eleventy-sass-3.0.0-beta.0.tgz",
"integrity": "sha512-pO+CLz3M/MgOkZ4L7zp0pCY7cxXvX23yTZBEp8vcgIr2Z8xiSfeZqhHMiz53GazJay0A8AUnhBbEfuGMI1RLXA==",
"license": "MIT",
"dependencies": {
"debug": "^4.3.3",
"kleur": "^4.1.4",
"sass": "^1.49.7",
"upath": "^2.0.1"
},
"engines": {
"node": ">=22.0.0"
},
"peerDependencies": {
"@11ty/eleventy": "^3.0.0-beta.1",
"eleventy-plugin-clean": "^1.1.0",
"eleventy-plugin-rev": "^2.0.0"
},
"peerDependenciesMeta": {
"eleventy-plugin-clean": {
"optional": true
},
"eleventy-plugin-rev": {
"optional": true
}
}
},
"node_modules/emoji-regex": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@ -2490,16 +2461,6 @@
"node": ">= 0.8"
}
},
"node_modules/upath": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz",
"integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==",
"license": "MIT",
"engines": {
"node": ">=4",
"yarn": "*"
}
},
"node_modules/urlpattern-polyfill": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz",

View file

@ -4,7 +4,7 @@
"description": "my website!!",
"main": "index.js",
"scripts": {
"watch:eleventy": "npx --node-options=\"--experimental-require-module\" @11ty/eleventy --watch",
"watch:eleventy": "npx @11ty/eleventy --watch",
"watch:sass": "npx sass sass:_site/css --watch",
"start": "npm run watch:eleventy"
},
@ -14,7 +14,6 @@
"type": "commonjs",
"dependencies": {
"@11ty/eleventy": "^3.0.0",
"eleventy-sass": "^3.0.0-beta.0",
"sass": "^1.86.0"
}
}