Start adding the files used by the website builder

This commit is contained in:
Niels G. W. Serup 2024-10-05 17:38:52 +02:00
parent 8c2f522bbf
commit 166c176727
No known key found for this signature in database
GPG Key ID: 38EEEBCE67324F19
16 changed files with 274 additions and 0 deletions

7
fonts/README.md Normal file
View File

@ -0,0 +1,7 @@
# Fonts
All fonts are licensed under the SIL Open Font License Version 1.1 by
their respective creators.
I have run a program to convert the original .otf files into a .woff2
for use on this website.

View File

@ -0,0 +1,45 @@
Copyright (c) 2017-2019, Paul James Miller
with Reserved Font Name 'Bainsley'.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,27 @@
@font-face {
font-family: 'bainsley';
src: url('bainsley-roman.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'bainsley';
src: url('bainsley-bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'bainsley';
src: url('bainsley-italic.woff2') format('woff2');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'bainsley';
src: url('bainsley-bold-italic.woff2') format('woff2');
font-weight: bold;
font-style: italic;
}

View File

@ -0,0 +1,45 @@
Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
Copyright (c) 2011, Igino Marini. (www.ikern.com|mail@iginomarini.com),
with Reserved Font Name Kaushan Script.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

View File

@ -0,0 +1,6 @@
@font-face {
font-family: 'kaushanscript';
src: url('kaushanscript-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

BIN
img/mad-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
img/mad-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

33
om.md Normal file
View File

@ -0,0 +1,33 @@
# Niels' madblog
Velkommen til min madblog! Jeg håber at du kan blive inspireret af de retter jeg har fundet på.
## Samarbejde?
Repræsenterer du en større supermarkedkæde med butikker i Danmark? Kontakt mig for en sponsoraftale.
## Baggrund
Da jeg i 2012 flyttede hjemmefra for at studere i København, begyndte jeg også at lave mad selv. Jeg havde fået nogle opskriftsbøger som gaver, men jeg brød mig ikke om at læse i dem, så jeg lavede mine egne retter og dokumenterede dem med kameraet på min Sony Ericsson W995. Nu, over ti år senere, har jeg besluttet at det endelig er tid til at dele disse retter med verden, og som en bonus vil jeg også dele fremtidige retter som jeg finder på.
## Retter
Klik på [Retter](/retter)-fanen i toppen af siden for at se alle mine madretter.
## Licens
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><span property="dct:title">Niels' mad</span> by <span property="cc:attributionName">Niels G. W. Serup</span> er licenseret under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-SA 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt=""></a></p>
## Hjemmesidegenerator
Denne madblog er statisk genereret af et Haskell-program med fokus på ergonomisk afhængighedsnedskrivning og effektiv generering af kun det nødvendige. Se
## English
Hi, this is my food blog in Danish, but feel free to browse around even if you're new to the language. You can also look at the pictures.

14
retter/skabelon.md Normal file
View File

@ -0,0 +1,14 @@
#
*Oprindelig dato: *
## Ingredienser
-
## Inspirationer
-
## Opskrift
1. Bland sammen.
## Baggrund

70
style.css Normal file
View File

@ -0,0 +1,70 @@
@import url('fonts/kaushanscript/kaushanscript.css');
@import url('fonts/bainsley/bainsley.css');
html {
background-color: khaki;
}
body {
margin: 0;
min-height: 400px;
background: linear-gradient(to bottom, lightgreen -50px, khaki 400px);
background-repeat: no-repeat;
font-size: 1.5em;
}
a {
text-decoration: none;
}
header {
text-align: center;
padding-top: 10px;
height: 2em;
font-family: kaushanscript, serif;
font-size: 4em;
background-image: url('img/mad-logo.png');
background-repeat: no-repeat;
background-position: top center;
background-size: contain;
a:link, a:visited {
color: brown;
display: inline-block;
margin-top: 1em;
background: linear-gradient(to bottom, brown, yellow);
background-clip: text;
-webkit-text-fill-color: transparent;
}
}
nav {
font-family: bainsley, sans;
text-align: center;
ul {
list-style-type: none;
padding-left: 0;
li {
display: inline-block;
margin-right: 1em;
a:link, a:visited {
color: blue;
}
a:hover {
color: darkblue;
}
}
li:last-child {
margin-right: 0;
}
}
}
section {
max-width: 800px;
margin: 0 auto;
font-family: bainsley, sans;
}
article {
padding: 10px;
}

27
template.html Normal file
View File

@ -0,0 +1,27 @@
<!doctype html>
<html lang="da">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/img/mad-icon.png" />
<link href="/style.css" rel="stylesheet">
<title>Niels' mad</title>
</head>
<body>
<header><a href="/">&nbsp;Niels' mad&nbsp;</a></header>
<nav>
<ul>
<li><a href="/retter/">Alle retter</a></li>
<li><a href="/om/">Om Niels' mad</a></li>
<li><a href="/atom.xml">Atom-feed</a></li>
</ul>
</nav>
<section>
<article>
CONTENT
</article>
</section>
</body>
</html>