From 2f01108292addebac602a5a371f49d8353e4a578 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 27 Oct 2021 21:30:28 +0200 Subject: [PATCH] Working on blobity --- src/components/ContactForm.vue | 2 +- src/components/SideMenu.vue | 6 +++--- src/layouts/error.vue | 6 +++--- src/pages/blog/_slug.vue | 37 ++++++++++++++++------------------ tailwind.config.ts | 19 ----------------- 5 files changed, 24 insertions(+), 46 deletions(-) diff --git a/src/components/ContactForm.vue b/src/components/ContactForm.vue index 249238e..17b3935 100755 --- a/src/components/ContactForm.vue +++ b/src/components/ContactForm.vue @@ -65,7 +65,7 @@ :disabled="!isSendable" :class="{'disabled': !isSendable}" @click.prevent="handleForm" - class="font-bold px-8 py-4 border-2 rounded-xl border-red-500 dark:border-amber-400 text-red-500 dark:text-amber-400 hover:(bg-red-500 dark:bg-amber-400 text-white) hover:dark:text-black duration-300 cursor-pointer" + class="font-bold px-8 py-4 border-2 rounded-xl border-red-500 dark:border-amber-400 text-red-500 dark:text-amber-400 hover:(bg-red-500 dark:bg-amber-400 text-white) hover:dark:text-black duration-300" > {{ $t('contact.form.submit') }} diff --git a/src/components/SideMenu.vue b/src/components/SideMenu.vue index fd99b7e..53d98ef 100644 --- a/src/components/SideMenu.vue +++ b/src/components/SideMenu.vue @@ -9,18 +9,18 @@ >
-
+
{{ $t('sidebar.close') }}
  • + class="mx-1 h-9 w-9 flex items-center justify-center p-1.5 rounded-xl hover:bg-gray-300 duration-200 dark:hover:bg-dark-400">
  • + class="mx-1 h-9 w-9 flex items-center p-1.5 rounded-xl hover:bg-gray-300 dark:hover:bg-dark-400 duration-200">
    diff --git a/src/layouts/error.vue b/src/layouts/error.vue index d4e6b35..20a37b1 100755 --- a/src/layouts/error.vue +++ b/src/layouts/error.vue @@ -25,9 +25,9 @@
-
-
-
+
+
+
{{ $t('error.back') }}
diff --git a/src/pages/blog/_slug.vue b/src/pages/blog/_slug.vue index 713f8c5..85c4993 100755 --- a/src/pages/blog/_slug.vue +++ b/src/pages/blog/_slug.vue @@ -3,7 +3,7 @@
- +
@@ -42,7 +42,7 @@ :document="post" class="my-6 md:my-10 w-full text-justify max-w-none prose prose-sm lg:prose-lg lg:max-w-none sm:max-w-none - dark:prose-dark dark:max-w-none" + dark:prose-dark dark:max-w-none z-index-3" />

{{ $t('blog.read.thanks') }} @@ -50,9 +50,11 @@

{{ getLikes }} @@ -63,28 +65,35 @@
@@ -233,15 +242,3 @@ export default defineComponent({ } }) - - diff --git a/tailwind.config.ts b/tailwind.config.ts index 9cfc4f6..5c5436e 100755 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -14,16 +14,6 @@ module.exports = defineConfig({ { a: { color: theme('colors.red.500'), - transitionDuration: '300ms', - cursor: 'pointer', - borderBottomColor: theme('colors.gray.200'), - borderOpacity: '0%', - borderBottomWidth: '2px', - borderBottomStyle: 'solid', - textDecoration: 'none', - '&:hover': { - borderBottomColor: theme('colors.red.500'), - } } } ] @@ -37,15 +27,6 @@ module.exports = defineConfig({ }, a: { color: theme('colors.amber.400'), - transitionDuration: '300ms', - cursor: 'pointer', - borderBottomColor: theme('colors.gray.700'), - borderBottomWidth: '2px', - borderBottomStyle: 'solid', - textDecoration: 'none', - '&:hover': { - borderBottomColor: theme('colors.amber.400'), - } }, strong: { color: theme('colors.white'),