diff --git a/resources/css/editor-content/gutenberg.css b/resources/css/editor-content/gutenberg.css index e342633..a12e06f 100644 --- a/resources/css/editor-content/gutenberg.css +++ b/resources/css/editor-content/gutenberg.css @@ -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; } } diff --git a/resources/css/editor-content/page-content.css b/resources/css/editor-content/page-content.css new file mode 100644 index 0000000..b900462 --- /dev/null +++ b/resources/css/editor-content/page-content.css @@ -0,0 +1,8 @@ +.homegrade-page-container{ + ul li, + ol li{ + + + } + +} \ No newline at end of file diff --git a/resources/css/editor-style.css b/resources/css/editor-style.css index fe17d2e..a7d9d76 100644 --- a/resources/css/editor-style.css +++ b/resources/css/editor-style.css @@ -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; +}