From 720a2734bb43f81ca8daafffc397a075d41bd3b7 Mon Sep 17 00:00:00 2001 From: PxlSyl Date: Fri, 12 Jul 2024 18:26:20 +0200 Subject: [PATCH] fix copy code css issue --- app/[locale]/tag-data.json | 44 +------------------------------------- css/tailwind.css | 28 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 43 deletions(-) diff --git a/app/[locale]/tag-data.json b/app/[locale]/tag-data.json index e27a4cd..319ea00 100644 --- a/app/[locale]/tag-data.json +++ b/app/[locale]/tag-data.json @@ -1,43 +1 @@ -{ - "en": { - "markdown": 1, - "code": 1, - "features": 2, - "next-js": 7, - "math": 1, - "ols": 1, - "github": 1, - "guide": 6, - "tailwind": 4, - "i18n": 1, - "hello": 1, - "holiday": 1, - "canada": 1, - "images": 1, - "feature": 2, - "writings": 1, - "book": 1, - "reflection": 1, - "multi-author": 1 - }, - "fr": { - "markdown": 1, - "code": 1, - "fonctionnalites": 4, - "next-js": 7, - "math": 1, - "ols": 1, - "github": 1, - "guide": 6, - "tailwind": 4, - "i18n": 1, - "salut": 1, - "vacance": 1, - "canada": 1, - "images": 1, - "ecriture": 1, - "livre": 1, - "reflexion": 1, - "multi-auteurs": 1 - } -} +{"en":{"markdown":1,"code":1,"features":2,"next-js":7,"math":1,"ols":1,"github":1,"guide":6,"tailwind":4,"i18n":1,"hello":1,"holiday":1,"canada":1,"images":1,"feature":2,"writings":1,"book":1,"reflection":1,"multi-author":1},"fr":{"markdown":1,"code":1,"fonctionnalites":4,"next-js":7,"math":1,"ols":1,"github":1,"guide":6,"tailwind":4,"i18n":1,"salut":1,"vacance":1,"canada":1,"images":1,"ecriture":1,"livre":1,"reflexion":1,"multi-auteurs":1}} \ No newline at end of file diff --git a/css/tailwind.css b/css/tailwind.css index 4022fe3..896ddf9 100644 --- a/css/tailwind.css +++ b/css/tailwind.css @@ -4,6 +4,34 @@ @tailwind components; @tailwind utilities; +.right-2 { + right: 0.5rem; +} + +.top-2 { + top: .5rem; +} + +.bg-gray-700 { + --tw-bg-opacity: 1; + background-color: rgb(55 65 81/var(--tw-bg-opacity)); +} + +.text-gray-300 { + --tw-text-opacity: 1; + color: rgb(209 213 219/var(--tw-text-opacity)); +} + +.border-green-400 { + --tw-border-opacity: 1; + border-color: rgb(74 222 128 / var(--tw-border-opacity)); +} + +.text-green-400 { + --tw-text-opacity: 1; + color: rgb(74 222 128 / var(--tw-text-opacity)); +} + .task-list-item::before { @apply hidden; }