From d6813c0d28660bb9cebbd98cc9836f188b3979bd Mon Sep 17 00:00:00 2001 From: ryliejamesthomas Date: Fri, 9 Feb 2024 03:33:27 +1100 Subject: [PATCH] initial upload, v1.1 --- LICENSE => LICENCE | 0 README.md | 2 - README.textile | 37 +++++++ forms/article/article_listing.txp | 8 ++ forms/article/default.txp | 75 +++++++++++++ forms/article/search_results.txp | 33 ++++++ forms/article/tag_listing.txp | 4 + forms/file/files.txp | 69 ++++++++++++ forms/link/plainlinks.txp | 2 + forms/misc/article_breaktime.txp | 1 + forms/misc/body_footer.txp | 3 + forms/misc/body_header.txp | 2 + forms/misc/media_audio_bandcamp.txp | 4 + forms/misc/media_audio_file.txp | 10 ++ forms/misc/media_audio_soundcloud.txp | 4 + forms/misc/media_video_file.txp | 6 + forms/misc/media_video_youtube.txp | 4 + forms/misc/search_display.txp | 42 +++++++ forms/misc/search_input.txp | 7 ++ forms/misc/text_nobreak.txp | 1 + manifest.json | 8 ++ pages/default.txp | 33 ++++++ pages/error_default.txp | 22 ++++ pages/tag.txp | 33 ++++++ resources/favicon.png | Bin 0 -> 153 bytes styles/default.css | 151 ++++++++++++++++++++++++++ 26 files changed, 559 insertions(+), 2 deletions(-) rename LICENSE => LICENCE (100%) delete mode 100644 README.md create mode 100644 README.textile create mode 100755 forms/article/article_listing.txp create mode 100755 forms/article/default.txp create mode 100755 forms/article/search_results.txp create mode 100755 forms/article/tag_listing.txp create mode 100755 forms/file/files.txp create mode 100755 forms/link/plainlinks.txp create mode 100644 forms/misc/article_breaktime.txp create mode 100755 forms/misc/body_footer.txp create mode 100755 forms/misc/body_header.txp create mode 100644 forms/misc/media_audio_bandcamp.txp create mode 100644 forms/misc/media_audio_file.txp create mode 100644 forms/misc/media_audio_soundcloud.txp create mode 100644 forms/misc/media_video_file.txp create mode 100644 forms/misc/media_video_youtube.txp create mode 100755 forms/misc/search_display.txp create mode 100755 forms/misc/search_input.txp create mode 100644 forms/misc/text_nobreak.txp create mode 100644 manifest.json create mode 100755 pages/default.txp create mode 100755 pages/error_default.txp create mode 100644 pages/tag.txp create mode 100644 resources/favicon.png create mode 100644 styles/default.css diff --git a/LICENSE b/LICENCE similarity index 100% rename from LICENSE rename to LICENCE diff --git a/README.md b/README.md deleted file mode 100644 index 2512e8a..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# textpattern-theme-musuc -A simple theme, focused on presenting videos and brief notes. diff --git a/README.textile b/README.textile new file mode 100644 index 0000000..73186b7 --- /dev/null +++ b/README.textile @@ -0,0 +1,37 @@ +h1. textpattern-theme-musuc +A simple theme, focused on presenting videos with brief notes. + +It's based on a theme I made for an extinct Tumblr blog, which was based on ???? + +I don't give a fuck about schema.org whatever, so I've stripped that stuff out. Google and DIVs and Js gone too. + +h2. Installation + +h2. Usage + +h2. File Explainer + +forms/ + article/ + article_listing.txp ......... + comment/ + file/ + link/ + misc/ + article_breaktime.txp + body_footer.txp ............. Header section, with blog name and subtitle + body_header.txp ............. Foor section, with link to colophon + media_audio_bandcamp.txp .... For Bandcamp embeds + media_audio_file.txp ........ For audio file embeds (can include image) + media_audio_soundcloud.txp .. For Sound embeds + media_video_youtube.txp ..... For Youtube embeds + text_nobreak.txp ............ For stopping text breaking when unwanted +pages/ + default.txp ..................... Layout used for all pages. + error_default.txp ............... Error page, for 404s, etc. +styles/ + default.css ..................... Theme's stylesheet +LICENCE ............................. Licence (Unlicence) +manifest.json ....................... Theme metadata +README.textile ...................... This file + diff --git a/forms/article/article_listing.txp b/forms/article/article_listing.txp new file mode 100755 index 0000000..3fefeba --- /dev/null +++ b/forms/article/article_listing.txp @@ -0,0 +1,8 @@ +
+ +
+ + + +
+
diff --git a/forms/article/default.txp b/forms/article/default.txp new file mode 100755 index 0000000..6dae3f2 --- /dev/null +++ b/forms/article/default.txp @@ -0,0 +1,75 @@ +
+ +

+ + + " /> + + + +
+ + + + " itemprop="discussionUrl"> + + + + + + + +
+ + + + " itemprop="discussionUrl"> + + + 0 + + +
+
+

+ + + + + +

+ + + + +
+ + + + + + + , + + + + + + + + +
+

+ + + + + + +
diff --git a/forms/article/search_results.txp b/forms/article/search_results.txp new file mode 100755 index 0000000..78423b7 --- /dev/null +++ b/forms/article/search_results.txp @@ -0,0 +1,33 @@ +
  • +

    + "> + + +

    + + + +
    + +
    + +

    + +

    +
    + +

    + + + " /> + · + + +

    +
  • diff --git a/forms/article/tag_listing.txp b/forms/article/tag_listing.txp new file mode 100755 index 0000000..c2affd0 --- /dev/null +++ b/forms/article/tag_listing.txp @@ -0,0 +1,4 @@ +
    + +
    + diff --git a/forms/file/files.txp b/forms/file/files.txp new file mode 100755 index 0000000..95e39c3 --- /dev/null +++ b/forms/file/files.txp @@ -0,0 +1,69 @@ +
    + + + + + + + + + + + + + + +
    + +
    +
    + +
    + + + + + + + + + + · + + + + + + + · + + + + + + + · + + + + + · + + + + + + + + + + +
    + +
    diff --git a/forms/link/plainlinks.txp b/forms/link/plainlinks.txp new file mode 100755 index 0000000..05d90ec --- /dev/null +++ b/forms/link/plainlinks.txp @@ -0,0 +1,2 @@ + + diff --git a/forms/misc/article_breaktime.txp b/forms/misc/article_breaktime.txp new file mode 100644 index 0000000..dff5c7c --- /dev/null +++ b/forms/misc/article_breaktime.txp @@ -0,0 +1 @@ +

    diff --git a/forms/misc/body_footer.txp b/forms/misc/body_footer.txp new file mode 100755 index 0000000..9a5851b --- /dev/null +++ b/forms/misc/body_footer.txp @@ -0,0 +1,3 @@ + diff --git a/forms/misc/body_header.txp b/forms/misc/body_header.txp new file mode 100755 index 0000000..816ff3a --- /dev/null +++ b/forms/misc/body_header.txp @@ -0,0 +1,2 @@ +

    +

    diff --git a/forms/misc/media_audio_bandcamp.txp b/forms/misc/media_audio_bandcamp.txp new file mode 100644 index 0000000..48236ef --- /dev/null +++ b/forms/misc/media_audio_bandcamp.txp @@ -0,0 +1,4 @@ +
    + +
    +
    diff --git a/forms/misc/media_audio_file.txp b/forms/misc/media_audio_file.txp new file mode 100644 index 0000000..21ce5e1 --- /dev/null +++ b/forms/misc/media_audio_file.txp @@ -0,0 +1,10 @@ +
    + + <txp:yield name=" src="https://files.ryliejamesthomas.net/media/images/music//.jpg"> + + +
    +
    diff --git a/forms/misc/media_audio_soundcloud.txp b/forms/misc/media_audio_soundcloud.txp new file mode 100644 index 0000000..4299ae8 --- /dev/null +++ b/forms/misc/media_audio_soundcloud.txp @@ -0,0 +1,4 @@ +
    + +
    +
    diff --git a/forms/misc/media_video_file.txp b/forms/misc/media_video_file.txp new file mode 100644 index 0000000..d58d48b --- /dev/null +++ b/forms/misc/media_video_file.txp @@ -0,0 +1,6 @@ +
    + +
    +
    diff --git a/forms/misc/media_video_youtube.txp b/forms/misc/media_video_youtube.txp new file mode 100644 index 0000000..2ddf5c7 --- /dev/null +++ b/forms/misc/media_video_youtube.txp @@ -0,0 +1,4 @@ +
    + +
    +
    diff --git a/forms/misc/search_display.txp b/forms/misc/search_display.txp new file mode 100755 index 0000000..e7b5ced --- /dev/null +++ b/forms/misc/search_display.txp @@ -0,0 +1,42 @@ +

    + + + + + +

    + + + +

    + +

    + + +

    +
    + + + +

    + +

    + +
    + + + + + + + + diff --git a/forms/misc/search_input.txp b/forms/misc/search_input.txp new file mode 100755 index 0000000..1fe7d11 --- /dev/null +++ b/forms/misc/search_input.txp @@ -0,0 +1,7 @@ + diff --git a/forms/misc/text_nobreak.txp b/forms/misc/text_nobreak.txp new file mode 100644 index 0000000..c06149b --- /dev/null +++ b/forms/misc/text_nobreak.txp @@ -0,0 +1 @@ + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..0fcbb67 --- /dev/null +++ b/manifest.json @@ -0,0 +1,8 @@ +{ + "title":"m~u~s~u~c", + "version":"1.1", + "description":"A simple theme, focused on presenting media embeds with brief notes and tags.", + "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..94de3f4 --- /dev/null +++ b/pages/default.txp @@ -0,0 +1,33 @@ + + + + + <txp:page_title /> + /styles/default.css"> + + + + + + +
    + +
    +
    + + + + +
    +
    + +
    + + diff --git a/pages/error_default.txp b/pages/error_default.txp new file mode 100755 index 0000000..1f20372 --- /dev/null +++ b/pages/error_default.txp @@ -0,0 +1,22 @@ + + + + + <txp:error_status /> + /styles/default.css"> + + + +
    +

    +

    +
    +
    +

    +

    +
    +
    + +
    + + diff --git a/pages/tag.txp b/pages/tag.txp new file mode 100644 index 0000000..9ef02ad --- /dev/null +++ b/pages/tag.txp @@ -0,0 +1,33 @@ + + + + + <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 footer, +article > h2, +article > p, +article> ul { margin:1em } + +article > h2 { padding-top:1em } + +article > footer { + text-align:left; + margin-top:2em +} + +article > footer > ul.smd_tag_list { + list-style-type:none; + padding-left:0 +} + +article > footer > ul.smd_tag_list > li { + display:inline; + font-size:smaller +} + +article > footer > ul.smd_tag_list > li:first-child::before { content:'#' } + +article > footer > ul.smd_tag_list > li > span.smd_tag_count { + color:gray; + font-size:small; + font-variant-caps:small-caps; +} + +article > p.breaktime { + font-style:italic; + padding-top: 3em; + text-align:center +} + +cite { font-style:italic } + +figure { margin:0 } + +figure > audio, +figure > img, +figure > video { width:30em } + +figure > figcaption { margin:0.5em 1em 2em 1em } + +figure > figcaption > cite { font-style:italic } + +figure > figcaption > span.artist {} + +figure > figcaption > span.title-artist-separator::after { content:" ~ " } + +figure > iframe.embed-bandcamp { + border:none; + height:30em; + width:30em +} + +figure > iframe.embed-youtube { + border:none; + height:16.87em; + width:30em +} + +figure > img { vertical-align:text-bottom } + +footer { + margin-top:3em; + text-align:center +} + +footer > ul { + list-style-type:none; + padding:0 +} + +footer > ul > li { display:inline } + +footer a { color:#519ecd } + +h1 { + font-size:3.7em; + margin:0 +} + +header { + color:#519ecd; + margin-bottom:2em; + text-align:center +} + +header > p { margin:0 } + +header a { + color:#519ecd; + text-decoration:none +} + +header a:hover { + text-decoration:underline dashed; + text-decoration-thickness:1px +} + +main > ol, +main > li /* catch for single-post pages I should fix peoperly in the template */ { + list-style-type:none; + margin:0; + padding:0 +} + +nav { text-align:center } + +nav a { + color:black; + margin:0 2em +} + +span.no-break { white-space:nowrap }