~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
cf73bcf7
—
pyrossh 4 weeks ago
remve base css
- src/layouts/BaseLayout.astro +0 -1
- src/layouts/BaseLayout.css +0 -55
src/layouts/BaseLayout.astro
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
// import "./BaseLayout.css"; // Note: This has to be first always
|
|
3
2
|
import { ClientRouter } from "astro:transitions";
|
|
4
3
|
import ResetCSS from "@appzic/astro-reset-css";
|
|
5
4
|
import Header from "@/components/Header.astro";
|
src/layouts/BaseLayout.css
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--color-black: light-dark(hsl(0, 0%, 0%), hsl(0, 0%, 0%));
|
|
3
|
-
--color-white: light-dark(hsl(0, 0%, 100%), hsl(0, 0%, 100%));
|
|
4
|
-
--color-accent: light-dark(hsl(65, 92%, 76%), hsl(65, 92%, 76%));
|
|
5
|
-
--color-body-bg: light-dark(hsl(0, 0%, 100%), hsl(210, 13%, 15%));
|
|
6
|
-
--color-box-bg: light-dark(hsl(0, 0%, 95%), hsl(210, 13%, 9%));
|
|
7
|
-
--color-text: light-dark(hsl(0, 0%, 13%), hsl(210, 17%, 98%));
|
|
8
|
-
--color-link: light-dark(hsl(211, 100%, 45%), hsl(211, 100%, 60%));
|
|
9
|
-
--color-post-link: light-dark(hsl(0, 0%, 0%), hsl(211, 100%, 60%));
|
|
10
|
-
--color-highlight-bg: light-dark(hsl(183, 80%, 88%), hsl(183, 80%, 18%));
|
|
11
|
-
--color-code-fg: light-dark(hsl(348, 86%, 43%), hsl(348, 86%, 80%));
|
|
12
|
-
--color-code-bg: light-dark(hsl(0, 0%, 95%), hsl(0, 0%, 0%));
|
|
13
|
-
--color-pre-bg: light-dark(hsl(0, 0%, 95%), hsl(0, 0%, 0%));
|
|
14
|
-
--color-tag: light-dark(hsl(152, 96%, 35%), hsl(152, 96%, 44%));
|
|
15
|
-
--btn-light: none;
|
|
16
|
-
--btn-dark: block;
|
|
17
|
-
|
|
18
|
-
.astro-code, .astro-code span {
|
|
19
|
-
background: var(--color-pre-bg) !important;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
[data-theme="dark"] {
|
|
24
|
-
--btn-light: block;
|
|
25
|
-
--btn-dark: none;
|
|
26
|
-
|
|
27
|
-
.expressive-code .frame pre {
|
|
28
|
-
background: var(--color-pre-bg) !important;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
body {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
flex: 1;
|
|
36
|
-
background-color: var(--color-body-bg);
|
|
37
|
-
color: var(--color-text);
|
|
38
|
-
font-family: system-ui;
|
|
39
|
-
text-rendering: optimizeLegibility;
|
|
40
|
-
font-variant-ligatures: common-ligatures;
|
|
41
|
-
font-kerning: normal;
|
|
42
|
-
font-size: 1.25rem;
|
|
43
|
-
line-height: 1.5;
|
|
44
|
-
min-height: 100vh;
|
|
45
|
-
|
|
46
|
-
@media (max-width: 720px) {
|
|
47
|
-
font-size: 1.1rem;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
main {
|
|
52
|
-
margin-top: 1rem;
|
|
53
|
-
margin-bottom: 1rem;
|
|
54
|
-
padding-bottom: 1em;
|
|
55
|
-
}
|