UNPKG

526 BSCSSView Raw
1.wp-block-latest-posts {
2 &.alignleft {
3 /*rtl:ignore*/
4 margin-right: 2em;
5 }
6 &.alignright {
7 /*rtl:ignore*/
8 margin-left: 2em;
9 }
10 &.is-grid {
11 display: flex;
12 flex-wrap: wrap;
13 padding: 0;
14 list-style: none;
15
16 li {
17 margin: 0 16px 16px 0;
18 width: 100%;
19 }
20 }
21
22 @include break-small {
23 @for $i from 2 through 6 {
24 &.columns-#{ $i } li {
25 width: calc((100% / #{ $i }) - 16px);
26 }
27 }
28 }
29}
30
31.wp-block-latest-posts__post-date {
32 display: block;
33 color: $dark-gray-300;
34 font-size: $default-font-size;
35}
36