Skip to content

Commit

Permalink
remove pagefind attrs, background gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
activatedgeek committed Mar 11, 2024
1 parent 907bfd7 commit 440f5fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const {
}
</style>

<footer data-pagefind-ignore>
<footer>
<nav>
<ul>
<li class="copyright">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const {
style={`--area-background-color: ${backgroundColor};`}
>
</div>
<header data-pagefind-ignore>
<header>
<nav>
<ul>
<li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDPage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const { title, description, date, updated, area } = frontmatter;
</style>

<Html frontmatter={frontmatter}>
<main>
<main data-pagefind-body>
<section>
<h1 style="--pico-font-size: 2.5rem;">{title}</h1>
<p style="--pico-font-size: 1.5rem;">{description}</p>
Expand Down
10 changes: 0 additions & 10 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ body {
}
}

body:after {
content: "";
height: 33vh;
width: 100%;
position: absolute;
top: 0;
z-index: -1;
background: linear-gradient(to bottom, #fbfbf8 75%, #fff 100%);
}

details {
display: inline-block;
max-width: 100%;
Expand Down

0 comments on commit 440f5fe

Please sign in to comment.