Compare commits
8 commits
6ca2842b45
...
58bca24259
| Author | SHA1 | Date | |
|---|---|---|---|
| 58bca24259 | |||
| f2fc399003 | |||
| 459e9565b3 | |||
| db3fef4809 | |||
| a3d083c5de | |||
| d0771dbcfa | |||
| 928df49eb8 | |||
| d1d6790784 |
BIN
_img/home_banner.xcf
Normal file
|
|
@ -6,16 +6,17 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="main-page-wrapper">
|
<div class="main-page-wrapper">
|
||||||
<div class="header-wrapper">
|
<div class="header-wrapper">
|
||||||
<img class="header-banner" src="/img/banner-alt.png" alt="yukinets">
|
<div class="header">
|
||||||
|
<a href="/" alt="yukinets"><div class="header-banner"></div></a>
|
||||||
</div>
|
</div>
|
||||||
|
{% include "topmost_navbar.njk" %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ content | safe }}
|
||||||
|
|
||||||
<marquee class="motd" behavior="scroll" direction="left">
|
<marquee class="motd" behavior="scroll" direction="left">
|
||||||
<img src="/img/Witch-on-broom.gif" alt="">
|
<img src="/img/Witch-on-broom.gif" alt="">
|
||||||
<p>{{ motd if motd else meta.motd }}</p>
|
|
||||||
</marquee>
|
</marquee>
|
||||||
<nav class="navbar-wrapper">
|
|
||||||
<img class="nav-button" src="/img/hbutton.png" alt="Home">
|
|
||||||
</nav>
|
|
||||||
{{ content | safe }}
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
8
_includes/fonts.scss
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
$ll: "Love LetterTW";
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: $ll;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
src: local($ll), url('/css/fonts/Lovelt__.woff') format('woff');
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@use "main-palette.scss" as mp;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
@ -8,4 +10,5 @@
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
max-width: 802px;
|
max-width: 802px;
|
||||||
margin: 8px auto;
|
margin: 8px auto;
|
||||||
|
border: 1px solid mp.$border;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
$bg: #e4ffdc;
|
$bg: #000;
|
||||||
$border: #000;
|
$border: #761026;
|
||||||
|
$link: #ad3040;
|
||||||
|
$text: #ffd2dd;
|
||||||
|
|
|
||||||
8
_includes/topmost_navbar.njk
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<nav class="navbar-wrapper">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">home</a></li>
|
||||||
|
<li><a href="/about">about</a></li>
|
||||||
|
<li><a href="/blog">blog</a></li>
|
||||||
|
<li><a href="/contact">contact</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
BIN
css/fonts/Lovelt__.woff
Normal file
|
|
@ -1,32 +1,68 @@
|
||||||
|
@use "sass:color" as c;
|
||||||
|
|
||||||
@use "general";
|
@use "general";
|
||||||
|
@use "fonts";
|
||||||
@use "main-palette" as mp;
|
@use "main-palette" as mp;
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: mp.$bg;
|
background-color: mp.$bg;
|
||||||
background-image: url("/img/bgpat.png");
|
/*background-image: url("/img/bgpat.png");
|
||||||
background-repeat: repeat;
|
background-repeat: repeat;*/
|
||||||
|
|
||||||
|
a { color: mp.$link; }
|
||||||
|
a:hover { color: c.adjust($color: mp.$link, $saturation: 4%, $lightness: 10%); }
|
||||||
|
|
||||||
|
p { color: mp.$text }
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-wrapper {
|
.header-wrapper {
|
||||||
width: 100%;
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
img {
|
gap: 16px;
|
||||||
border: 1px solid mp.$border;
|
.header {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 8px;
|
.header-banner {
|
||||||
|
background-image: url("/img/home_banner.jpg");
|
||||||
|
width: 298px;
|
||||||
|
height: 140px;
|
||||||
|
border-right: 1px solid mp.$border;
|
||||||
|
border-bottom: 1px solid mp.$border;
|
||||||
|
border-radius: 0% 0% 20px 0%;
|
||||||
}
|
}
|
||||||
}
|
.header-banner:hover{ background-image: url("/img/home_banner_hover.jpg"); }
|
||||||
|
|
||||||
.motd {
|
|
||||||
img { display: inline; }
|
|
||||||
p { display: inline; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-wrapper {
|
.navbar-wrapper {
|
||||||
margin: 0;
|
display: flex;
|
||||||
padding: 0;
|
align-items: flex-start;
|
||||||
|
margin-top: 8px;
|
||||||
|
|
||||||
.nav-button {
|
ul {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
li {
|
||||||
|
display: flex;
|
||||||
|
margin: 2px;
|
||||||
|
a {
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
border: 1px solid mp.$border;
|
border: 1px solid mp.$border;
|
||||||
|
|
||||||
|
background: mp.$bg;
|
||||||
|
background: linear-gradient(0deg,rgba(0, 0, 0, 1) 10%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -20%) 100%);
|
||||||
|
|
||||||
|
color: mp.$text;
|
||||||
|
font-family: fonts.$ll;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 1em;
|
||||||
|
text-decoration: none;
|
||||||
|
/*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover { background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -10%) 100%); }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3,6 +3,7 @@ const eleventySass = require("eleventy-sass");
|
||||||
module.exports = function (eleventyConfig) {
|
module.exports = function (eleventyConfig) {
|
||||||
eleventyConfig.addPlugin(eleventySass);
|
eleventyConfig.addPlugin(eleventySass);
|
||||||
eleventyConfig.addPassthroughCopy("img");
|
eleventyConfig.addPassthroughCopy("img");
|
||||||
|
eleventyConfig.addPassthroughCopy("css/fonts");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
markdownTemplateEngine: "njk",
|
markdownTemplateEngine: "njk",
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 92 KiB |
BIN
img/banner.png
|
Before Width: | Height: | Size: 107 KiB |
BIN
img/bgpat.png
|
Before Width: | Height: | Size: 240 B |
BIN
img/btnbg.png
|
Before Width: | Height: | Size: 191 B |
BIN
img/button.png
|
Before Width: | Height: | Size: 2.1 KiB |
BIN
img/hbutton.png
|
Before Width: | Height: | Size: 2.2 KiB |
BIN
img/home_banner.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
img/home_banner_hover.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
img/homeb.png
|
Before Width: | Height: | Size: 412 B |
1
index.md
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: base
|
layout: base
|
||||||
title: home
|
|
||||||
---
|
---
|
||||||
goodbye...
|
goodbye...
|
||||||
|
|
|
||||||