[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/latest-posts/ -> style.css (source)

   1  .wp-block-latest-posts{
   2    box-sizing:border-box;
   3  }
   4  .wp-block-latest-posts.alignleft{
   5    margin-right:2em;
   6  }
   7  .wp-block-latest-posts.alignright{
   8    margin-left:2em;
   9  }
  10  .wp-block-latest-posts.wp-block-latest-posts__list{
  11    list-style:none;
  12  }
  13  .wp-block-latest-posts.wp-block-latest-posts__list li{
  14    clear:both;
  15    overflow-wrap:break-word;
  16  }
  17  .wp-block-latest-posts.is-grid{
  18    display:flex;
  19    flex-wrap:wrap;
  20  }
  21  .wp-block-latest-posts.is-grid li{
  22    margin:0 1.25em 1.25em 0;
  23    width:100%;
  24  }
  25  @media (min-width:600px){
  26    .wp-block-latest-posts.columns-2 li{
  27      width:calc(50% - .625em);
  28    }
  29    .wp-block-latest-posts.columns-2 li:nth-child(2n){
  30      margin-right:0;
  31    }
  32    .wp-block-latest-posts.columns-3 li{
  33      width:calc(33.33333% - .83333em);
  34    }
  35    .wp-block-latest-posts.columns-3 li:nth-child(3n){
  36      margin-right:0;
  37    }
  38    .wp-block-latest-posts.columns-4 li{
  39      width:calc(25% - .9375em);
  40    }
  41    .wp-block-latest-posts.columns-4 li:nth-child(4n){
  42      margin-right:0;
  43    }
  44    .wp-block-latest-posts.columns-5 li{
  45      width:calc(20% - 1em);
  46    }
  47    .wp-block-latest-posts.columns-5 li:nth-child(5n){
  48      margin-right:0;
  49    }
  50    .wp-block-latest-posts.columns-6 li{
  51      width:calc(16.66667% - 1.04167em);
  52    }
  53    .wp-block-latest-posts.columns-6 li:nth-child(6n){
  54      margin-right:0;
  55    }
  56  }
  57  
  58  :root :where(.wp-block-latest-posts.is-grid){
  59    padding:0;
  60  }
  61  :root :where(.wp-block-latest-posts.wp-block-latest-posts__list){
  62    padding-left:0;
  63  }
  64  
  65  .wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{
  66    display:block;
  67    font-size:.8125em;
  68  }
  69  
  70  .wp-block-latest-posts__post-excerpt{
  71    margin-bottom:1em;
  72    margin-top:.5em;
  73  }
  74  
  75  .wp-block-latest-posts__featured-image a{
  76    display:inline-block;
  77  }
  78  .wp-block-latest-posts__featured-image img{
  79    height:auto;
  80    max-width:100%;
  81    width:auto;
  82  }
  83  .wp-block-latest-posts__featured-image.alignleft{
  84    float:left;
  85    margin-right:1em;
  86  }
  87  .wp-block-latest-posts__featured-image.alignright{
  88    float:right;
  89    margin-left:1em;
  90  }
  91  .wp-block-latest-posts__featured-image.aligncenter{
  92    margin-bottom:1em;
  93    text-align:center;
  94  }


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref