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; padding: 0.5rem 1rem;
color: inherit; color: inherit;
background-color: var(--callout-bg); background-color: var(--callout-bg);
margin: 2rem 0;
} }
.callout-indicator { .callout-indicator {

View file

@ -16,8 +16,8 @@ const { headings } = Astro.props;
<ul class="text-sm list-none"> <ul class="text-sm list-none">
{ {
headings.map((heading: Heading, index: number) => { headings.map((heading: Heading, index: number) => {
if (heading.depth === 1) return; // if (heading.depth === 1) return;
const margin = `${heading.depth - 1.5}rem`; const margin = `${heading.depth - 0.8}rem`;
return ( return (
<li <li
style={{ marginLeft: margin }} 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 // comment this out if you don't want the search modal
// window.addEventListener("DOMContentLoaded", (event) => { window.addEventListener("DOMContentLoaded", (event) => {
// // @ts-ignore // @ts-ignore
// new PagefindUI({ new PagefindUI({
// element: "#search", element: "#search",
// showSubResults: false, showSubResults: false,
// showEmptyFilters: false, showEmptyFilters: false,
// debounceTimeoutMs: 0, debounceTimeoutMs: 0,
// showImages: false, showImages: false,
// autofocus: false, autofocus: false,
// }); });
// }); });
</script> </script>

View file

@ -28,6 +28,14 @@ Main developer of the project
</div> </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 --> <!-- REFERENCES FOR BADGES/ICONS -->
<!-- https://badges.pages.dev/ --> <!-- https://badges.pages.dev/ -->
<!-- https://shields.io/badges --> <!-- https://shields.io/badges -->