hadling core liste in homegrade-page containers
This commit is contained in:
parent
c8fc3bc588
commit
28a77dc78f
|
|
@ -58,7 +58,8 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-content,
|
.entry-content,
|
||||||
.page-content {
|
.page-content,
|
||||||
|
.homegrade-page-container {
|
||||||
& > :first-child {
|
& > :first-child {
|
||||||
@apply !mt-0;
|
@apply !mt-0;
|
||||||
}
|
}
|
||||||
|
|
@ -99,6 +100,7 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
@apply list-decimal list-inside;
|
@apply list-decimal list-inside;
|
||||||
}
|
}
|
||||||
ul li {
|
ul li {
|
||||||
|
padding: 0.15rem 0;
|
||||||
@apply relative pl-5;
|
@apply relative pl-5;
|
||||||
}
|
}
|
||||||
ul li:before {
|
ul li:before {
|
||||||
|
|
@ -113,6 +115,12 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
}
|
}
|
||||||
p + ol,
|
p + ol,
|
||||||
p + ul {
|
p + ul {
|
||||||
@apply mt-0;
|
@apply mt-3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.homegrade-page-container {
|
||||||
|
ul li:before {
|
||||||
|
@apply bg-secondary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
resources/css/editor-content/page-content.css
Normal file
8
resources/css/editor-content/page-content.css
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
.homegrade-page-container{
|
||||||
|
ul li,
|
||||||
|
ol li{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -45,3 +45,26 @@ body {
|
||||||
background-color: #e04d42;
|
background-color: #e04d42;
|
||||||
color: white;
|
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;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user