<ol class="l-grid l-grid--authors">
    <li class="l-grid__item">
        <a class="c-author  h-card u-url" href="/authors/drewmclellan/">
            <img class="c-author__image  u-photo" src="https://cloud.24ways.org/authors/drewmclellan160.jpg" width="160" height="160" alt="" />
            <span class="c-author__meta  p-name">Drew McLellan</span>
        </a>
    </li>
    <li class="l-grid__item">
        <a class="c-author  h-card u-url" href="/authors/briansuda/">
            <img class="c-author__image  u-photo" src="https://cloud.24ways.org/authors/briansuda160.jpg" width="160" height="160" alt="" />
            <span class="c-author__meta  p-name">Brian Suda</span>
        </a>
    </li>
    <li class="l-grid__item">
        <a class="c-author  h-card u-url" href="/authors/annadebenham/">
            <img class="c-author__image  u-photo" src="https://cloud.24ways.org/authors/annadebenham160.jpg" width="160" height="160" alt="" />
            <span class="c-author__meta  p-name">Anna Debenham</span>
        </a>
    </li>
    <li class="l-grid__item">
        <a class="c-author  h-card u-url" href="/authors/owengregory/">
            <img class="c-author__image  u-photo" src="https://cloud.24ways.org/authors/owengregory160.jpg" width="160" height="160" alt="" />
            <span class="c-author__meta  p-name">Owen Gregory</span>
        </a>
    </li>
</ol>
<ol class="l-grid l-grid--authors">
{%- for item in items -%}
  <li class="l-grid__item">
    {%- render "@author", item -%}
  </li>
{%- endfor -%}
</ol>
{
  "site": {
    "title": "24 ways",
    "handle": "24ways",
    "description": "24 ways is the advent calendar for web geeks. Each day throughout December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer.",
    "url": "https://24ways.org",
    "feed": "https://feeds.feedburner.com/24ways",
    "theme_color": "#f04"
  },
  "theme": {
    "year": [
      348,
      344,
      340,
      336,
      332,
      328,
      324,
      320,
      316,
      312,
      308,
      304,
      300,
      296,
      292,
      288
    ],
    "day": [
      360,
      353,
      346,
      339,
      332,
      325,
      318,
      311,
      304,
      297,
      290,
      283,
      276,
      269,
      262,
      255,
      248,
      241,
      234,
      227,
      220,
      213,
      206,
      199
    ]
  },
  "items": [
    {
      "author": "Drew McLellan"
    },
    {
      "author": "Brian Suda"
    },
    {
      "author": "Anna Debenham"
    },
    {
      "author": "Owen Gregory"
    }
  ]
}
  • Content:
    .l-grid {
      display: flex;
      flex-wrap: wrap;
      padding-right: map(spaces, xsmall);
      padding-bottom: map(spaces, xsmall);
    
      .c-section__main & {
        margin: calc(map(spaces, medium) * -1) calc(map(spaces, large) * -1);
    
        @media (--from-large-screen) {
          margin-left: calc(map(spaces, xsmall) * -1);
          margin-right: calc(map(spaces, xsmall) * -1);
        }
      }
    }
    
    .l-grid__item {
      display: flex;
      flex-basis: 16em;
      flex-grow: 1;
      flex-shrink: 0;
      margin-top: map(spaces, xsmall);
      margin-left: map(spaces, xsmall);
    
      .l-grid--authors & {
        flex-basis: calc(50% - map(spaces, xsmall));
        flex-grow: 0;
    
        @media (--from-medium-screen) {
          flex-basis: calc(33.3334% - map(spaces, xsmall));
        }
    
        @media (--from-large-screen) {
          flex-basis: calc(25% - map(spaces, xsmall));
        }
    
        @media (--from-xlarge-screen) {
          flex-basis: calc(20% - map(spaces, xsmall));
        }
      }
    }
    
  • URL: /components/raw/grid/grid.css
  • Filesystem Path: src/components/layouts/grid/grid.css
  • Size: 914 Bytes

There are no notes for this item.