chore(*): remove unused styles, images, clean up and format
This commit is contained in:
parent
573b66a170
commit
58e41de50b
19 changed files with 48 additions and 93 deletions
|
@ -25,9 +25,7 @@ function renderPaginator(array $pagination, int $totalPages): void {
|
|||
<?php endforeach; ?>
|
||||
</select>
|
||||
<noscript>
|
||||
<p>
|
||||
<span aria-current="page"><?= $pagination['pageNumber'] ?></span> of <?= $totalPages ?>
|
||||
</p>
|
||||
<p><span aria-current="page"><?= $pagination['pageNumber'] ?></span> of <?= $totalPages ?></p>
|
||||
</noscript>
|
||||
</select-pagination>
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
|
@ -8,11 +8,6 @@
|
|||
to { opacity: 0; transform: scale(0.95); }
|
||||
}
|
||||
|
||||
dialog {
|
||||
width: var(--sizing-full);
|
||||
height: var(--sizing-full);
|
||||
}
|
||||
|
||||
.dialog-open,
|
||||
.dialog-close {
|
||||
display: inline-flex;
|
||||
|
@ -32,11 +27,18 @@ dialog {
|
|||
}
|
||||
|
||||
dialog {
|
||||
width: var(--sizing-full);
|
||||
height: var(--sizing-full);
|
||||
background: var(--background-color);
|
||||
padding: var(--spacing-lg) var(--spacing-base);
|
||||
overflow-y: auto;
|
||||
border-radius: var(--border-radius-slight);
|
||||
font-size: var(--font-size-base);
|
||||
animation: fadeIn var(--transition-duration-default) var(--transition-ease-in-out);
|
||||
|
||||
&::backdrop {
|
||||
background: var(--dialog-overlay-background);
|
||||
}
|
||||
|
||||
&.closing {
|
||||
animation: fadeOut var(--transition-duration-default) var(--transition-ease-in-out);
|
||||
|
@ -78,11 +80,3 @@ dialog {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
dialog {
|
||||
animation: fadeIn var(--transition-duration-default) var(--transition-ease-in-out);
|
||||
}
|
||||
|
||||
dialog::backdrop {
|
||||
background: var(--dialog-overlay-background);
|
||||
}
|
||||
|
|
|
@ -5,19 +5,19 @@ progress {
|
|||
background-color: var(--gray-light);
|
||||
border-radius: var(--border-radius-full);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
progress::-webkit-progress-bar {
|
||||
&::-webkit-progress-bar {
|
||||
background-color: var(--gray-light);
|
||||
border-radius: var(--border-radius-full);
|
||||
}
|
||||
|
||||
progress::-webkit-progress-value {
|
||||
&::-webkit-progress-value {
|
||||
background-color: var(--accent-color);
|
||||
border-radius: var(--border-radius-full);
|
||||
}
|
||||
|
||||
progress::-moz-progress-bar {
|
||||
&::-moz-progress-bar {
|
||||
background-color: var(--accent-color);
|
||||
border-radius: var(--border-radius-full);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
@import url("./base/index.css") layer(base);
|
||||
|
||||
/* page styles */
|
||||
@import url("./pages/about.css") layer(page);
|
||||
@import url("./pages/books.css") layer(page);
|
||||
@import url("./pages/contact.css") layer(page);
|
||||
@import url("./pages/links.css") layer(page);
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
height: unset !important;
|
||||
overflow: unset !important;
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
[data-toggle-content].text-toggle-hidden::after {
|
||||
|
||||
&::after {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
.avatar-wrapper {
|
||||
--avatar-size: 16rem;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: var(--sizing-full);
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
--avatar-size: 24rem;
|
||||
}
|
||||
|
||||
img {
|
||||
width: var(--avatar-size);
|
||||
height: var(--avatar-size);
|
||||
}
|
||||
}
|
||||
|
||||
.about-title {
|
||||
margin: var(--margin-vertical-base-horizontal-zero);
|
||||
text-align: center;
|
||||
}
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.image-media {
|
||||
.media-image {
|
||||
border: var(--border-gray);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.artist-focus {
|
||||
.image-media {
|
||||
.media-image {
|
||||
aspect-ratio: var(--aspect-ratio-square);
|
||||
width: var(--sizing-full);
|
||||
height: auto;
|
||||
|
|
|
@ -11,7 +11,7 @@ permalink: "{{ feed.permalink }}.json"
|
|||
{
|
||||
"version": "https://jsonfeed.org/version/1",
|
||||
"title": "{{ feed.title | append: " • " | append: globals.site_name }}",
|
||||
"icon": "{{ globals.url }}/assets/icons/feed.png",
|
||||
"icon": "{{ globals.cdn_url }}{{ globals.avatar }}?class=w144&v={% appVersion %}",
|
||||
"home_page_url": "{{ globals.url }}",
|
||||
"feed_url": "{{ globals.url }}{{ feed.permalink }}.json",
|
||||
"items": [
|
||||
|
|
|
@ -17,7 +17,7 @@ permalink: "{{ feed.permalink }}.xml"
|
|||
<atom:link href="{{ globals.url }}{{ feed.permalink }}.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>{{ "now" | date:"%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
|
||||
<image>
|
||||
<url>{{ globals.url }}/assets/icons/feed.png</url>
|
||||
<url>{{ globals.cdn_url }}{{ globals.avatar }}?class=w144&v={% appVersion %}</url>
|
||||
<title><![CDATA[{{ feed.title | append: " • " | append: globals.site_name }}]]></title>
|
||||
<link>{{ globals.url }}{{ feed.permalink }}.xml</link>
|
||||
<width>144</width>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<div class="banner coffee">
|
||||
<p>
|
||||
{% tablericon "coffee" %} <a class="coffee" href="https://buymeacoffee.com/cory">If you found this post helpful, you can buy me a coffee.</a>
|
||||
</p>
|
||||
<p>{% tablericon "coffee" %} <a class="coffee" href="https://buymeacoffee.com/cory">If you found this post helpful, you can buy me a coffee.</a></p>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<div class="banner mail">
|
||||
<p>
|
||||
{% tablericon "mail" %} <a class="mail" href="/contact">Reply to or discuss this post via email.</a>
|
||||
</p>
|
||||
<p>{% tablericon "mail" %} <a class="mail" href="/contact">Reply to or discuss this post via email.</a></p>
|
||||
</div>
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
{%- endif -%}
|
||||
</h3>
|
||||
{% render "blocks/tags.liquid",
|
||||
18 tags:item.tags
|
||||
19 %}
|
||||
tags:item.tags
|
||||
%}
|
||||
</article>
|
||||
{%- endfor -%}
|
||||
</article>
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
{%- capture pageDescription -%}
|
||||
{% if page.description %}
|
||||
{%- if page.description -%}
|
||||
{{ page.description }}
|
||||
{% elsif description %}
|
||||
{%- elsif description -%}
|
||||
{{ description }}
|
||||
{% else %}
|
||||
{%- else -%}
|
||||
{{ globals.site_description }}
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
{%- assign ogImage = globals.cdn_url | append: globals.avatar -%}
|
||||
{%- case schema -%}
|
||||
|
@ -83,7 +83,7 @@
|
|||
{% render "metadata/static.liquid"
|
||||
fullUrl:fullUrl,
|
||||
pageTitle:pageTitle,
|
||||
pageDescription:pageDescription
|
||||
pageDescription:pageDescription,
|
||||
ogImage:ogImage,
|
||||
globals:globals,
|
||||
%}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{%- assign description = pageDescription | markdown | strip_html | htmlTruncate | escape -%}
|
||||
<title>{{- pageTitle -}}</title>
|
||||
<meta property="og:title" content="{{- pageTitle -}}" />
|
||||
<meta name="description" content="{{- description -}}" />
|
||||
<meta property="og:description" content="{{- description -}}" />
|
||||
<title>{{ pageTitle }}</title>
|
||||
<meta property="og:title" content="{{ pageTitle }}" />
|
||||
<meta name="description" content="{{ description }}" />
|
||||
<meta property="og:description" content="{{ description }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="{{ fullUrl }}" />
|
||||
<link rel="canonical" href="{{ fullUrl }}" />
|
||||
|
|
|
@ -6,16 +6,11 @@
|
|||
{%- assign prevHref = pagination.href.previous -%}
|
||||
{%- assign nextHref = pagination.href.next -%}
|
||||
{% if prevHref %}
|
||||
<a
|
||||
href="{{ prevHref }}"
|
||||
aria-label="Previous page"
|
||||
>
|
||||
<a href="{{ prevHref }}" aria-label="Previous page">
|
||||
{% tablericon "arrow-left" %}
|
||||
</a>
|
||||
{% else %}
|
||||
<span>
|
||||
{% tablericon "arrow-left" %}
|
||||
</span>
|
||||
<span>{% tablericon "arrow-left" %}</span>
|
||||
{% endif %}
|
||||
<select-pagination>
|
||||
<select class="client-side" aria-label="Page selection">
|
||||
|
@ -26,22 +21,15 @@
|
|||
{%- endfor -%}
|
||||
</select>
|
||||
<noscript>
|
||||
<p>
|
||||
<span aria-current="page">{{ pagination.pageNumber | plus:1 }}</span> of {{ pagination.links.size }}
|
||||
</p>
|
||||
<p><span aria-current="page">{{ pagination.pageNumber | plus:1 }}</span> of {{ pagination.links.size }}</p>
|
||||
</noscript>
|
||||
</select-pagination>
|
||||
{% if nextHref %}
|
||||
<a
|
||||
href="{{ nextHref }}"
|
||||
aria-label="Next page"
|
||||
>
|
||||
<a href="{{ nextHref }}" aria-label="Next page">
|
||||
{% tablericon "arrow-right" %}
|
||||
</a>
|
||||
{% else %}
|
||||
<span>
|
||||
{% tablericon "arrow-right" %}
|
||||
</span>
|
||||
<span>{% tablericon "arrow-right" %}</span>
|
||||
{% endif %}
|
||||
</nav>
|
||||
{%- endunless -%}
|
||||
|
|
|
@ -7,7 +7,7 @@ schema: artist
|
|||
<article class="artist-focus">
|
||||
<div class="artist-display">
|
||||
<img
|
||||
class="image-media"
|
||||
class="media-image"
|
||||
srcset="
|
||||
{{ globals.cdn_url }}<?= htmlspecialchars($artist["image"]) ?>?class=w200&type=webp 200w,
|
||||
{{ globals.cdn_url }}<?= htmlspecialchars($artist["image"]) ?>?class=w600&type=webp 400w,
|
||||
|
|
|
@ -7,7 +7,7 @@ schema: book
|
|||
<article class="book-focus">
|
||||
<div class="book-display">
|
||||
<img
|
||||
class="image-media"
|
||||
class="media-image"
|
||||
srcset="
|
||||
{{ globals.cdn_url }}<?= htmlspecialchars($book["image"]) ?>?class=verticalsm&type=webp 200w,
|
||||
{{ globals.cdn_url }}<?= htmlspecialchars($book["image"]) ?>?class=verticalmd&type=webp 400w,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue