Column align: the outtake hang is measured from the column, capped at 14rem and never past the viewport
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2a627f3542
commit
271be3759d
1 changed files with 2 additions and 2 deletions
|
|
@ -910,7 +910,8 @@ article > h6 {
|
|||
box-sizing: border-box;
|
||||
width: min(34rem, 44vw);
|
||||
max-width: calc(100vw - 2.4rem);
|
||||
margin: 3.1rem -14rem 3.2rem auto;
|
||||
/* Hangs into the space right of the column, less .page's 1.2rem gutter, never past 14rem. */
|
||||
margin: 3.1rem calc(-1 * clamp(0rem, (100vw - var(--gamecult-column)) / 2 - 1.2rem, 14rem)) 3.2rem auto;
|
||||
padding: 0.2rem 0 0.2rem 1.4rem;
|
||||
border-left: 0.28rem solid rgba(255, 138, 42, 0.84);
|
||||
color: #eef5ff;
|
||||
|
|
@ -925,7 +926,6 @@ article > h6 {
|
|||
@media all and (max-width: 1280px) {
|
||||
.page > #quartz-body .center > article .gamecult-outtake {
|
||||
width: min(32rem, 88%);
|
||||
margin-right: -4rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue