website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


272c88fpyrossh 2026-07-07T15:05:12+05:30
fix: add comprehensive CSS reset
Files changed (1) hide show
  1. packages/shared/ui/src/css.ts +11 -1
packages/shared/ui/src/css.ts CHANGED
@@ -1,5 +1,15 @@
1
1
  export const globalCSS = `
2
- *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
2
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
3
+ html { -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; }
4
+ body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
5
+ img, picture, video, canvas, svg { display: block; max-width: 100%; }
6
+ input, button, textarea, select { font: inherit; color: inherit; }
7
+ p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
8
+ h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
9
+ p { text-wrap: pretty; }
10
+ a { color: inherit; text-decoration: none; }
11
+ ul, ol { list-style: none; }
12
+ table { border-collapse: collapse; }
3
13
  :root {
4
14
  --color-black: hsl(0, 0%, 0%);
5
15
  --color-white: hsl(0, 0%, 100%);