첫째, 노트북을 충전하려고 애쓰는 지치는 일이 있다': 가자에 있는 대학 강사의 하루
@media (min-width: 71.25em) { .content__main-column--interactive { margin-left: 160px; } }
@media (min-width: 81.25em) { .content__main-column--interactive { margin-left: 240px; } }
.content__main-column--interactive .element-atom { max-width: 620px; }
@media (max-width: 46.24em) { .content__main-column--interactive .element-atom { max-width: 100%; } }
.content__main-column--interactive .element-showcase { margin-left: 0; }
@media (min-width: 46.25em) { .content__main-column--interactive .element-showcase { max-width: 620px; } }
@media (min-width: 71.25em) { .content__main-column--interactive .element-showcase { max-width: 860px; } }
.content__main-column--interactive .element-immersive { max-width: 1100px; }
@media (max-width: 46.24em) { .content__main-column--interactive .element-immersive { width: calc(100vw - var(--scrollbar-width, 0px)); position: relative; left: 50%; right: 50%; margin-left: calc(-50vw + var(--half-scrollbar-width, 0px)) !important; margin-right: calc(-50vw + var(--half-scrollbar-width, 0px)) !important; } }
@media (min-width: 46.25em) { .content__main-column--interactive .element-immersive { transform: translate(-20px); width: calc(100% + 60px); } }
@media (max-width: 71.24em) { .content__main-column--interactive .element-immersive { margin-left: 0; margin-right: 0; } }
@media (min-width: 71.25em) { .content__main-column--interactive .element-immersive { transform: translate(0); width: auto; } }
@media (min-width: 81.25em) { .content__main-column--interactive .element-immersive { max-width: 1260px; } }
.content__main-column--interactive p, .content__main-column--interactive ul { max-width: 620px; }
.content__main-column--interactive:before { position: absolute; top: 0; height: calc(100% + 15px); min-height: 100px; content: ""; }
@media (min-width: 71.25em) {다음은 동일한 의미를 더 깔끔하고 자연스러운 스타일로 작성한 CSS입니다:
```css
.content__main-column--interactive:before {
border-left: 1px solid #dcdcdc;
z-index: -1;
left: -10px;
}
@media (min-width: 81.25em) {
.content__main-column--interactive:before {
border-left: 1px solid #dcdcdc;
left: -11px;
}
}
.content__main-column--interactive .element-atom {
margin-top: 0;
margin-bottom: 0;
padding-top: 12px;
padding-bottom: 12px;
}
.content__main-column--interactive p + .element-atom {
margin-top: 12px;
margin-bottom: 12px;
padding-top: 0;
padding-bottom: 0;
}
.content__main-column--interactive .element-inline {
max-width: 620px;
}
@media (min-width: 61.25em) {
figure[data-spacefinder-role="inline"].element {
max-width: 620px;
}
}
[data-gu-name="media"]:has(figure.loop) figure.loop figcaption:not(.hidden) {
z-index: 6;
}
[data-gu-name="media"]:has(figure.loop) figure.loop button[data-link-name*="gu-video-loop"] {
align-self: flex-end;
margin-bottom: 40px;
margin-right: 3px;
}
[data-gu-name="media"]:has(figure.loop) figure.loop .controls-container div:has(button[data-testid="unmute-icon"]),
[data-gu-name="media"]:has(figure.loop) figure.loop .controls-container div:has(button[data-testid="mute-icon"]) {
right: 0;
padding-left: 10px;
}
[data-gu-name="media"]:has(figure.loop) #caption-button {
z-index: 100;
}
@media (min-width: 61.25em) {
[data-gu-name="media"]:has(figure.loop) #caption-button {
bottom: 20px;
}
}
@media (min-width: 46.25em) {
[data-gu-name="media"]:has(figure.cinemagraph) .cinemagraph > div {
max-height: unset;
}
}
[data-gu-name="body"] gu-island[name="SelfHostedVideo"] {
display: block;
width: 100%;
max-width: 620px;
margin-top: 12px;
margin-bottom: 12px;
}
[data-gu-name="body"] gu-island[name="SelfHostedVideo"] figure.loop,
[data-gu-name="body"] gu-island[name="SelfHostedVideo"] figure.loop video {
width: 100%;
height: auto;
max-width: 620px;
margin: 0 auto;
}
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) {
max-width: unset;
margin: 12px 0;
}
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) figure.loop,
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) figure.loop video {
max-width: unset;
margin: 0;
}
@media (min-width: 71.25em) {
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) {
width: 1140px;
margin-left: -180px;
}
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) figure figcaption {
margin-left: 20px;
}
}
@media (min-width: 81.25em) {
[data-gu-name="body"] gu-island[name="SelfHostedVideo"]:has(figure.loop.element-video-immersive) {
width: 1300px;
margin-left: -260px;
}
}
[data-article-theme="News"] {
--active-pillar-100: #660505;
--active-pillar-200: #8b0000;
--active-pillar-300: #ab0613;
--active-pillar-400: #c70000;
--active-pillar-500: #ff5943;
--active-pillar-600: #ffbac8;
}
[data-article-theme="Lifestyle"] {
--active-pillar-100: #510043;
--active-pillar-200: #650054;
--active-pillar-300: #7d0068;
--active-pillar-400: #bb3b80;
--active-pillar-500: #ffabdb;
--active-pillar-600: #fec8d3;
}
[data-article-theme="Culture"] {
--active-pillar-100: #3e3323;
--active-pillar-200: #574835;
--active-pillar-300: #6b5840;
--active-pillar-400: #866d50;
--active-pillar-500: #eacca0;
--active-pillar-600: #e7d4b9;
}
[data-article-theme="Sport"] {
--active-pillar-100: #003c60;
--active-pillar-200: #004e7c;
--active-pillar-300: #005689;
--active-pillar-400: #0077b6;
--active-pillar-500: #00b2ff;
--active-pillar-600: #90dcff;
}
[data-article-theme="Opinion"] {
--active-pillar-100: #4b2e2e;
--active-pillar-200: #6b3b3b;
--active-pillar-300: #8b4747;
--active-pillar-400: #ab5454;
--active-pillar-500: #cb6161;
--active-pillar-600: #eb6e6e;
}
:root[data-article-theme="Labs"] {
--active-pillar-100: #09615b;
--active-pillar-200: #0c7a73;
--active-pillar-300: #65a897;
--active-pillar-400: #69d1ca;
--active-pillar-500: #a8e3df;
--active-pillar-600: #dcf4f3;
--active-pillar-700: #f3fbfb;
}
:root[data-article-theme="SpecialReport"] {
--active-pillar-100: #222527;
--active-pillar-200: #303538;
--active-pillar-300: #3f464a;
--active-pillar-400: #595c5f;
--active-pillar-500: #abc2c9;
--active-pillar-700: #e4e5e8;
}
:root[data-article-theme="SpecialReportAlt"] {
--active-pillar-100: #2b2b2a;
--active-pillar-200: #b9300a;
--active-pillar-300: #ff663d;
--active-pillar-700: #ebe6e1;
--active-pillar-800: #f5;
}
```:root{--dateline: #606060;--headerBorder: #dcdcdc;--captionText: #999;--captionBackground: hsla(0, 0%, 7%, .72)}.furniture-wrapper{position:relative;display:grid;grid-template-areas:"portrait" "title" "headline" "standfirst" "mediacaption" "lines" "meta";margin-bottom:26px!important}@media (min-width: 61.25em){.furniture-wrapper{grid-column-gap:20px;grid-row-gap:0px;grid-template-areas:none;grid-template-columns:[title-start headline-start standfirst-start mediacaption-start meta-start] repeat(5,1fr) [title-end headline-end standfirst-end mediacaption-end meta-end portrait-start] repeat(5,1fr) [portrait-end];grid-template-rows:[title-start portrait-start] .25fr [title-end headline-start] 1fr [headline-end standfirst-start] .75fr [standfirst-end mediacaption-start] auto [mediacaption-end meta-start] auto [meta-end portrait-end];margin-bottom:0!important}}@media (min-width: 71.25em){.furniture-wrapper{grid-template-columns:[title-start headline-start meta-start] repeat(2,1fr) [meta-end standfirst-start] repeat(5,1fr) [title-end headline-end standfirst-end portrait-start] repeat(7,1fr) [portrait-end];grid-template-rows:[title-start portrait-start] 80px [title-end headline-start] auto [headline-end standfirst-start meta-start] auto [standfirst-end meta-end portrait-end]}}@media (min-width: 81.25em){.furniture-wrapper{grid-template-columns:[title-start headline-start meta-start] repeat(3,1fr) [meta-end standfirst-start] repeat(5,1fr) [title-end headline-end standfirst-end portrait-start] repeat(8,1fr) [portrait-end];grid-template-rows:[title-start portrait-start] .25fr [title-end headline-start] 1fr [headline-end standfirst-start meta-start] .75fr [standfirst-end meta-end portrait-end]}}.furniture-wrapper .article-header .content__labels>div,.furniture-wrapper [data-gu-name=title] .content__labels>div{padding-top:2px}@media (min-width: 46.25em) and (max-width: 61.24em){.furniture-wrapper .article-header,.furniture-wrapper [data-gu-name=title]{max-width:738px}}@media (min-width: 46.25em) and (max-width: 61.24em){.furniture-wrapper #headline,.furniture-wrapper [data-gu-name=headline],.furniture-wrapper .headline{max-width:738px}}@media (min-width: 61.25em){.furniture-wrapper #headline>div:first-child,.furniture-wrapper [data-gu-name=headline]>div:first-child,.furniture-wrapper .headline>div:first-child{border-top:1px solid var(--headerBorder)}}.furniture-wrapper #headline h1,.furniture-wrapper [data-gu-name=headline] h1,.furniture-wrapper .headline h1{font-weight:600;max-width:620px;font-size:32px}@media (min-width: 71.25em){.furniture-wrapper #headline h1,.furniture-wrapper [data-gu-name=headline] h1,.furniture-wrapper .headline h1{max-width:540px;font-size:50px}}.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{width:100vw;margin-left:-10px;padding-left:10px;position:relative;background-color:#fff;margin-top:-1px;margin-bottom:-1px}@media (min-width: 30em){.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{margin-left:-20px}.furniture-wrapper .keyline-4>div>div,.furniture-wrapper [data-gu-name=lines]>div>div{padding:0 20px}}@media (min-width: 33.4375em){.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{padding-left:20px}}@media (min-width: 41.25em){.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{padding-left:0}}@media (min-width: 46.25em){.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{max-width:738px}}@media (min-width: 61.25em){.furniture-wrapper .keyline-4,.furniture-wrapper [data-gu-name=lines]{display:none}}.furniture-wrapper .keyline-4 svg,.furniture-wrapper [data-gu-name=lines] svg{stroke:var(--headerBorder)}.furniture-wrapper #meta,.furniture-wrapper [data-gu-name=meta]{width:100vw;margin-left:-10px;padding-left:10px;position:relative;background-color:#fff}@media (min-width: 46.25em){.furniture-wrapper #meta,.furniture-wrapper [data-gu-name=meta]{margin-right:0;width:auto;max-width:738px}}@media (min-width: 61.25em){.furniture-wrapper #meta,.furniture-wrapper [data-gu-name=meta]{margin-left:unset;padding-left:unSet padding-top to 2px. At widths of 71.25em and above, add a 540px-wide, 1px-high line above the meta section using the header border color. At 81.25em and above, make that line 620px wide. The social and comment elements in the meta section should use the header border color for their borders.
The standfirst section should have a -10px left margin, 8px top padding, 10px side padding, 16px bottom padding, a white background, and relative positioning. Its paragraphs should use normal font weight, 20px font size, and 14px bottom padding. At 46.25em and above, add 2px top padding and set a maximum width of 738px. At 61.25em and above, remove the maximum width and background color. The content standfirst should have a 4px bottom margin. List items should use 20px font size. Links in the standfirst should have no bottom border or background image, but should be underlined with a 6px offset, using the header border color (or #dcdcdc) at 1px thickness. On hover, the underline color should change to the new pillar color. The first paragraph should have a 1px top border using the header border color and no bottom padding. At 71.25em and above, remove the top border from all paragraphs, including the first one, and add a 1px-wide vertical line on the left side of the standfirst using the header border color, positioned at 0.5px from the left. At 81.25em and above, move that line to -0.5px from the left.
The main media section should be relatively positioned, with a 0 top margin, 0 right margin, 2px bottom margin, and -10px left margin. It should be placed in the portrait grid area and span the full viewport width minus any scrollbar width. Any inner divs should be full width with no inline margins, and divs should have no bottom margin. At 30em and above, change the left margin to -20px. At 46.25em and above, change the left margin to -10px and set a maximum width of 738px. At 61.25em and above, the main media section should...제공된 텍스트는 산문이 아니라 CSS 코드이므로, 다시 작성할 자연스러운 영어가 없습니다. 다른 구절을 공유하려는 의도였다면, 보내주시면 요청하신 대로 다시 작성하겠습니다.메인 콘텐츠 열에서 대화형 수평선 뒤에 광고 슬롯이 오는 경우, 상단 패딩을 제거하세요. 대화형 기사의 인용문은 너비가 620픽셀로 제한되어야 합니다. 몰입형 요소는 전체 뷰포트 너비를 차지해야 하며, 각 중단점에서 여백이 조정됩니다: 작은 화면에서는 -10px, 30em부터는 -20px, 더 큰 중단점에서는 점진적으로 더 넓은 최대 너비(46.25em에서 738px, 61.25em에서 978px, 71.25em에서 1098px, 81.25em에서 1258px)를 가지며, 가장 큰 두 중단점에서는 왼쪽 여백이 -160px과 -240px로 이동합니다. 몰입형 요소 내부의 그림 캡션은 30em부터 20px의 인라인 패딩을 가지며, 71.25em에서 제거됩니다. 쇼케이스 그림은 71.25em과 81.25em에서 유사한 여백 조정을 따릅니다. 해당 캡션은 최대 620px까지 정적이고 전체 너비이며, 71.25em에서 최대 너비 140px, 81.25em에서 220px로 절대 위치 지정됩니다. 인라인 요소는 61.25em부터 630px로 제한됩니다. "will-fade-in" 클래스가 있는 그림은 처음에는 보이지 않고 50px 아래로 이동한 상태에서 시작하며, "fade-in" 클래스가 추가되면 페이드 인되어 정상 위치로 이동합니다. 블록인용문 단락은 어두운 텍스트 색상을 사용하고, h2 제목은 너비가 620px로 제한됩니다. 크레딧 상자 단락은 최소한의 수직 여백과 상단 패딩이 없습니다. 71.25em에서 대화형 메인 열의 의사 요소는 12px 위로 이동하고 높이가 24px 증가합니다. 다크 모드에서 본문 배경은 사용자가 명시적으로 밝은 색 구성표를 설정하지 않은 한 어두운 배경 변수를 사용합니다.어두운 초상화 레이아웃 기능의 경우, 아일랜드 내부의 브랜딩 이미지는 반전되지 않아야 합니다. 루트 요소도 색 구성표가 밝게 설정되지 않은 한 브랜딩 이미지를 반전되지 않은 상태로 유지해야 합니다.
안전하지 않은 임베드 블록과 js-embed__iframe 클래스를 가진 iframe은 높이가 0인 블록으로 표시되어야 합니다.
요소는 여백이 없어야 합니다. 앱 렌더링 대상에서 대화형 콘텐츠 내부의 메타 컨테이너는 오른쪽 여백이 없어야 합니다.
너비가 최대 61.24em인 화면에서 가구 래퍼 내부의 미디어 요소는 하단 여백이 -65px이고, 상단에 붙고, #1a1a1a 배경을 사용하며, 0.5s ease-in-out 전환으로 페이드 인 및 아웃되고, 완전히 보이는 상태에서 시작해야 합니다.
너비가 30em에서 61.24em 사이인 화면에서 해당 미디어 요소는 왼쪽 및 오른쪽 여백이 -20px이어야 합니다.
너비가 최대 61.24em인 화면에서 미디어 요소가 페이드 아웃되면 완전히 투명해져야 합니다. 제목과 헤드라인 요소는 z-index 10으로 다른 콘텐츠 위에 위치하고, 왼쪽으로 10px 이동하며 왼쪽 패딩이 10px이어야 합니다.
너비가 30em에서 61.24em 사이인 화면에서 제목, 헤드라인, 스탠드퍼스트, 메타 요소는 수평 여백이 -20px이고 수평 패딩이 20px이어야 합니다.
너비가 최대 61.24em인 화면에서 헤드라인은 상대적으로 위치해야 합니다. 내부 div는 하단 패딩이 32px이어야 합니다. 그 안의 h1은 흰색이어야 하며 일반 글꼴 두께를 사용해야 합니다. 헤드라인 내부의 그라디언트 div는 절대 위치 지정되고, 높이가 135%이며, 다른 콘텐츠 뒤에 위치하고, 전체 너비를 차지하며, 왼쪽 하단에 고정되어야 합니다. 12px의 배경 흐림과 투명에서 #1a1a1a로 페이드되는 그라디언트 배경을 가져야 하며, 120px에서 시작하여 하단까지 계속됩니다. 또한 유사한 수직 페이드를 가진 마스크 이미지를 사용해야 합니다.
너비가 26.25em에서 61.24em 사이인 화면에서 해당 그라디언트 div는 높이가 140%여야 합니다.
너비가 최대 61.24em인 화면에서 제목은 z-index 11로 다른 콘텐츠 위에 위치하고, 상단 패딩이 8px이며 하단 패딩이 1px이어야 합니다. 제목 내부의 링크는 활성 필러 400 색상을 사용해야 합니다. 스탠드퍼스트 컨테이너는 하단 패딩이 없어야 하지만, 그 안의 단락은 하단 패딩이 24px이어야 합니다.
너비가 최대 61.24em인 화면에서 figcaption은 mediacaption 그리드 영역에 배치되고, 상대적으로 위치하며, 배경이 없고, 하단 패딩이 12px이며, 왼쪽 패딩이 10px이고, 왼쪽 여백이 -10px이며, 최소 높이가 없고, 전체 뷰포트 너비이며, 흰색 배경을 가져야 합니다. figcaption 내부의 span은 캡션 메인 미디어 텍스트 색상을 사용해야 합니다.
너비가 30em에서 61.24em 사이인 화면에서 figcaption은 왼쪽 여백이 -20px이고, 상단 여백이 -1px이며, 왼쪽 패딩이 20px이어야 합니다.
너비가 46.25em에서 61.24em 사이인 화면에서 figcaption은 최대 너비가 738px이어야 합니다.
너비가 최대 61.24em인 화면에서 hidden 클래스가 있는 figcaption은 표시되지 않아야 합니다. video-icon 클래스가 있는 figcaption은 span 텍스트 앞에 비디오 카메라 아이콘을 표시해야 하며, 17px x 10px 인라인 블록 요소에 오른쪽 여백 4px과 배경 이미지를 사용해야 합니다. 비디오 컨테이너와 시네마그래프 내부의 figcaption span은 숨겨져야 합니다. lines 및 meta 요소의 내부 div는 오른쪽 여백이 없어야 합니다.
너비가 46.25em에서 61.24em 사이인 화면에서 meta 요소는 하단 패딩이 8px이어야 합니다.
video-icon 클래스가 있는 figcaption은 span 텍스트 앞에 비디오 카메라 아이콘을 표시해야 하며, 17px x 10px 인라인 블록 요소에 오른쪽 여백 4px과 배