Skip to content

Commit

Permalink
feat: update prose styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Catinaud Taris committed May 31, 2024
1 parent 7185bf3 commit 00b1208
Showing 1 changed file with 38 additions and 5 deletions.
43 changes: 38 additions & 5 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,29 @@
}

/* #region /**=========== Typography =========== */
.h1 {
.h1,
.prose h1 {
@apply font-secondary text-4xl md:text-6xl/none lg:text-[5.625rem]/none font-extrabold uppercase;
}

.h2 {
.h2,
.prose h2 {
@apply font-secondary text-3xl md:text-5xl/none lg:text-[4.375rem]/none font-extrabold uppercase;
}

.h3 {
.h3,
.prose h3 {
@apply font-secondary text-2xl md:text-3xl/none lg:text-[3.125rem]/none font-bold uppercase;
}

.h4 {
@apply font-secondary text-xl md:text-2xl/none lg:text-4xl/none font-bold uppercase;
.h4,
.prose h4 {
@apply font-secondary text-xl md:text-2xl/none lg:text-4xl/none font-bold;
}

.h5,
.prose h5 {
@apply font-secondary text-lg md:text-xl/none lg:text-2xl/none font-bold;
}

body,
Expand All @@ -82,6 +91,30 @@
.prose em {
@apply italic;
}
.prose h3 {
@apply text-red1 mt-6 lg:mt-12 mb-4;
}

.prose h4 {
@apply text-red1 mt-4 lg:mt-8 mb-2;
}

.prose h5 {
@apply mt-4 mb-2;
}

.prose ul {
@apply list-disc mb-2;
}

.prose ol {
@apply list-decimal mb-2;
}

.prose li {
@apply pl-2 list-inside;
}

/* #endregion /**======== Typography =========== */

/* #region /**=========== HEADER =========== */
Expand Down

0 comments on commit 00b1208

Please sign in to comment.