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:
parent
ceccd234cd
commit
1cd078317e
2 changed files with 13 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -91,6 +91,10 @@
|
|||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
.cdx-list {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
@media (--desktop) {
|
||||
.ce-block__content,
|
||||
.ce-toolbar__content {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue