aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/styles.css
diff options
context:
space:
mode:
authorHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
committerHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
commit4838df315931bb883f704ec3e1abe2685f296cdf (patch)
tree57a8550c4cd5338f1126364bb518c6cde8d96e7d /docs/styles.css
parentdb74ade0234a40c2120ad5f2a41bee50ce13de02 (diff)
downloadHydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.tar.gz
HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.zip
😀
Diffstat (limited to 'docs/styles.css')
-rw-r--r--docs/styles.css55
1 files changed, 55 insertions, 0 deletions
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;
+}