Skip to content

Commit

Permalink
feat(website): improve css for markdown pages (#3129)
Browse files Browse the repository at this point in the history
- Give h3 proper top margin (and also add h4 just in case)
- Give images some y margin

Relates to pathoplexus/pathoplexus#262
See https://loculus.slack.com/archives/C05GWA22R19/p1730378998996159?thread_ts=1730377039.594559&cid=C05GWA22R19
  • Loading branch information
corneliusroemer authored Oct 31, 2024
1 parent ecc3ee9 commit 6d2b2db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website/src/styles/mdcontainer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@
}

.mdContainer h3{
@apply text-lg font-semibold text-main my-3;
@apply text-lg font-semibold text-main my-3 mt-5;

}

.mdContainer h4{
@apply text-base font-semibold text-main my-3 mt-4;
}

.mdContainer img{
@apply my-3;
}

.mdContainer p{
@apply my-2;
Expand Down

0 comments on commit 6d2b2db

Please sign in to comment.