updated remark CSS, updated credits

This commit is contained in:
liyunze 2024-04-18 18:25:56 +08:00
parent 4a708f483c
commit 89a0f65e07
4 changed files with 22 additions and 13 deletions

View file

@ -44,6 +44,7 @@ html {
padding: 0.5rem 1rem;
color: inherit;
background-color: var(--callout-bg);
margin: 2rem 0;
}
.callout-indicator {

View file

@ -16,8 +16,8 @@ const { headings } = Astro.props;
<ul class="text-sm list-none">
{
headings.map((heading: Heading, index: number) => {
if (heading.depth === 1) return;
const margin = `${heading.depth - 1.5}rem`;
// if (heading.depth === 1) return;
const margin = `${heading.depth - 0.8}rem`;
return (
<li
style={{ marginLeft: margin }}

View file

@ -127,15 +127,15 @@ import SearchModal from "../ui/SearchModal.astro";
});
// comment this out if you don't want the search modal
// window.addEventListener("DOMContentLoaded", (event) => {
// // @ts-ignore
// new PagefindUI({
// element: "#search",
// showSubResults: false,
// showEmptyFilters: false,
// debounceTimeoutMs: 0,
// showImages: false,
// autofocus: false,
// });
// });
window.addEventListener("DOMContentLoaded", (event) => {
// @ts-ignore
new PagefindUI({
element: "#search",
showSubResults: false,
showEmptyFilters: false,
debounceTimeoutMs: 0,
showImages: false,
autofocus: false,
});
});
</script>

View file

@ -28,6 +28,14 @@ Main developer of the project
</div>
## Coworking Crew Cheat Sheet
![Coworking Crew](/images/groups/coworkingcrew.webp)
An amazing resource for this guide!
[![Website](https://img.shields.io/badge/Website-fc626f?logoColor=000&style=for-the-badge)](https://third-stinger-20a.notion.site/A-Coworking-Streamer-Cheat-Sheet-01ee1e5ff006410d84c339069ea6546c/)
<!-- REFERENCES FOR BADGES/ICONS -->
<!-- https://badges.pages.dev/ -->
<!-- https://shields.io/badges -->