fix: spacing
This commit is contained in:
parent
3917915d50
commit
48d27c8ca9
6 changed files with 15 additions and 11 deletions
|
@ -200,7 +200,7 @@ export default {
|
||||||
normalized['subtext'] = `${item['plays']} plays`
|
normalized['subtext'] = `${item['plays']} plays`
|
||||||
}
|
}
|
||||||
if (item.type === 'movie') {
|
if (item.type === 'movie') {
|
||||||
normalized['title'] = `${item['title']} (${item['year']})`
|
normalized['title'] = item['title']
|
||||||
normalized['alt'] = item['title']
|
normalized['alt'] = item['title']
|
||||||
normalized['rating'] = item['rating']
|
normalized['rating'] = item['rating']
|
||||||
normalized['subtext'] = item['rating']
|
normalized['subtext'] = item['rating']
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "16.5.3",
|
"version": "16.5.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "16.5.3",
|
"version": "16.5.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.2.2",
|
"@cdransf/api-text": "^1.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "16.5.3",
|
"version": "16.5.4",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -166,15 +166,15 @@ h6 { font-size: var(--font-size-xs) }
|
||||||
margin: var(--sizing-md) 0 var(--sizing-lg);
|
margin: var(--sizing-md) 0 var(--sizing-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.no-top-margin {
|
||||||
|
margin: 0 0 var(--sizing-lg);
|
||||||
|
}
|
||||||
|
|
||||||
&.posts {
|
&.posts {
|
||||||
margin: 0 0 var(--sizing-lg);
|
margin: 0 0 var(--sizing-lg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.default-wrapper > .section-header:first-of-type {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-header-buttons {
|
.section-header-buttons {
|
||||||
margin: var(--sizing-3xl) 0 var(--sizing-lg);
|
margin: var(--sizing-3xl) 0 var(--sizing-lg);
|
||||||
|
|
||||||
|
@ -182,6 +182,10 @@ h6 { font-size: var(--font-size-xs) }
|
||||||
margin: var(--sizing-md) 0 var(--sizing-lg);
|
margin: var(--sizing-md) 0 var(--sizing-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.no-top-margin {
|
||||||
|
margin: 0 0 var(--sizing-lg);
|
||||||
|
}
|
||||||
|
|
||||||
& > button {
|
& > button {
|
||||||
margin-bottom: var(--sizing-sm) !important;
|
margin-bottom: var(--sizing-sm) !important;
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,11 @@ schema: music
|
||||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-artist-charts", text: "I also have a feed of weekly artist charts I generate from this data" %}
|
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-artist-charts", text: "I also have a feed of weekly artist charts I generate from this data" %}
|
||||||
<hr class="large-spacing" />
|
<hr class="large-spacing" />
|
||||||
<div class="section-header-wrapper">
|
<div class="section-header-wrapper">
|
||||||
<h2 id="artists" class="section-header reduced-margin flex-centered">
|
<h2 id="artists" class="section-header no-top-margin flex-centered">
|
||||||
{% tablericon "microphone-2" "Artists" %}
|
{% tablericon "microphone-2" "Artists" %}
|
||||||
Artists
|
Artists
|
||||||
</h2>
|
</h2>
|
||||||
<div class="section-header-buttons reduced-margin client-side">
|
<div class="section-header-buttons no-top-margin client-side">
|
||||||
<button class="small active" data-toggle="artists-window">This week</button>
|
<button class="small active" data-toggle="artists-window">This week</button>
|
||||||
<button class="small secondary" data-toggle="artists-month">This month</button>
|
<button class="small secondary" data-toggle="artists-month">This month</button>
|
||||||
<button class="small secondary" data-toggle="artists-three-months">3 months</button>
|
<button class="small secondary" data-toggle="artists-three-months">3 months</button>
|
||||||
|
|
|
@ -12,7 +12,7 @@ schema: watching
|
||||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-movies", text: "Subscribe to my movies feed or follow along on this page" %}
|
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-movies", text: "Subscribe to my movies feed or follow along on this page" %}
|
||||||
<hr class="large-spacing" />
|
<hr class="large-spacing" />
|
||||||
<a class="link-icon flex-centered" href="/recent/movies">
|
<a class="link-icon flex-centered" href="/recent/movies">
|
||||||
<h2 id="movies" class="section-header reduced-margin flex-centered">
|
<h2 id="movies" class="section-header no-top-margin flex-centered">
|
||||||
{% tablericon "movie" "Recent movies" %}
|
{% tablericon "movie" "Recent movies" %}
|
||||||
Recent movies
|
Recent movies
|
||||||
</h2>
|
</h2>
|
||||||
|
|
Reference in a new issue