mirror of
https://github.com/liyunze-coding/coworking-website.git
synced 2026-11-06 21:23:33 +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;
|
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 {
|
||||||
|
|
|
||||||
|
|
@ -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 }}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,14 @@ Main developer of the project
|
||||||
|
|
||||||
</div>
|
</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 -->
|
<!-- REFERENCES FOR BADGES/ICONS -->
|
||||||
<!-- https://badges.pages.dev/ -->
|
<!-- https://badges.pages.dev/ -->
|
||||||
<!-- https://shields.io/badges -->
|
<!-- https://shields.io/badges -->
|
||||||
Loading…
Reference in a new issue