Browse Source

Base site

master
Linus Vanas 6 months ago
commit
ba2b35450e
12 changed files with 323 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +7
    -0
      _config.yml
  3. +24
    -0
      _layouts/huitsi.net.html
  4. +6
    -0
      contact/index.html
  5. +6
    -0
      copyright.txt
  6. +166
    -0
      huitsi.net.scss
  7. +50
    -0
      humor/cc-choice/index.html
  8. +9
    -0
      humor/index.html
  9. +10
    -0
      index.html
  10. +24
    -0
      privacy/index.html
  11. +9
    -0
      software/huitsi.net/index.html
  12. +11
    -0
      software/index.html

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
_site/

+ 7
- 0
_config.yml View File

@@ -0,0 +1,7 @@
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "huitsi.net"

+ 24
- 0
_layouts/huitsi.net.html View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}huitsi.net</title>
<meta charset="utf-8">
<link rel="stylesheet" href="/huitsi.net.css">
</head>
<body>
<nav>
<a href="/">huitsi.net</a>
<a href="/software">Software</a>
<a href="/humor">Humor</a>
<a href="/contact">Contact</a>
</nav>
<main>{% assign lines = content | newline_to_br | strip_newlines | split: "<br />" %}{% for line in lines %}
{{ line }}{% endfor %}
</main>
<footer>
<a href="/contact">Contact</a> | <a href="/privacy">Privacy policy</a> | <a href="/software/huitsi.net">Site source code</a>
<p>Except where otherwise noted, this page is copyright &copy; {{ page.year }} Linus Vanas and
licensed under the <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</p>
</footer>
</body>
</html>

+ 6
- 0
contact/index.html View File

@@ -0,0 +1,6 @@
---
year: 2019
title: Contact
---
<h1>Contact</h1>
<p>You can direct your complaints to <span id=user>linus</span>@<span id=server>vanas.fi</span></p>

+ 6
- 0
copyright.txt View File

@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: *
Copyright: 2019 Linus Vanas
License: CC-BY-SA-4.0
https://creativecommons.org/licenses/by-sa/4.0/

+ 166
- 0
huitsi.net.scss View File

@@ -0,0 +1,166 @@
---
---
$color-text:#000000;
$color-link:#006600;
$color-link-visited:#003300;
$color-link-hover:#009900;
$color-navlink:#009900;
$color-navlink-hover:#00BB00;
$color-background:#EEFFEE;

$width-nav:4 * 6.6em;

body
{
background-color:$color-background;
font-family:sans-serif;
margin:auto;
max-width:52em;
}


a:link
{
color:$color-link;
}

a:visited
{
color:$color-link-visited;
}

a:hover
{
color:$color-link-hover;
}

a:active
{
color:$color-link-hover;
}

nav
{
display:flex;
justify-content:space-between;
text-align:center;
margin:auto;
max-width:$width-nav;
}

nav a
{
background-color:$color-navlink;
border:.2em solid black;
border-radius:.2em;
color:$color-text;
display:inline-block;
flex:none;
margin-top:-.2em;
text-decoration:none;
min-width:6em;
}

nav a:link
{
color:$color-text;
}

nav a:visited
{
color:$color-text;
}

nav a:hover
{
background-color:$color-navlink-hover;
color:$color-text;
}

nav a:active
{
background-color:$color-navlink-hover;
color:$color-text;
}

main
{
padding:0 1em;
text-align:justify;
}

h1
{
text-align:center;
}

a.highlight
{
background-color:$color-navlink;
border-radius:.2em;
color:$color-text;
display:block;
font-size:110%;
margin:.5em 0;
padding:.5em;
text-align:center;
text-decoration:none;
}

a.highlight:link
{
color:$color-text;
}

a.highlight:visited
{
color:$color-text;
}

a.highlight:hover
{
background-color:$color-navlink-hover;
color:$color-text;
}

a.highlight:active
{
background-color:$color-navlink-hover;
color:$color-text;
}

footer
{
border-top:.1em solid black;
font-size:83%;
text-align:center;
}

footer p
{
margin:.25em;
}

footer a
{
display:inline-block;
}

@media (max-width:$width-nav)
{
nav
{
flex-flow:column;
}
}

table
{
border-collapse:collapse;
}

td
{
border:.2em double $color-link;
font-size:96%;
}

+ 50
- 0
humor/cc-choice/index.html View File

@@ -0,0 +1,50 @@
---
year: 2019
title: "What does your choice of Creatice Commons -license tell about you?"
---
<h1>What does your choice of Creatice Commons -license tell about you?</h1>
<table>
<tr>
<td>CC-0</td>
<td>
You're either anti-copyright or just don't value your work.
</td>
</tr>
<tr>
<td>CC-BY</td>
<td>
You wanted to use a permissive license and weren't aware of the no-DRM clause.
</td>
</tr>
<tr>
<td>CC-BY-SA</td>
<td>
You're a free culture idealist who thinks copylefting their work makes some kind of difference.
</td>
</tr>
<tr>
<td>CC-NC</td>
<td>
You're a capitalist: no one else should be allowed make money with your work!
</td>
</tr>
<tr>
<td>CC-NC-SA</td>
<td>
You're an anti-capitalist: no one should be allowed make money with your work!
</td>
</tr>
<tr>
<td>CC-ND</td>
<td>
You have never encountered a remix that you like and think they're all trash.
</td>
</tr>
<tr>
<td>CC-NC-ND</td>
<td>
You were asked to put your work under a CC license but what you really wanted was "All rights reserved."
</td>
</tr>
</table>
<p>Alternative to all: You got confused while choosing a license and the one you picked doesn't do what you think it does, much less what you want it to do.

+ 9
- 0
humor/index.html View File

@@ -0,0 +1,9 @@
---
year: 2019
title: Humor
---
<h1>Humor</h1>
<p>Silly things you may or may not find humorous:</p>
<ul>
<li><a href="cc-choice">What does your choice of Creatice Commons -license tell about you?</a></li>
</ul>

+ 10
- 0
index.html View File

@@ -0,0 +1,10 @@
---
year: 2019
---
<h1>huitsi.net</h1>
<p>
This is the personal website of Linus Vanas, who also goes by Huitsi.
</p>
<h2>Highlights</h2>
<a class="highlight" href="/humor/cc-choice">What does your choice of Creatice Commons -license tell about you?</a>
</p>

+ 24
- 0
privacy/index.html View File

@@ -0,0 +1,24 @@
---
year: 2019
title: "Privacy policy"
---
<h1>Privacy policy</h1>
<p>
For every request (eg. page load) to this website, the following information is logged:
<ul>
<li>The IP-address where the request came from.</li>
<li>The date and time of the request.</li>
<li>The resource (eg. page) that was requested.</li>
<li>Information about how the request was handled.</li>
<li>The possible User-Agent-header in the request. This may contain information about your browser and operating system.</li>
<li>The possible Referer-header in the request. This may contain the URL of the page where you clicked a link to this site.</li>
</ul>
This information may be manually or automatically processed to:
<ul>
<li>Study the usage of the site.</li>
<li>Troubleshoot problems with the site.</li>
<li>Combat abuse of the site.</li>
</ul>
The information will not be voluntarily shared third parties except possibly in a processed form where identifying individual users is not possible.
The unprocessed information will be deleted after 14 days.
</p>

+ 9
- 0
software/huitsi.net/index.html View File

@@ -0,0 +1,9 @@
---
year: 2019
title: "huitsi.net"
---
<h1>huitsi.net</h1>
<p>
<a href="https://huitsi.net:61734/Huitsi/huitsi.net">This site was built with Jekyll.</a>
</p>
</ul>

+ 11
- 0
software/index.html View File

@@ -0,0 +1,11 @@
---
year: 2019
title: Software
---
<h1>Software</h1>
<p>
Sofware and software-like things:
</p>
<ul>
<li><a href="./huitsi.net">huitsi.net</a></li>
</ul>

Loading…
Cancel
Save