This commit is contained in:
Nycki 2024-09-15 14:04:28 -07:00
parent b86dd4e059
commit 60c8549c28
9 changed files with 8 additions and 51 deletions

View file

@ -3,7 +3,6 @@ layout: layouts/base.njk
--- ---
{# Only include the syntax highlighter CSS on blog posts #} {# Only include the syntax highlighter CSS on blog posts #}
{%- css %}{% include "node_modules/prismjs/themes/prism-okaidia.css" %}{% endcss %} {%- css %}{% include "node_modules/prismjs/themes/prism-okaidia.css" %}{% endcss %}
{%- css %}{% include "public/css/prism-diff.css" %}{%- endcss %}
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<ul class="post-metadata"> <ul class="post-metadata">

View file

@ -10,17 +10,19 @@ My name is Nycki ([ˈnɪki](http://ipa-reader.xyz/?text=%CB%88n%C9%AAki)) (she/t
## Contact ## Contact
Some of these will change as I transition from my old internet name 'Nupa' to my new one 'Nycki'. It's just personal preference, I'll still answer to either name for the time being.
- <nupanick@gmail.com> - <nupanick@gmail.com>
- <https://github.com/nycki93> - <https://github.com/nycki93>
- <https://twitter.com/nupanick>
[![button for nycki](/a/88x13-nycki-r2.png)](https://nycki.net)
[![button of cohost, by mykocalico](/a/88x13-cohost-mykocalico.png)](https://cohost.org/nycki)
## Blog ## Blog
[blog!](/blog) [blog!](/blog) | [rss!](/blog/feed.xml)
[rss!](/blog/feed.xml) ## Links
[![button of sofia-drawsmore](/a/88x31-sofia.png)](https://sofiadrawsmore.neocities.org/)
## Creations ## Creations

View file

@ -13,6 +13,7 @@ const pluginDrafts = require("./eleventy.config.drafts.js");
module.exports = function(eleventyConfig) { module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("content/**/*.png"); eleventyConfig.addPassthroughCopy("content/**/*.png");
eleventyConfig.addPassthroughCopy('content/**/*.css'); eleventyConfig.addPassthroughCopy('content/**/*.css');
eleventyConfig.addPassthroughCopy({ "public": "/" });
eleventyConfig.addPassthroughCopy({ "patches": "/" }); eleventyConfig.addPassthroughCopy({ "patches": "/" });
// Run Eleventy when these files change: // Run Eleventy when these files change:

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

BIN
public/a/88x13-nycki-r1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

BIN
public/a/88x13-nycki-r2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

BIN
public/a/88x31-sofia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View file

@ -1,45 +0,0 @@
/*
* New diff- syntax
*/
pre[class*="language-diff-"] {
--eleventy-code-padding: 1.25em;
padding-left: var(--eleventy-code-padding);
padding-right: var(--eleventy-code-padding);
}
.token.deleted {
background-color: hsl(0, 51%, 37%);
color: inherit;
}
.token.inserted {
background-color: hsl(126, 31%, 39%);
color: inherit;
}
/* Make the + and - characters unselectable for copy/paste */
.token.prefix.unchanged,
.token.prefix.inserted,
.token.prefix.deleted {
-webkit-user-select: none;
user-select: none;
display: inline-flex;
align-items: center;
justify-content: center;
padding-top: 2px;
padding-bottom: 2px;
}
.token.prefix.inserted,
.token.prefix.deleted {
width: var(--eleventy-code-padding);
background-color: rgba(0,0,0,.2);
}
/* Optional: full-width background color */
.token.inserted:not(.prefix),
.token.deleted:not(.prefix) {
display: block;
margin-left: calc(-1 * var(--eleventy-code-padding));
margin-right: calc(-1 * var(--eleventy-code-padding));
text-decoration: none; /* override del, ins, mark defaults */
color: inherit; /* override del, ins, mark defaults */
}

View file