Compare commits
8 commits
6ca2842b45
...
58bca24259
| Author | SHA1 | Date | |
|---|---|---|---|
| 58bca24259 | |||
| f2fc399003 | |||
| 459e9565b3 | |||
| db3fef4809 | |||
| a3d083c5de | |||
| d0771dbcfa | |||
| 928df49eb8 | |||
| d1d6790784 |
BIN
_img/home_banner.xcf
Normal file
|
|
@ -5,17 +5,18 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="main-page-wrapper">
|
||||
<div class="header-wrapper">
|
||||
<img class="header-banner" src="/img/banner-alt.png" alt="yukinets">
|
||||
<div class="header-wrapper">
|
||||
<div class="header">
|
||||
<a href="/" alt="yukinets"><div class="header-banner"></div></a>
|
||||
</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>
|
||||
{% include "topmost_navbar.njk" %}
|
||||
</div>
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
<marquee class="motd" behavior="scroll" direction="left">
|
||||
<img src="/img/Witch-on-broom.gif" alt="">
|
||||
</marquee>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<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">
|
||||
<link rel="stylesheet" href="/css/{{ style if style else "main" }}.css">
|
||||
|
|
|
|||
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;
|
||||
box-sizing: border-box;
|
||||
|
|
@ -8,4 +10,5 @@
|
|||
min-width: 0;
|
||||
max-width: 802px;
|
||||
margin: 8px auto;
|
||||
border: 1px solid mp.$border;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
$bg: #e4ffdc;
|
||||
$border: #000;
|
||||
$bg: #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 "fonts";
|
||||
@use "main-palette" as mp;
|
||||
|
||||
body {
|
||||
background-color: mp.$bg;
|
||||
background-image: url("/img/bgpat.png");
|
||||
background-repeat: repeat;
|
||||
/*background-image: url("/img/bgpat.png");
|
||||
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 {
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
border: 1px solid mp.$border;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
.header {
|
||||
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 {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-top: 8px;
|
||||
|
||||
.navbar-wrapper {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
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;
|
||||
|
||||
.nav-button {
|
||||
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) {
|
||||
eleventyConfig.addPlugin(eleventySass);
|
||||
eleventyConfig.addPassthroughCopy("img");
|
||||
eleventyConfig.addPassthroughCopy("css/fonts");
|
||||
|
||||
return {
|
||||
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
|
||||
title: home
|
||||
---
|
||||
goodbye...
|
||||
|
|
|
|||