Skip to content

Commit

Permalink
update chapters style
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongao97 committed Apr 23, 2024
1 parent fc7e481 commit e32bb47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
@tailwind utilities;

.chapter-opening-quote blockquote {
@apply border-none text-center;
@apply border-none text-center text-sm;
}

.chapter-opening-figure > figure {
@apply mb-0;
}

.chapter-opening-figure > span {
@apply text-sm font-bold;
@apply text-sm font-semibold;
}

.chapter-opening-figure > p {
@apply mt-0 text-xs italic leading-6;
@apply mt-0 text-xs italic leading-5;
}

.chapter-opening-figure > hr {
@apply border-noc-200 mx-auto lg:max-w-[100px];
@apply mx-auto border-noc-200 lg:max-w-[100px];
}

.half-width-right {
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
css: {
h1: {
textAlign: 'center',
fontWeight: theme('fontWeight.bold'),
fontSize: theme('fontSize.3xl'),
},
p: {
Expand Down

0 comments on commit e32bb47

Please sign in to comment.