+ ‘themes/yoshi/LICENSE’

+ ‘themes/yoshi/README.md’
+ ‘themes/yoshi/screenshot.png’
+ ‘themes/yoshi/static/css/main.css’
+ ‘themes/yoshi/static/css/pygment.css’
+ ‘themes/yoshi/static/css/tachyons.min.css’
+ ‘themes/yoshi/static/js/jquery-3.5.0.min.js’
+ ‘themes/yoshi/templates/analytics.html’
+ ‘themes/yoshi/templates/archives.html’
+ ‘themes/yoshi/templates/article.html’
+ ‘themes/yoshi/templates/author.html’
+ ‘themes/yoshi/templates/authors.html’
+ ‘themes/yoshi/templates/base.html’
+ ‘themes/yoshi/templates/categories.html’
+ ‘themes/yoshi/templates/category.html’
+ ‘themes/yoshi/templates/comments.html’
+ ‘themes/yoshi/templates/disqus_script.html’
+ ‘themes/yoshi/templates/github.html’
+ ‘themes/yoshi/templates/index.html’
+ ‘themes/yoshi/templates/page.html’
+ ‘themes/yoshi/templates/pagination.html’
+ ‘themes/yoshi/templates/piwik.html’
+ ‘themes/yoshi/templates/tag.html’
+ ‘themes/yoshi/templates/taglist.html’
+ ‘themes/yoshi/templates/tags.html’
+ ‘themes/yoshi/templates/translations.html’
+ ‘themes/yoshi/templates/twitter.html’
This commit is contained in:
Dooho Yi 2020-05-23 01:23:26 +09:00
parent bca708a505
commit d8b0e204ec
27 changed files with 446 additions and 0 deletions

13
themes/yoshi/LICENSE Normal file
View file

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

18
themes/yoshi/README.md Normal file
View file

@ -0,0 +1,18 @@
Monospace
==========
Theme adapted from [Monospace for Wordpress](http://wordpress.org/themes/monospace)
Here is a screenshot for your viewing pleasure:
![screengrab](screenshot.png)
If you are using Markdown, you need to include the following option in your settings file to enable syntax highlighting.
MD_EXTENSIONS = ['codehilite(css_class=codehilite code)']
Also, you might want to include the `DESCRIPTION` option (it appears in the left sidebar):
DESCRIPTION = 'My blog and stuff ...'
Nice and simple,
Enjoy!

BIN
themes/yoshi/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View file

@ -0,0 +1,107 @@
/**
* Theme Name: Monospace
* Theme URI: http://vinicius.soylocoporti.org.br/monospace-wordpress-theme
* Description: A clean, extra-light, easy, objective, image free and 80 columns monospaced content theme. Made for code, manuals and e-mail publishing. Good for programming blogs, planets and posting by mail.
* Author: Vinicius Massuchetto
* Author URI: http://vinicius.soylocoporti.org.br
* Version: 1.91
* Tags: white, blue, two-columns, fixed-width, threaded-comments, translation-ready
* License: GNU General Public License v2.0
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("pygment.css");
body { margin:0px; padding:20px 0px; text-align:center; font-family:Monospace; color:#585858; }
a, a:visited { text-decoration:none; color:rgb(17, 170, 34); }
a:hover { color:#FFF; background-color:#5353CB }
h1, h2, h3, h4, h5, h6, h7 { margin:0px; text-transform:uppercase; }
h4, h5, h6 { font-size:14px; }
h1 { padding:0px 0px 15px; margin:0px 0px 15px 0px; }
blockquote { font-style:italic; background:#EAEAEA; margin:20px; padding:5px 10px; }
blockquote cite { display:block; padding:10px 20px 0 0; text-align:right; }
input, textarea { padding:5px; border:1px solid #8A8A8A; background:#EAEAEA; }
input:hover, textarea:hover, blockquote:hover { background:#E5E5E5; }
#wrap { margin:0px auto; text-align:left; font-size: 13px; line-height: 1.4; }
#container { float:right; }
#sidebar { overflow:hidden; clear:left; text-align:right; width:250px; height:auto; padding:0px 15px 0px 0px; border-right:1px dotted #C8C8C8; }
#sidebar li { list-style-type:none; }
#sidebar > li { margin:20px 0px; }
#sidebar h1 { border-bottom:1px dotted #C8C8C8; }
#sidebar .description { display:block; width:100%; height:auto; margin:0px 0px 10px 0px; }
ul.sub-menu, ul.children { margin:0px 10px 0px 0px; }
.post { margin:0px 0px 30px 0px; padding:0px 0px 30px 0px; border-bottom:1px dotted #C8C8C8; }
.post-edit-link { clear:both; }
.meta { margin:10px; padding:15px; background:#EAEAEA; clear:both; }
.meta span { display:block; clear:left; }
.thumbnail { margin:0px; padding:0px; }
.thumbnail img { float:right; }
.entry { font-size: 14px; line-height: 20px; }
.entry h2, h3, h4, h5 { margin:30px 0px 10px 0px; }
.entry img { display:block; border:1px solid #BDBDBD !important; }
.entry img.wp-smiley { border:0px !important; }
.entry a img:hover { background-color:transparent; border:1px solid #E5E5E5 !important; }
.entry .aligncenter, div.aligncenter { margin:10px auto; }
.entry .alignleft { float: left; margin:10px 15px 10px 0px; }
.entry .alignright { float: right; margin:10px 0px 10px 15px; }
.entry .alignnone { margin:10px 0px; }
.entry .gallery, .wp-caption { text-align:center; background:#EAEAEA; margin:10px; padding:10px; border:0px; max-width:520px; height:auto; }
.entry .wp-caption img { border:0 none; margin:0px auto; padding:0; max-width:500px; height:auto; }
.entry .gallery:hover, .wp-caption:hover { background:#E5E5E5; }
.entry .gallery-caption, .wp-caption-text { background:transparent; }
.entry .wp-caption p.wp-caption-text { font-size:11px; line-height:17px; margin:5px 50px 0px; }
.entry .gallery-icon { width:100%; height:auto; }
.entry .gallery-icon img { margin:0px auto; }
.entry .gallery-caption { margin:5px 10px 0px 0px; padding:0px; }
.entry p.attachment img { margin:0px auto; }
.sticky { border-bottom:3px dotted #C8C8C8; }
.wp_syntax { padding:5px 0px; }
.wp_syntax pre { line-height:1.3; }
.wp_syntax pre.php { line-height:1; }
.widget_recent_entries ul li,
.widget_recent_comments ul li,
.widget_rss ul li { margin:10px 0px; padding:10px 0px; border-top:1px dotted #C8C8C8; }
.related { margin:20px 0px 0px 0px; }
.nav { margin:30px 0px; text-align:center; }
#comments { border-top:1px dotted #C8C8C8; margin:30px 0px 0px 0px; padding:30px 0px 0px 0px; }
.commentlist li { list-style-type:none; padding:10px; margin:20px 0px 0px 0px; }
.commentlist li.even { background:#EAEAEA; }
.commentlist li.odd { background:#D6D6D6; }
.comment-author img { float:left; margin:0px 10px 10px 0px; }
ul.commentlist ul.children { padding-left:10px; }
ul.commentlist ul.children li { list-style-type:none; border:1px solid #AAA }
.form-section { margin:10px 0px; text-align:right; }
.form-section div { display:inline; }
.bypostauthor { border:3px dotted #C8C8C8; }
.form-allowed-tags { display:none; }
#respond { margin:30px 0px 0px 0px; background:#FFF; border:1px solid #9A9A9A; margin:30px 0 0; padding:20px; }
#commentform p { text-align:right; }
#commentform input { width:50%; height:auto; margin:0px 0px 0px 10px; }
#commentform .required { font-weight:bold; }
#commentform textarea { width:95%; height:auto; margin:10px 0px 0px 0px; }
#commentform .comment-form-comment { margin-bottom:5px; text-align:right; }
#commentform .form-allowed-tags { color:#8A8A8A; margin-top:0px; font-size:10px; }
input#submit { font-weight:bold; }
input#s { width:70%; height:auto; margin:5px 0px; }
#footer { text-align:center; clear:both; }
#footer div { margin:30px 0px 0px 0px; padding:30px 0px 0px 0px; border-top:1px dotted #C8C8C8; }
#footer li { list-style-type:none; }
#footer .widget_tag_cloud h2 { display:none; }
/* LWM EDITS */
#page-title{
position : relative;
top : 8px;
}

View file

@ -0,0 +1,2 @@
.highlight code,.highlight pre{color:#fdce93;background-color:#3f3f3f;padding:10px;}.highlight .hll{background-color:#222}.highlight .c{color:#7f9f7f}.highlight .err{color:#e37170;background-color:#3d3535}.highlight .g{color:#7f9f7f}.highlight .k{color:#f0dfaf}.highlight .l{color:#ccc}.highlight .n{color:#dcdccc}.highlight .o{color:#f0efd0}.highlight .x{color:#ccc}.highlight .p{color:#41706f}.highlight .cm{color:#7f9f7f}.highlight .cp{color:#7f9f7f}.highlight .c1{color:#7f9f7f}.highlight .cs{color:#cd0000;font-weight:bold}.highlight .gd{color:#cd0000}.highlight .ge{color:#ccc;font-style:italic}.highlight .gr{color:red}.highlight .gh{color:#dcdccc;font-weight:bold}.highlight .gi{color:#00cd00}.highlight .go{color:gray}.highlight .gp{color:#dcdccc;font-weight:bold}.highlight .gs{color:#ccc;font-weight:bold}.highlight .gu{color:purple;font-weight:bold}.highlight .gt{color:#0040D0}.highlight .kc{color:#dca3a3}.highlight .kd{color:#ffff86}.highlight .kn{color:#dfaf8f;font-weight:bold}.highlight .kp{color:#cdcf99}.highlight .kr{color:#cdcd00}.highlight .kt{color:#00cd00}.highlight .ld{color:#cc9393}.highlight .m{color:#8cd0d3}.highlight .s{color:#cc9393}.highlight .na{color:#9ac39f}.highlight .nb{color:#efef8f}.highlight .nc{color:#efef8f}.highlight .no{color:#ccc}.highlight .nd{color:#ccc}.highlight .ni{color:#c28182}.highlight .ne{color:#c3bf9f;font-weight:bold}.highlight .nf{color:#efef8f}.highlight .nl{color:#ccc}.highlight .nn{color:#8fbede}.highlight .nx{color:#ccc}.highlight .py{color:#ccc}.highlight .nt{color:#9ac39f}.highlight .nv{color:#dcdccc}.highlight .ow{color:#f0efd0}.highlight .w{color:#ccc}.highlight .mf{color:#8cd0d3}.highlight .mh{color:#8cd0d3}.highlight .mi{color:#8cd0d3}.highlight .mo{color:#8cd0d3}.highlight .sb{color:#cc9393}.highlight .sc{color:#cc9393}.highlight .sd{color:#cc9393}.highlight .s2{color:#cc9393}.highlight .se{color:#cc9393}.highlight .sh{color:#cc9393}.highlight .si{color:#cc9393}.highlight .sx{color:#cc9393}.highlight .sr{color:#cc9393}.highlight .s1{color:#cc9393}.highlight .ss{color:#cc9393}.highlight .bp{color:#efef8f}.highlight .vc{color:#efef8f}.highlight .vg{color:#dcdccc}.highlight .vi{color:#ffffc7}.highlight .il{color:#8cd0d3}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,12 @@
{% if GOOGLE_ANALYTICS %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}");
pageTracker._trackPageview();
} catch(err) {}
</script>
{% endif %}

View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block content_header %}
<div class="fl o-50" style="font-size:0.4em;">@rchives<br/>{{ SITENAME }}</div>
<a class="b fr o-30 pr1" style="font-size:0.8em;" href="{{ SITEURL }}">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
<dl>
{% for article in dates %}
<dt>
<a class="noticeable" href='{{ SITEURL }}/{{ article.url }}'>
{{ article.date.isoformat() }} - {{ article.title }}
</a>
</dt>
{% endfor %}
</dl>
{% endblock %}

View file

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}{{ super() }} : {{ article.title }}{% endblock %}
{% block content %}
<article class="title pb2">
<a href="{{ SITEURL }}/{{ article.url }}" class="b o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% endblock %}

View file

@ -0,0 +1,2 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}

View file

View file

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/tachyons.min.css" type="text/css" />
<script type="text/javascript" src="{{ SITEURL }}/theme/js/jquery-3.5.0.min.js"></script>
<style>
body {
font: 0.75em/1.5 AppleGothic, Sans-serif;
color: rgba(100, 255, 200, 1.0); /* chartreuse */
/* color: rgba(255, 20, 147, 1.0); */ /* deeppink */
background-color: rgba(0, 20, 40, 1.0); /* black */
scrollbar-width: none;
}
body::-webkit-scrollbar {
width: 0;
height: 0;
}
a {
color: rgba(100, 255, 200, 0.5);
text-decoration: none;
}
a.noticeable:hover {
backgrounda-color: rgba(100, 255, 200, 0.15);
opacity: 0.4;
}
a.exlink {
color: rgba(100, 255, 200, 0.5);
border-width: 1px;
border-color: rgba(100, 255, 200, 0.5);
border-style: solid;
}
p {
margin: 0;
}
.paginator {
color: rgba(100, 255, 200, 0.5);
}
article.title {
font-size: 1.1em;
}
time {
font-size: 0.65em;
}
h1, h2, h3, h4, h5, h6 {
opacity: 0.3;
}
ul {
padding-bottom: 1em;
padding-inline-start: 2em;
}
</style>
</head>
<body>
<div style="margin: 1em;">
<div class="pb5 cf" style="font-size: 3.6em;">
{% block content_header %}
{% endblock %}
</div>
{% block content %}
{% endblock %}
</div>
<script type="text/javascript">
$(document).ready(function () {
$("a[class*=external]").attr("target", "_blank").addClass("exlink");
});
</script>
</body>
</html>

View file

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block content_header %}
<div class="fl o-50" style="font-size:0.4em;">/<br/>categ*r-ies</div>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
<a class="b fr o-30 pr1" style="font-size:0.8em;" href="{{ SITEURL }}">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
<ul>
{% for category, articles in categories %}
<li><a class="noticeable" href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View file

@ -0,0 +1,33 @@
{% extends "base.html" %}
{% block content_header %}
<div class="fl o-50" style="font-size:0.4em;">/ <br/>{{ category }}</div>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
<a class="b fr o-30 pr1" style="font-size:0.8em;" href="{{ SITEURL }}">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
{% for article in articles_page.object_list %}
<article class="title pb2">
<a href="{{ SITEURL }}/{{ article.url }}" class="b o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% endfor %}
{% if articles_paginator.num_pages != 1 %}
{% include 'pagination.html' %}
{% endif %}
{% endblock %}

View file

@ -0,0 +1 @@
{% if DISQUS_SITENAME %}<p>There are <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a>.</p>{% endif %}

View file

@ -0,0 +1,11 @@
{% if DISQUS_SITENAME %}
<script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{% endif %}

View file

@ -0,0 +1,9 @@
{% if GITHUB_URL %}
<a href="{{ GITHUB_URL }}">
{% if GITHUB_POSITION != "left" %}
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
{% else %}
<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
{% endif %}
</a>
{% endif %}

View file

@ -0,0 +1,29 @@
{% extends "base.html" %}
{% block content_header %}
<a class="b fl o-30" href="{{ SITEURL }}">{{ SITENAME }}</a>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/pages.html">|</a>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
{% endblock %}
{% block content %}
{% for article in articles_page.object_list | selectattr('category', '==', 'notes') %}
<article class="title pb2">
<a href="{{ SITEURL }}/{{ article.url }}" class="b o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% endfor %}
{% if articles_paginator.num_pages != 1 %}
{% include 'pagination.html' %}
{% endif %}
{% endblock %}

View file

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content_header %}
<div class="fl o-50" style="font-size:0.4em;">[ ] <br/>{{ page.title }}</div>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/pages.html">|</a>
<a class="b fr o-30 pr1" style="font-size:0.8em;" href="{{ SITEURL }}">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
<article>
{{ page.content }}
</article>
{% endblock %}

View file

@ -0,0 +1,15 @@
{% if DEFAULT_PAGINATION %}
<p class="paginator">
{% if articles_page.has_previous() %}
{% if articles_page.previous_page_number() == 1 %}
<a href="{{ SITEURL }}/{{ page_name }}.html">&laquo;</a>
{% else %}
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo;</a>
{% endif %}
{% endif %}
{{ articles_page.number }} / {{ articles_paginator.num_pages }}
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">&raquo;</a>
{% endif %}
</p>
{% endif %}

View file

@ -0,0 +1,16 @@
{% if PIWIK_URL and PIWIK_SITE_ID %}
<script type="text/javascript">
{% if PIWIK_SSL_URL %}
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_SSL_URL }}/" : "http://{{ PIWIK_URL }}/");
{% else %}
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_URL }}/" : "http://{{ PIWIK_URL }}/");
{% endif %}
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ PIWIK_SITE_ID }});
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://{{ PIWIK_URL }}/piwik.php?idsite={{ PIWIK_SITE_ID }}" style="border:0" alt="" /></p></noscript>
{% endif %}

View file

@ -0,0 +1,2 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}

View file

@ -0,0 +1,2 @@
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
{% if PDF_PROCESSOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a></p>{% endif %}

View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block content %}
<ul>
{% for tag, articles in tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View file

@ -0,0 +1,6 @@
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}

View file

@ -0,0 +1,3 @@
{% if TWITTER_USERNAME %}
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
{% endif %}