mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
- Refactoring styles to prevent unwanted specificity issues by using tailwind directives - Improve color consistency for code blocks and other components by replacing adhoc hex values with theme colors Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
38 lines
543 B
CSS
38 lines
543 B
CSS
@layer base {
|
|
.prose {
|
|
li {
|
|
@apply my-2;
|
|
> :last-child,
|
|
> :first-child {
|
|
margin: 0;
|
|
}
|
|
}
|
|
a {
|
|
font-weight: 400;
|
|
}
|
|
hr {
|
|
@apply mb-4 mt-8;
|
|
}
|
|
h1 {
|
|
@apply my-4 text-4xl;
|
|
line-height: 1.167;
|
|
}
|
|
h2 {
|
|
@apply mb-4 mt-8 text-3xl;
|
|
line-height: 1.2;
|
|
}
|
|
h3 {
|
|
@apply text-2xl;
|
|
line-height: 1.167;
|
|
}
|
|
h4 {
|
|
@apply text-xl;
|
|
line-height: 1.235;
|
|
}
|
|
h5 {
|
|
@apply text-lg;
|
|
line-height: 1.75;
|
|
}
|
|
}
|
|
}
|