Add second screen: 4 view screenshots left, copy right
Match the reference layout for the five view modes section with a compact
2x2 gallery and typography on the right.
3 files modified
4 files added
| | |
| | | </div> |
| | | </section> |
| | | |
| | | <section class="views" aria-label="Five view modes"> |
| | | <div class="layout views__split"> |
| | | <div class="views__gallery"> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-01.jpg" alt="Flat view" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-02.jpg" alt="Plain container view" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-03.jpg" alt="Colored container view" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-04.jpg" alt="Plain grid view" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | </div> |
| | | |
| | | <div class="views__copy"> |
| | | <h2 class="views__headline">Five views—everything on one screen</h2> |
| | | <p class="views__lead">No more opening folders one by one or flipping through pages. You're just finding an app—it shouldn't feel like a trek.</p> |
| | | <hr class="views__rule" aria-hidden="true"> |
| | | <p class="views__label">5 view modes</p> |
| | | <ul class="views__modes"> |
| | | <li>Flat</li> |
| | | <li>Plain containers</li> |
| | | <li>Colored containers</li> |
| | | <li>Plain grid</li> |
| | | <li>Colored grid</li> |
| | | </ul> |
| | | <div class="views__shortcut"> |
| | | <span class="views__shortcut-label">Quick launch</span> |
| | | <span class="views__shortcut-keys"><kbd>Option</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </section> |
| | | |
| | | <main class="page-main"> |
| | | <div class="layout"> |
| | | <section class="card"> |
| | |
| | | </div> |
| | | </section> |
| | | |
| | | <section class="views" aria-label="5种视图"> |
| | | <div class="layout views__split"> |
| | | <div class="views__gallery"> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-01.jpg" alt="平铺视图" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-02.jpg" alt="无色容器视图" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-03.jpg" alt="彩色容器视图" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | <figure class="views__shot"> |
| | | <img src="assets/views/view-04.jpg" alt="无色网格视图" width="720" height="468" loading="lazy" decoding="async"> |
| | | </figure> |
| | | </div> |
| | | |
| | | <div class="views__copy"> |
| | | <h2 class="views__headline">5种视图,全部一屏到底</h2> |
| | | <p class="views__lead">不需要一个个去点击文件夹,也不再需要翻页——只是找一个应用而已,不值得像过去那样翻山越水。</p> |
| | | <hr class="views__rule" aria-hidden="true"> |
| | | <p class="views__label">5 种视图模式</p> |
| | | <ul class="views__modes"> |
| | | <li>平铺</li> |
| | | <li>无色容器</li> |
| | | <li>彩色容器</li> |
| | | <li>无色网格</li> |
| | | <li>彩色网格</li> |
| | | </ul> |
| | | <div class="views__shortcut"> |
| | | <span class="views__shortcut-label">快捷唤起</span> |
| | | <span class="views__shortcut-keys"><kbd>Option</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </section> |
| | | |
| | | <main class="page-main"> |
| | | <div class="layout"> |
| | | <section class="card"> |
| | |
| | | border: 0; |
| | | } |
| | | |
| | | /* Second screen — 5 view modes */ |
| | | .views { |
| | | padding: 56px 0 64px; |
| | | background: #ffffff; |
| | | } |
| | | |
| | | .views__split { |
| | | display: grid; |
| | | grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); |
| | | gap: 28px 48px; |
| | | align-items: center; |
| | | } |
| | | |
| | | .views__gallery { |
| | | display: grid; |
| | | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| | | gap: 12px; |
| | | max-width: 500px; |
| | | justify-self: start; |
| | | } |
| | | |
| | | .views__shot { |
| | | margin: 0; |
| | | border-radius: 12px; |
| | | overflow: hidden; |
| | | line-height: 0; |
| | | background: #f5f5f7; |
| | | box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1); |
| | | border: 1px solid rgba(0, 0, 0, 0.06); |
| | | } |
| | | |
| | | .views__shot img { |
| | | display: block; |
| | | width: 100%; |
| | | height: auto; |
| | | } |
| | | |
| | | .views__headline { |
| | | margin: 0; |
| | | font-size: clamp(1.85rem, 3.8vw, 2.7rem); |
| | | font-weight: 800; |
| | | letter-spacing: -0.04em; |
| | | line-height: 1.12; |
| | | color: #000; |
| | | } |
| | | |
| | | .views__lead { |
| | | margin: 22px 0 0; |
| | | font-size: clamp(0.98rem, 1.55vw, 1.1rem); |
| | | line-height: 1.75; |
| | | color: #6e6e73; |
| | | max-width: 26em; |
| | | } |
| | | |
| | | .views__rule { |
| | | margin: 30px 0 22px; |
| | | border: 0; |
| | | height: 1px; |
| | | background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.06)); |
| | | } |
| | | |
| | | .views__label { |
| | | margin: 0 0 16px; |
| | | font-size: 0.94rem; |
| | | color: #86868b; |
| | | } |
| | | |
| | | .views__modes { |
| | | list-style: none; |
| | | margin: 0; |
| | | padding: 0; |
| | | display: grid; |
| | | gap: 12px; |
| | | } |
| | | |
| | | .views__modes li { |
| | | position: relative; |
| | | padding-left: 22px; |
| | | font-size: 1.04rem; |
| | | font-weight: 500; |
| | | color: #1d1d1f; |
| | | } |
| | | |
| | | .views__modes li::before { |
| | | content: ""; |
| | | position: absolute; |
| | | left: 0; |
| | | top: 0.58em; |
| | | width: 8px; |
| | | height: 8px; |
| | | border-radius: 50%; |
| | | background: var(--accent); |
| | | } |
| | | |
| | | .views__shortcut { |
| | | margin-top: 32px; |
| | | display: inline-flex; |
| | | flex-direction: column; |
| | | gap: 6px; |
| | | padding: 14px 20px; |
| | | border-radius: 14px; |
| | | background: #f5f5f7; |
| | | border: 1px solid var(--border); |
| | | } |
| | | |
| | | .views__shortcut-label { |
| | | font-size: 0.8rem; |
| | | color: #86868b; |
| | | } |
| | | |
| | | .views__shortcut-keys { |
| | | font-size: 1.02rem; |
| | | font-weight: 650; |
| | | letter-spacing: 0.01em; |
| | | } |
| | | |
| | | /* Main content */ |
| | | .page-main { |
| | | padding: 56px 0 72px; |
| | |
| | | .hero__art { |
| | | justify-content: center; |
| | | } |
| | | |
| | | .views__split { |
| | | grid-template-columns: 1fr; |
| | | gap: 36px; |
| | | } |
| | | |
| | | .views__gallery { |
| | | max-width: 100%; |
| | | justify-self: center; |
| | | } |
| | | |
| | | .views__copy { |
| | | max-width: 36em; |
| | | } |
| | | } |
| | | |
| | | @media (max-width: 560px) { |