homegrade_theme_production/resources/css/editor-content/gutenberg.css

52 lines
887 B
CSS

article > *:not(.entry-content, .chapter-header-block),
.entry-content > * {
@apply mx-auto max-w-content;
}
.entry-content {
@apply mt-4 lg:mt-0;
max-width: 800px;
& > :first-child {
@apply mt-0;
}
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl mt-16 mb-8;
}
h3 {
@apply font-bold text-2xl mt-16 mb-4;
}
p,
ul,
ol {
a {
@apply text-primary font-bold underline underline-offset-4;
&:hover {
@apply no-underline;
}
}
@apply mb-8;
}
ul li {
/* @apply my-1 grid gap-2;
grid-template-columns: 10px 1fr; */
@apply relative pl-5;
}
ul li:before {
@apply list-none absolute left-0;
content: '';
display: inline-block;
height: 8px;
width: 8px;
border-radius: 50%;
margin-right: 14px;
margin-top: 9px;
}
}