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