Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/base.css4
-rw-r--r--assets/css/markdown.css6
-rw-r--r--assets/css/site.css4
-rw-r--r--assets/css/tailwind.config.js4
4 files changed, 12 insertions, 6 deletions
diff --git a/assets/css/base.css b/assets/css/base.css
index 84d1d16..a27af2b 100644
--- a/assets/css/base.css
+++ b/assets/css/base.css
@@ -21,4 +21,8 @@
a:hover {
@apply text-eureka transition duration-300 ease-in-out;
+}
+
+code {
+ direction: ltr;
} \ No newline at end of file
diff --git a/assets/css/markdown.css b/assets/css/markdown.css
index da467bf..0bae72e 100644
--- a/assets/css/markdown.css
+++ b/assets/css/markdown.css
@@ -55,7 +55,7 @@
}
.content blockquote {
- @apply text-base border-l-4 border-tertiary-text pl-4 pr-4 text-secondary-text;
+ @apply text-base border-s-4 border-tertiary-text ps-4 pe-4 text-secondary-text;
}
.content code {
@@ -71,11 +71,11 @@
}
.content ul {
- @apply text-base pl-8 list-disc;
+ @apply text-base ps-8 list-disc;
}
.content ol {
- @apply text-base pl-8 list-decimal;
+ @apply text-base ps-8 list-decimal;
}
.content kbd {
diff --git a/assets/css/site.css b/assets/css/site.css
index 0a8e083..d4732f5 100644
--- a/assets/css/site.css
+++ b/assets/css/site.css
@@ -11,11 +11,11 @@
}
.sticky-toc ul {
- @apply text-base pl-8 list-disc;
+ @apply text-base ps-8 list-disc;
}
.sticky-toc ol {
- @apply text-base pl-8 list-decimal;
+ @apply text-base ps-8 list-decimal;
}
.sticky-toc li + li {
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js
index 88b2d42..405b7b0 100644
--- a/assets/css/tailwind.config.js
+++ b/assets/css/tailwind.config.js
@@ -53,5 +53,7 @@ module.exports = {
}
},
variants: {},
- plugins: []
+ plugins: [
+ require('tailwindcss-rtl')
+ ]
}