hadling core liste in homegrade-page containers

This commit is contained in:
Antoine M 2023-11-08 12:26:28 +01:00
parent c8fc3bc588
commit 28a77dc78f
3 changed files with 41 additions and 2 deletions

View File

@ -58,7 +58,8 @@ article > *:not(.entry-content, .chapter-header-block),
}
.entry-content,
.page-content {
.page-content,
.homegrade-page-container {
& > :first-child {
@apply !mt-0;
}
@ -99,6 +100,7 @@ article > *:not(.entry-content, .chapter-header-block),
@apply list-decimal list-inside;
}
ul li {
padding: 0.15rem 0;
@apply relative pl-5;
}
ul li:before {
@ -113,6 +115,12 @@ article > *:not(.entry-content, .chapter-header-block),
}
p + ol,
p + ul {
@apply mt-0;
@apply mt-3;
}
}
.homegrade-page-container {
ul li:before {
@apply bg-secondary;
}
}

View File

@ -0,0 +1,8 @@
.homegrade-page-container{
ul li,
ol li{
}
}

View File

@ -45,3 +45,26 @@ body {
background-color: #e04d42;
color: white;
}
ul,
ol {
@apply mt-4 mb-8;
}
ol {
@apply list-decimal list-inside;
}
ul li {
padding: 0.15rem 0;
@apply relative pl-5;
}
ul li:before {
@apply absolute left-0;
content: '';
display: inline-block;
height: 8px;
width: 8px;
border-radius: 50%;
margin-right: 14px;
margin-top: 9px;
@apply bg-secondary;
}