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 0000000..05269f5 Binary files /dev/null and b/resources/favicon.png differ diff --git a/styles/default.css b/styles/default.css new file mode 100644 index 0000000..ae1980c --- /dev/null +++ b/styles/default.css @@ -0,0 +1,151 @@ +/* TODO + hr + q + rounded corners a bit smaller? +*/ + +a:hover, +a:focus { + text-decoration-style:dashed +} + +a[href^="https://wiki.ryliejamesthomas"] { + color: #008800; +} + +body { + background-color:#b9ac9a; + font-family:sans-serif; + font-size:1.2em; + /* centre */ + margin-left:auto; + margin-right:auto; + width:30em +} + +article { + background-color:#ffffff; + border-radius:0 0 0.3em 0.3em; + box-shadow:0px 3px 2px rgba(0,0,0,0.3); + margin-bottom:2em; + padding-bottom:1em +} + +article > 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 }