From 4838df315931bb883f704ec3e1abe2685f296cdf Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 22 Apr 2023 19:52:26 +0800 Subject: 😀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/styles.css | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 docs/styles.css (limited to 'docs/styles.css') diff --git a/docs/styles.css b/docs/styles.css new file mode 100644 index 0000000..e61c9fd --- /dev/null +++ b/docs/styles.css @@ -0,0 +1,55 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; +@tailwind variants; + +/* Override the Tailwind preflight */ +button[type="submit"] { + @apply bg-black; +} + +@layer utilities { + /* Hide scrollbar for Chrome, Safari and Opera */ + .no-scrollbar::-webkit-scrollbar { + display: none; + } + + /* Hide scrollbar for Edge and Firefox */ + .no-scrollbar { + -ms-overflow-style: none; /* Edge */ + scrollbar-width: none; /* Firefox */ + } + + @keyframes slidein { + from { + transform: translate3d(0, 0, 0); + } + + to { + transform: translate3d(-100%, 0, 0); + } + } + + .wrapper { + position: relative; + white-space: nowrap; + display: inline-block; + animation: slidein 120s linear infinite; + filter: grayscale(100%); + } +} + +/* Override Nextra defaults */ +article.nextra-body-typesetting-article { + line-height: 1.75; +} +article.nextra-body-typesetting-article p { + line-height: 1.75 !important; +} + +article.nextra-body-typesetting-article h1, +article.nextra-body-typesetting-article h2, +article.nextra-body-typesetting-article h3, +article.nextra-body-typesetting-article h4 { + line-height: 1.25 !important; +} -- cgit v1.2.3-70-g09d2