Remove my custom Chyrp Lite theme

This commit is contained in:
Helen Chong 2024-07-25 20:29:41 +08:00
parent 64aa174d56
commit 5e92e1528a
40 changed files with 0 additions and 2324 deletions

View File

@ -1,24 +0,0 @@
<li id="comment_{{ comment.id }}">
<section class="comment" dir="auto">
{% if comment.status == "pingback" %}
<h4>{{ "%s:" | translate | format(comment.author_link) }}</h4>
{% else %}
<h4>{{ "%s said:" | translate | format(comment.author_link) }}</h4>
{% endif %}
{% if comment.status == "denied" %}
<em>{{ "This comment is awaiting moderation." | translate }}</em>
{% else %}
{{ comment.body }}
{% endif %}
</section>
{% if comment.editable() or comment.deletable() %}
<div class="doaction">
{{ comment.edit_link() }} {{ comment.delete_link() }}
</div>
{% endif %}
<div class="metadata">
<a href="{{ comment.url() }}" class="permalink">
{{ comment.created_at | time }}
</a>
</div>
</li>

View File

@ -1,60 +0,0 @@
<article class="post {{ post.feather }}{{ post.pinned ? ' pinned' : '' }}" id="post_{{ post.id }}">
{% block content %}{% endblock %}
<footer>
{% if (module_enabled("tags") and post.tags_link is not empty) %}
<div role="note" class="tags">
<a href="{{ url('tags') }}">{{ "Tags" | translate }}:</a> {{ post.tags_link | join(" ") }}
</div>
{% endif %}
{% if post.editable() or post.deletable() %}
<div class="doaction admin">
{{ post.edit_link() }} {{ post.delete_link() }}
</div>
{% endif %}
<div role="note" class="metadata">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title() | striptags | fix(true)) }}">
{% if post.status == "draft" %}
{{ "Draft" | translate }}
{% elseif post.status == "scheduled" %}
{{ "Scheduled" | translate }}
{% elseif post.pinned %}
{{ "Pinned" | translate }}
{% else %}
{{ post.created_at | time }}
{% endif %}
</a>
{% if module_enabled("categorize") and post.category is defined %}
&bull; <a href="{{ post.category.url }}" rel="tag">{{ post.category.name | oneof("[Untitled]" | translate) }}</a>
{% endif %}
{% if module_enabled("likes") %}
{{ post.like_link ? "&bull; " ~ post.like_link : "" }}
{% endif %}
{% if module_enabled("pingable") and post.pingback_count is defined %}
&bull;
<a href="{{ post.url() }}#pingbacks" rel="bookmark" title="{{ 'View webmentions' | translate }}">
{{ "%s webmention" | translate_plural("%s webmentions", post.pingback_count) | format(post.pingback_count) }}
</a>
{% endif %}
{% if module_enabled("comments") and post.comment_status is defined and post.comment_count is defined %}
{% if post.comment_status == "closed" %}
&bull; {{ "Comments closed" | translate }}
{% else %}
&bull;
<a href="{{ post.url() }}#comments" rel="bookmark" title="{{ 'View comments' | translate }}">
{{ "%s comment" | translate_plural("%s comments", post.comment_count) | format(post.comment_count) }}
</a>
{% endif %}
{% endif %}
{% if module_enabled("rights") %}
&bull;
{% if post.rights_holder is defined and post.rights_holder is not empty %}
{{ copyright_notice(post.rights_holder) }}
{% else %}
{{ copyright_notice(post.author.name, post.created_at, post.updated_at) }}
{% endif %}
&bull;
{{ post.licence_link }}
{% endif %}
</div>
</footer>
</article>

View File

@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="{{ site.locale | lang_base }}">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ theme.url }}/stylesheets/all.css" type="text/css" media="all">
<title>{{ title }}</title>
</head>
<body class="preview">
<div class="standalone">
<section>
{{ content }}
</section>
</div>
</body>
</html>

View File

@ -1,101 +0,0 @@
<aside id="sidebar" role="banner">
<h1><a href="{{ url('/') }}">{{ site.name }}</a></h1>
<form class="search_box" action="{{ url('search') }}" method="post" accept-charset="UTF-8" role="search">
<input type="text" id="sidebar_search_field" name="query" value="{{ search is defined ? search | fix(true, true) : '' }}" placeholder="{{ 'Search&hellip;' | translate }}" aria-label="{{ 'Search this blog' | translate }}">
<button type="submit" id="sidebar_search_submit">{{ "Search" | translate }}</button>
</form>
<h2 class="menu_toggle" id="menu"><a role="button" href="#menu">{{ "Menu" | translate }}</a></h2>
<h2 class="menu_toggle"><a role="button" href="#" aria-label="{{ 'Close menu' | translate }}">{{ "Menu" | translate }}</a></h2>
<ul class="navigation sidebar" aria-label="{{ 'Links' | translate }}">
<li>
<a href="{{ url('index') }}">{{ "Blog" | translate }}</a>
</li>
<li>
<a href="{{ mailto(site.email) }}">{{ "Email" | translate }}</a>
</li>
<li>
<a href="{{ url('feed') }}" rel="alternate">{{ "Feed" | translate }}</a>
</li>
{% if visitor.group.can("change_settings", "toggle_extensions") %}
<li>
<a href="{{ url('/', 'AdminController') }}">{{ "Admin" | translate }}</a>
</li>
{% elseif visitor.group.can("add_post") %}
<li>
<a href="{{ url('/', 'AdminController') }}">{{ "Write" | translate }}</a>
</li>
{% elseif visitor.group.can("add_draft") %}
<li>
<a href="{{ url('/', 'AdminController') }}">{{ "Draft" | translate }}</a>
</li>
{% endif %}
{% if visitor.logged_in %}
<li>
<a href="{{ url('controls') }}">{{ "Controls" | translate }}</a>
</li>
<li>
<a href="{{ url('logout') }}">{{ "Log out" | translate }}</a>
</li>
{% else %}
{% if site.can_register %}
<li>
<a href="{{ url('register') }}">{{ "Register" | translate }}</a>
</li>
{% endif %}
<li>
<a href="{{ url('login') }}">{{ "Log in" | translate }}</a>
</li>
{% endif %}
</ul>
{% if module_enabled("categorize") and categorize is not empty %}
<h2 id="label_categories">{{ "Categories" | translate }}</h2>
<ul class="navigation sidebar categories" aria-labelledby="label_categories">
{% for category in categorize %}
<li>
<a href="{{ category.url }}">{{ category.name | oneof("[Untitled]" | translate) }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if theme.pages_list() is not empty %}
<h2 id="label_my_pages">{{ "Pages" | translate }}</h2>
<ul class="navigation sidebar my_pages" aria-labelledby="label_my_pages">
{% for item in theme.pages_list() %}
<li class="page">
{{ "&nbsp;" | repeat((item.depth - 1) * 4) }}<a href="{{ item.url() }}">{{ item.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if route.action == "view" and post is defined and theme.related_posts(post) is not empty %}
<h2 id="label_related_posts">{{ "Related Posts" | translate }}</h2>
<ul class="navigation sidebar related_posts" aria-labelledby="label_related_posts">
{% for post in theme.related_posts(post) %}
<li>
<a href="{{ post.url() }}">{{ post.title() | striptags | normalize | oneof(post.slug) | truncate(30) }}</a>
</li>
{% endfor %}
</ul>
{% elseif theme.recent_posts() is not empty %}
<h2 id="label_recent_posts">{{ "Recent Posts" | translate }}</h2>
<ul class="navigation sidebar recent_posts" aria-labelledby="label_recent_posts">
{% for post in theme.recent_posts() %}
<li>
<a href="{{ post.url() }}">{{ post.title() | striptags | normalize | oneof(post.slug) | truncate(30) }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if theme.archives_list() is not empty %}
<h2 id="label_archive_list">
<a href="{{ url('archive') }}" rel="archives">{{ "Archive" | translate }}</a>
</h2>
<ul class="navigation sidebar archive_list" aria-labelledby="label_archive_list">
{% for archive in theme.archives_list() %}
<li>
<a href="{{ archive.url }}">{{ archive.when | time("F Y" | translate) | title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</aside>

View File

@ -1,17 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
{% if post.description is not empty %}
<section class="description" aria-label="{{ 'Text Content' | translate }}">
{{ post.description }}
</section>
{% endif %}
<section class="audio" aria-label="{{ 'File Attachment' | translate }}">
{{ post.audio_player }}
</section>
{% endblock %}

View File

@ -1,10 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
<h2 class="post_title">
<a href="{{ post.source | fix(true) }}" rel="external">{{ post.name }}</a>
</h2>
<section class="description" aria-label="{{ 'Text Content' | translate }}">
{{ post.description }}
</section>
{% endblock %}

View File

@ -1,5 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
<h2 class="post_title">{{ "The post cannot be displayed because the theme does not support it." | translate }}</h2>
{% endblock %}

View File

@ -1,17 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
<section class="photo" aria-label="{{ 'File Attachment' | translate }}">
{{ post.filename | thumbnail(post.alt_text, post.source, ["max_width=960", "max_height=960", "quality=80"], "(max-width: 959px) 95vw, 75vw") }}
</section>
{% if post.caption is not empty %}
<section class="caption" aria-label="{{ 'Text Content' | translate }}">
{{ post.caption }}
</section>
{% endif %}
{% endblock %}

View File

@ -1,21 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
<section class="quote" aria-label="{{ 'Text Content' | translate }}">
<figure>
<blockquote>
{{ post.quote }}
</blockquote>
{% if post.source is not empty %}
<figcaption>
{{ post.source }}
</figcaption>
{% endif %}
</figure>
</section>
{% endblock %}

View File

@ -1,12 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
<section class="body" aria-label="{{ 'Text Content' | translate }}">
{{ post.body }}
</section>
{% endblock %}

View File

@ -1,27 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
{% if post.caption is not empty %}
<section class="caption" aria-label="{{ 'Text Content' | translate }}">
{{ post.caption }}
</section>
{% endif %}
{% for file in post.files %}
{% if ["jpg", "jpeg", "png", "gif", "webp", "avif"] | contains(file.type) %}
<section class="photo" aria-label="{{ 'File Attachment' | translate }}">
{{ file.name | thumbnail(file.name, post.source, ["max_width=960", "max_height=960", "quality=80"], "(max-width: 959px) 95vw, 75vw") }}
</section>
{% else %}
<section class="attachment" aria-label="{{ 'File Attachment' | translate }}">
<h3>{{ "File attachment:" | translate }}</h3>
<a href="{{ file.name | download }}">{{ file.name | fix | truncate(40) }}</a>
({{ file.size | filesizeformat }})
</section>
{% endif %}
{% endfor %}
{% endblock %}

View File

@ -1,17 +0,0 @@
{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
{% if post.description is not empty %}
<section class="description" aria-label="{{ 'Text Content' | translate }}">
{{ post.description }}
</section>
{% endif %}
<section class="video" aria-label="{{ 'File Attachment' | translate }}">
{{ post.video_player }}
</section>
{% endblock %}

View File

@ -1,38 +0,0 @@
<form id="comment_edit_{{ comment.id }}" class="comment_edit" action="{{ comment.post.url() }}" method="post" accept-charset="UTF-8">
<label for="comment_body_{{ comment.id }}">{{ "Comment" | translate }}</label>
<textarea name="body" id="comment_body_{{ comment.id }}">{{ comment.body | fix(false, true) }}</textarea>
<div id="more_options_{{ comment.id }}" class="more_options">
<label for="comment_author_{{ comment.id }}">{{ "Author" | translate }}</label>
<input class="text" type="text" name="author" value="{{ comment.author | fix(true, true) }}" id="comment_author_{{ comment.id }}" maxlength="250">
{% if comment.status != "pingback" %}
<label for="comment_author_url_{{ comment.id }}">{{ "Author's website" | translate }}</label>
<input class="text" type="url" name="author_url" value="{{ comment.author_url | fix(true, true) }}" id="comment_author_url_{{ comment.id }}" maxlength="2048">
<label for="comment_author_email_{{ comment.id }}">{{ "Author's email" | translate }}</label>
<input class="text" type="email" name="author_email" value="{{ comment.author_email | fix(true, true) }}" id="comment_author_email_{{ comment.id }}" maxlength="128">
{% endif %}
{% if visitor.group.can("edit_comment") %}
{# User can edit all comments, not just their own. #}
<label for="comment_created_at_{{ comment.id }}">{{ "Timestamp" | translate }}</label>
<input class="text" type="text" name="created_at" value="{{ comment.created_at | dateformat('Y-m-d H:i:s') | fix(true, true) }}" id="comment_created_at_{{ comment.id }}">
{% if comment.status != "pingback" %}
<label for="comment_status_{{ comment.id }}">{{ "Status" | translate }}</label>
<select name="status" id="comment_status_{{ comment.id }}">
<option value="approved"{{ comment.status | selected("approved") }}>{{ "Approved" | translate }}</option>
<option value="denied"{{ comment.status | selected("denied") }}>{{ "Denied" | translate }}</option>
<option value="spam"{{ comment.status | selected("spam") }}>{{ "Spam" | translate }}</option>
</select>
{% endif %}
{% endif %}
{% if comment.status != "pingback" and site.email_correspondence %}
<label for="comment_notify_{{ comment.id }}">{{ "Email Notifications" | translate }}</label>
<input type="checkbox" name="notify" id="comment_notify_{{ comment.id }}"{{ comment.notify | checked }}>
{% endif %}
</div>
<input type="hidden" name="id" value="{{ comment.id }}">
<input type="hidden" name="hash" value="{{ authenticate() }}">
<input type="hidden" name="action" value="update_comment">
<div class="doaction speak">
<button type="submit">{{ "Save" | translate }}</button>
<a href="#" id="comment_cancel_edit_{{ comment.id }}" class="cancel">{{ "Cancel" | translate }}</a>
</div>
</form>

View File

@ -1,39 +0,0 @@
<form id="add_comment" action="{{ self_url() }}" method="post" accept-charset="UTF-8">
{% if visitor.logged_in %}
<label for="comment_body_field">{{ "%s's comment" | translate | format(visitor.full_name | oneof(visitor.login)) }}</label>
{% else %}
<label for="comment_author_field">{{ "Your name" | translate }}</label>
<input type="text" name="author" value="{{ posted('author') | fix(true) }}" id="comment_author_field" class="text" maxlength="250">
<label for="comment_author_email_field">{{ "Your email" | translate }}</label>
<input type="email" name="author_email" value="{{ posted('author_email') | fix(true) }}" id="comment_author_email_field" class="text" maxlength="128">
<label for="comment_author_url_field">{{ "Your website" | translate }}</label>
<input type="url" name="author_url" value="{{ posted('author_url') | fix(true) }}" id="comment_author_url_field" class="text" maxlength="2048">
{{ generate_captcha() }}
<label for="comment_body_field">{{ "Your comment" | translate }}</label>
{% endif %}
<textarea name="body" id="comment_body_field">{{ posted("body") | fix(false, true) }}</textarea>
<small>
{% if site.enable_markdown %}{{ "Markdown is allowed." | translate }} {% endif %}
{% if site.module_comments.allowed_comment_html is not empty %}
{{ "HTML tags allowed:" | translate }} {{ "&lt;%s&gt;." | format(site.module_comments.allowed_comment_html | join("&gt;, &lt;") | fix ) }}
{% else %}
{{ "HTML is not allowed." | translate }}
{% endif %}
</small>
{% if visitor.logged_in and site.email_correspondence %}
<label for="comment_notify_field">{{ "Notify me when others comment" | translate }}</label>
<input type="checkbox" name="notify" id="comment_notify_field">
{% endif %}
<div class="doaction speak">
{% if visitor.logged_in %}
<input type="hidden" name="author" value="{{ visitor.full_name | oneof(visitor.login) | fix(true) }}">
<input type="hidden" name="author_email" value="{{ visitor.email | fix(true) }}">
<input type="hidden" name="author_url" value="{{ visitor.website | fix(true) }}">
{% endif %}
<input type="hidden" name="parent_id" value="0">
<input type="hidden" name="post_id" value="{{ post.id }}">
<input type="hidden" name="hash" value="{{ authenticate() }}">
<input type="hidden" name="action" value="add_comment">
<button type="submit">{{ "Speak" | translate }}</button>
</div>
</form>

View File

@ -1,24 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="user_controls standalone">
<h2>{{ "Controls" | translate }}</h2>
<form action="{{ url('controls') }}" method="post" accept-charset="UTF-8">
<label for="full_name">{{ "Full name" | translate }}</label>
<input type="text" name="full_name" value="{{ posted('full_name', visitor.full_name) | fix(true, true) }}" id="full_name" maxlength="250">
<label for="email">{{ "Email" | translate }}</label>
<input type="email" name="email" value="{{ posted('email', visitor.email) | fix(true, true) }}" id="email" maxlength="128">
<label for="website">{{ "Website" | translate }}</label>
<input type="url" name="website" value="{{ posted('website', visitor.website) | fix(true, true) }}" id="website" maxlength="128">
<label for="new_password1">{{ "New password?" | translate }}</label>
<input type="password" name="new_password1" value="" id="new_password1" maxlength="128">
<label for="new_password2">{{ "Confirm" | translate }}</label>
<input type="password" name="new_password2" value="" id="new_password2" maxlength="128">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
{{ trigger.call("user_controls") }}
<div class="doaction">
<button name="submit" type="submit" id="submit">{{ "Update" | translate }}</button>
</div>
</form>
</div>
{% endblock %}

View File

@ -1,19 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="user_login standalone">
<h2>{{ "Log in" | translate }}</h2>
<form action="{{ url('login') }}" method="post" accept-charset="UTF-8">
<label for="login">{{ "Username" | translate }}</label>
<input type="text" name="login" value="{{ posted('login') | fix(true, true) }}" id="login" autofocus>
<label for="password">{{ "Password" | translate }}</label>
<input type="password" name="password" value="" id="password">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
{{ trigger.call("user_login") }}
<div class="doaction">
<button name="submit" type="submit" id="submit">{{ "Log in" | translate }}</button>
<a href="{{ url('lost_password') }}">{{ "Help!" | translate }}</a>
</div>
</form>
</div>
{% endblock %}

View File

@ -1,15 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="lost_password standalone">
<h2>{{ "Lost password" | translate }}</h2>
<form action="{{ url('lost_password') }}" method="post" accept-charset="UTF-8">
<label for="login">{{ "Username" | translate }}</label>
<input type="text" name="login" value="{{ posted('login') | fix(true, true) }}" id="login" autofocus>
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
<div class="doaction">
<button name="submit" type="submit" id="submit">{{ "Submit" | translate }}</button>
</div>
</form>
</div>
{% endblock %}

View File

@ -1,23 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="user_register standalone">
<h2>{{ "Register" | translate }}</h2>
<form action="{{ url('register') }}" method="post" accept-charset="UTF-8">
<label for="login">{{ "Username" | translate }}</label>
<input type="text" name="login" value="{{ posted('login') | fix(true, true) }}" id="login" maxlength="64" autofocus>
<label for="password1">{{ "Password" | translate }}</label>
<input type="password" name="password1" value="" id="password1" maxlength="128">
<label for="password2">{{ "Password" | translate }} <span class="sub">{{ "(again)" | translate }}</span></label>
<input type="password" name="password2" value="" id="password2" maxlength="128">
<label for="email">{{ "Email" | translate }}</label>
<input type="email" name="email" value="{{ posted('email') | fix(true, true) }}" id="email" maxlength="128">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
{{ generate_captcha() }}
{{ trigger.call("user_register") }}
<div class="doaction">
<button type="submit">{{ "Register" | translate }}</button>
</div>
</form>
</div>
{% endblock %}

View File

@ -1,20 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="reset_password standalone">
<h2>{{ "Reset password" | translate }}</h2>
<form action="{{ url('reset_password') }}" method="post" accept-charset="UTF-8">
<label for="new_password1">{{ "New password?" | translate }}</label>
<input type="password" name="new_password1" value="" id="new_password1" maxlength="128">
<label for="new_password2">{{ "Confirm" | translate }}</label>
<input type="password" name="new_password2" value="" id="new_password2" maxlength="128">
<input type="hidden" name="issue" value="{{ issue | fix(true) }}" id="issue">
<input type="hidden" name="login" value="{{ login | fix(true) }}" id="login">
<input type="hidden" name="token" value="{{ token | fix(true) }}" id="token">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
<div class="doaction">
<button name="submit" type="submit" id="submit">{{ "Submit" | translate }}</button>
</div>
</form>
</div>
{% endblock %}

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="#fceaff" fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"/></svg>

Before

Width:  |  Height:  |  Size: 263 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"/></svg>

Before

Width:  |  Height:  |  Size: 150 B

View File

@ -1,4 +0,0 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0, 0, 22, 22">
<path d="M7.967,15.964 C3.548,15.964 -0.033,12.383 -0.033,7.964 C-0.033,3.546 3.548,-0.036 7.967,-0.036 C12.385,-0.036 15.967,3.546 15.967,7.964 C15.967,12.383 12.385,15.964 7.967,15.964 z M7.967,12.964 C10.728,12.964 12.967,10.726 12.967,7.964 C12.967,5.203 10.728,2.964 7.967,2.964 C5.205,2.964 2.967,5.203 2.967,7.964 C2.967,10.726 5.205,12.964 7.967,12.964 z z" fill="#fceaff"/>
<path d="M18.624,21.45 L11.552,14.379 L14.381,11.55 L21.452,18.621 C22.233,19.402 22.233,20.669 21.452,21.45 C20.671,22.231 19.405,22.231 18.624,21.45 z" fill="#fceaff"/>
</svg>

Before

Width:  |  Height:  |  Size: 638 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12.78 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.22 7.28a.75.75 0 011.06-1.06L8 9.94l3.72-3.72a.75.75 0 011.06 0z"/></svg>

Before

Width:  |  Height:  |  Size: 247 B

View File

@ -1,11 +0,0 @@
<?php
return array(
"name" => __("Leilukin", "leilukin"),
"url" => "https://leilukin.com/",
"version" => "1.0",
"description" => __("Leilukin's Chyrp Lite theme.", "leilukin"),
"author" => array(
"name" => "Leilukin",
"url" => "https://leilukin.com/"
)
);

View File

@ -1,72 +0,0 @@
<!DOCTYPE html>
<html lang="{{ site.locale | lang_base }}" dir="{{ site.locale | text_direction }}">
<head>
<meta charset="UTF-8">
<title>
{%- block title -%}
{%- if pagination is not empty and pagination.page > 1 -%}
{{- "Page %d" | translate | format(pagination.page) -}}
{{- " | " -}}
{%- endif -%}
{%- if title is not empty -%}
{{- title | fix -}}
{{- " | " -}}
{%- endif -%}
{{- site.name | fix -}}
{%- endblock -%}
</title>
<meta name="description" content="{{ site.description }}">
<meta name="generator" content="Chyrp Lite">
<meta name="viewport" content="initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.chyrp_url }}/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.chyrp_url }}/favicon/favicon-16x16.png">
<link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest">
{{ theme.feeds() }}
{{ theme.stylesheets() }}
{{ theme.javascripts() }}
{{ trigger.call("end_head") }}
</head>
<body class="route_{{ route.action }}">
{% for notice in flash.notices %}
<div role="alert" class="ribbon flash notice">
{{ notice }}
</div>
{% endfor %}
{% for warning in flash.warnings %}
<div role="alert" class="ribbon flash warning">
{{ warning }}
</div>
{% endfor %}
{% for message in flash.messages %}
<div role="alert" class="ribbon flash message">
{{ message }}
</div>
{% endfor %}
<!-- Sidebar -->
{% include "content/sidebar.twig" %}
{% if posts.paginated is defined and posts.prev_page() %}
<!-- Navigation -->
<nav role="navigation" class="prev traversal">{{ posts.prev_link("Newer posts" | translate) }}</nav>
{% endif %}
<!-- Content -->
<main id="main" role="main">
{% block content %}{% endblock %}
</main>
{% if posts.paginated is defined and posts.next_page() %}
<!-- Navigation -->
<nav role="navigation" class="next traversal">{{ posts.next_link("Older posts" | translate) }}</nav>
{% endif %}
{{ trigger.call("end_content") }}
</body>
<!-- Queries: {{ sql_queries }} | Load Time: {{ theme.load_time() }} -->
{% if debug %}
<!--
{% for caller in sql_debug %}
{{ caller.query | replace({"\t": " "}) | fix }}
{{ "Called from %s on line %d at %s seconds." | translate | format(caller.file, caller.line, caller.time) }}
{% endfor %}
-->
{% endif %}
</html>

View File

@ -1,468 +0,0 @@
#. This file is distributed under the same license as the Chyrp Lite package.
#: themes/leilukin/content/comment.twig:4
#, php-format
msgid "%s:"
msgstr ""
#: themes/leilukin/content/comment.twig:6
#, php-format
msgid "%s said:"
msgstr ""
#: themes/leilukin/content/comment.twig:9
msgid "This comment is awaiting moderation."
msgstr ""
#: themes/leilukin/content/post.twig:6
msgid "Tags"
msgstr ""
#: themes/leilukin/content/post.twig:15
#: themes/leilukin/feathers/audio.twig:6
#: themes/leilukin/feathers/photo.twig:6
#: themes/leilukin/feathers/quote.twig:6
#: themes/leilukin/feathers/text.twig:6
#: themes/leilukin/feathers/uploader.twig:6
#: themes/leilukin/feathers/video.twig:6
#: themes/leilukin/pages/archive.twig:36
#: themes/leilukin/pages/page.twig:6
#: themes/leilukin/pages/search.twig:19
#, php-format
msgid "Permanent link to &#8220;%s&#8221;"
msgstr ""
#: themes/leilukin/content/post.twig:17
#: themes/leilukin/content/sidebar.twig:29
msgid "Draft"
msgstr ""
#: themes/leilukin/content/post.twig:19
msgid "Scheduled"
msgstr ""
#: themes/leilukin/content/post.twig:21
msgid "Pinned"
msgstr ""
#: themes/leilukin/content/post.twig:27
#: themes/leilukin/content/sidebar.twig:55
#: themes/leilukin/pages/view.twig:20
msgid "[Untitled]"
msgstr ""
#: themes/leilukin/content/post.twig:34
msgid "View webmentions"
msgstr ""
#: themes/leilukin/content/post.twig:35
#, php-format
msgid "%s webmention"
msgid_plural "%s webmentions"
msgstr[0] ""
msgstr[1] ""
#: themes/leilukin/content/post.twig:40
msgid "Comments closed"
msgstr ""
#: themes/leilukin/content/post.twig:43
msgid "View comments"
msgstr ""
#: themes/leilukin/content/post.twig:44
#, php-format
msgid "%s comment"
msgid_plural "%s comments"
msgstr[0] ""
msgstr[1] ""
#: themes/leilukin/content/sidebar.twig:4
msgid "Search&hellip;"
msgstr ""
#: themes/leilukin/content/sidebar.twig:4
msgid "Search this blog"
msgstr ""
#: themes/leilukin/content/sidebar.twig:5
msgid "Search"
msgstr ""
#: themes/leilukin/content/sidebar.twig:7
#: themes/leilukin/content/sidebar.twig:8
msgid "Menu"
msgstr ""
#: themes/leilukin/content/sidebar.twig:8
msgid "Close menu"
msgstr ""
#: themes/leilukin/content/sidebar.twig:9
msgid "Links"
msgstr ""
#: themes/leilukin/content/sidebar.twig:11
msgid "Blog"
msgstr ""
#: themes/leilukin/content/sidebar.twig:14
#: themes/leilukin/forms/user/controls.twig:9
#: themes/leilukin/forms/user/register.twig:13
msgid "Email"
msgstr ""
#: themes/leilukin/content/sidebar.twig:17
msgid "Feed"
msgstr ""
#: themes/leilukin/content/sidebar.twig:21
msgid "Admin"
msgstr ""
#: themes/leilukin/content/sidebar.twig:25
msgid "Write"
msgstr ""
#: themes/leilukin/content/sidebar.twig:34
#: themes/leilukin/forms/user/controls.twig:5
msgid "Controls"
msgstr ""
#: themes/leilukin/content/sidebar.twig:37
msgid "Log out"
msgstr ""
#: themes/leilukin/content/sidebar.twig:42
#: themes/leilukin/forms/user/register.twig:5
#: themes/leilukin/forms/user/register.twig:19
msgid "Register"
msgstr ""
#: themes/leilukin/content/sidebar.twig:46
#: themes/leilukin/forms/user/login.twig:5
#: themes/leilukin/forms/user/login.twig:14
msgid "Log in"
msgstr ""
#: themes/leilukin/content/sidebar.twig:51
msgid "Categories"
msgstr ""
#: themes/leilukin/content/sidebar.twig:61
msgid "Pages"
msgstr ""
#: themes/leilukin/content/sidebar.twig:71
msgid "Related Posts"
msgstr ""
#: themes/leilukin/content/sidebar.twig:80
msgid "Recent Posts"
msgstr ""
#: themes/leilukin/content/sidebar.twig:91
msgid "Archive"
msgstr ""
#: themes/leilukin/content/sidebar.twig:96
#: themes/leilukin/pages/archive.twig:18
msgid "F Y"
msgstr ""
#: themes/leilukin/feathers/audio.twig:10
#: themes/leilukin/feathers/link.twig:7
#: themes/leilukin/feathers/photo.twig:13
#: themes/leilukin/feathers/quote.twig:9
#: themes/leilukin/feathers/text.twig:9
#: themes/leilukin/feathers/uploader.twig:10
#: themes/leilukin/feathers/video.twig:10
msgid "Text Content"
msgstr ""
#: themes/leilukin/feathers/audio.twig:14
#: themes/leilukin/feathers/photo.twig:9
#: themes/leilukin/feathers/uploader.twig:16
#: themes/leilukin/feathers/uploader.twig:20
#: themes/leilukin/feathers/video.twig:14
msgid "File Attachment"
msgstr ""
#: themes/leilukin/feathers/missing.twig:4
msgid "The post cannot be displayed because the theme does not support it."
msgstr ""
#: themes/leilukin/feathers/uploader.twig:21
msgid "File attachment:"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:2
msgid "Comment"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:5
msgid "Author"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:8
msgid "Author's website"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:10
msgid "Author's email"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:15
msgid "Timestamp"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:18
msgid "Status"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:20
msgid "Approved"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:21
msgid "Denied"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:22
msgid "Spam"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:27
msgid "Email Notifications"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:35
msgid "Save"
msgstr ""
#: themes/leilukin/forms/comment/edit.twig:36
msgid "Cancel"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:3
#, php-format
msgid "%s's comment"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:5
msgid "Your name"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:7
msgid "Your email"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:9
msgid "Your website"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:12
msgid "Your comment"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:16
msgid "Markdown is allowed."
msgstr ""
#: themes/leilukin/forms/comment/new.twig:18
msgid "HTML tags allowed:"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:20
msgid "HTML is not allowed."
msgstr ""
#: themes/leilukin/forms/comment/new.twig:24
msgid "Notify me when others comment"
msgstr ""
#: themes/leilukin/forms/comment/new.twig:37
msgid "Speak"
msgstr ""
#: themes/leilukin/forms/user/controls.twig:7
msgid "Full name"
msgstr ""
#: themes/leilukin/forms/user/controls.twig:11
msgid "Website"
msgstr ""
#: themes/leilukin/forms/user/controls.twig:13
#: themes/leilukin/forms/user/reset_password.twig:7
msgid "New password?"
msgstr ""
#: themes/leilukin/forms/user/controls.twig:15
#: themes/leilukin/forms/user/reset_password.twig:9
msgid "Confirm"
msgstr ""
#: themes/leilukin/forms/user/controls.twig:20
msgid "Update"
msgstr ""
#: themes/leilukin/forms/user/login.twig:7
#: themes/leilukin/forms/user/lost_password.twig:7
#: themes/leilukin/forms/user/register.twig:7
msgid "Username"
msgstr ""
#: themes/leilukin/forms/user/login.twig:9
#: themes/leilukin/forms/user/register.twig:9
#: themes/leilukin/forms/user/register.twig:11
msgid "Password"
msgstr ""
#: themes/leilukin/forms/user/login.twig:15
msgid "Help!"
msgstr ""
#: themes/leilukin/forms/user/lost_password.twig:5
msgid "Lost password"
msgstr ""
#: themes/leilukin/forms/user/lost_password.twig:11
#: themes/leilukin/forms/user/reset_password.twig:16
msgid "Submit"
msgstr ""
#: themes/leilukin/forms/user/register.twig:11
msgid "(again)"
msgstr ""
#: themes/leilukin/forms/user/reset_password.twig:5
msgid "Reset password"
msgstr ""
#: themes/leilukin/info.php:3
msgid "leilukin"
msgstr ""
#: themes/leilukin/info.php:6
msgid "The default theme provided with Chyrp Lite."
msgstr ""
#: themes/leilukin/layouts/default.twig:8
#, php-format
msgid "Page %d"
msgstr ""
#: themes/leilukin/layouts/default.twig:49
msgid "Newer posts"
msgstr ""
#: themes/leilukin/layouts/default.twig:57
msgid "Older posts"
msgstr ""
#: themes/leilukin/layouts/default.twig:66
#, php-format
msgid "Called from %s on line %d at %s seconds."
msgstr ""
#: themes/leilukin/pages/403.twig:5
msgid "Forbidden."
msgstr ""
#: themes/leilukin/pages/404.twig:5
msgid "Not found."
msgstr ""
#: themes/leilukin/pages/archive.twig:10
#: themes/leilukin/pages/archive.twig:47
#: themes/leilukin/pages/archive.twig:56
#, php-format
msgid "Archive of %s"
msgstr ""
#: themes/leilukin/pages/archive.twig:66
msgid "There aren't any posts in the timeframe you specified."
msgstr ""
#: themes/leilukin/pages/author.twig:6
#, php-format
msgid "Posts created by &#8220;%s&#8221;"
msgstr ""
#: themes/leilukin/pages/author.twig:13
msgid "This user hasn't created any posts."
msgstr ""
#: themes/leilukin/pages/category.twig:6
#, php-format
msgid "Posts in category &#8220;%s&#8221;"
msgstr ""
#: themes/leilukin/pages/drafts.twig:6
msgid "Drafts"
msgstr ""
#: themes/leilukin/pages/drafts.twig:13
msgid "You don't have any drafts."
msgstr ""
#: themes/leilukin/pages/index.twig:9
#: themes/leilukin/pages/tags.twig:20
msgid "Nothing here yet!"
msgstr ""
#: themes/leilukin/pages/search.twig:6
#, php-format
msgid "Search results for &#8220;%s&#8221;"
msgstr ""
#: themes/leilukin/pages/search.twig:10
msgid "Your search did not return any results."
msgstr ""
#: themes/leilukin/pages/search.twig:15
msgid "Pages containing the search term"
msgstr ""
#: themes/leilukin/pages/tag.twig:6
#, php-format
msgid "Posts tagged with &#8220;%s&#8221;"
msgstr ""
#: themes/leilukin/pages/tags.twig:6
msgid "Tag cloud"
msgstr ""
#: themes/leilukin/pages/updated.twig:6
msgid "Updated posts"
msgstr ""
#: themes/leilukin/pages/updated.twig:13
msgid "There aren't any updated posts."
msgstr ""
#: themes/leilukin/pages/view.twig:6
msgid "Next post"
msgstr ""
#: themes/leilukin/pages/view.twig:12
msgid "Previous post"
msgstr ""
#: themes/leilukin/pages/view.twig:16
msgid "Webmentions"
msgstr ""
#: themes/leilukin/pages/view.twig:26
msgid "Comments"
msgstr ""
#: themes/leilukin/pages/view.twig:42
msgid "Newer comments"
msgstr ""
#: themes/leilukin/pages/view.twig:43
msgid "Older comments"
msgstr ""

View File

@ -1,7 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div role="status" class="ribbon flash">
{{ reason is defined ? reason | fix : "Forbidden." | translate }}
</div>
{% endblock %}

View File

@ -1,7 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div role="status" class="ribbon flash">
{{ reason is defined ? reason | fix : "Not found." | translate }}
</div>
{% endblock %}

View File

@ -1,70 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{# Months? (For yearly archives) #}
{% if months is not empty %}
{% if archive.prev is not empty %}
<div role="navigation" class="prev traversal">
<a href="{{ url('archive/%s/' | format(archive.prev | dateformat('Y'))) }}">
{{ "Archive of %s" | translate | format(archive.prev | time("Y")) }}
</a>
</div>
{% endif %}
<div class="archive standalone">
{% for when, month in months %}
<h2 id="label_{{ when }}_archive" class="archive">
<a href="{{ url('archive/%s/' | format(when | dateformat('Y/m'))) }}">
{{ when | time("F Y" | translate) | title }}
</a>
</h2>
<ul aria-labelledby="label_{{ when }}_archive" class="archive">
{% for post in month %}
<li>
<article class="post archive {{ post.feather }}" id="post_{{ post.id }}" role="presentation">
<section class="post_archive_container" aria-hidden="true">
{% if post.image is defined %}
{{ post.image | thumbnail("", false, ["max_width=196", "quality=60", "square=1"], "196px") }}
{% else %}
{% if post.title is not empty %}
<h3 class="archive">{{ post.title | striptags | normalize | truncate(20) }}</h3>
{% endif %}
<p>{{ post.excerpt() | striptags | normalize | truncate(1000) | oneof(post.slug) }}</p>
{% endif %}
</section>
<a href="{{ post.url() }}" class="archive_post_link">
{{ "Permanent link to &#8220;%s&#8221;" | translate | format(post.title() | oneof(post.slug) | striptags | normalize | fix(true)) }}
</a>
</article>
</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% if archive.next is not empty %}
<div role="navigation" class="next traversal">
<a href="{{ url('archive/%s/' | format(archive.next | dateformat('Y'))) }}">
{{ "Archive of %s" | translate | format(archive.next | time("Y")) }}
</a>
</div>
{% endif %}
{% endif %}
{# Posts? (For daily/monthly archives) #}
{% if posts.paginated is not empty %}
<div class="ribbon">
{{ "Archive of %s" | translate | format(archive.when | time(archive.depth == "day" ? "d F Y" : "F Y")) }}
</div>
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% endfor %}
{% endif %}
{# No results #}
{% if months is empty and posts.paginated is empty %}
<div role="status" class="ribbon">
{{ "There aren't any posts in the timeframe you specified." | translate }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is not empty %}
<div class="ribbon">
{{ "Posts created by &#8220;%s&#8221;" | translate | format(author.name | fix) }}
</div>
{% endif %}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="ribbon">
{{ "This user hasn't created any posts." | translate }}
</div>
{% endfor %}
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is defined and posts.paginated is not empty %}
<div class="ribbon">
{{ "Posts in category &#8220;%s&#8221;" | translate | format(category | fix) }}
</div>
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% endfor %}
{% elseif reason is defined %}
<div role="status" class="ribbon">
{{ reason }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is not empty %}
<div class="ribbon">
{{ "Drafts" | translate }}
</div>
{% endif %}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="ribbon">
{{ "You don't have any drafts." | translate }}
</div>
{% endfor %}
{% endblock %}

View File

@ -1,17 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if reason is not defined %}{# Some modules define reason in error states #}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="ribbon">
{{ "Nothing here yet!" | translate }}
</div>
{% endfor %}
{% else %}
<div role="status" class="ribbon">
{{ reason }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,19 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<article id="page_{{ page.id }}" class="page">
<h2>
<a href="{{ page.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(page.title | striptags | normalize | fix(true)) }}">{{ page.title }}</a>
</h2>
<section>
{{ page.body }}
</section>
<footer>
{% if page.editable() or page.deletable() %}
<div class="doaction admin">
{{ page.edit_link() }} {{ page.delete_link() }}
</div>
{% endif %}
</footer>
</article>
{% endblock %}

View File

@ -1,29 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is not empty or pages is not empty %}
<div class="ribbon">
{{ "Search results for &#8220;%s&#8221;" | translate | format(search | fix) }}
</div>
{% else %}
<div role="status" class="ribbon flash">
{{ "Your search did not return any results." | translate }}
</div>
{% endif %}
{% if pages is not empty %}
<details{% if posts.paginated is empty %} open{% endif %}>
<summary>{{ "Pages containing the search term" | translate }}</summary>
{% for page in pages %}
<article class="fragment">
<h2 class="page_title">
<a href="{{ page.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(page.title | striptags | normalize | fix(true)) }}">{{ page.title }}</a>
</h2>
{{ page.body | striptags | truncate(200) }}
</article>
{% endfor %}
</details>
{% endif %}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% endfor %}
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is defined and posts.paginated is not empty %}
<div class="ribbon">
{{ "Posts tagged with &#8220;%s&#8221;" | translate | format(tag.name | fix) }}
</div>
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% endfor %}
{% elseif reason is defined %}
<div role="status" class="ribbon">
{{ reason }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,23 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if tag_cloud is not empty %}
<div class="tag_cloud standalone">
<h2>{{ "Tag cloud" | translate }}</h2>
<style type="text/css" nonce="{{ stylesheets_nonce() }}">
{% for tag in tag_cloud %}
a.tag.tag-{{ tag.clean }} {
font-size: {{ tag.size + 100 }}%;
}
{% endfor %}
</style>
{% for tag in tag_cloud %}
<a class="tag tag-{{ tag.clean }}" href="{{ tag.url }}" title="{{ tag.title }}">{{ tag.name }}</a>
{% endfor %}
</div>
{% else %}
<div role="status" class="ribbon">
{{ "Nothing here yet!" | translate }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is not empty %}
<div class="ribbon">
{{ "Updated posts" | translate }}
</div>
{% endif %}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="ribbon">
{{ "There aren't any updated posts." | translate }}
</div>
{% endfor %}
{% endblock %}

View File

@ -1,46 +0,0 @@
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if not post.prev.no_results %}
<div role="navigation" class="prev traversal">
<a rel="prev" href="{{ post.prev.url() }}">{{ "Next post" | translate }}</a>
</div>
{% endif %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% if not post.next.no_results %}
<div role="navigation" class="next traversal">
<a rel="next" href="{{ post.next.url() }}">{{ "Previous post" | translate }}</a>
</div>
{% endif %}
{% if module_enabled("pingable") and post.pingback_count > 0 %}
<h3 id="pingbacks" class="article_label">{{ "Webmentions" | translate }}</h3>
<article class="discourse" aria-labelledby="pingbacks">
<ol class="pingbacks">
{% for pingback in post.pingbacks %}
<li><a id="pingback_{{ pingback.id }}" href="{{ pingback.source | fix(true) }}">{{ pingback.title | oneof("[Untitled]" | translate) }}</a></li>
{% endfor %}
</ol>
</article>
{% endif %}
{% if module_enabled("comments") and (post.comment_count > 0 or post.commentable) %}
<h3 id="comments" class="article_label">{{ "Comments" | translate }}</h3>
<article class="commentary" aria-labelledby="comments">
<ol class="comments paginated" data-post_id="{{ post.id }}" data-timestamp="{{ post.latest_comment }}">
{% set comments = paginate(post.comments, site.module_comments.comments_per_page, "comments") %}
{% for comment in comments.paginated %}
{% include "content" ~ DIR ~ "comment.twig" %}
{% endfor %}
<li id="comment_shim"></li>{# Needed for AJAX commenting. #}
{% if post.commentable %}
<li class="comment_form">
{% include "forms" ~ DIR ~ "comment" ~ DIR ~ "new.twig" %}
</li>
{% endif %}
</ol>
</article>
<div class="comments_pagination traversal">
{{ comments.next_link( ("Newer comments" | translate), null, null, "comments") }}
{{ comments.prev_link( ("Older comments" | translate), null, null, "comments") }}
</div>
{% endif %}
{% endblock %}

View File

@ -1,964 +0,0 @@
@font-face {
font-display: swap;
font-family: 'Lexend';
font-style: normal;
font-weight: 400;
src: url('../../../fonts/lexend-v19-latin-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Lexend';
font-style: normal;
font-weight: 600;
src: url('../../../fonts/lexend-v19-latin-600.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Lexend';
font-style: normal;
font-weight: 700;
src: url('../../../fonts/lexend-v19-latin-700.woff2') format('woff2');
}
:root {
--clr-body-bg: #08031A;
--clr-body-txt: #fceaff;
--clr-content-bg: #3d2163;
--clr-pinned-bg: #13092D;
--clr-sub-heading: #e8b86f;
--clr-code-bg: #241445;
--clr-highlight: #6736ad;
--clr-bdr-main: #c6ccc8;
--clr-bdr-nav: #d2d9d4;
--clr-link: #ED64F5;
--clr-link-hover: #c355c9;
--clr-tag: #208448;
--clr-tag-hover: #006428;
--clr-flash-bg: #98254b;
--clr-edit-btn: #873eb5;
--clr-edit-btn-hover: #241445;
--clr-delete-btn: #c04b4b;
--clr-delete-btn-hover: #af2d2d;
--clr-input-err: #ffdede;
--clr-white: #fff;
--fs-main: 1.2rem;
--fs-h1: clamp(2rem, 1rem + 5vw, 3rem);
--fs-h2: clamp(1.55rem, 1rem + 3vw, 2.15rem);
--fs-h3: clamp(1.55rem, 1rem + 3vw, 1.8rem);
--fs-h4: clamp(1.4rem, 1rem + 3vw, 1.6rem);
}
html {
font-size: 16px;
}
*::selection {
color: var(--clr-body-txt);
background-color: var(--clr-highlight);
}
body {
font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: var(--fs-main);
color: var(--clr-body-txt);
line-height: 1.5;
tab-size: 4;
background-color: var(--clr-body-bg);
margin: 2rem;
margin-inline-start: 16rem;
min-width: 280px;
max-width: 980px;
}
body.preview {
margin: 1rem;
max-width: none;
}
p {
margin: 1rem 0rem;
}
p.footnote-backrefs {
font-size: 0.75em;
}
h1 {
font-size: var(--fs-h1);
font-weight: 700;
margin: 1em 0em;
padding: 0em;
}
h1 > a, h1 > a:visited {
color: var(--clr-body-txt);
}
h2, h3, h4, h5, h6 {
color: var(--clr-sub-heading);
}
h2 {
font-size: var(--fs-h2);
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
#sidebar > h1,
#sidebar > h2 {
font-size: 1em;
}
h2.archive {
margin: 2rem 0rem 0rem 0rem;
}
h2.menu_toggle {
display: none;
}
h3 {
font-size: var(--fs-h3);
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
h3.archive {
font-size: 1.33em;
}
* + h3.article_label {
margin-top: 2rem;
}
h4, h5, h6 {
font-size: var(--fs-h4);
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
sup, sub {
line-height: 1;
font-size: 0.75em;
}
em, dfn, cite {
font: inherit;
font-style: italic;
}
strong {
font: inherit;
font-weight: bold;
}
address {
font: inherit;
}
small {
font-weight: normal;
font-size: 0.75em;
}
mark {
color: var(--clr-body-txt);
background-color: var(--clr-highlight);
}
del {
font: inherit;
text-decoration: line-through;
}
figure, blockquote {
margin: 0;
padding: 0 1rem;
font: inherit;
page-break-inside: avoid;
}
blockquote {
border-inline-start: 0.1em solid var(--clr-body-txt);
}
figcaption {
font-size: 0.9em;
margin: 1rem 0rem;
}
aside {
max-width: 40%;
float: right;
float: inline-end;
font-style: italic;
margin: 0rem;
margin-inline-start: 1rem;
margin-bottom: 1rem;
padding: 1rem;
background-color: var(--clr-code-bg);
border-left: 2px solid var(--clr-body-txt);
}
blockquote em,
aside em {
font-style: normal;
}
pre {
font-family: "Cousine webfont", monospace;
font-size: 0.85em;
background-color: var(--clr-code-bg);
margin: 1rem 0rem;
overflow-x: auto;
white-space: pre;
}
code {
font-family: "Cousine webfont", monospace;
font-size: 0.85em;
background-color: var(--clr-code-bg);
padding: 0.125em 0.25em 0em 0.25em;
vertical-align: bottom;
white-space: break-spaces;
}
pre > code {
font-size: 0.85rem;
display: block;
padding: 0.5rem;
white-space: inherit;
}
hr {
width: 100%;
clear: both;
border: none;
border-top: 1px solid #ddd;
margin: 1em 0em;
}
hr:last-child,
hr + hr {
display: none;
}
ul,
ol.comments ul {
list-style: disc outside;
margin: 1em 0em;
margin-inline-start: 2em;
padding: 0em;
}
ul ul,
ol.comments ul ul {
list-style-type: circle;
}
ol,
ol.comments ol {
list-style: decimal outside;
margin: 1em 0em;
margin-inline-start: 2em;
padding: 0em;
}
ol ol,
ol.comments ol ol {
list-style-type: lower-latin;
}
html[lang="ar"] ol ol,
html[lang="ar"] ol.comments ol ol {
list-style-type: arabic-indic;
}
html[lang="he"] ol ol,
html[lang="he"] ol.comments ol ol {
list-style-type: hebrew;
}
li {
margin: 0em;
padding: 0em;
}
dl {
list-style: none;
margin: 1em 0em;
}
dl dt {
font-weight: bold;
margin: 0em;
padding: 0em;
}
dl dd {
margin: 0em;
padding: 0em;
margin-inline-start: 2em;
}
ul.navigation {
list-style: none;
box-sizing: border-box;
background-color: var(--clr-content-bg);
margin: 0rem 0rem 2rem 0rem;
padding: 0em;
border: 1px solid var(--clr-bdr-main);
border-radius: 0.5rem;
box-shadow: 0px 2px 4px 2px rgba(57,67,77,0.05);
}
ul.navigation > li {
box-sizing: border-box;
display: block;
padding: 0.67em 1em;
margin: 0em;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: 1px solid var(--clr-bdr-nav);
}
ul.navigation > li:last-child {
border-bottom: none;
}
ul.sidebar > li {
text-align: start;
font-size: 0.75em;
}
ul.sidebar > li > a {
color: var(--clr-body-txt);
}
ul.sidebar > li > a:hover,
ul.sidebar > li > a:focus {
color: var(--clr-link-hover);
}
ul.archive {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
grid-auto-flow: row;
gap: 1rem;
margin: 1rem 0rem 0rem 0rem;
}
ul.archive > li {
margin: 0em;
}
ol.pingbacks {
list-style: none;
padding: 2rem;
margin: 0rem;
}
ol.comments {
list-style: none;
padding: 0rem;
margin: 0rem;
}
ol.comments > li {
box-sizing: border-box;
display: block;
width: 100%;
margin: 0em;
padding: 2rem 2rem 0rem 2rem;
border-bottom: 1px solid var(--clr-bdr-main);
}
ol.comments > li:last-child {
border-bottom: none;
}
ol.comments > li#comment_shim {
display: none;
}
ol.comments > li.comment_form {
padding: 2rem;
}
div#main > details {
display: block;
box-sizing: border-box;
background-color: var(--clr-content-bg);
margin: 0rem 0rem 2rem 0rem;
padding: 0em;
border: 1px solid var(--clr-bdr-main);
border-radius: 0.5rem;
box-shadow: 0px 2px 4px 2px rgba(57,67,77,0.05);
}
div#main > details > summary {
box-sizing: border-box;
margin: 0.5rem 2rem;
cursor: pointer;
list-style-position: outside;
}
div#main > details > article {
display: block;
padding: 2rem;
margin: 0em;
border-top: 1px solid var(--clr-bdr-nav);
}
table {
border-collapse: collapse;
border-spacing: 0em;
width: 100%;
margin: 0em 0em 1em 0em;
overflow-x: scroll;
}
table th {
text-align: start;
padding: 0.5em;
font: inherit;
font-weight: bold;
background-color: var(--clr-edit-btn);
color: var(--clr-white);
border: 1px solid var(--clr-edit-btn);
vertical-align: middle;
}
table td {
text-align: start;
padding: 0.5em;
font: inherit;
border: 1px solid var(--clr-edit-btn);
vertical-align: middle;
}
form, fieldset {
margin: 0em;
padding: 0em;
border: none;
}
form.search_box {
display: block;
position: relative;
max-width: 12em;
margin-bottom: 2rem;
}
form.comment_edit {
width: 100%;
padding: 0rem 0rem 2rem 0rem;
}
select[disabled],
textarea[disabled],
input[disabled],
button[disabled] {
cursor: not-allowed;
opacity: 0.33;
}
select, input {
box-sizing: border-box;
display: block;
width: 320px;
margin: 0.5em 0em;
padding: 0.5em;
background: none;
text-align: start;
font: inherit;
font-size: inherit;
color: var(--clr-body-txt);
background-color: var(--clr-pinned-bg);
border: 1px solid var(--clr-bdr-main);
border-radius: 0em;
}
html[dir="ltr"] select {
appearance: none;
padding-right: 1.5em;
background-image: url(../images/select.svg);
background-size: 1rem;
background-position: center right 0.25em;
background-repeat: no-repeat;
}
html[dir="rtl"] select {
appearance: none;
padding-left: 1.5em;
background-image: url(../images/select.svg);
background-size: 1rem;
background-position: center left 0.25em;
background-repeat: no-repeat;
}
input[type="checkbox"],
input[type="radio"] {
appearance: none;
width: 20px;
height: 20px;
padding: 0em;
}
input[type="radio"] {
border-radius: 50%;
}
input[type="checkbox"]:checked {
background-image: url(../images/checkbox.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
input[type="radio"]:checked {
background-image: url(../images/radio.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
select:focus, input:focus {
border: 1px solid var(--clr-link-hover);
outline: var(--clr-link-hover) solid 0.1em;
outline-offset: 0px;
}
input::placeholder {
color: var(--clr-body-txt);
opacity: 1;
}
input.error,
input:invalid {
background-color: var(--clr-input-err);
}
input#sidebar_search_field {
display: inline;
width: 100%;
margin: 0em;
padding-inline-end: 2.5rem;
}
textarea {
box-sizing: border-box;
display: block;
width: 100%;
height: 20ex;
font: inherit;
font-size: inherit;
color: var(--clr-body-txt);
margin: 0.5em 0em;
padding: 0.5em;
background-color: var(--clr-white);
border: 1px solid var(--clr-bdr-main);
border-radius: 0em;
resize: vertical;
}
textarea:focus {
border: 1px solid var(--clr-link-hover);
outline: var(--clr-link-hover) solid 0.1em;
outline-offset: 0px;
}
button {
font: inherit;
font-size: inherit;
cursor: pointer;
}
button:focus {
outline: none;
}
button#sidebar_search_submit {
display: block;
position: absolute;
width: 2.5rem;
height: 100%;
top: 0px;
inset-inline-end: 0px;
border: none;
border-radius: 0em;
margin: 0em;
padding: 0em;
background: transparent url(../images/search.svg) center no-repeat;
background-size: 50%;
overflow: hidden;
color: transparent;
}
button#sidebar_search_submit:hover {
background-size: 60%;
}
label {
display: block;
margin-top: 1em;
}
div#main {
width: 100%;
margin: 0em;
padding: 0em;
overflow: visible;
}
div#sidebar {
display: block;
position: absolute;
top: 2rem;
inset-inline-start: 2rem;
width: 12rem;
}
div.prev {
width: 100%;
text-align: center;
margin-bottom: 2rem;
}
div.next {
width: 100%;
text-align: center;
margin-top: 2rem;
}
div.ribbon {
box-sizing: border-box;
width: 100%;
text-align: center;
color: var(--clr-white);
background-color: #426aa6;
padding: 0.5em;
margin-bottom: 2rem;
border-radius: 0.25em;
}
div.flash {
background-color: var(--clr-flash-bg);
}
div.metadata {
font-weight: normal;
font-size: 0.9em;
text-align: center;
display: block;
position: relative;
bottom: 0em;
inset-inline-start: -2rem;
width: 100%;
padding: 0.25rem 2rem;
margin-top: 2rem;
background-color: var(--clr-content-bg);
border-top: 1px solid var(--clr-bdr-main);
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
}
article.post.pinned div.metadata {
background-color: var(--clr-pinned-bg);
}
div.comments_pagination {
width: 100%;
text-align: center;
}
div.tags {
margin: 1rem 0rem 0rem 0rem;
font-size: 0.75em;
}
div.doaction {
font-family: inherit;
margin: 1em 0em;
}
div.admin {
margin: 1em 0em 0em 0em;
}
div#main > article, div.standalone {
display: block;
position: relative;
box-sizing: border-box;
width: 100%;
background-color: var(--clr-content-bg);
margin: 0rem auto 2rem 0rem;
padding: 2rem 2rem 0rem 2rem;
border: 1px solid var(--clr-bdr-main);
border-radius: 0.5rem;
box-shadow: 0px 2px 4px 2px rgba(57,67,77,0.05);
}
div#main > article.discourse,
div#main > article.commentary {
padding: 0rem;
overflow: hidden;
}
div#main > article.page {
padding-bottom: 2rem;
}
div.standalone {
margin-bottom: 0rem;
padding-bottom: 2rem;
}
div.user_controls.standalone,
div.user_login.standalone,
div.lost_password.standalone,
div.reset_password.standalone,
div.user_register.standalone {
max-width: 384px;
}
ul.archive article.post.archive {
display: block;
position: relative;
height: 196px;
font-size: 0.75em;
background-color: var(--clr-pinned-bg);
padding: 8px;
border: 1px solid var(--clr-bdr-main);
border-radius: 0.5rem;
}
section.post_archive_container {
height: 100%;
overflow: hidden;
}
article > header {
display: block;
margin: 0rem 0rem 1rem 0rem;
padding: 0rem;
}
article > section {
display: block;
width: 100%;
margin: 1rem 0rem 0rem 0rem;
padding: 0rem;
}
article > footer {
display: block;
text-align: start;
margin: 1rem 0rem 0rem 0rem;
padding: 0rem;
border: none;
clear: both;
}
article.video video,
article.audio audio {
width: 100%;
}
a:link,
a:visited {
color: var(--clr-link);
text-decoration: none;
}
a:hover,
a:focus,
a:active {
outline: none;
color: var(--clr-link-hover);
text-decoration: underline;
text-underline-offset: 0.125em;
text-decoration-thickness: 0.0625em;
}
div.ribbon a {
color: var(--clr-white);
font-weight: bold;
}
div.traversal a {
display: inline-block;
padding: 0.5em 1em;
min-width: 8em;
border-radius: 0.25em;
color: var(--clr-white);
text-decoration: none;
background-color: var(--clr-tag);
}
div.traversal a:hover,
div.traversal a:focus,
div.traversal a:active {
color: var(--clr-white);
background-color: var(--clr-tag-hover);
}
section a:link,
p a:link,
section a:visited,
p a:visited {
color: var(--clr-link);
font-weight: 700;
text-decoration: underline;
text-underline-offset: 0.125em;
text-decoration-thickness: 0.0625em;
}
section a:hover,
p a:hover,
section a:focus,
p a:focus,
section a:active,
p a:active {
color: var(--clr-link-hover);
}
div.tags a,
div.tag_cloud a {
display: inline-block;
padding: 0.25em 0.5em;
margin-bottom: 4px;
border-radius: 0.25em;
color: var(--clr-white);
text-decoration: none;
background-color: var(--clr-tag);
}
div.tags a:hover,
div.tags a:focus,
div.tags a:active,
div.tag_cloud a:hover,
div.tag_cloud a:focus,
div.tag_cloud a:active {
color: var(--clr-white);
background-color: var(--clr-tag-hover);
}
div.doaction a, button {
display: inline-block;
white-space: nowrap;
padding: 0.5em 1em;
border: none;
border-radius: 0.25em;
color: var(--clr-white);
text-decoration: none;
background-color: var(--clr-edit-btn);
}
div.doaction a:hover,
button:hover,
div.doaction a:focus,
button:focus,
div.doaction a:active,
button:active {
background-color: var(--clr-edit-btn-hover);
}
div.doaction a.post_delete_link,
div.doaction a.delete_link {
background-color: var(--clr-delete-btn);
}
div.doaction a.post_delete_link:hover,
div.doaction a.delete_link:hover,
div.doaction a.post_delete_link:focus,
div.doaction a.delete_link:focus,
div.doaction a.post_delete_link:active,
div.doaction a.delete_link:active {
background-color: var(--clr-delete-btn-hover);
}
section.photo > a:focus {
outline: var(--clr-link-hover) solid 4px;
}
a.likes > img {
display: inline-block;
position: relative;
top: 0px;
height: 1rem;
}
a.likes:hover > img,
a.likes:focus > img,
a.likes:active > img {
top: 1px;
}
a.archive_post_link {
box-sizing: border-box;
display: block;
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
border-radius: 0.5rem;
color: transparent;
background-color: transparent;
}
a.archive_post_link:hover,
a.archive_post_link:focus,
a.archive_post_link:active {
outline: var(--clr-link-hover) solid 4px;
}
iframe {
max-width: 100%;
border: none;
margin: 1rem 0rem;
}
iframe.video_embed {
width: 100%;
aspect-ratio: 16 / 9;
}
img {
border-style: none;
margin: 0em;
padding: 0em;
}
section img {
display: block;
max-width: 100%;
}
section.photo img,
article.archive img {
width: 100%;
}
article > *:first-child,
header > *:first-child,
section > *:first-child,
footer > *:first-child,
form > *:first-child,
aside > *:first-child,
#sidebar > *:first-child,
div.standalone > *:first-child {
margin-top: 0rem;
}
article > *:last-child,
header > *:last-child,
section > *:last-child,
footer > *:last-child,
form > *:last-child,
aside > *:last-child,
div.standalone > *:last-child {
margin-bottom: 0rem;
}
.ajax_loading {
background-size: 30px 30px;
background-image: linear-gradient(
-45deg,
#f2f0e6 25%,
transparent 25%,
transparent 50%,
#f2f0e6 50%,
#f2f0e6 75%,
transparent 75%,
transparent
) !important;
animation: ajax_loading 2s linear infinite;
}
.ajax_loading .doaction {
visibility: hidden;
}
@keyframes ajax_loading {
from {
background-position: 0px 0px;
}
to {
background-position: 60px 30px;
}
}
@media print {
html {
font-size: 4.2mm;
}
body {
background-color: var(--clr-white);
}
div#main > article,
div.standalone {
background-color: var(--clr-white);
background-image: none;
page-break-inside: avoid;
box-shadow: none;
}
ul.navigation {
background-color: var(--clr-white);
background-image: none;
}
}
@media screen and (max-width: 959px) {
body {
margin: 1rem;
}
form.comment_edit {
padding: 0rem 0rem 1rem 0rem;
}
input, select {
width: 100%;
}
form.search_box {
margin: 0rem auto 1rem auto;
}
ol.pingbacks {
padding: 1rem;
}
ol.comments > li {
margin: 0em;
padding: 1rem 1rem 0rem 1rem;
}
ol.comments > li.comment_form {
padding: 1rem;
}
ul.navigation > li {
text-align: center;
}
div#sidebar {
position: static;
width: 100%;
text-align: center;
margin-bottom: 2rem;
}
div#sidebar > *:not(h1):not(form) {
display: none;
}
div#sidebar > #menu {
display: block;
}
div#sidebar > #menu:target {
display: none;
}
div#sidebar > #menu:target ~ *:not(script, style) {
display: block;
}
div#main > article {
padding: 1rem 1rem 0rem 1rem;
}
div.standalone {
padding: 1rem;
}
div.user_controls.standalone,
div.user_login.standalone,
div.lost_password.standalone,
div.reset_password.standalone,
div.user_register.standalone {
margin-left: auto;
}
div.metadata {
left: -1rem;
margin-top: 1rem;
padding: 0.25rem 1rem;
}
}
@media screen and (max-width: 639px) {
aside {
float: none;
max-width: 100%;
margin: 1rem 0rem;
}
}
@media (prefers-reduced-motion) {
.ajax_loading {
animation: none;
}
}
@media (prefers-contrast: more) {
body {
background-color: #000;
}
div#main > article,
div.standalone {
background-color: var(--clr-body-bg);
}
ul.navigation {
background-color: var(--clr-body-bg);
}
}