Add image
This commit is contained in:
parent
3eb60ae8ab
commit
61fd0969c2
4 changed files with 98 additions and 10 deletions
|
@ -4,5 +4,6 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.addFilter("cssmin", function(code) {
|
||||
return new CleanCSS({}).minify(code).styles.trim();
|
||||
});
|
||||
eleventyConfig.addPassthroughCopy("static/images");
|
||||
return eleventyConfig;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,19 @@ layout: layouts/main
|
|||
title: Pepperminty Wiki
|
||||
---
|
||||
|
||||
<div class="double lean-right">
|
||||
<div class="left">
|
||||
<p>Pepperminty Wiki is a complete wiki engine contained in a single file, inspired by @am2064's <a href="https://github.com/am2064/Minty-Wiki">Minty Wiki</a>. It's open source too (under MPL-2.0), so contributions are welcome!</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span class="fancy-browser-window">
|
||||
<img src="static/images/page-light.png" alt="A screenshot of Pepperminty Wiki" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Screenshot here opposite above text - insert badge(s) below above text -->
|
||||
|
||||
<div class="feature-list">
|
||||
<figure>
|
||||
|
@ -89,6 +101,7 @@ title: Pepperminty Wiki
|
|||
Things to add:
|
||||
- We're open-source
|
||||
- Download section: latest release, online downloader, docs for from source
|
||||
- Demo
|
||||
- Link to docs (at the top and further down?)
|
||||
- Link to repo
|
||||
- Latest version badges (probably near the top)
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
|
||||
--text-main: hsl(277, 38%, 89%);
|
||||
}
|
||||
|
||||
a { color: hsl(208, 67%, 67%); }
|
||||
a:hover { color: hsl(214, 67%, 75%); }
|
||||
a:active, a:focus { color: hsl(214, 87%, 85%); }
|
||||
a:visited { color: hsl(264, 77%, 65%); }
|
||||
}
|
||||
|
||||
html, body { font-size: 100%; }
|
||||
|
@ -22,3 +27,72 @@ body {
|
|||
color: var(--text-main);
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* A small tweak to things more responsive */
|
||||
iframe, object, embed, img, table { max-width: 100%; }
|
||||
/* Turn the user's cursor into a hand when over things they can click */
|
||||
button, summary { cursor: pointer; }
|
||||
|
||||
/*
|
||||
███████ ███████ ███████ ███████ ██████ ████████ ███████
|
||||
██ ██ ██ ██ ██ ██ ██
|
||||
█████ █████ █████ █████ ██ ██ ███████
|
||||
██ ██ ██ ██ ██ ██ ██
|
||||
███████ ██ ██ ███████ ██████ ██ ███████
|
||||
*/
|
||||
|
||||
.fancy-browser-window {
|
||||
display: inline-block;
|
||||
/* background: radial-gradient(0.25em at top 0.25em right 0.25em, red 0%, red 99%, transparent 100%), */
|
||||
|
||||
--button-size: 0.35em;
|
||||
--border-thin: 0.5em;
|
||||
--border-top: 1.25em;
|
||||
--button-spacing: 1em;
|
||||
|
||||
--colour-z: hsl(0, 0%, 85%);
|
||||
|
||||
--colour-a1: hsl(5, 80%, 60%);
|
||||
--colour-a2: hsl(7, 74%, 48%); /*hsl(6, 75%, 37%)*/
|
||||
|
||||
--colour-b1: hsl(53, 80%, 60%);
|
||||
--colour-b2: hsl(53, 73%, 48%);
|
||||
|
||||
--colour-c1: hsl(114, 80%, 59%);
|
||||
--colour-c2: hsl(114, 73%, 48%);
|
||||
|
||||
background: radial-gradient(
|
||||
var(--button-size) at top calc(var(--button-size) + var(--border-thin) / 2) left calc(0.5em + var(--button-size)),
|
||||
var(--colour-a1) 50%,
|
||||
var(--colour-a2) 100%,
|
||||
transparent 100%
|
||||
), radial-gradient(
|
||||
var(--button-size) at top calc(var(--button-size) + var(--border-thin) / 2) left calc(0.5em + var(--button-size) + var(--button-spacing)),
|
||||
var(--colour-b1) 50%,
|
||||
var(--colour-b2) 100%,
|
||||
transparent 100%
|
||||
), radial-gradient(
|
||||
var(--button-size) at top calc(var(--button-size) + var(--border-thin) / 2) left calc(0.5em + var(--button-size) + var(--button-spacing) * 2),
|
||||
var(--colour-c1) 50%,
|
||||
var(--colour-c2) 100%,
|
||||
transparent 100%
|
||||
), var(--colour-z);
|
||||
border-radius: 0.25em;
|
||||
padding: var(--border-top) var(--border-thin) var(--border-thin) var(--border-thin);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
██ █████ ██ ██ ██████ ██ ██ ████████
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ███████ ████ ██ ██ ██ ██ ██
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
███████ ██ ██ ██ ██████ ██████ ██
|
||||
*/
|
||||
|
||||
.double {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
.double.lean-right { grid-template-columns: 2fr 3fr; }
|
||||
.double.lean-left { grid-template-columns: 3fr 2fr; }
|
||||
|
|
BIN
src/static/images/page-light.png
Normal file
BIN
src/static/images/page-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 171 KiB |
Loading…
Reference in a new issue