Skip to content

Commit 2d6bf2b

Browse files
authored
Merge pull request #197 from replayio/2024-06-10-h2s
Adjusting H3 headers
2 parents 559d41c + afc57fb commit 2d6bf2b

File tree

1 file changed

+28
-12
lines changed

1 file changed

+28
-12
lines changed

src/styles/tailwind.css

+28-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
[inert] ::-webkit-scrollbar {
88
display: none;
99
}
10-
1110
}
1211

1312
@layer base {
@@ -22,32 +21,49 @@
2221
--media-background-color: --_primary-color;
2322
}
2423

25-
.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
26-
@apply mt-0 mb-0
24+
.prose :where(img):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
25+
@apply mb-0 mt-0;
2726
}
2827

29-
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after, .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
30-
content: "";
28+
.prose
29+
:where(code):not(:where([class~='not-prose'], [class~='not-prose'] *))::after,
30+
.prose
31+
:where(code):not(
32+
:where([class~='not-prose'], [class~='not-prose'] *)
33+
)::before {
34+
content: '';
3135
}
3236

33-
.prose p > code, .prose li > code, .prose h2 > code {
34-
@apply border border-opacity-30 border-gray-500 rounded-md px-1 py-1 mx-0.5 bg-gray-500 bg-opacity-10 font-semibold text-nowrap
37+
.prose p > code,
38+
.prose li > code,
39+
.prose h2 > code {
40+
@apply mx-0.5 text-nowrap rounded-md border border-gray-500 border-opacity-30 bg-gray-500 bg-opacity-10 px-1 py-1 font-semibold;
3541
}
3642

3743
.prose h2 {
38-
margin-top: 4rem ;
44+
margin-top: 4rem;
45+
}
46+
47+
.prose h3 {
48+
margin: 0;
3949
}
4050

41-
.prose-a\:shadow-\[inset_0_-2px_0_0_var\(--tw-prose-background\2c \#fff\)\2c inset_0_calc\(-1\*\(var\(--tw-prose-underline-size\2c 4px\)\+2px\)\)_0_0_var\(--tw-prose-underline\2c theme\(colors\.sky\.300\)\)\] :is(:where(a):not(:where(li > a,[class~="not-prose"],[class~="not-prose"] *))):has(code) {
51+
.prose-a\:shadow-\[inset_0_-2px_0_0_var\(--tw-prose-background\2c
52+
\#fff\)\2c
53+
inset_0_calc\(-1\*\(var\(--tw-prose-underline-size\2c
54+
4px\)\+2px\)\)_0_0_var\(--tw-prose-underline\2c
55+
theme\(colors\.sky\.300\)\)\]
56+
:is(
57+
:where(a):not(:where(li > a, [class~='not-prose'], [class~='not-prose'] *))
58+
):has(code) {
4259
box-shadow: none;
4360
}
4461

4562
.callout h2 {
46-
@apply dark:text-gray-200 mb-2 mt-6 text-lg
63+
@apply mb-2 mt-6 text-lg dark:text-gray-200;
4764
}
4865

4966
/* loading image animation */
50-
img[style*="background-image"] {
67+
img[style*='background-image'] {
5168
background-size: contain !important;
5269
}
53-

0 commit comments

Comments
 (0)