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

github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/components/prose.css')
-rw-r--r--assets/css/components/prose.css47
1 files changed, 47 insertions, 0 deletions
diff --git a/assets/css/components/prose.css b/assets/css/components/prose.css
new file mode 100644
index 0000000..b639ee6
--- /dev/null
+++ b/assets/css/components/prose.css
@@ -0,0 +1,47 @@
+.prose table {
+ border-spacing: 0;
+ border-collapse: collapse;
+}
+
+.prose td,
+.prose th {
+ @apply p-1;
+}
+.prose table {
+ @apply block w-full overflow-auto;
+}
+
+.prose table th {
+ @apply font-semibold;
+}
+
+.prose table td,
+.prose table th {
+ @apply p-2 border border-solid border-gray-200;
+}
+
+.prose table tr {
+ @apply bg-white border-t border-solid border-gray-50;
+}
+
+.prose table tr:nth-child(2n) {
+ @apply bg-gray-50;
+}
+
+.dark .prose table td,
+.dark .prose table th {
+ @apply p-2 border border-solid border-gray-700;
+}
+
+.dark .prose table tr {
+ @apply bg-gray-900 border-t border-solid border-gray-600 text-white;
+}
+
+.dark .prose table tr:nth-child(2n) {
+ @apply bg-gray-700;
+}
+
+.prose .anchor {
+ padding-top: 40px;
+ visibility: hidden;
+}