Skip to content

Commit 7901ef3

Browse files
Update index.css (#10)
1 parent 1ae4797 commit 7901ef3

File tree

1 file changed

+26
-1
lines changed
  • packages/blog-starter-kit/themes/enterprise/styles

1 file changed

+26
-1
lines changed

packages/blog-starter-kit/themes/enterprise/styles/index.css

+26-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,29 @@
44

55
.hashnode-content-style{
66
@apply prose break-words text-slate-950 first:prose-p:mt-0 prose-img:max-w-full prose-p:leading-snug prose-a:underline hover:prose-a:bg-primary-50 dark:hover:prose-a:text-primary-500 dark:hover:prose-a:bg-neutral-800 dark:text-neutral-50 prose-blockquote:leading-snug prose-a:leading-snug prose-figure:leading-snug prose-figcaption:leading-snug prose-pre:leading-snug prose-li:leading-snug prose-ul:leading-snug prose-ol:leading-snug prose-th:leading-snug prose-td:leading-snug lg:prose-xl dark:prose-invert dark:prose-pre:bg-neutral-900 first:prose-h1:mt-0 first:prose-h2:mt-0 first:prose-h3:mt-0 first:prose-h4:mt-0 first:prose-h5:mt-0;
7-
}
7+
}
8+
9+
td code {
10+
border-radius: 0.25rem;
11+
font-weight: 400 !important;
12+
padding: 0.25rem;
13+
--tw-text-opacity: 1;
14+
color: rgba(0, 0, 0, var(--tw-text-opacity));
15+
font-size: 80%;
16+
background: #f0efed;
17+
}
18+
19+
.dark td code {
20+
--tw-bg-opacity: 1;
21+
background-color: rgba(36, 41, 46, var(--tw-bg-opacity));
22+
--tw-text-opacity: 1;
23+
color: rgba(238, 238, 238, var(--tw-text-opacity));
24+
}
25+
26+
td code::before, td code::after {
27+
content: "" !important;
28+
}
29+
30+
.dark td code::before, .dark td code::after{
31+
content: "" !important;
32+
}

0 commit comments

Comments
 (0)