diff --git a/fonts/README.md b/fonts/README.md new file mode 100644 index 0000000..76ed39d --- /dev/null +++ b/fonts/README.md @@ -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. diff --git a/fonts/bainsley/LICENSE.txt b/fonts/bainsley/LICENSE.txt new file mode 100644 index 0000000..6a1c3a5 --- /dev/null +++ b/fonts/bainsley/LICENSE.txt @@ -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. diff --git a/fonts/bainsley/bainsley-bold-italic.woff2 b/fonts/bainsley/bainsley-bold-italic.woff2 new file mode 100644 index 0000000..d8e5e1d Binary files /dev/null and b/fonts/bainsley/bainsley-bold-italic.woff2 differ diff --git a/fonts/bainsley/bainsley-bold.woff2 b/fonts/bainsley/bainsley-bold.woff2 new file mode 100644 index 0000000..78e6298 Binary files /dev/null and b/fonts/bainsley/bainsley-bold.woff2 differ diff --git a/fonts/bainsley/bainsley-italic.woff2 b/fonts/bainsley/bainsley-italic.woff2 new file mode 100644 index 0000000..6fd6c64 Binary files /dev/null and b/fonts/bainsley/bainsley-italic.woff2 differ diff --git a/fonts/bainsley/bainsley-roman.woff2 b/fonts/bainsley/bainsley-roman.woff2 new file mode 100644 index 0000000..a82f8d7 Binary files /dev/null and b/fonts/bainsley/bainsley-roman.woff2 differ diff --git a/fonts/bainsley/bainsley.css b/fonts/bainsley/bainsley.css new file mode 100644 index 0000000..00763cb --- /dev/null +++ b/fonts/bainsley/bainsley.css @@ -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; +} diff --git a/fonts/kaushanscript/LICENSE.txt b/fonts/kaushanscript/LICENSE.txt new file mode 100644 index 0000000..147b6fd --- /dev/null +++ b/fonts/kaushanscript/LICENSE.txt @@ -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. \ No newline at end of file diff --git a/fonts/kaushanscript/kaushanscript-regular.woff2 b/fonts/kaushanscript/kaushanscript-regular.woff2 new file mode 100644 index 0000000..30b518b Binary files /dev/null and b/fonts/kaushanscript/kaushanscript-regular.woff2 differ diff --git a/fonts/kaushanscript/kaushanscript.css b/fonts/kaushanscript/kaushanscript.css new file mode 100644 index 0000000..a5bec84 --- /dev/null +++ b/fonts/kaushanscript/kaushanscript.css @@ -0,0 +1,6 @@ +@font-face { + font-family: 'kaushanscript'; + src: url('kaushanscript-regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} diff --git a/img/mad-icon.png b/img/mad-icon.png new file mode 100644 index 0000000..d3d14e3 Binary files /dev/null and b/img/mad-icon.png differ diff --git a/img/mad-logo.png b/img/mad-logo.png new file mode 100644 index 0000000..f26a396 Binary files /dev/null and b/img/mad-logo.png differ diff --git a/om.md b/om.md new file mode 100644 index 0000000..b91c2eb --- /dev/null +++ b/om.md @@ -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 + +

Niels' mad by Niels G. W. Serup er licenseret under CC BY-SA 4.0

+ + +## 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. diff --git a/retter/skabelon.md b/retter/skabelon.md new file mode 100644 index 0000000..e485681 --- /dev/null +++ b/retter/skabelon.md @@ -0,0 +1,14 @@ +# + +*Oprindelig dato: * + +## Ingredienser +- + +## Inspirationer +- + +## Opskrift +1. Bland sammen. + +## Baggrund diff --git a/style.css b/style.css new file mode 100644 index 0000000..0eda0f1 --- /dev/null +++ b/style.css @@ -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; +} diff --git a/template.html b/template.html new file mode 100644 index 0000000..11504db --- /dev/null +++ b/template.html @@ -0,0 +1,27 @@ + + + + + + + + Niels' mad + + +
 Niels' mad 
+ + + +
+
+CONTENT +
+
+ +