Skip to content

Commit 0debd14

Browse files
Merge pull request #1749 from redis/DOC-5364
Improve heading 3 and heading 4 styles for better visual hierarchy
2 parents 49adca3 + fc46e83 commit 0debd14

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

assets/css/index.css

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,28 @@ section.prose {
2323
@apply font-geist
2424
}
2525

26-
.prose h1,
27-
.prose h3,
28-
.prose h4,
29-
.prose h5,
30-
.prose h6 {
31-
@apply font-normal;
26+
.prose h1 {
27+
@apply text-4xl font-normal break-words;
3228
}
3329

3430
.prose h2 {
35-
@apply text-lg font-medium pb-3 border-b border-b-redis-pen-700 border-opacity-50;
31+
@apply text-2xl font-medium pb-3 border-b border-b-redis-pen-700 border-opacity-50;
32+
}
33+
34+
.prose h3 {
35+
@apply text-xl font-semibold;
36+
}
37+
38+
.prose h4 {
39+
@apply text-lg font-medium;
40+
}
41+
42+
.prose h5 {
43+
@apply text-base font-medium;
44+
}
45+
46+
.prose h6 {
47+
@apply text-sm font-medium;
3648
}
3749

3850
.prose p, .prose ol, .prose ul {
@@ -47,10 +59,6 @@ section.prose {
4759
@apply bg-none font-monogeist;
4860
}
4961

50-
.prose h1 {
51-
@apply text-4xl break-words;
52-
}
53-
5462
.prose h1[id],
5563
.prose h2[id],
5664
.prose h3[id],

0 commit comments

Comments
 (0)