fix: styles
This commit is contained in:
parent
de2dca0810
commit
2b4e2ab4d3
12 changed files with 20 additions and 28 deletions
1
.nvmrc
1
.nvmrc
|
@ -1 +0,0 @@
|
||||||
20.11.0
|
|
18
package-lock.json
generated
18
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "24.13.0",
|
"version": "24.13.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "24.13.0",
|
"version": "24.13.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.5.0",
|
"@cdransf/api-text": "^1.5.0",
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"rimraf": "^6.0.1",
|
"rimraf": "^6.0.1",
|
||||||
"sanitize-html": "^2.13.0",
|
"sanitize-html": "^2.13.0",
|
||||||
"slugify": "^1.6.6",
|
"slugify": "^1.6.6",
|
||||||
"terser": "^5.32.0",
|
"terser": "^5.33.0",
|
||||||
"truncate-html": "^1.1.2"
|
"truncate-html": "^1.1.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1897,9 +1897,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/electron-to-chromium": {
|
"node_modules/electron-to-chromium": {
|
||||||
"version": "1.5.23",
|
"version": "1.5.24",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.23.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.24.tgz",
|
||||||
"integrity": "sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA==",
|
"integrity": "sha512-0x0wLCmpdKFCi9ulhvYZebgcPmHTkFVUfU2wzDykadkslKwT4oAmDTHEKLnlrDsMGZe4B+ksn8quZfZjYsBetA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
|
@ -4925,9 +4925,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/terser": {
|
"node_modules/terser": {
|
||||||
"version": "5.32.0",
|
"version": "5.33.0",
|
||||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz",
|
"resolved": "https://registry.npmjs.org/terser/-/terser-5.33.0.tgz",
|
||||||
"integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==",
|
"integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "24.13.0",
|
"version": "24.13.4",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
"rimraf": "^6.0.1",
|
"rimraf": "^6.0.1",
|
||||||
"sanitize-html": "^2.13.0",
|
"sanitize-html": "^2.13.0",
|
||||||
"slugify": "^1.6.6",
|
"slugify": "^1.6.6",
|
||||||
"terser": "^5.32.0",
|
"terser": "^5.33.0",
|
||||||
"truncate-html": "^1.1.2"
|
"truncate-html": "^1.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -3,8 +3,6 @@ body {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono);
|
||||||
letter-spacing: -.025rem;
|
|
||||||
word-spacing: -.075rem;
|
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
scrollbar-color: var(--accent-color) var(--gray-light);
|
scrollbar-color: var(--accent-color) var(--gray-light);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: var(--gray-light-transparent);
|
background-color: var(--gray-light-transparent);
|
||||||
border-radius: var(--border-radius-full);
|
border-radius: var(--border-radius-full);
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
& .progress-bar {
|
& .progress-bar {
|
||||||
background-color: var(--accent-color);
|
background-color: var(--accent-color);
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
@font-face {
|
|
||||||
font-family: MonoLisa;
|
|
||||||
src: url('/assets/fonts/MonoLisa.min.woff2') format('woff2');
|
|
||||||
font-display: optional;
|
|
||||||
}
|
|
|
@ -80,7 +80,7 @@
|
||||||
--border-gray: 1px solid var(--gray-light);
|
--border-gray: 1px solid var(--gray-light);
|
||||||
|
|
||||||
/* fonts */
|
/* fonts */
|
||||||
--font-mono: MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace;
|
--font-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace;
|
||||||
|
|
||||||
/* text */
|
/* text */
|
||||||
--font-size-xs: .7rem;
|
--font-size-xs: .7rem;
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
@import url('./reset.css') layer(reset);
|
@import url('./reset.css') layer(reset);
|
||||||
|
|
||||||
/* core defaults */
|
/* core defaults */
|
||||||
@import url('./defaults/fonts.css') layer(defaults);
|
|
||||||
@import url('./defaults/vars.css') layer(defaults);
|
@import url('./defaults/vars.css') layer(defaults);
|
||||||
|
|
||||||
/* base styles */
|
/* base styles */
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
{%- for post in posts -%}
|
{%- for post in posts -%}
|
||||||
<article class="h-entry">
|
<article>
|
||||||
<time class="dt-published" datetime="{{ post.date }}">
|
<time datetime="{{ post.date }}">
|
||||||
{{ post.date | date: "%B %e, %Y" }}
|
{{ post.date | date: "%B %e, %Y" }}
|
||||||
</time>
|
</time>
|
||||||
<a href="{{ post.slug }}">
|
<h3>
|
||||||
<h3>{{ post.title }}</h3>
|
<a href="{{ post.slug }}">{{ post.title }}</a>
|
||||||
</a>
|
</h3>
|
||||||
{{ post.description | normalize_whitespace | markdown | truncatewords: 50 }}
|
{{ post.description | normalize_whitespace | markdown | truncatewords: 50 }}
|
||||||
</article>
|
</article>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
|
@ -10,7 +10,7 @@ permalink: "/posts/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
||||||
<div class="posts-wrapper">
|
<div class="posts-wrapper">
|
||||||
{% for post in pagination.items %}
|
{% for post in pagination.items %}
|
||||||
<article>
|
<article>
|
||||||
<time>{{ post.date | date: "%B %e, %Y" }}</time>
|
<time datetime="{{ post.date }}">{{ post.date | date: "%B %e, %Y" }}</time>
|
||||||
<a href="{{ post.slug }}">
|
<a href="{{ post.slug }}">
|
||||||
<h3>{{ post.title }}</h3>
|
<h3>{{ post.title }}</h3>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -8,7 +8,7 @@ permalink: "{{ post.slug }}/index.html"
|
||||||
schema: blog
|
schema: blog
|
||||||
---
|
---
|
||||||
<article class="standalone">
|
<article class="standalone">
|
||||||
<time>{{ post.date | date: "%B %e, %Y" }}</time>
|
<time datetime="{{ post.date }}">{{ post.date | date: "%B %e, %Y" }}</time>
|
||||||
<h3>{{ post.title }}</h3>
|
<h3>{{ post.title }}</h3>
|
||||||
<div>
|
<div>
|
||||||
{% render "partials/blocks/banners/old-post.liquid", date:post.date %}
|
{% render "partials/blocks/banners/old-post.liquid", date:post.date %}
|
||||||
|
|
Reference in a new issue