diff --git a/package-lock.json b/package-lock.json
index 9bc6785..1794b94 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,7 @@
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
- "@tailwindcss/typography": "^0.5.14",
+ "@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.0.0",
@@ -1085,6 +1085,7 @@
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.15.tgz",
"integrity": "sha512-AqhlCXl+8grUz8uqExv5OTtgpjuVIwFTSXTrh8y9/pw6q2ek7fJ+Y8ZEVw7EB2DCcuCOtEjf9w3+J3rzts01uA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"lodash.castarray": "^4.4.0",
"lodash.isplainobject": "^4.0.6",
diff --git a/package.json b/package.json
index eb98f25..4ff4432 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
- "@tailwindcss/typography": "^0.5.14",
+ "@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.0.0",
diff --git a/src/content/home.md b/src/content/home.md
index 9a78182..83a22f3 100644
--- a/src/content/home.md
+++ b/src/content/home.md
@@ -5,18 +5,21 @@ name: Cirno
Strongest of Gensokyo
-- Associate Professor in Pure Mathematics (1970 - )
+- Associate Professor in Pure Mathematics (1970 - ), Stanford University
+- Ph.D. in Pure Mathematics (1960 - 1966), University of Helsinki
## Publications
-Perfect Math Class
+* Perfect Math Class
+* おてんば恋娘
# Projects
> This is a quote
```python
-print("this is python")
+for i in range(9):
+ print("this is python")
```
diff --git a/src/content/metadata.json b/src/content/metadata.json
index 3b990e8..d04e1d4 100644
--- a/src/content/metadata.json
+++ b/src/content/metadata.json
@@ -2,5 +2,6 @@
"name": "Cirno",
"blogName": "Cirno's Blog",
"frontDescription": "This is a very long description.",
- "frontCover": "/favicon.svg"
+ "frontCover": "/favicon.svg",
+ "avatar": "/favicon.svg"
}
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 13484bb..9f9a1fb 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -8,7 +8,7 @@
{#if $page.url.pathname != "/"}
-
+
{#each routes as item, i}
{#if i > 0}
@@ -52,4 +52,9 @@
color: theme('colors.java.500');
}
}
+ #navbar {
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 10px;
+ }
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 267a45f..41f74e0 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -48,10 +48,17 @@
-
-
{name}
+
+
+
{name}
+
+
+
+
-
+
+
+
diff --git a/src/routes/post/[slug]/+page.svelte b/src/routes/post/[slug]/+page.svelte
index 7c31e36..f7173d2 100644
--- a/src/routes/post/[slug]/+page.svelte
+++ b/src/routes/post/[slug]/+page.svelte
@@ -9,7 +9,7 @@
{title} | {metadata.blogName}
-
+
{title}
Published: {date}
diff --git a/src/style/content.css b/src/style/content.css
index dc3df16..f4e36f6 100644
--- a/src/style/content.css
+++ b/src/style/content.css
@@ -1,34 +1,3 @@
-.heading {
- @apply leading-tight font-medium;
- font-family: serif;
- color: theme('colors.eucalyptus.700');
-}
-h1 {
- @apply heading text-5xl;
- @apply lg:text-4xl;
-}
-h2 {
- @apply heading text-2xl;
- @apply lg:text-3xl;
-}
-h3 {
- @apply heading text-xl;
- @apply lg:text-2xl;
-}
-h4 {
- @apply heading text-lg;
- @apply lg:text-xl;
-}
-h5 {
- @apply heading text-lg;
-}
-h6 {
- @apply heading text-lg;
-}
-p {
- font-family: serif;
-}
-
/* block quotes */
.note-blockquote {
border-left: 4px solid #0078d4; /* Blue left border */
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 54aa82d..687e9ab 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -84,9 +84,49 @@ const config: Config = {
serif: '"Source Han Serif SC", "Source Han Serif CN","Noto Serif CJK SC", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif',
cursive: 'FancyTitleFont,"Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif',
mono: "'Fira Code','Cascadia Code',Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New','Sarasa Mono SC','Noto Sans CJK SC','monospace', monospace"
- }
+ },
+ typography: ((theme) => (
+ {
+ bio: {
+ css: {
+ h1: {
+ color: theme('colors.eucalyptus.700'),
+ "border-bottom": "1px solid",
+ },
+ h2: {
+ color: theme('colors.eucalyptus.700'),
+ },
+ h3: {
+ color: theme('colors.eucalyptus.800'),
+ },
+ h4: {
+ color: theme('colors.eucalyptus.800'),
+ },
+ },
+ },
+ DEFAULT: {
+ css: {
+ h1: {
+ color: theme('colors.eucalyptus.700'),
+ },
+ h2: {
+ color: theme('colors.eucalyptus.700'),
+ },
+ h3: {
+ color: theme('colors.eucalyptus.800'),
+ },
+ h4: {
+ color: theme('colors.eucalyptus.800'),
+ },
+ },
+ },
+ }
+ )),
}
},
+ plugins: [
+ require('@tailwindcss/typography'),
+ ],
};
export default config;