mirror of
https://github.com/liyunze-coding/coworking-website.git
synced 2026-11-06 13:13:34 +00:00
updated remark CSS, updated credits
This commit is contained in:
parent
4a708f483c
commit
89a0f65e07
4 changed files with 22 additions and 13 deletions
|
|
@ -44,6 +44,7 @@ html {
|
|||
padding: 0.5rem 1rem;
|
||||
color: inherit;
|
||||
background-color: var(--callout-bg);
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.callout-indicator {
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,14 @@ Main developer of the project
|
|||
|
||||
</div>
|
||||
|
||||
## Coworking Crew Cheat Sheet
|
||||
|
||||

|
||||
|
||||
An amazing resource for this guide!
|
||||
|
||||
[](https://third-stinger-20a.notion.site/A-Coworking-Streamer-Cheat-Sheet-01ee1e5ff006410d84c339069ea6546c/)
|
||||
|
||||
<!-- REFERENCES FOR BADGES/ICONS -->
|
||||
<!-- https://badges.pages.dev/ -->
|
||||
<!-- https://shields.io/badges -->
|
||||
Loading…
Reference in a new issue