From 0b88a49681ecea2ed5eff3e7a989567107eb4b47 Mon Sep 17 00:00:00 2001 From: abcxj123 Date: Mon, 10 Jun 2024 17:20:39 +0900 Subject: [PATCH] =?UTF-8?q?temp:=20index.css=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.css | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/index.css diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..158f0fb --- /dev/null +++ b/src/index.css @@ -0,0 +1,93 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@font-face { + font-family: 'Hana-Heavy'; + src: + local('Hana2.0 H'), + url('./assets/fonts/Hana2-Heavy.otf') format('otf'), + url('./assets/fonts/Hana2-Heavy.ttf') format('ttf'); +} + +@font-face { + font-family: 'Hana-Bold'; + src: + local('Hana2.0 B'), + url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Bold.otf') + format('otf'), + url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Bold.ttf') + format('ttf'); +} + +@font-face { + font-family: 'Hana-CM'; + src: + local('Hana2.0 CM'), + url('./assets/fonts/Hana2-CM.otf') format('otf'), + url('./assets/fonts/Hana2-CM.ttf') format('ttf'); +} + +@font-face { + font-family: 'Hana-Medium'; + src: + local('Hana2.0 M'), + url('/assets/fonts/Hana2-Medium.otf') format('otf'), + url('/assets/fonts/Hana2-Medium.ttf') format('ttf'); +} + +@font-face { + font-family: 'Hana-Regular'; + src: + local('Hana2.0 R'), + url('./assets/fonts/Hana2-Regular.otf') format('otf'), + url('./assets/fonts/Hana2-Regular.ttf') format('ttf'); +} + +@font-face { + font-family: 'Hana-Light'; + src: + local('Hana2.0 L'), + url('./assets/fonts/Hana2-Light.otf') format('otf'), + url('./assets/fonts/Hana2-Light.ttf') format('ttf'); +} + +html, +body { + margin: 0 auto; + padding: 0; + font-size: 10px; + max-width: 500px; + background-color: #e4e4e4; + min-height: 100vh; +} +#root { + margin: 0; + box-sizing: border-box; + max-width: 500px; + background-color: #f2f2f2; + min-height: 100vh; +} +li { + list-style: none; +} +a { + color: inherit; + text-decoration: none; +} +input { + outline: none; +} +input[type='number']::-webkit-outer-spin-button, +input[type='number']::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +#news-list::-webkit-scrollbar { + display: none; +} + +b { + font-family: 'Hana-Bold'; +}