|
| 1 | +/* Nowen Video · mobile detail hero density |
| 2 | + * |
| 3 | + * The mobile hero keeps the real poster, but the poster must not make the whole |
| 4 | + * hero taller than the information/action column. On medium-width phones this |
| 5 | + * previously left a large empty backdrop band below the buttons. |
| 6 | + * |
| 7 | + * Product contract: |
| 8 | + * - poster remains visible and visually important; |
| 9 | + * - hero height follows the actual identity/actions content as closely as possible; |
| 10 | + * - no duplicated overview is added just to fill space; |
| 11 | + * - backdrop stays atmospheric and never creates a large empty visual tail. |
| 12 | + */ |
| 13 | + |
| 14 | +@media (max-width: 767px) { |
| 15 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-hero-inner { |
| 16 | + grid-template-columns: clamp(112px, 27vw, 148px) minmax(0, 1fr) !important; |
| 17 | + gap: clamp(11px, 2.6vw, 16px) !important; |
| 18 | + padding: 10px 8px 11px !important; |
| 19 | + } |
| 20 | + |
| 21 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-hero-inner > div:first-child { |
| 22 | + align-self: start !important; |
| 23 | + } |
| 24 | + |
| 25 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-poster { |
| 26 | + max-width: 148px !important; |
| 27 | + margin: 0 !important; |
| 28 | + } |
| 29 | + |
| 30 | + html body .nv-media-detail-page .nv-detail-hero .nv-hero-content { |
| 31 | + align-self: start !important; |
| 32 | + padding-top: 0 !important; |
| 33 | + } |
| 34 | + |
| 35 | + html body .nv-media-detail-page .nv-media-hero-actions { |
| 36 | + margin-top: 10px !important; |
| 37 | + } |
| 38 | + |
| 39 | + /* Avoid visually extending the hero with an over-strong highlight frame once |
| 40 | + the foreground content has ended. */ |
| 41 | + html body .nv-media-detail-page .nv-detail-hero-backdrop-shell { |
| 42 | + overflow: hidden; |
| 43 | + } |
| 44 | +} |
| 45 | + |
| 46 | +@media (max-width: 560px) { |
| 47 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-hero-inner { |
| 48 | + grid-template-columns: clamp(106px, 27vw, 126px) minmax(0, 1fr) !important; |
| 49 | + gap: 10px !important; |
| 50 | + padding: 9px 7px 10px !important; |
| 51 | + } |
| 52 | + |
| 53 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-poster { |
| 54 | + max-width: 126px !important; |
| 55 | + } |
| 56 | + |
| 57 | + html body .nv-media-detail-page .nv-media-hero-actions { |
| 58 | + margin-top: 8px !important; |
| 59 | + } |
| 60 | +} |
| 61 | + |
| 62 | +@media (max-width: 420px) { |
| 63 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-hero-inner { |
| 64 | + grid-template-columns: 104px minmax(0, 1fr) !important; |
| 65 | + gap: 9px !important; |
| 66 | + padding: 8px 6px 9px !important; |
| 67 | + } |
| 68 | + |
| 69 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-poster { |
| 70 | + max-width: 104px !important; |
| 71 | + } |
| 72 | +} |
| 73 | + |
| 74 | +@media (max-width: 360px) { |
| 75 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-hero-inner { |
| 76 | + grid-template-columns: 98px minmax(0, 1fr) !important; |
| 77 | + gap: 8px !important; |
| 78 | + } |
| 79 | + |
| 80 | + html body .nv-media-detail-page .nv-detail-hero .nv-detail-poster { |
| 81 | + max-width: 98px !important; |
| 82 | + } |
| 83 | +} |
0 commit comments