Skip to content

Commit

Permalink
fix: update h tag styles
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 13, 2021
1 parent b14d0f7 commit ac45402
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
20 changes: 20 additions & 0 deletions packages/client/styles/layouts-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@
@apply text-3xl;
}

h3 {
@apply text-2xl;
}

h4 {
@apply text-xl;
}

h5 {
@apply text-base;
}

h6 {
@apply text-sm pt-1 uppercase tracking-widest font-500 -ml-[0.05em];
}

h6:not(.opacity-100) {
@apply opacity-40;
}

p {
@apply my-4 leading-6;
}
Expand Down
8 changes: 0 additions & 8 deletions packages/create-theme/template/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,4 @@
p + h2, ul + h2, table + h2 {
@apply mt-10;
}

h3 {
@apply text-sm pt-2 uppercase tracking-widest font-500 -ml-[0.05em];
}

h3:not(.opacity-100) {
@apply opacity-40;
}
}

0 comments on commit ac45402

Please sign in to comment.