Skip to content

Commit

Permalink
Tune print styles
Browse files Browse the repository at this point in the history
  • Loading branch information
adamplesnik committed Oct 2, 2024
1 parent 607fc01 commit c6f1f3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!doctype html>
<html lang="en">
<html lang="en" class="print:text-sm">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Adam Plesník, design engineer</title>
</head>
<body class="bg-slate-50 text-zinc-600 dark:bg-gray-900 dark:text-zinc-400">
<body
class="bg-slate-50 text-zinc-600 dark:bg-gray-900 dark:text-zinc-400 print:bg-transparent print:text-zinc-800"
>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/content/WorkKolbord.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Tile from '@/components/Tile'

const Badge = () => {
return (
<span className="flex h-fit -rotate-6 rounded bg-zinc-800 p-1 text-xs text-white dark:border dark:border-zinc-500 dark:bg-gray-700">
<span className="flex h-fit -rotate-6 rounded bg-zinc-800 p-1 text-xs text-white dark:border dark:border-zinc-500 dark:bg-gray-700 print:bg-zinc-800">
Beta
</span>
)
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Header from '@/partials/Header'
const Home = () => {
return (
<>
<div className="to-white-0 sticky top-0 z-10 mx-auto w-full max-w-screen-md bg-gradient-to-b from-slate-50 p-8 pt-12 dark:from-gray-900">
<div className="to-white-0 sticky top-0 z-10 mx-auto w-full max-w-screen-md bg-gradient-to-b from-slate-50 p-8 pt-12 dark:from-gray-900 print:max-w-screen-sm print:bg-transparent">
<Header />
</div>
<div className="mx-auto mb-12 flex w-full max-w-screen-md flex-col overflow-hidden p-8 print:max-w-screen-sm">
Expand Down

0 comments on commit c6f1f3e

Please sign in to comment.