diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-12-10 13:08:42 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-12-10 13:08:42 +0100 |
commit | 20ec27c878cb4dc571ffb789adb62320c56b4e24 (patch) | |
tree | 07ee2dc9c48b78d5c67e550b075a3019a3ef900d | |
parent | f8e1787c1a705902851b2f3aa87bceaa83f45147 (diff) | |
download | sheets-websites-20ec27c878cb4dc571ffb789adb62320c56b4e24.tar.gz sheets-websites-20ec27c878cb4dc571ffb789adb62320c56b4e24.zip |
add updated websites files and facilitate deployment under Guix
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | .gitignore.license | 5 | ||||
-rw-r--r-- | .reuse/dep5 | 8 | ||||
-rw-r--r-- | LICENSES/CC0-1.0.txt | 121 | ||||
-rw-r--r-- | LICENSES/LicenseRef-Normalize-CSS-MIT.txt | 19 | ||||
-rw-r--r-- | Makefile | 31 | ||||
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | README.md.license | 5 | ||||
-rw-r--r-- | common-static-assets/normalize.css | 375 | ||||
-rw-r--r-- | guix-module-dir/sheets-websites.scm | 62 | ||||
-rw-r--r-- | guix.scm | 18 | ||||
-rw-r--r-- | pray/en/inten.pdf | bin | 0 -> 37341 bytes | |||
-rw-r--r-- | pray/en/sheet_back.png | bin | 0 -> 22655 bytes | |||
-rw-r--r-- | pray/en/sheet_front.png | bin | 0 -> 19020 bytes | |||
-rw-r--r-- | pray/index.html | 307 | ||||
-rw-r--r-- | pray/inten.pdf | bin | 0 -> 39221 bytes | |||
-rw-r--r-- | pray/sheet_back.png | bin | 0 -> 23662 bytes | |||
-rw-r--r-- | pray/sheet_front.png | bin | 0 -> 19985 bytes | |||
-rw-r--r-- | sheets/en/sheet_back.png | bin | 0 -> 24313 bytes | |||
-rw-r--r-- | sheets/en/sheet_front.png | bin | 0 -> 20403 bytes | |||
-rw-r--r-- | sheets/en/sheets.pdf | bin | 0 -> 38870 bytes | |||
-rw-r--r-- | sheets/index.html | 295 | ||||
-rw-r--r-- | sheets/sheet_back.png | bin | 0 -> 25064 bytes | |||
-rw-r--r-- | sheets/sheet_front.png | bin | 0 -> 21847 bytes | |||
-rw-r--r-- | sheets/sheets.pdf | bin | 0 -> 39712 bytes | |||
-rw-r--r-- | sheets/sheets_freesw.pdf | bin | 0 -> 46207 bytes |
26 files changed, 1264 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b677c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: CC0-1.0 + +# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +*/en/index.html diff --git a/.gitignore.license b/.gitignore.license new file mode 100644 index 0000000..baf2b81 --- /dev/null +++ b/.gitignore.license @@ -0,0 +1,5 @@ +SPDX-License-Identifier: CC0-1.0 + +Copyright (C) 2022 Wojtek Kosior + +Available under the terms of Creative Commons Zero v1.0 Universal. diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..484ba83 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: websites at sheets.koszko.org and pray.koszko.org +Upstream-Contact: Wojtek Kosior <koszko@koszko.org> +Source: https://git.koszko.org/koszko-org-website + +Files: */sheet_*.png *.pdf +Copyright: 2021 Wojtek Kosior <koszko@koszko.org> +License: CC0-1.0 diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/LICENSES/LicenseRef-Normalize-CSS-MIT.txt b/LICENSES/LicenseRef-Normalize-CSS-MIT.txt new file mode 100644 index 0000000..93c1e26 --- /dev/null +++ b/LICENSES/LicenseRef-Normalize-CSS-MIT.txt @@ -0,0 +1,19 @@ +Copyright © Nicolas Gallagher and Jonathan Neal + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..79f800e --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: CC0-1.0 + +# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +ifndef WEBSITE +$(error `WEBSITE` not defined) +endif + +ifndef DEST +$(error `DEST` not defined) +endif + +all: $(WEBSITE)/en/index.html + +$(WEBSITE)/en/index.html: $(WEBSITE)/index.html + sed 's/type="checkbox">/type="checkbox" checked>/' $< > $@ + +install: $(WEBSITE)/en/index.html + mkdir -p "$(DEST)"/static + cp -r ./$(WEBSITE)/* "$(DEST)" + cp ./common-static-assets/* "$(DEST)"/static + cp ./LICENSES/LicenseRef-Normalize-CSS-MIT.txt \ + $(DEST)/static/normalize-mit-license.txt + cp ./LICENSES/CC0-1.0.txt $(DEST)/static/cc0-1.0.txt + +clean: + rm -f $(WEBSITE)/en/index.html + +.PHONY: all install clean @@ -0,0 +1,11 @@ +# koszko.org website + +This is the code behind the websites at https://pray.koszko.org and +https://sheets.koszko.org + +## Copying + +Contents of this repository are Copyright (C) 2022 Wojtek Kosior and others. +The repository is [REUSE](https://reuse.software/)-compliant. Please look at +the SPDX identifiers to determine the licensing of particular files or use the +`reuse spdx` command to get a complete report. diff --git a/README.md.license b/README.md.license new file mode 100644 index 0000000..baf2b81 --- /dev/null +++ b/README.md.license @@ -0,0 +1,5 @@ +SPDX-License-Identifier: CC0-1.0 + +Copyright (C) 2022 Wojtek Kosior + +Available under the terms of Creative Commons Zero v1.0 Universal. diff --git a/common-static-assets/normalize.css b/common-static-assets/normalize.css new file mode 100644 index 0000000..e6cebf9 --- /dev/null +++ b/common-static-assets/normalize.css @@ -0,0 +1,375 @@ +/* +SPDX-License-Identifier: LicenseRef-Normalize-CSS-MIT + +# The MIT License (MIT) + +Copyright © Nicolas Gallagher and Jonathan Neal + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + +/* Version 8.0.1, available from https://github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/guix-module-dir/sheets-websites.scm b/guix-module-dir/sheets-websites.scm new file mode 100644 index 0000000..d40cc03 --- /dev/null +++ b/guix-module-dir/sheets-websites.scm @@ -0,0 +1,62 @@ +;; SPDX-License-Identifier: CC0-1.0 + +;; Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +;; +;; Available under the terms of Creative Commons Zero v1.0 Universal. + +(define-module (sheets-websites)) + +(use-modules + (ice-9 rdelim) + (ice-9 regex)) + +(define %source-dir + (let* ((this-file (search-path %load-path "sheets-websites.scm")) + (proj-dir (dirname (dirname this-file)))) + (cond ((equal? proj-dir ".") + (getcwd)) + ((absolute-file-name? proj-dir) + proj-dir) + (#t + (string-append (getcwd) "/" proj-dir))))) + +(use-modules + (guix packages) + (guix build-system copy) + (guix gexp) + ((guix licenses) #:prefix license:)) + +(define-public sheets-websites + (package + (name "sheets-websites") + (version "current") + (source + (local-file %source-dir #:recursive? #t)) + (build-system copy-build-system) + (arguments + `(#:phases + (let ((call-make-on-websites + (lambda (outputs target) + (let ((out (assoc-ref outputs "out"))) + (for-each + (lambda (website) + (invoke "make" target + (string-append "WEBSITE=" website) + (string-append "DEST=" out "/share/" + website "-website"))) + '("pray" "sheets")))))) + (modify-phases %standard-phases + (add-before 'install 'build + (lambda* (#:key outputs #:allow-other-keys) + (call-make-on-websites outputs "all"))) + (add-after 'install 'install-websites + (lambda* (#:key outputs #:allow-other-keys) + (call-make-on-websites outputs "install"))))) + #:install-plan + '())) + (home-page "https://git.koszko.org/sheets-websites/") + (synopsis "Sheets websites files") + (description "This is the packaging of the websites at pray.koszko.org and + sheets.koszko.org.") + (license (list license:cc0 + (license:x11-style "file://LICENSES/LicenseRef-Normalize-CSS-MIT.txt"))))) diff --git a/guix.scm b/guix.scm new file mode 100644 index 0000000..21daea9 --- /dev/null +++ b/guix.scm @@ -0,0 +1,18 @@ +;; SPDX-License-Identifier: CC0-1.0 + +;; Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +;; +;; Available under the terms of Creative Commons Zero v1.0 Universal. + +;; We need the actual websites package to be defined in a module so that the +;; parent repository can more easily use it with `guix system`. Hence, the bulk +;; of Guile code resides in `guix-module-dir/sheets-websites.scm` and this +;; file is just a thin wrapper around that. + +(add-to-load-path (string-append + (dirname (current-filename)) + "/guix-module-dir")) + +(use-modules (sheets-websites)) + +sheets-websites diff --git a/pray/en/inten.pdf b/pray/en/inten.pdf Binary files differnew file mode 100644 index 0000000..106cc9a --- /dev/null +++ b/pray/en/inten.pdf diff --git a/pray/en/sheet_back.png b/pray/en/sheet_back.png Binary files differnew file mode 100644 index 0000000..af20215 --- /dev/null +++ b/pray/en/sheet_back.png diff --git a/pray/en/sheet_front.png b/pray/en/sheet_front.png Binary files differnew file mode 100644 index 0000000..9c69ff8 --- /dev/null +++ b/pray/en/sheet_front.png diff --git a/pray/index.html b/pray/index.html new file mode 100644 index 0000000..a89d371 --- /dev/null +++ b/pray/index.html @@ -0,0 +1,307 @@ +<!DOCTYPE html> +<!-- + SPDX-License-Identifier: CC0-1.0 + + Copyright (C) 2022 Wojtek Kosior + + Available under the terms of Creative Commons Zero v1.0 Universal. + --> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta http-equiv="Content-Security-Policy" content="script-src 'none'"> + <title>🙏</title> + <link rel="stylesheet" href="/static/normalize.css"> + <style> + input { + display: none; + } + + * { + color: #777; + } + + html { + min-height: 100vh; + font-family: sans-serif; + } + + body { + height: 100%; + background-color: #eee; + } + + .header * { + color: #555; + } + + #main { + background-color: white; + } + + .content { + max-width: 850px; + padding: 0px 20px 20px 20px; + margin: 0 auto; + } + + .dummy-div { + height: 1px; + } + + .content>.header, .content>.center { + margin-left: 0px; + } + + .content>* { + margin-left: 20px; + } + + .sheet-img { + box-shadow: 10px 10px 8px #888888; + border: 1px solid #eee; + -webkit-backface-visibility: hidden; + background: white; + margin-bottom: 40px; + max-width: 40vw; + height: auto; + } + + @media screen and (max-width: 320px) { + .sheet-img { + max-width: 37vw; + } + } + .sheet-front { + position: relative; + left: -0px; + transform: rotate(-8deg); + } + + .sheet-back { + position: relative; + left: -20px; + top: 20px; + transform: rotate(15deg); + } + + footer { + border-top: 1px solid #888; + height: 100%; + } + + footer p { + max-width: 850px; + margin-left: auto; + margin-right: auto; + } + + h1 { + text-align: center; + } + + h2 { + padding-top: 10px; + border-top: 1px solid #ccc; + } + + .center { + text-align: center; + } + + aside { + display: inline-block; + padding: 10px; + border-radius: 4px; + background-color: #acf; + text-color: #555; + } + + .lang-switch { + position: fixed; + right: 13px; + top: 70px; + text-align: center; + letter-spacing: -1px; + z-index: 1; + } + + .lang-code { + background: radial-gradient(#ffff 45%, #fff6 60%, #fff0 70%); + } + + label.lang-label { + display: block; + background: #555; + height: 50px; + width: 23px; + padding: 2px; + border: solid 2px #888; + border-radius: 17px; + margin: 2px 0; + } + + .lang-switch-slide { + height: 100%; + width: 100%; + position:relative; + } + + .lang-switch-circle { + background: #66C; + width: 17px; + height: 17px; + border: solid 3px #888; + border-radius: 13px; + transition: top 0.15s ease-out; + } + + #lang:not(:checked)~* .lang-switch-circle { + position: absolute; + top: 0; + } + #lang:checked~* .lang-switch-circle { + position: absolute; + top: 27px; + } + + #lang:not(:checked)~* .bold-pl { + font-weight: bold; + } + #lang:checked~* .bold-en { + font-weight: bold; + } + + #lang:not(:checked)~* .en-only { + display: none; + } + #lang:checked~* .pl-only { + display: none; + } + </style> + </head> + <body> + <input id="lang" type="checkbox"> + <div class="lang-switch"> + <div class="lang-code bold-pl"> + PL + </div> + <label for="lang" class="lang-label"> + <div class="lang-switch-slide"> + <div class="lang-switch-circle"> + </div> + </div> + </label> + <div class="lang-code bold-en"> + EN + </div> + </div> + <div id="main"> + <div class="content"> + <div class="dummy-div"></div> + <div class="header"> + <h1 class="pl-only">Kartki wzajemnej modlitwy</h1> + <h1 class="en-only">Mutual prayer sheets</h1> + </div> + <div class="center"> + <img src="/sheet_front.png" class="sheet-img sheet-front pl-only"></img> + <img src="/en/sheet_front.png" class="sheet-img sheet-front en-only"></img> + <img src="/sheet_back.png" class="sheet-img sheet-back pl-only"></img> + <img src="/en/sheet_back.png" class="sheet-img sheet-back en-only"></img> + </div> + <div> + <p class="pl-only"> + Właśnie trafiłeś/aś na stronę karteczek wzajemnej modlitwy. + To wydrukowane z dostępnego <a href="/inten.pdf">tutaj</a> + pliku pdf karteczki, na których można wpisywać intencje modlitewne. + </p> + <p class="en-only"> + You've reached the website of mutual prayer sheets. + These are sheets printed from <a href="/en/inten.pdf">this</a> pdf + file, they are meant for writing prayer intentions on. + </p> + <p class="pl-only"> + Pomysł z karteczkami opiera się na tym, że osoba, która + znajdzie się w posiadaniu kartki, dopisuje do niej jakąś swoją + intencję. + Następnie, ta osoba (opcjonalnie) stawia znaczek przy jednej lub + kilku wcześniej wpisanych intencjach, za które decyduje się + pomodlić. + Na koniec kartka jest przekazywana kolejnej osobie 🙂 + </p> + <p class="en-only"> + The sheets idea is as follows: whoever comes into possession of a + sheet, adds one intention to it. + Then that person (optionally) chooses one or more intentions to pray + for and adds a tally mark next to each of them. + At the end, the sheet gets passed to another person 🙂 + </p> + <p class="pl-only"> + Każdy, przez kogo „przechodzi” karteczka, jest zachęcony do + wydrukowania i puszczenia w obieg jednej lub dwóch + dodatkowych (dla ułatwienia na szablonie kartki znajdują się dwie + mniejsze, do odcięcia). + W ten sposób karteczki mogą się (w teorii) + rozprzestrzeniać bardzo szybko 😃 + </p> + <p class="en-only"> + Everyone through whom a sheet "passes" is encouraged to print and + give away one or more additional sheets (for convenience, on the + print template there are two smaller sheets that can be cut off). + This way sheets can (in theory) spread very quickly 😃 + </p> + <p class="pl-only"> + Karteczki zostały sporządzone w LaTeX'u, pliki źródłowe można + znaleźć + w <a href="https://git.koszko.org/change-world-sheets/">tym repozytorium gitowym</a>. + </p> + <p class="en-only"> + Sheets have been created in LaTeX, source files can be found in + <a href="https://git.koszko.org/change-world-sheets/">this git repository</a>. + </p> + <p class="pl-only"> + Oprócz karteczek modlitwy istnieją także podobne w zamyśle + karteczki zmieniania świata. + Więcej o nich możesz dowiedzieć się + <a href="https://sheets.koszko.org">tutaj</a>. + </p> + <p class="en-only"> + Besides prayer sheets, there also exist conceptually similar world + changing sheets. + You can learn more about them + <a href="https://sheets.koszko.org/en">here</a>. + </p> + </div> + </div> + </div> + <footer> + <p class="legal-license pl-only" style="white-space: normal; text-align: center;"> + Ta strona wykorzystuje stylowanie + <a href="https://github.com/necolas/normalize.css">Normalize CSS</a> + dostępne na + <a href="/static/normalize-mit-license.txt">licencji w stylu X11</a>. + </p> + <p class="legal-license en-only" style="white-space: normal; text-align: center;"> + This site utilizes + <a href="https://github.com/necolas/normalize.css">Normalize CSS</a> + styling available under + <a href="/static/normalize-mit-license.txt">an X11-style license</a>. + </p> + <p class="legal-license pl-only" style="white-space: normal; text-align: center;"> + Reszta jest autorstwa <a href="https://koszko.org/koszko.html">Wojtka</a>, + dostępna + <a href="https://git.koszko.org/koszko-org-website/">tutaj</a> + na warunkach + <a href="/static/cc0-1.0.txt">CC0</a>. + </p> + <p class="legal-license en-only" style="white-space: normal; text-align: center;"> + The rest is made by <a href="https://koszko.org/koszko.html">Wojtek</a>, + available + <a href="https://git.koszko.org/sheets-websites/">here</a> + under the terms of + <a href="/static/cc0-1.0.txt">CC0</a>. + </p> + </footer> + </body> +</html> diff --git a/pray/inten.pdf b/pray/inten.pdf Binary files differnew file mode 100644 index 0000000..482245e --- /dev/null +++ b/pray/inten.pdf diff --git a/pray/sheet_back.png b/pray/sheet_back.png Binary files differnew file mode 100644 index 0000000..60f76e4 --- /dev/null +++ b/pray/sheet_back.png diff --git a/pray/sheet_front.png b/pray/sheet_front.png Binary files differnew file mode 100644 index 0000000..b3e9b27 --- /dev/null +++ b/pray/sheet_front.png diff --git a/sheets/en/sheet_back.png b/sheets/en/sheet_back.png Binary files differnew file mode 100644 index 0000000..88fd6e6 --- /dev/null +++ b/sheets/en/sheet_back.png diff --git a/sheets/en/sheet_front.png b/sheets/en/sheet_front.png Binary files differnew file mode 100644 index 0000000..2633172 --- /dev/null +++ b/sheets/en/sheet_front.png diff --git a/sheets/en/sheets.pdf b/sheets/en/sheets.pdf Binary files differnew file mode 100644 index 0000000..b921aa4 --- /dev/null +++ b/sheets/en/sheets.pdf diff --git a/sheets/index.html b/sheets/index.html new file mode 100644 index 0000000..51101a0 --- /dev/null +++ b/sheets/index.html @@ -0,0 +1,295 @@ +<!DOCTYPE html> +<!-- + SPDX-License-Identifier: CC0-1.0 + + Copyright (C) 2022 Wojtek Kosior + + Available under the terms of Creative Commons Zero v1.0 Universal. + --> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta http-equiv="Content-Security-Policy" content="script-src 'none'"> + <title>🗺</title> + <link rel="stylesheet" href="/static/normalize.css"> + <style> + input { + display: none; + } + + * { + color: #777; + } + + html { + min-height: 100vh; + font-family: sans-serif; + } + + body { + height: 100%; + background-color: #eee; + } + + .header * { + color: #555; + } + + #main { + background-color: white; + } + + .content { + max-width: 850px; + padding: 0px 20px 20px 20px; + margin: 0 auto; + } + + .dummy-div { + height: 1px; + } + + .content>.header, .content>.center { + margin-left: 0px; + } + + .content>* { + margin-left: 20px; + } + + .sheet-img { + box-shadow: 10px 10px 8px #888888; + border: 1px solid #eee; + -webkit-backface-visibility: hidden; + background: white; + margin-bottom: 40px; + max-width: 40vw; + height: auto; + } + + @media screen and (max-width: 320px) { + .sheet-img { + max-width: 37vw; + } + } + .sheet-front { + position: relative; + left: -0px; + transform: rotate(-8deg); + } + + .sheet-back { + position: relative; + left: -20px; + top: 20px; + transform: rotate(15deg); + } + + footer { + border-top: 1px solid #888; + height: 100%; + } + + footer p { + max-width: 850px; + margin-left: auto; + margin-right: auto; + } + + h1 { + text-align: center; + } + + h2 { + padding-top: 10px; + border-top: 1px solid #ccc; + } + + .center { + text-align: center; + } + + aside { + display: inline-block; + padding: 10px; + border-radius: 4px; + background-color: #acf; + text-color: #555; + } + + .lang-switch { + position: fixed; + right: 13px; + top: 70px; + text-align: center; + letter-spacing: -1px; + z-index: 1; + } + + .lang-code { + background: radial-gradient(#ffff 45%, #fff6 60%, #fff0 70%); + } + + label.lang-label { + display: block; + background: #555; + height: 50px; + width: 23px; + padding: 2px; + border: solid 2px #888; + border-radius: 17px; + margin: 2px 0; + } + + .lang-switch-slide { + height: 100%; + width: 100%; + position:relative; + } + + .lang-switch-circle { + background: #66C; + width: 17px; + height: 17px; + border: solid 3px #888; + border-radius: 13px; + transition: top 0.15s ease-out; + } + + #lang:not(:checked)~* .lang-switch-circle { + position: absolute; + top: 0; + } + #lang:checked~* .lang-switch-circle { + position: absolute; + top: 27px; + } + + #lang:not(:checked)~* .bold-pl { + font-weight: bold; + } + #lang:checked~* .bold-en { + font-weight: bold; + } + + #lang:not(:checked)~* .en-only { + display: none; + } + #lang:checked~* .pl-only { + display: none; + } + </style> + </head> + <body> + <input id="lang" type="checkbox"> + <div class="lang-switch"> + <div class="lang-code bold-pl"> + PL + </div> + <label for="lang" class="lang-label"> + <div class="lang-switch-slide"> + <div class="lang-switch-circle"> + </div> + </div> + </label> + <div class="lang-code bold-en"> + EN + </div> + </div> + <div id="main"> + <div class="content"> + <div class="dummy-div"></div> + <div class="header"> + <h1 class="pl-only">Kartki zmieniania świata</h1> + <h1 class="en-only">World changing sheets</h1> + </div> + <div class="center"> + <img src="/sheet_front.png" class="sheet-img sheet-front pl-only"></img> + <img src="/en/sheet_front.png" class="sheet-img sheet-front en-only"></img> + <img src="/sheet_back.png" class="sheet-img sheet-back pl-only"></img> + <img src="/en/sheet_back.png" class="sheet-img sheet-back en-only"></img> + </div> + <div> + <p class="pl-only"> + Właśnie trafiłeś/aś na stronę karteczek zmieniania świata. + To wydrukowane z dostępnego <a href="/sheets.pdf">tutaj</a> + pliku pdf karteczki, na których można wpisywać pomysły na zmienianie + świata. + </p> + <p class="en-only"> + You've reached the website of world changing sheets. + These are sheets printed from <a href="/en/sheets.pdf">this</a> pdf + file, they are meant for writing ideas for changing the world. + </p> + <p class="pl-only"> + Pomysł z karteczkami opiera się na tym, że osoba, która + znajdzie się w posiadaniu kartki, dopisuje do niej jakieś swoje + wezwanie do zmieniania świata, np. „Segregujmy śmieci!”. + Następnie, ta osoba (opcjonalnie) stawia znaczek przy jednym lub + kilku wcześniej wpisanych wezwaniach, które decyduje się zacząć + realizować na co dzień. + Na koniec kartka jest przekazywana kolejnej osobie 🙂 + </p> + <p class="en-only"> + The sheets idea is as follows: whoever comes into possession of + a sheet, adds one call for changing the world to it. + Then that person (optionally) chooses one or more calls to start + realizing on daily basis and adds a tally mark next to each of them. + At the end, the sheet gets passed to another person 🙂 + </p> + <p class="pl-only"> + Każdy, przez kogo „przechodzi” karteczka, jest zachęcony do + wydrukowania i puszczenia w obieg jednej lub dwóch + dodatkowych (dla ułatwienia na szablonie kartki znajdują się dwie + mniejsze, do odcięcia). + W ten sposób karteczki mogą się (w teorii) + rozprzestrzeniać bardzo szybko 😃 + </p> + <p class="en-only"> + Everyone through whom a sheet "passes" is encouraged to print and + give away one or more additional sheets (for convenience on the + print template there are two smaller sheets that can be cut off). + This way sheets can (in theory) spread very quickly 😃 + </p> + <p class="pl-only"> + Karteczki zostały sporządzone w LaTeX'u, pliki źródłowe można + znaleźć + w <a href="https://git.koszko.org/change-world-sheets/">tym repozytorium gitowym</a>. + </p> + <p class="en-only"> + Sheets have been created in LaTeX, source files can be found in <a href="https://git.koszko.org/change-world-sheets/">this git repository</a>. + </p> + </div> + </div> + </div> + <footer> + <p class="legal-license pl-only" style="white-space: normal; text-align: center;"> + Ta strona wykorzystuje stylowanie + <a href="https://github.com/necolas/normalize.css">Normalize CSS</a> + dostępne na + <a href="/static/normalize-mit-license.txt">licencji w stylu X11</a>. + </p> + <p class="legal-license en-only" style="white-space: normal; text-align: center;"> + This site utilizes + <a href="https://github.com/necolas/normalize.css">Normalize CSS</a> + styling available under + <a href="/static/normalize-mit-license.txt">an X11-style license</a>. + </p> + <p class="legal-license pl-only" style="white-space: normal; text-align: center;"> + Reszta jest autorstwa <a href="https://koszko.org/koszko.html">Wojtka</a>, + dostępna + <a href="https://git.koszko.org/koszko-org-website/">tutaj</a> + na warunkach + <a href="/static/cc0-1.0.txt">CC0</a>. + </p> + <p class="legal-license en-only" style="white-space: normal; text-align: center;"> + The rest is made by <a href="https://koszko.org/koszko.html">Wojtek</a>, + available + <a href="https://git.koszko.org/sheets-websites/">here</a> + under the terms of + <a href="/static/cc0-1.0.txt">CC0</a>. + </p> + </footer> + </body> +</html> diff --git a/sheets/sheet_back.png b/sheets/sheet_back.png Binary files differnew file mode 100644 index 0000000..8316593 --- /dev/null +++ b/sheets/sheet_back.png diff --git a/sheets/sheet_front.png b/sheets/sheet_front.png Binary files differnew file mode 100644 index 0000000..ec28c4f --- /dev/null +++ b/sheets/sheet_front.png diff --git a/sheets/sheets.pdf b/sheets/sheets.pdf Binary files differnew file mode 100644 index 0000000..d397578 --- /dev/null +++ b/sheets/sheets.pdf diff --git a/sheets/sheets_freesw.pdf b/sheets/sheets_freesw.pdf Binary files differnew file mode 100644 index 0000000..b13075d --- /dev/null +++ b/sheets/sheets_freesw.pdf |