Skip to content

Commit

Permalink
feat: Match serve-doc footer css to globals.css
Browse files Browse the repository at this point in the history
  • Loading branch information
trillium committed Jul 17, 2024
1 parent a8522f4 commit 93d465c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
9 changes: 4 additions & 5 deletions libs/serve-doc-next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@ const helpFooter = `
</div>
<style>
footer {
margin-top: 5rem;
background-color: #222;
padding: 2rem 2rem;
color: #777;
font-size: 16px;
font: 16px -apple-system,BlinkMacSystemFont, Segoe UI, Noto Sans ,Helvetica,Arial,sans-serif, Apple Color Emoji, Segoe UI Emoji ;
}
footer a {
text-decoration: none;
Expand All @@ -133,9 +132,10 @@ const helpFooter = `
margin: 0 auto;
}
footer h3 {
font: 24px/32px Merriweather, serif;
font: 22px/32px Merriweather, Georgia, serif;
letter-spacing: 0.5px;
color: #DDD;
margin-top: 0;
}
footer h3 img {
height: 21px;
Expand All @@ -146,11 +146,10 @@ const helpFooter = `
}
footer .sitemap {
line-height: 26px;
padding-bottom: 2em;
}
footer .sitemap a {
color: #999;
font-family: Merriweather;
font: 16px -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans ,Helvetica,Arial,sans-serif, Apple Color Emoji, Segoe UI Emoji ;
text-transform: uppercase;
letter-spacing: 0.5px;
}
Expand Down
11 changes: 5 additions & 6 deletions libs/serve-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@ const helpFooter = `
</div>
<style>
footer {
margin-top: 5rem;
background-color: #222;
padding: 2rem 2rem;
color: #777;
font-size: 16px;
font: 16px -apple-system,BlinkMacSystemFont, Segoe UI, Noto Sans ,Helvetica,Arial,sans-serif, Apple Color Emoji, Segoe UI Emoji ;
}
footer a {
text-decoration: none;
Expand All @@ -129,9 +128,10 @@ const helpFooter = `
margin: 0 auto;
}
footer h3 {
font: 24px/32px Merriweather, serif;
font: 22px/32px Merriweather, Georgia, serif;
letter-spacing: 0.5px;
color: #DDD;
margin-top: 0;
}
footer h3 img {
height: 21px;
Expand All @@ -142,11 +142,10 @@ const helpFooter = `
}
footer .sitemap {
line-height: 26px;
padding-bottom: 2em;
}
footer .sitemap a {
color: #999;
font-family: Merriweather;
font: 16px -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans ,Helvetica,Arial,sans-serif, Apple Color Emoji, Segoe UI Emoji ;
text-transform: uppercase;
letter-spacing: 0.5px;
}
Expand Down Expand Up @@ -184,4 +183,4 @@ const helpFooter = `
}
</style>
</footer>
`
`

0 comments on commit 93d465c

Please sign in to comment.