Skip to content

Commit

Permalink
Add CSS file for manuals
Browse files Browse the repository at this point in the history
  • Loading branch information
mthierman committed Dec 7, 2023
1 parent f7d9ad5 commit c2b8928
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/css/manual.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
h1,
h2,
h3,
h4,
h5,
h6 {
@apply mt-6 w-fit font-black;
}
h1 {
@apply text-4xl;
}
h2 {
@apply text-3xl;
}
h3 {
@apply text-2xl;
}
h4 {
@apply text-xl;
}
}
2 changes: 2 additions & 0 deletions src/layouts/manual.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ const { title } = Astro.props.frontmatter || Astro.props;
import Base from "@layouts/base.astro";
import Nav from "@components/nav.astro";
import Toc from "@components/toc.astro";
import "@css/manual.css";
---

<Base title={title}>
Expand Down

0 comments on commit c2b8928

Please sign in to comment.