mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 20:30:43 +01:00
11d4f1b3bf
Props: ironprogrammer, petitphp, hellofromTonya, azaozz. Fixes: #57891. Built from https://develop.svn.wordpress.org/trunk@55494 git-svn-id: http://core.svn.wordpress.org/trunk@55027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
45 lines
821 B
CSS
45 lines
821 B
CSS
ul.wp-block-rss{
|
|
list-style:none;
|
|
padding:0;
|
|
}
|
|
ul.wp-block-rss.wp-block-rss{
|
|
box-sizing:border-box;
|
|
}
|
|
ul.wp-block-rss.alignleft{
|
|
margin-right:2em;
|
|
}
|
|
ul.wp-block-rss.alignright{
|
|
margin-left:2em;
|
|
}
|
|
ul.wp-block-rss.is-grid{
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
list-style:none;
|
|
padding:0;
|
|
}
|
|
ul.wp-block-rss.is-grid li{
|
|
margin:0 1em 1em 0;
|
|
width:100%;
|
|
}
|
|
@media (min-width:600px){
|
|
ul.wp-block-rss.columns-2 li{
|
|
width:calc(50% - 1em);
|
|
}
|
|
ul.wp-block-rss.columns-3 li{
|
|
width:calc(33.33333% - 1em);
|
|
}
|
|
ul.wp-block-rss.columns-4 li{
|
|
width:calc(25% - 1em);
|
|
}
|
|
ul.wp-block-rss.columns-5 li{
|
|
width:calc(20% - 1em);
|
|
}
|
|
ul.wp-block-rss.columns-6 li{
|
|
width:calc(16.66667% - 1em);
|
|
}
|
|
}
|
|
|
|
.wp-block-rss__item-author,.wp-block-rss__item-publish-date{
|
|
display:block;
|
|
font-size:.8125em;
|
|
} |