add codeblock highlighting, honestly a lot of stuff was changed, iceshrimp and sharkey updates + tips
All checks were successful
/ build (push) Successful in 3m22s
All checks were successful
/ build (push) Successful in 3m22s
This commit is contained in:
parent
89892d3e0c
commit
ecd3a73aaa
14 changed files with 392 additions and 87 deletions
|
|
@ -17,6 +17,7 @@
|
|||
<h1 style="text-align:center;"><a href="https://iceshrimp.net" target="_blank" style="vertical-align:middle;"><img src="/assets/isnet.png" alt="Iceshrimp.NET source" style="height:2rem;margin-right:.4rem;border-radius:.2rem" /></a>Icesynth!</h1>
|
||||
<p style="text-align:center;">Beep! A small instance themed around <a href="https://synthspecies.com">synths</a>, but accepts all. <small>Not to be confused with our <a href="/sharkey">Sharkey</a> instance.</small></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://beeping.synth.download/login"><span class="icon tabler--login"></span> Log in</a> <a class="button" href="https://beeping.synth.download/register"><span class="icon tabler--user-plus"></span> Register</a></p>
|
||||
<p style="text-align:center;"><a class="button" href="#tips"><span class="icon tabler--bulb"></span> Tips & Tricks</a></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://masto.beeping.synth.download"><span class="icon tabler--brand-mastodon"></span> Mastodon-FE</a> <a class="button" href="https://akko.beeping.synth.download"><span class="icon tabler--external-link"></span> Akkoma-FE</a> <a class="button" href="https://phanpy.beeping.synth.download"><span class="icon tabler--external-link"></span> Phanpy</a> <a class="button" href="https://pl-fe.beeping.synth.download"><span class="icon tabler--external-link"></span> pl-fe</a></p>
|
||||
<hr class="solid">
|
||||
{% include "layouts/fediverse/buttons.njk" %}
|
||||
|
|
@ -36,6 +37,9 @@
|
|||
<li>
|
||||
<a href="#frontends">Alternative frontends</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#tips">Tips & Tricks</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#bubble">Bubble timeline</a>
|
||||
</li>
|
||||
|
|
|
|||
54
_includes/layouts/fediverse/iceshrimp/tips.njk
Normal file
54
_includes/layouts/fediverse/iceshrimp/tips.njk
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<!-- iceshrimp tips & tricks -->
|
||||
<div id="tips" class="window">
|
||||
<div class="header">
|
||||
<div class="titlebar-icon" aria-hidden="true">
|
||||
<span class="icon tabler--info-circle"></span>
|
||||
</div>
|
||||
<a href="#tips">Tips & Tricks</a>
|
||||
<div class="window-buttons" aria-hidden="true">
|
||||
<span class="icon tabler--minimize"></span>
|
||||
<span class="icon tabler--maximize"></span>
|
||||
</div>
|
||||
<div class="close-button" aria-hidden="true">
|
||||
<span class="icon tabler--x"></span>
|
||||
</div>
|
||||
</div>
|
||||
<section>
|
||||
<h2><a href="#tips">Tips & Tricks</a></h2>
|
||||
<p>A few notable, useful worth-sharing tips & tricks for Iceshrimp users. You may also suggest any to be added here.</p>
|
||||
<hr class="solid">
|
||||
<details class="styled">
|
||||
<summary>Remove all inaccessible followers-only replies <span class="icon tabler--arrow-autofit-height"></span></summary>
|
||||
<section>
|
||||
<p>Iceshrimp.NET, by default, will show <i>all</i> replies, including those that are replies to posts that are inaccessible to you, even if you aren't using the default frontend. For most users, this is <i>unwanted</i> behavior.</p>
|
||||
<p>To disable it, first:</p>
|
||||
<ul>
|
||||
<li>Enter your <a href="https://beeping.synth.download/settings" target="_blank">account settings</a></li>
|
||||
<li>Click the "Account" tab on the left</li>
|
||||
<li>Find and enable "Filter replies to inaccessible notes"</li>
|
||||
</ul>
|
||||
<p>This should disable them on the official frontend. However, if you use a custom/alternative client, they may still show up via <span style="text-transform: none;">"RE: 🔒"</span> posts. To disable these, we simply put a custom word filter:</p>
|
||||
<ul>
|
||||
<li>Enter your <a href="https://beeping.synth.download/settings" target="_blank">account settings</a></li>
|
||||
<li>Click the "Filters" tab on the left</li>
|
||||
<li>Create a new filter.</li>
|
||||
<ul>
|
||||
<li>The Filter Name is required, but can be whatever. Name it something like "Disable inaccessible replies".</li>
|
||||
<li>For the keywords, simply type in <span style="text-transform: none;">"RE: 🔒"</span> <i>(without the quotation marks)</i> then press the "Add" button below it.</li>
|
||||
<li>Set the Filter Action to "Hide".</li>
|
||||
<li>Add everything from the "Filter Contexts" list.</li>
|
||||
<li>Set the expiry date to whatever in the future, like 09/09/9999 for example.</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<p>After that, all inaccessible replies shall now vanish.</p>
|
||||
</section>
|
||||
</details>
|
||||
<details class="styled">
|
||||
<summary>Emoji reactions in Phanpy <span class="icon tabler--arrow-autofit-height"></span></summary>
|
||||
<section>
|
||||
<p>The Phanpy frontend has <i>some</i> support for emoji reactions. Specifically though, only showing them in notifications.</p>
|
||||
<p>To enable support for at least showing them rather than displaying a broken notification for each reaction, simply log into Phanpy again with the "This app is intended for Pleroma or Akkoma" flag enabled.</p>
|
||||
</section>
|
||||
</details>
|
||||
</section>
|
||||
</div>
|
||||
|
|
@ -16,7 +16,8 @@
|
|||
<section>
|
||||
<h1 style="text-align:center;"><a href="https://joinsharkey.org" target="_blank" style="vertical-align:middle;"><img src="/assets/sharkey_sh.svg" alt="Sharkey's website" style="height:2rem;margin-right:.4rem;border-radius:.2rem" /></a>Beepkey!</h1>
|
||||
<p style="text-align:center;">Beep! A small instance themed around <a href="https://synthspecies.com">synths</a>, but accepts all. <small>Not to be confused with our <a href="/iceshrimp">Iceshrimp</a> instance.</small></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://booping.synth.download"><span class="icon tabler--external-link"></span> Visit</a> <a class="button" href="https://booping.synth.download/@sneexy/pages/users-guide"><span class="icon tabler--bulb"></span> Tips & Tricks</a></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://booping.synth.download"><span class="icon tabler--external-link"></span> Visit</a></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://github.com/poppingmoon/aria#aria"><span class="icon tabler--device-mobile"></span> Aria</a> <a class="button" href="#tips"><span class="icon tabler--bulb"></span> Tips & Tricks</a></p>
|
||||
<p style="text-align:center;margin-bottom:-1rem;opacity:.8;"><small><b>Note:</b> Alternative clients are noted to be unstable with Sharkey.</small></p>
|
||||
<p style="text-align:center;"><a class="button" href="https://masto.booping.synth.download"><span class="icon tabler--brand-mastodon"></span> Mastodon-FE</a> <a class="button" href="https://phanpy.booping.synth.download"><span class="icon tabler--external-link"></span> Phanpy</a> <a class="button" href="https://pl-fe.booping.synth.download"><span class="icon tabler--external-link"></span> pl-fe</a></p>
|
||||
<hr class="solid">
|
||||
|
|
@ -34,6 +35,9 @@
|
|||
<li>
|
||||
<a href="#rules">Rules</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#tips">Tips & Tricks</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#bubble">Bubble timeline</a>
|
||||
</li>
|
||||
|
|
|
|||
64
_includes/layouts/fediverse/sharkey/tips.njk
Normal file
64
_includes/layouts/fediverse/sharkey/tips.njk
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<!-- iceshrimp tips & tricks -->
|
||||
<div id="tips" class="window">
|
||||
<div class="header">
|
||||
<div class="titlebar-icon" aria-hidden="true">
|
||||
<span class="icon tabler--info-circle"></span>
|
||||
</div>
|
||||
<a href="#tips">Tips & Tricks</a>
|
||||
<div class="window-buttons" aria-hidden="true">
|
||||
<span class="icon tabler--minimize"></span>
|
||||
<span class="icon tabler--maximize"></span>
|
||||
</div>
|
||||
<div class="close-button" aria-hidden="true">
|
||||
<span class="icon tabler--x"></span>
|
||||
</div>
|
||||
</div>
|
||||
<section>
|
||||
<h2><a href="#tips">Tips & Tricks</a></h2>
|
||||
<p>A few notable, useful worth-sharing tips & tricks for Sharkey users. You may also suggest any to be added here.</p>
|
||||
<hr class="solid">
|
||||
<details class="styled">
|
||||
<summary>Using comfortably on mobile/restricted environments <span class="icon tabler--arrow-autofit-height"></span></summary>
|
||||
<section>
|
||||
<p>Sharkey works best via it's web UI frontend. Sometimes, this may be uncomfortable on mobile or generally lower-end devices.</p>
|
||||
<p>You have a few options to try out:</p>
|
||||
<ul>
|
||||
<li>Try using a Chromium based browser to use Sharkey</li>
|
||||
<ul>
|
||||
<li>Sharkey performs notably better under a Chromium based environment, and if on Android, may also use less battery in the process.</li>
|
||||
<ul>
|
||||
<li>For iOS users, this option may not be helpful/do no change at all.</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<li>Try using the <a href="https://github.com/poppingmoon/aria#aria">Aria</a> client, as we suggest for mobile users.</li>
|
||||
<ul>
|
||||
<li>It's a native, basically 1-to-1 compatible Misskey client. While it's focused on supporting Misskey features, it also supports some of the Sharkey features such as editing.</li>
|
||||
<li>They also provide builds for anything other than mobile devices, including native builds for Windows, Mac and Linux.</li>
|
||||
</ul>
|
||||
<li>Disable all effects and animations in the client settings</li>
|
||||
<ul>
|
||||
<li>Go to your <a href="https://booping.synth.download/settings/preferences">Preferences</a></li>
|
||||
<li>Look under the "Accessibility" and "Performance" tab. You can disable UI animations, MFM, and blur effects.</li>
|
||||
</ul>
|
||||
<li>Use a Mastodon client</li>
|
||||
<ul>
|
||||
<li>As Mastodon is more popular, there a lot of clients for Mastodon that perform better in all cases. However, Sharkey's Masto-API implementation isn't great, and may ultimately be a worse experience over the other methods provided.</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</section>
|
||||
</details>
|
||||
<details class="styled">
|
||||
<summary>Disable the "Widgets" sidebar <span class="icon tabler--arrow-autofit-height"></span></summary>
|
||||
<section>
|
||||
<p>In the normal UI view, Sharkey has a permanent sidebar that holds widgets on the right side of the UI, which cannot be disabled. It, however, is not required in any way for normal usage, so we may use custom CSS on the client in order to remove it.</p>
|
||||
<p>Simply go to your <a href="https://booping.synth.download/settings/custom-css">custom CSS</a> settings and add the below snippet:</p>
|
||||
{% highlight css %}
|
||||
[class^="universal-widgets-"] {
|
||||
display: none;
|
||||
}
|
||||
{% endhighlight %}
|
||||
<p>Once applied and refreshed, the widgets sidebar should now be gone. <small><i>Note that this won't effect the sidebar that appears on mobile (opened through a button on the navbar) so it's safe to use this CSS on mobile as well, in the case of client settings syncing.</i></small></p>
|
||||
</section>
|
||||
</details>
|
||||
</section>
|
||||
</div>
|
||||
|
|
@ -1,15 +1,16 @@
|
|||
{% set css %}
|
||||
{% include "styles/accessibility.css" %}
|
||||
{% include "styles/animations.css" %}
|
||||
{% include "styles/base.css" %}
|
||||
{% include "styles/font.css" %}
|
||||
{% include "styles/accessibility.css" %}
|
||||
{% include "styles/navbar.css" %}
|
||||
{% include "styles/windows.css" %}
|
||||
{% include "styles/footer.css" %}
|
||||
{% include "styles/animations.css" %}
|
||||
{% include "styles/icons.css" %}
|
||||
{% include "styles/navbar.css" %}
|
||||
{% include "styles/pages/home.css" %}
|
||||
{% include "styles/pages/notebook.css" %}
|
||||
{% include "styles/pages/sneexy.css" %}
|
||||
{% include "styles/prism-a11y-dark.css" %}
|
||||
{% include "styles/windows.css" %}
|
||||
{% endset %}
|
||||
|
||||
{% set js %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!-- top navbar -->
|
||||
<nav class="navbar">
|
||||
<header class="navbar">
|
||||
<a class="nav-base nav-left nav-baselink nav-desktop" aria-label="Synth.download Homepage" href="/"><img aria-hidden="true" src="/assets/synth.download/synth_web.svg" class="synth-icon" /></a>
|
||||
<div class="nav-base nav-left nav-baselink nav-mobile-menu">
|
||||
<input type="checkbox" id="nav-mobile-menu-dropdown" value="" name="nav-mobile-menu-dropdown">
|
||||
|
|
@ -111,4 +111,4 @@
|
|||
<span class="icon tabler--wifi"></span>
|
||||
<span class="icon tabler--battery-filled"></span>
|
||||
</p>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
@ -343,40 +343,11 @@ details.styled {
|
|||
}
|
||||
|
||||
section {
|
||||
padding: 1.4rem;
|
||||
padding: 1rem;
|
||||
text-align: start !important;
|
||||
|
||||
ul {
|
||||
margin: -.5rem -.5rem -.5rem -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: var(--background);
|
||||
border-radius: 1rem;
|
||||
border: .1rem solid var(--border);
|
||||
margin-bottom: 1.4rem;
|
||||
padding: 1rem;
|
||||
|
||||
h2 {
|
||||
margin-top: 0rem !important;
|
||||
margin-bottom: .4rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.card.last {
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
|
||||
.card.tilde-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
|
||||
.card.question {
|
||||
p {
|
||||
margin: .6rem !important;
|
||||
margin: 0 0 0 -.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -397,6 +368,37 @@ details.styled[open] {
|
|||
}
|
||||
}
|
||||
|
||||
/* card styling */
|
||||
.card {
|
||||
background-color: var(--background);
|
||||
border-radius: 1rem;
|
||||
border: .1rem solid var(--border);
|
||||
gap: .5rem;
|
||||
margin-bottom: 1.4rem;
|
||||
padding: 1rem;
|
||||
|
||||
h2 {
|
||||
margin-top: 0rem !important;
|
||||
margin-bottom: .4rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.card.last {
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
|
||||
.card.tilde-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
|
||||
.card.question {
|
||||
p {
|
||||
margin: .6rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dashed border */
|
||||
hr.dashed {
|
||||
border: .1rem dashed var(--border);
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
.tabler--bulb { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12h1m8-9v1m8 8h1M5.6 5.6l.7.7m12.1-.7l-.7.7M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0-1 3a2 2 0 0 1-4 0a3.5 3.5 0 0 0-1-3m.7 1h4.6'/%3E%3C/svg%3E"); }
|
||||
.tabler--corner-down-right { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 6v6a3 3 0 0 0 3 3h10l-4-4m0 8l4-4'/%3E%3C/svg%3E"); }
|
||||
.tabler--currency-dollar { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16.7 8A3 3 0 0 0 14 6h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1-2.7-2M12 3v3m0 12v3'/%3E%3C/svg%3E"); }
|
||||
.tabler--device-mobile { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm5-1h2m-1 13v.01'/%3E%3C/svg%3E"); }
|
||||
.tabler--external-link { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6m-7 1l9-9m-5 0h5v5'/%3E%3C/svg%3E"); }
|
||||
.tabler--grid-dots { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 5a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0M4 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0M4 19a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0'/%3E%3C/svg%3E"); }
|
||||
.tabler--heart { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19.5 12.572L12 20l-7.5-7.428A5 5 0 1 1 12 6.006a5 5 0 1 1 7.5 6.572'/%3E%3C/svg%3E"); }
|
||||
|
|
|
|||
161
_includes/styles/prism-a11y-dark.css
Normal file
161
_includes/styles/prism-a11y-dark.css
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
/**
|
||||
* a11y-dark theme for JavaScript, CSS, and HTML
|
||||
* Based on the okaidia theme: https://github.com/PrismJS/prism/blob/gh-pages/themes/prism-okaidia.css
|
||||
* @author ericwbailey
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #f8f8f2;
|
||||
background: none;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #2b2b2b;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: #d4d0ab;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #fefefe;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #ffa07a;
|
||||
}
|
||||
|
||||
.token.boolean,
|
||||
.token.number {
|
||||
color: #00e0e0;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #abe338;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string,
|
||||
.token.variable {
|
||||
color: #00e0e0;
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.function {
|
||||
color: #ffd700;
|
||||
}
|
||||
|
||||
.token.keyword {
|
||||
color: #00e0e0;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important {
|
||||
color: #ffd700;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
@media screen and (-ms-high-contrast: active) {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: windowText;
|
||||
background: window;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: window;
|
||||
}
|
||||
|
||||
.token.important {
|
||||
background: highlight;
|
||||
color: window;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.function,
|
||||
.token.keyword,
|
||||
.token.operator,
|
||||
.token.selector {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.attr-value,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
.token.function,
|
||||
.token.keyword,
|
||||
.token.operator,
|
||||
.token.property,
|
||||
.token.string {
|
||||
color: highlight;
|
||||
}
|
||||
|
||||
.token.attr-value,
|
||||
.token.url {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
|
@ -2,13 +2,14 @@ import { minify } from "terser";
|
|||
import { transform } from "lightningcss";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
import pluginFilters from "./_config/filters.js";
|
||||
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
|
||||
|
||||
export default function(eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy("assets/");
|
||||
eleventyConfig.addPassthroughCopy({ "sneexy/notebook/": "~sneexy/notebook/" }); // notebook page generated by quartz seperately - see https://forged.synth.download/sneexy/notebook
|
||||
|
||||
// our custom filters
|
||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||
eleventyConfig.addPlugin(pluginFilters);
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
eleventyConfig.addPassthroughCopy("assets/");
|
||||
|
||||
eleventyConfig.addFilter("cssmin", function (code) {
|
||||
const result = transform({
|
||||
|
|
@ -22,6 +23,4 @@ export default function(eleventyConfig) {
|
|||
const minified = await minify(code);
|
||||
return minified.code;
|
||||
});
|
||||
|
||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||
};
|
||||
|
|
@ -14,6 +14,8 @@ permalink: "/iceshrimp/"
|
|||
|
||||
{% include "layouts/fediverse/iceshrimp/fe.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/iceshrimp/tips.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/iceshrimp/bubble.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/moderation.njk" %}
|
||||
94
package-lock.json
generated
94
package-lock.json
generated
|
|
@ -9,11 +9,12 @@
|
|||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.1",
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-navigation": "^1.0.4",
|
||||
"@11ty/eleventy-plugin-rss": "^2.0.4",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.1",
|
||||
"lightningcss": "^1.30.1",
|
||||
"terser": "^5.42.0",
|
||||
"terser": "^5.43.1",
|
||||
"zod": "^3.25.67",
|
||||
"zod-validation-error": "^3.5.2"
|
||||
}
|
||||
|
|
@ -40,9 +41,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@11ty/eleventy": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy/-/eleventy-3.1.1.tgz",
|
||||
"integrity": "sha512-nsMCW44WSYzpi6JSQ1ar/wlotj/2cxuP4AABX5Dxqwol3IQ3SkEMgcAugP1t1mthv5I0kIB9lql1Jv/lhUHIkg==",
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy/-/eleventy-3.1.2.tgz",
|
||||
"integrity": "sha512-IcsDlbXnBf8cHzbM1YBv3JcTyLB35EK88QexmVyFdVJVgUU6bh9g687rpxryJirHzo06PuwnYaEEdVZQfIgRGg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@11ty/dependency-tree": "^4.0.0",
|
||||
|
|
@ -52,13 +53,13 @@
|
|||
"@11ty/eleventy-utils": "^2.0.7",
|
||||
"@11ty/lodash-custom": "^4.17.21",
|
||||
"@11ty/posthtml-urls": "^1.0.1",
|
||||
"@11ty/recursive-copy": "^4.0.1",
|
||||
"@11ty/recursive-copy": "^4.0.2",
|
||||
"@sindresorhus/slugify": "^2.2.1",
|
||||
"bcp-47-normalize": "^2.3.0",
|
||||
"chokidar": "^3.6.0",
|
||||
"debug": "^4.4.1",
|
||||
"dependency-graph": "^1.0.0",
|
||||
"entities": "^6.0.0",
|
||||
"entities": "^6.0.1",
|
||||
"filesize": "^10.1.6",
|
||||
"gray-matter": "^4.0.3",
|
||||
"iso-639-1": "^3.1.5",
|
||||
|
|
@ -167,6 +168,19 @@
|
|||
"url": "https://opencollective.com/11ty"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/eleventy-plugin-syntaxhighlight": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-syntaxhighlight/-/eleventy-plugin-syntaxhighlight-5.0.1.tgz",
|
||||
"integrity": "sha512-xDPF3Ay38XlmWZe9ER0SLtMmNah7olUBlGORhUiCUkPh3jYGVCDTDayi4tbFI9Dxha8NwKlfBZ2FXM/s3aZzAg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"prismjs": "^1.30.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/11ty"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/eleventy-utils": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy-utils/-/eleventy-utils-2.0.7.tgz",
|
||||
|
|
@ -209,9 +223,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@11ty/recursive-copy": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/recursive-copy/-/recursive-copy-4.0.1.tgz",
|
||||
"integrity": "sha512-Zsg1xgfdVTMKNPj9o4FZeYa73dFZRX856CL4LsmqPMvDr0TuIK4cH9CVWJyf0OkNmM8GmlibGX18fF0B75Rn1w==",
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/recursive-copy/-/recursive-copy-4.0.2.tgz",
|
||||
"integrity": "sha512-174nFXxL/6KcYbLYpra+q3nDbfKxLxRTNVY1atq2M1pYYiPfHse++3IFNl8mjPFsd7y2qQjxLORzIjHMjL3NDQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"errno": "^1.0.0",
|
||||
|
|
@ -224,17 +238,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@jridgewell/gen-mapping": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
|
||||
"integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
|
||||
"version": "0.3.12",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz",
|
||||
"integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@jridgewell/set-array": "^1.2.1",
|
||||
"@jridgewell/sourcemap-codec": "^1.4.10",
|
||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||
"@jridgewell/trace-mapping": "^0.3.24"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jridgewell/resolve-uri": {
|
||||
|
|
@ -246,19 +256,10 @@
|
|||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jridgewell/set-array": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
|
||||
"integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jridgewell/source-map": {
|
||||
"version": "0.3.6",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
|
||||
"integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
|
||||
"version": "0.3.10",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.10.tgz",
|
||||
"integrity": "sha512-0pPkgz9dY+bijgistcTTJ5mR+ocqRXLuhXHYdzoMmmoJ2C9S46RCm2GMUbatPEUK9Yjy26IrAy8D/M00lLkv+Q==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@jridgewell/gen-mapping": "^0.3.5",
|
||||
|
|
@ -266,15 +267,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@jridgewell/sourcemap-codec": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
|
||||
"integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
|
||||
"version": "1.5.4",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz",
|
||||
"integrity": "sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@jridgewell/trace-mapping": {
|
||||
"version": "0.3.25",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
|
||||
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
|
||||
"version": "0.3.29",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz",
|
||||
"integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@jridgewell/resolve-uri": "^3.1.0",
|
||||
|
|
@ -1654,6 +1655,15 @@
|
|||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/prismjs": {
|
||||
"version": "1.30.0",
|
||||
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",
|
||||
"integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/prr": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
|
||||
|
|
@ -1835,9 +1845,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/terser": {
|
||||
"version": "5.42.0",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.42.0.tgz",
|
||||
"integrity": "sha512-UYCvU9YQW2f/Vwl+P0GfhxJxbUGLwd+5QrrGgLajzWAtC/23AX0vcise32kkP7Eu0Wu9VlzzHAXkLObgjQfFlQ==",
|
||||
"version": "5.43.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.43.1.tgz",
|
||||
"integrity": "sha512-+6erLbBm0+LROX2sPXlUYx/ux5PyE9K/a92Wrt6oA+WDAoFTdpHE5tCYCI5PNzq2y8df4rA+QgHLJuR4jNymsg==",
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"@jridgewell/source-map": "^0.3.3",
|
||||
|
|
@ -1917,9 +1927,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/ws": {
|
||||
"version": "8.18.2",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz",
|
||||
"integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==",
|
||||
"version": "8.18.3",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz",
|
||||
"integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
|
|
|
|||
|
|
@ -15,11 +15,12 @@
|
|||
"license": "ISC",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.1",
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-navigation": "^1.0.4",
|
||||
"@11ty/eleventy-plugin-rss": "^2.0.4",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.1",
|
||||
"lightningcss": "^1.30.1",
|
||||
"terser": "^5.42.0",
|
||||
"terser": "^5.43.1",
|
||||
"zod": "^3.25.67",
|
||||
"zod-validation-error": "^3.5.2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ permalink: "/sharkey/"
|
|||
|
||||
{% include "layouts/fediverse/rules.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/sharkey/tips.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/sharkey/bubble.njk" %}
|
||||
|
||||
{% include "layouts/fediverse/moderation.njk" %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue