From 7411992295ff55b07d8a35f7fdcdb3170c915a43 Mon Sep 17 00:00:00 2001 From: Jacky Fan Date: Sat, 10 Feb 2024 22:25:05 +0800 Subject: [PATCH 1/4] ui: font smoothing --- assets/css/global.css | 7 +++++++ nuxt.config.ts | 1 + 2 files changed, 8 insertions(+) create mode 100644 assets/css/global.css diff --git a/assets/css/global.css b/assets/css/global.css new file mode 100644 index 0000000..1914331 --- /dev/null +++ b/assets/css/global.css @@ -0,0 +1,7 @@ +body { + /* Font Smoothing */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; + -webkit-tap-highlight-color: transparent; +} \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index c5a1279..f803383 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -37,4 +37,5 @@ export default defineNuxtConfig({ routes: ["/sitemap.xml", "/rss.xml"], }, }, + css: ['~/assets/css/global.css'] }); From c0a00e0e844fdc44b53d6194651105af98b21993 Mon Sep 17 00:00:00 2001 From: Jacky Fan Date: Sun, 11 Feb 2024 01:35:16 +0800 Subject: [PATCH 2/4] ui: update border radius across all pages --- components/AuthorPanel.vue | 4 ++-- components/LatestPostPanel.vue | 2 +- components/article/Document.vue | 2 +- components/content/ProseCode.vue | 2 +- pages/index.vue | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/AuthorPanel.vue b/components/AuthorPanel.vue index e0deed8..3ca806f 100644 --- a/components/AuthorPanel.vue +++ b/components/AuthorPanel.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/components/LatestPostPanel.vue b/components/LatestPostPanel.vue index 3ea878f..6f0da63 100644 --- a/components/LatestPostPanel.vue +++ b/components/LatestPostPanel.vue @@ -1,5 +1,5 @@