1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-18 20:59:42 +02:00

chore(styles): list and image blocks style improved (#260)

* update image margings

* upd list style
This commit is contained in:
Peter Savchenko 2022-09-13 18:57:50 +03:00 committed by GitHub
parent ceccd234cd
commit 1cd078317e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 5 deletions

View file

@ -258,7 +258,11 @@
.block-list {
margin: 0;
list-style: outside;
padding-left: 26px;
padding-left: 40px;
&--ordered {
list-style-type: decimal
}
li:not(:last-of-type) {
margin-bottom: 8px;
@ -270,8 +274,7 @@
* ==================
*/
.block-image {
margin: 40px auto;
text-align: center;
margin: 0 auto;
&__content {
img, video {
@ -298,8 +301,9 @@
}
&__caption {
margin: 1em auto;
color: var(--color-text-second);
margin-top: 10px;
color: var(--color-text-second);
font-size: 0.9em;
}
}

View file

@ -91,6 +91,10 @@
padding: 6px 8px;
}
.cdx-list {
padding-left: 40px;
}
@media (--desktop) {
.ce-block__content,
.ce-toolbar__content {