initial stuff

This commit is contained in:
lauralani 2022-06-22 11:02:01 +02:00
parent 43351d9092
commit b7e84cedde
5 changed files with 172 additions and 0 deletions

25
.gitignore vendored Normal file
View file

@ -0,0 +1,25 @@
# Generated files
package/generated*
# Ignore installed npm modules
node_modules/
# Ignore build tool output, e.g. code coverage
.nyc_output/
coverage/
# Ignore API documentation
api-docs/
# Ignore folders from source code editors
.vscode
.idea
# Ignore eleventy output when doing manual tests
_site/
package-lock.json
# Ignore test files
.cache
test/stubs-layout-cache/_includes/*.js

View file

@ -0,0 +1,25 @@
---
title: lauka (dot) net
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
name="viewport"
content="shrink-to-fit=no,width=device-width,height=device-height,initial-scale=1,user-scalable=1">
<meta name="description" content="My little cozy place on the web.">
<title>{{ title }}</title>
<link rel="author" href="{{ '/humans.txt' | url }}"/>
<link rel='stylesheet' type='text/css' media='screen' href="{{ '/css/style.css' | url }}"/>
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/apple-touch-icon.png' | url }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/favicon-32x32.png' | url }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/favicon-16x16.png' | url }}">
<link rel="manifest" href="{{ '/site.webmanifest' | url }}">
</head>
<body>
{{ content | safe }}
</body>
</html>

93
css/main.css Normal file
View file

@ -0,0 +1,93 @@
a, body, h1, h2, html, li, p, span, strong, u, ul {
margin: 0;
padding: 0;
border: 0;
font: inherit;
vertical-align: baseline
}
body {
font-family: Consolas, monaco, monospace;
font-size: 130%;
line-height: 1.4;
margin: 3% 5%;
max-width: 50em;
background: #303030;
color: #c1c1c1;
}
ul {
list-style-type: none;
margin-left: 1rem;
}
ul>li:before {
content: "-";
position: absolute;
margin-left: -1.1rem;
}
a {
text-decoration: none;
color: cyan
}
p {
margin-bottom: .75rem
}
h1,
h2 {
line-height: 100%;
margin-top: 2rem;
margin-bottom: 1rem;
color: #c2f486;
}
h1:before {
content: "# ";
content: "# "/ "";
}
h1:after {
content: "-----";
content: "-----"/ "";
display: block;
}
h2:before {
content: "## ";
content: "## "/ "";
}
strong {
font-weight: 700;
}
strong:before {
content: "**";
content: "**"/ "";
}
strong:after {
content: "**";
content: "**"/ "";
}
@media (prefers-color-scheme: light) {
body {
background: #edf4f9;
color: #40302f;
}
a {
color: #172b73;
text-decoration: underline;
}
h1,
h2 {
color: #40302f;
font-weight: bold;
}
}

6
index.njk Normal file
View file

@ -0,0 +1,6 @@
---
layout: layouts/home.njk
title: lauka (dot) net
---
# {{ title }}
##

23
package.json Normal file
View file

@ -0,0 +1,23 @@
{
"name": "www-lauka-net-11ty",
"version": "1.0.0",
"description": "Source code of my personal website",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lauralani/www-lauka-net-11ty.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/lauralani/www-lauka-net-11ty/issues"
},
"homepage": "https://github.com/lauralani/www-lauka-net-11ty#readme",
"devDependencies": {
"@11ty/eleventy": "^1.0.1"
}
}