[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-template/ -> style.css (source)

   1  .wp-block-post-template{
   2    list-style:none;
   3    margin-bottom:0;
   4    margin-top:0;
   5    max-width:100%;
   6    padding:0;
   7  }
   8  .wp-block-post-template.is-flex-container{
   9    display:flex;
  10    flex-direction:row;
  11    flex-wrap:wrap;
  12    gap:1.25em;
  13  }
  14  .wp-block-post-template.is-flex-container>li{
  15    margin:0;
  16    width:100%;
  17  }
  18  @media (min-width:600px){
  19    .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{
  20      width:calc(50% - .625em);
  21    }
  22    .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{
  23      width:calc(33.33333% - .83333em);
  24    }
  25    .wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{
  26      width:calc(25% - .9375em);
  27    }
  28    .wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{
  29      width:calc(20% - 1em);
  30    }
  31    .wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{
  32      width:calc(16.66667% - 1.04167em);
  33    }
  34  }
  35  
  36  @media (max-width:600px){
  37    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{
  38      grid-template-columns:1fr;
  39    }
  40  }
  41  .wp-block-post-template-is-layout-constrained>li>.alignright,.wp-block-post-template-is-layout-flow>li>.alignright{
  42    float:right;
  43    margin-inline-end:0;
  44    margin-inline-start:2em;
  45  }
  46  
  47  .wp-block-post-template-is-layout-constrained>li>.alignleft,.wp-block-post-template-is-layout-flow>li>.alignleft{
  48    float:left;
  49    margin-inline-end:2em;
  50    margin-inline-start:0;
  51  }
  52  
  53  .wp-block-post-template-is-layout-constrained>li>.aligncenter,.wp-block-post-template-is-layout-flow>li>.aligncenter{
  54    margin-inline-end:auto;
  55    margin-inline-start:auto;
  56  }


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