[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/sass/05-blocks/legacy/ -> _style.scss (source)

   1  .gallery-item {
   2      display: inline-block;
   3      text-align: center;
   4      vertical-align: top;
   5      width: 100%;
   6  
   7      a {
   8          display: block;
   9      }
  10  
  11      a:focus img {
  12          outline-offset: -2px;
  13      }
  14  
  15      .gallery-columns-2 & {
  16          max-width: 50%;
  17      }
  18  
  19      .gallery-columns-3 & {
  20          max-width: 33.33%;
  21      }
  22  
  23      .gallery-columns-4 & {
  24          max-width: 25%;
  25      }
  26  
  27      .gallery-columns-5 & {
  28          max-width: 20%;
  29      }
  30  
  31      .gallery-columns-6 & {
  32          max-width: 16.66%;
  33      }
  34  
  35      .gallery-columns-7 & {
  36          max-width: 14.28%;
  37      }
  38  
  39      .gallery-columns-8 & {
  40          max-width: 12.5%;
  41      }
  42  
  43      .gallery-columns-9 & {
  44          max-width: 11.11%;
  45      }
  46  }
  47  
  48  .gallery-caption {
  49      display: block;
  50  }
  51  
  52  // Legacy images, linked
  53  figure.wp-caption a:focus img {
  54      outline-offset: 2px;
  55  }


Generated : Mon May 6 08:20:02 2024 Cross-referenced by PHPXref