From 3ea830d0a998cb57f576d0dc6fc6904f5c7be115 Mon Sep 17 00:00:00 2001 From: ryliejamesthomas Date: Fri, 9 Feb 2024 05:06:40 +1100 Subject: [PATCH] Initial commit --- LICENCE | 24 +++++++ README.textile | 5 ++ forms/article/post_info.txp | 40 ++++++++++++ forms/article/post_list.txp | 3 + forms/article/post_page.txp | 1 + manifest.json | 8 +++ pages/default.txp | 34 ++++++++++ pages/error_default.txp | 22 +++++++ pages/page.txp | 20 ++++++ resources/favicon.png | Bin 0 -> 153 bytes resources/icon_yt.png | Bin 0 -> 208 bytes styles/default.css | 121 ++++++++++++++++++++++++++++++++++++ 12 files changed, 278 insertions(+) create mode 100644 LICENCE create mode 100644 README.textile create mode 100755 forms/article/post_info.txp create mode 100755 forms/article/post_list.txp create mode 100755 forms/article/post_page.txp create mode 100644 manifest.json create mode 100755 pages/default.txp create mode 100755 pages/error_default.txp create mode 100755 pages/page.txp create mode 100644 resources/favicon.png create mode 100644 resources/icon_yt.png create mode 100644 styles/default.css diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..cf1ab25 --- /dev/null +++ b/LICENCE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to diff --git a/README.textile b/README.textile new file mode 100644 index 0000000..b9a0d9c --- /dev/null +++ b/README.textile @@ -0,0 +1,5 @@ +h1. textpattern-theme-jpoplandscapes +A simple Texpattern theme for showing images and related +information, partially inspired by Japanese web design. + +Made for https://jpoplandscapes.ryliejamesthomas.net/ diff --git a/forms/article/post_info.txp b/forms/article/post_info.txp new file mode 100755 index 0000000..03babf5 --- /dev/null +++ b/forms/article/post_info.txp @@ -0,0 +1,40 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
🛈Detail
Source + + " target="_blank"> + + + ~" target="_blank"> + +
Artist
Song
Album
+
diff --git a/forms/article/post_list.txp b/forms/article/post_list.txp new file mode 100755 index 0000000..ccd1374 --- /dev/null +++ b/forms/article/post_list.txp @@ -0,0 +1,3 @@ +
+ +
diff --git a/forms/article/post_page.txp b/forms/article/post_page.txp new file mode 100755 index 0000000..292f2ac --- /dev/null +++ b/forms/article/post_page.txp @@ -0,0 +1 @@ + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e0a6907 --- /dev/null +++ b/manifest.json @@ -0,0 +1,8 @@ +{ + "title":"J-POP LANDSCAPES", + "version":"1.0", + "description":"A simple theme for showing images and related information, partially inspired by Japanese web design.", + "author":"Rylie James Thomas", + "author_uri":"https://www.ryliejamesthomas.net/", + "txp-type":"textpattern-theme" +} diff --git a/pages/default.txp b/pages/default.txp new file mode 100755 index 0000000..ec75aed --- /dev/null +++ b/pages/default.txp @@ -0,0 +1,34 @@ + + + + + <txp:page_title /> + /styles/default.css"> + + + + + + +
+

+
+
+ + + + +
+ + + diff --git a/pages/error_default.txp b/pages/error_default.txp new file mode 100755 index 0000000..a4357f4 --- /dev/null +++ b/pages/error_default.txp @@ -0,0 +1,22 @@ + + + + + <txp:page_title /> + /styles/default.css"> + + + + + + + +
+

+
+
+

+

+
+ + diff --git a/pages/page.txp b/pages/page.txp new file mode 100755 index 0000000..d9a1428 --- /dev/null +++ b/pages/page.txp @@ -0,0 +1,20 @@ + + + + + <txp:page_title /> + /styles/default.css"> + + + + + + +
+

+
+
+ +
+ + diff --git a/resources/favicon.png b/resources/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..05269f5aa71e59650b5f24f5aa6efa77f1482463 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~p#Yx{*T8va zGZr1{U%G43$|ajtE#0|hR_Wj6Hb7ZZPZ!4!iOb0euFO0)SR!TsL1Y6@S_gwLvy4GA wYlMWv%mqz80lEr%b+}rLo7}oofOO4YQWQKKTSJ< zZ$^vP3|1KhLG~C<4-LL&3EvsrJQ8@tp!E{Dsof zQmdA$$|tOv@1dZ&y4A{Ib*A*0YkxW?WCe*$`!Q=u{8ss@{dtP2>rci5oyg$n>gTe~ HDWM4fY^+c` literal 0 HcmV?d00001 diff --git a/styles/default.css b/styles/default.css new file mode 100644 index 0000000..ccd943d --- /dev/null +++ b/styles/default.css @@ -0,0 +1,121 @@ +@charset "UTF-8"; +:root { + --border-colour:#FFE5B4; + --cell-colour:lightyellow; + background-color:#FFDFDD; + text-align:center; +} + +A { + text-underline-offset:0.3em; +} + +A[href^="https://www.youtube.com/watch?v="]::before { + content:url(../resources/icon_yt.png); + vertical-align:middle; +} + +CITE { + font-style:normal; +} + +EM { + font-style:normal; +} + +EM::after { + content:"」"; +} + +EM::before { + content:"「"; +} + +FIGURE { + align-items:center; + border:4px var(--border-colour) ridge; + margin:4em auto 6em; + width:480px; +} + +FIGURE > IMG, +FIGURE > VIDEO, +FIGCAPTION > TABLE { + width:100%; + height:auto; +} + +FOOTER { + margin-top:6em; +} + +FOOTER, +H1, +H2, +LI, +NAV>A, +TH, +TR.artist > TD, +TR.detail > TD, +TR.song > TD { + text-transform:full-width; +} + +H1 > A, +H2 { + color:#E77471; + font-weight:normal; + text-decoration:none; +} + +IMG { + display:block +} + +IMG, +TD, +TH, +VIDEO { + background-color:var(--cell-colour); + border:2px var(--border-colour) outset; + box-sizing:border-box; +} + +MAIN#page { + width:500px; + margin:4em auto 6em; +} + +MAIN#page UL { + list-style-type:none; + text-align: left; + padding:0; +} + +MAIN#page LI::before { + content:"*"; +} + +MAIN#page LI { + padding:1em 0; +} + +TABLE { + border-spacing:0; +} + +TD { + width:70%; + background-color:white; +} + +TH { + vertical-align:top; +} + +TH.icon { + vertical-align:middle; + color:grey; + font-weight:normal; + background-color:var(--border-colour); +}