์ด๊ฒ์ ์น์ฌ์ดํธ์ ์ฌ์ฉ์ ์ ์ ๊ธ๊ผด์ ์ ์ํ๋ CSS ์ฝ๋ ๋ธ๋ก์
๋๋ค. "Guardian Headline Full" ๊ธ๊ผด ํจ๋ฐ๋ฆฌ๋ฅผ ๋ผ์ดํธ, ๋ ๊ทค๋ฌ, ๋ฏธ๋์, ์ธ๋ฏธ๋ณผ๋์ ๊ฐ์ ๋ค์ํ ์คํ์ผ๊ณผ ๊ตต๊ธฐ๋ก ์ค์ ํ๋ฉฐ, ๊ฐ๊ฐ ์ผ๋ฐ ๋ฐ ์ดํค๋ฆญ ๋ฒ์ ์ด ์์ต๋๋ค. ์ด ์ฝ๋๋ ๋ธ๋ผ์ฐ์ ๊ฐ ํธํ์ฑ์ ์ํด WOFF2, WOFF, TTF์ ๊ฐ์ ๋ค์ํ ํ์์ ์ฌ์ฉํ์ฌ ๊ธ๊ผด ํ์ผ์ ๋ก๋ํ ์์น๋ฅผ ์ง์ ํฉ๋๋ค.์ด๊ฒ์ Guardian ํ์ดํฌ๊ทธ๋ํผ์ ๊ธ๊ผด ํ์ด์ค๋ฅผ ์ ์ํ๋ CSS ์คํ์ผ์ํธ์
๋๋ค. "Guardian Headline Full" ๋ฐ "Guardian Titlepiece" ๊ธ๊ผด ํจ๋ฐ๋ฆฌ์ ๋ํด ๋ค์ํ ๊ธ๊ผด ํ์ผ(WOFF2, WOFF, TTF ํ์)์ ๋ก๋ํ๋ฉฐ, ๊ฐ๊ฐ์ ๋ํด ๋ค์ํ ๊ตต๊ธฐ(๋ผ์ดํธ, ๋ ๊ทค๋ฌ, ๋ณผ๋, ๋ธ๋)์ ์คํ์ผ(์ผ๋ฐ ๋๋ ์ดํค๋ฆญ)์ ์ง์ ํฉ๋๋ค. URL์ Guardian์ ์์
์๋ฒ์ ํธ์คํ
๋ ๊ธ๊ผด ํ์ผ์ ๊ฐ๋ฆฌํต๋๋ค.์ด๊ฒ์ "Guardian Headline Full" ๊ธ๊ผด ํจ๋ฐ๋ฆฌ๋ฅผ ์ ์ํ๋ CSS ์คํ์ผ์ํธ์
๋๋ค. ๋ ๊ทค๋ฌ, ์ดํค๋ฆญ, ๋ฏธ๋์, ์ธ๋ฏธ๋ณผ๋, ๋ณผ๋, ๋ธ๋๊ณผ ๊ฐ์ ๋ค์ํ ๊ตต๊ธฐ์ ์คํ์ผ์ ๋ํ ์ฌ๋ฌ ๊ธ๊ผด ํ์ผ์ด ํฌํจ๋์ด ์์ต๋๋ค. ๊ฐ ๊ธ๊ผด ํ์ด์ค๋ ๋ค์ํ ๋ธ๋ผ์ฐ์ ๊ฐ ํธํ์ฑ์ ๋ณด์ฅํ๊ธฐ ์ํด WOFF2, WOFF, TTF์ ๊ฐ์ ๋ค์ํ ํ์์ผ๋ก Guardian์ ์์
์๋ฒ์์ ๋ก๋๋ฉ๋๋ค. ์คํ์ผ์ 400(์ผ๋ฐ)์์ 900(๋ธ๋)๊น์ง ๊ฐ ๋ณํ์ ๋ํ ๊ธ๊ผด ๊ตต๊ธฐ์ ์คํ์ผ์ ์ง์ ํ๋ฉฐ, ํด๋นํ๋ ๊ฒฝ์ฐ ์ดํค๋ฆญ ๋ฒ์ ๋ ํฌํจ๋ฉ๋๋ค.์ด๊ฒ์ ์์ฐ์ค๋ฌ์ด ์์ด๋ก ๋ค์ ์ธ ํ
์คํธ๊ฐ ์๋ CSS ์ฝ๋ ๋ธ๋ก์
๋๋ค. ์นํ์ด์ง์ ๊ธ๊ผด ์คํ์ผ๊ณผ ๋ ์ด์์ ๊ท์น์ ์ ์ํฉ๋๋ค. ๋ค๋ฅธ ํ
์คํธ๋ฅผ ์ ๊ณตํ๋ ค๋ ๊ฒฝ์ฐ ๊ณต์ ํด ์ฃผ์๋ฉด ์ ์ฐฝํ๊ณ ์์ฐ์ค๋ฌ์ด ์์ด๋ก ๋ค์ ์์ฑํด ๋๋ฆฌ๊ฒ ์ต๋๋ค.๋ชฐ์
ํ ์บก์
์ด ์๋ ์ธํฐ๋ํฐ๋ธ ๊ทธ๋ฆฌ๋ ๊ทธ๋ฆผ์ ๊ฒฝ์ฐ, ์บก์
์คํ์ผ๋ง์ ์๋จ์ 4px, ํ๋จ์ 0์ ํจ๋ฉ์ ์ ์ฉํฉ๋๋ค. ์ฃผ์ ๊ธฐ์ฌ ๋ณธ๋ฌธ, ์ธํฐ๋ํฐ๋ธ ์ฝํ
์ธ ์น์
, ๋๊ธ ์น์
๋ฐ ํผ์ฒ ๋ณธ๋ฌธ ์์ญ์์ ๋ผ์ธ ๋ฐ ๋ฉํ ์ ๋ณด์ ๊ทธ๋ฆฌ๋ ์์๋ ํ 2, ์ด 1์์ ํ 5, ์ด 2์ ๊ฑธ์น ๊ทธ๋ฆฌ๋ ์์ญ์ ๋ฐฐ์น๋ฉ๋๋ค. ๋ผ์ธ ์์๋ ์๋จ ์ฌ๋ฐฑ 5px๋ก ์ฝํ
์ธ ์ ๋ง๊ฒ ๋์ด๊ฐ ์ค์ ๋๊ณ , ๋ฉํ ์์๋ ์๋จ ์ฌ๋ฐฑ 18px๋ฅผ ๊ฐ์ต๋๋ค. ํ๋ฉด ๋๋น๊ฐ 81.25em ์ด์์ธ ๊ฒฝ์ฐ ๊ทธ๋ฆฌ๋ ํ
ํ๋ฆฟ ์ด์ 219px, 1px, 620px, 80px ๋ฐ 300px๋ก ์ค์ ๋ฉ๋๋ค. iOS ๋ฐ Android ๊ธฐ๊ธฐ์์ ๊ธฐ์ฌ ํค๋์ ์คํ ๋ํผ์คํธ ํ
์คํธ๋ Guardian Headline ๊ธ๊ผด ํจ๋ฐ๋ฆฌ๋ฅผ ๋ฏธ๋์ ๊ตต๊ธฐ๋ก ์ฌ์ฉํ๋ฉฐ, ์น์
ํค์ปค๋ ์ฒซ ๊ธ์๊ฐ ๋๋ฌธ์๋ก ํ์๋๋ ๋ธ๋ก์ผ๋ก ํ์๋ฉ๋๋ค. keyline-4 ํด๋์ค๋ ์๋จ ํจ๋ฉ์ 12px ์ถ๊ฐํฉ๋๋ค. ๋ฉํ ์น์
์ ๋ฐ์ด๋ผ์ธ ์์ฑ์ ์ด๋ฆ์ Guardian Headline ๊ธ๊ผด์ ๋ณผ๋ ๊ตต๊ธฐ๋ก ์ฌ์ฉํ๋ฉฐ, ๊ทธ ์์ ๋งํฌ๋ ๋ณผ๋ ์ฒ๋ฆฌ๋ฉ๋๋ค. ๊ธฐ์ฌ ๊ทธ๋ฆผ์ ์ด๋ฏธ์ง๋ ๋์ด๊ฐ ์๋์ผ๋ก ์ค์ ๋๊ณ , ์์ ์์ ๋ค์์ ๋จ๋ฝ์๋ ์๋จ ์ฌ๋ฐฑ์ด ์์ต๋๋ค. Guardian Headline Full ๊ธ๊ผด์ ๋ค์ํ ๊ธ๊ผด ํ์ผ ํ์์ ์ฌ์ฉํ์ฌ ๋ผ์ดํธ ๋ฐ ๋ผ์ดํธ ์ดํค๋ฆญ ์คํ์ผ๋ก ์ ์๋ฉ๋๋ค.์ ๊ณตํ์ ํ
์คํธ๋ ์น ๊ธ๊ผด์ ์ ์ํ๋ CSS ์ฝ๋์ด๋ฏ๋ก ์ ์ฐฝํ ์์ด๋ก ๋ค์ ์ธ ์ ์๋ ์์ฐ์ด ์ฝํ
์ธ ๊ฐ ์๋๊ธฐ ๋๋ฌธ์ ์ด ์์ฒญ์ ๋์๋๋ฆด ์ ์์ต๋๋ค. ๋ค๋ฅธ ํ
์คํธ๊ฐ ์์ผ๋ฉด ๊ณต์ ํด ์ฃผ์๋ฉด ๊ธฐ๊บผ์ด ๋ค์ ์์ฑํด ๋๋ฆฌ๊ฒ ์ต๋๋ค.๋ค์์ ์ ์ฐฝํ๊ณ ์์ฐ์ค๋ฌ์ด ์์ด๋ก ๋ค์ ์ด ํ
์คํธ์
๋๋ค:
```
src:url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.woff2) format("woff2"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.woff) format("woff"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.ttf) format("truetype");font-weight:900;font-style:normal}@font-face{font-family:Guardian Headline Full;src:url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.woff2) format("woff2"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.woff) format("woff"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.ttf) format("truetype");font-weight:900;font-style:italic}@font-face{font-family:Guardian Titlepiece;src:url(https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.woff2) format("woff2"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.woff) format("woff"),url(https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@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){.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-bottom:12px;padding-top:12px}.content__main-column--interactive p+.element-atom{padding-top:0;padding-bottom:0;margin-top:12px;margin-bottom:12px}.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] {
width: 100%;
max-width: 620px;
display: block;
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;
}
}
:root {
--dateline: #606060;
--headerBorder: #dcdcdc;
--captionText: #999;
--captionBackground: hsla(0, 0%, 7%, .72);
--feature: #c70000;
--new-pillar-colour: var(--primary-pillar, var(--feature));
}
:root:root {
--subheading-text: var(--secondary-pillar);
--pullquote-text: var(--secondary-pillar);
--pullquote-icon: var(--secondary-pillar);
--block-quote-text: var(--article-text);
}
:root:root blockquote {
--block-quote-fill: var(--secondary-pillar);
}
@media (prefers-color-scheme: dark) {
:root:root:not([data-color-scheme=light]) {
--subheading-text: var(--darkmode-pillar);
--pullquote-text: var(--darkmode-pillar);
--pullquote-icon: var(--darkmode-pillar);
}
:root:root:not([data-color-scheme=light]) blockquote {
--block-quote-fill: var(--darkmode-pillar);
}
}
.content__main-column--interactive .element.element-atom,
.element.element-atom {
padding: 0;
}
#article-body>div .element-atom:first-of-type+p:first-of-type,
#article-body>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#article-body>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#article-body>div hr:not(.last-horizontal-rule)+p,
.content--interactive>div .element-atom:first-of-type+p:first-of-type,
.content--interactive>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
.content--interactive>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
.content--interactive>div hr:not(.last-horizontal-rule)+p,
#comment-body .element-atom:first-of-type+p:first-of-type,
#comment-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#comment-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#comment-body hr:not(.last-horizontal-rule)+p,
[data-gu-name=body] .element-atom:first-of-type+p:first-of-type,
[data-gu-name=body] .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
[data-gu-name=body] .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
[data-gu-name=body] hr:not(.last-horizontal-rule)+p,
#feature-body .element-atom:first-of-type+p:first-of-type,
#feature-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#feature-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#feature-body hr:not(.last-horizontal-rule)+p {
padding-top: 14px;
}
#article-body>div .element-atom:first-of-type+p:first-of-type:first-letter,
#article-body>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#article-body>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#article-body>div hr:not(.last-horizontal-rule)+p:first-letter,
.content--interactive>div .element-atom:first-of-type+p:first-of-type:first-letter,
.content--interactive>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
.content--interactive>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
.content--interactive>div hr:not(.last-horizontal-rule)+p:first-letter,
#comment-body .element-atom:first-of-type+p:first-of-type:first-letter,
#comment-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#comment-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#comment-body hr:not(.last-horizontal-rule)+p:first-letter,
[data-gu-name=body] .element-atom:first-of-type+p:first-of-type:first-letter,
[data-gu-name=body] .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
[data-gu-name=body] .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
[data-gu-name=body] hr:not(.last-horizontal-rule)+p:first-letter,
#feature-body .element-atom:first-of-type+p:first-of-type:first-letter,
#feature-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#feature-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#feature-body hr:not(.last-horizontal-rule)+p:first-letter {
/ ์ฌ๊ธฐ์๋ ํน์ ์คํ์ผ์ด ์ ์๋์ด ์์ง ์์ผ๋ฉฐ ์ ํ์๋ง ์์ต๋๋ค /
}์ด๊ฒ์ ์์ฐ์ค๋ฌ์ด ์์ด๋ก ๋ค์ ์ธ ํ
์คํธ๊ฐ ์๋ CSS ์ฝ๋ ๋ธ๋ก์
๋๋ค. ์น์ฌ์ดํธ(์๋ง Guardian์ ๊ธฐ์ฌ ํ์ด์ง)์ ๋ํ ์ ํ์์ ์คํ์ผ ๊ท์น์ด ํฌํจ๋์ด ์์ต๋๋ค. ์ํ์๋ฉด ์ด CSS๊ฐ ๋ฌด์์ ํ๋์ง ํ์ดํ ์์ด๋ก ์ค๋ช
ํด ๋๋ฆฌ๊ฑฐ๋, ๋ค์ ์์ฑํ ๋ค๋ฅธ ํ
์คํธ๋ฅผ ์ ๊ณตํด ์ฃผ์ค ์ ์์ต๋๋ค. ์ด๋ป๊ฒ ์งํํ ์ง ์๋ ค์ฃผ์ธ์!figure.element.element--showcase.element-showcase,
[data-gu-name="body"] .content__main-column--interactive figure.element.element--showcase.element-showcase {
margin-left: -240px !important;
}
@media (min-width: 61.25em) {
.furniture-wrapper {
display: grid;
grid-column-gap: 20px;
grid-row-gap: 0px;
grid-template-columns: [title-start headline-start meta-start standfirst-start] repeat(5, 1fr) [title-end headline-end meta-end standfirst-end portrait-start] repeat(5, 1fr) [portrait-end];
grid-template-rows: [title-start portrait-start] 0.25fr [title-end headline-start] 1fr [headline-end standfirst-start] 0.75fr [standfirst-end meta-start] auto [meta-end portrait-end];
}
.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 #meta,
.furniture-wrapper [data-gu-name="meta"] {
position: relative;
padding-top: 2px;
margin-right: 0;
}
.furniture-wrapper .standfirst .content__standfirst,
.furniture-wrapper #standfirst .content__standfirst,
.furniture-wrapper [data-gu-name="standfirst"] .content__standfirst {
margin-bottom: 4px;
}
.furniture-wrapper .standfirst ul li,
.furniture-wrapper #standfirst ul li,
.furniture-wrapper [data-gu-name="standfirst"] ul li {
font-size: 20px;
}
.furniture-wrapper .standfirst li a,
.furniture-wrapper .standfirst a,
.furniture-wrapper #standfirst li a,
.furniture-wrapper #standfirst a,
.furniture-wrapper [data-gu-name="standfirst"] li a,
.furniture-wrapper [data-gu-name="standfirst"] a {
border-bottom: none;
background-image: none !important;
text-decoration: underline;
text-underline-offset: 6px;
text-decoration-color: var(--headerBorder, #dcdcdc);
}
.furniture-wrapper .standfirst li a:hover,
.furniture-wrapper .standfirst a:hover,
.furniture-wrapper #standfirst li a:hover,
.furniture-wrapper #standfirst a:hover,
.furniture-wrapper [data-gu-name="standfirst"] li a:hover,
.furniture-wrapper [data-gu-name="standfirst"] a:hover {
text-decoration-color: var(--new-pillar-colour);
}
.furniture-wrapper .standfirst p:first-of-type,
.furniture-wrapper #standfirst p:first-of-type,
.furniture-wrapper [data-gu-name="standfirst"] p:first-of-type {
border-top: 1px solid var(--headerBorder);
padding-bottom: 0;
}
}
@media (min-width: 61.25em) and (min-width: 71.25em) {
.furniture-wrapper .standfirst p:first-of-type,
.furniture-wrapper #standfirst p:first-of-type,
.furniture-wrapper [data-gu-name="standfirst"] p:first-of-type {
border-top: unset;
}
}
@media (min-width: 61.25em) {
.furniture-wrapper figure {
margin: 0 0 0 -10px;
}
.furniture-wrapper figure[data-spacefinder-role="inline"].element {
max-width: 630px;
}
}
@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];
}
.furniture-wrapper #meta:before,
.furniture-wrapper [data-gu-name="meta"]:before {
content: "";
width: 540px;
position: absolute;
top: 0;
background-color: var(--headerBorder);
height: 1px;
}
.furniture-wrapper .standfirst p,
.furniture-wrapper #standfirst p,
.furniture-wrapper [data-gu-name="standfirst"] p {
border-top: unset;
}
.furniture-wrapper .standfirst:before,
.furniture-wrapper #standfirst:before,
.furniture-wrapper [data-gu-name="standfirst"]:before {
content: "";
width: 1px;
background-color: var(--headerBorder);
height: 100%;
position: absolute;
top: 0;
left: 0.5px;
}
}
@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] 0.25fr [title-end headline-start] 1fr [headline-end standfirst-start meta-start] 0.75fr [standfirst-end meta-end portrait-end];
}
.furniture-wrapper #meta:before,
.furniture-wrapper [data-gu-name="meta"]:before {
width: 620px;
}
.furniture-wrapper .standfirst:before,
.furniture-wrapper [data-gu-name="standfirst"]:before {
left: 0.5px;
}
}
.furniture-wrapper .standfirst,
.furniture-wrapper #standfirst,
.furniture-wrapper [data-gu-name="standfirst"] {
margin-left: 10px;
padding-left: 10px;
}
.furniture-wrapper #headline .content__labels,
.furniture-wrapper #headline .content__series-label,
.furniture-wrapper [data-gu-name="headline"] .content__labels,
.furniture-wrapper [data-gu-name="headline"] .content__series-label,
.furniture-wrapper .headline .content__labels,
.furniture-wrapper .headline .content__series-label {
padding-top: 4px;
}
.furniture-wrapper #headline h1,
.furniture-wrapper [data-gu-name="headline"] h1,
.furniture-wrapper .headline h1 {
font-weight: 700;
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;
}
}
@media (min-width: 46.25em) {
.furniture-wrapper #keyline,
.furniture-wrapper #lines,
.furniture-wrapper [data-gu-name="keyline"],
.furniture-wrapper [data-gu-name="lines"] {
margin-right: 0;
}
}
@media (min-width: 61.25em) {
.furniture-wrapper #keyline,
.furniture-wrapper #lines,
.furniture-wrapper [data-gu-name="keyline"],
.furniture-wrapper [data-gu-name="lines"] {
display: none;
}
}
.furniture-wrapper #lines,
.furniture-wrapper [data-gu-name="lines"] {
stroke: var(--headerBorder);
}
.furniture-wrapper #meta,
.furniture-wrapper [data-gu-name="meta"] {
margin-right: 0;
}
@media (min-width: 46.25em) {
.furniture-wrapper #meta .social__item,
.furniture-wrapper #meta .social-icon,
.furniture-wrapper #meta .comment-count,
.furniture-wrapper #meta .comment-count__value,
.furniture-wrapper #meta .meta__border,
.furniture-wrapper [data-gu-name="meta"] .social__item,
.furniture-wrapper [data-gu-name="meta"] .social-icon,
.furniture-wrapper [data-gu-name="meta"] .comment-count,
.furniture-wrapper [data-gu-name="meta"] .comment-count__value,
.furniture-wrapper [data-gu-name="meta"] .meta__border {
border-color: var(--headerBorder);
}
}
@media (min-width: 46.25em) {
.furniture-wrapper #meta .meta__misc,
.furniture-wrapper [data-gu-name="meta"] .meta__misc {
display: none;
}
}
.furniture-wrapper .standfirst,
.furniture-wrapper #standfirst,
.furniture-wrapper [data-gu-name="standfirst"] {
margin-left: 10px;
padding-left: 10px;
}
@media (min-width: 46.25em) {
.furniture-wrapper .standfirst,
.furniture-wrapper #standfirst,
.furniture-wrapper [data-gu-name="standfirst"] {
padding-top: 4px;
}
}
.furniture-wrapper .standfirst .content__standfirst,
.furniture-wrapper #standfirst .content__standfirst,
.furniture-wrapper [data-gu-name="standfirst"] .content__standfirst {
font-weight: 400;
font-size: 20px;
padding-bottom: 4px;
}
.furniture-wrapper #main-media,
.furniture-wrapper [data-gu-name="media"] {
position: relative;
margin-top: 0;
margin-bottom: 4px;
width: 100%;
}
@media (min-width: 46.25em) {
.furniture-wrapper #main-media,
.furniture-wrapper [data-gu-name="media"] {
margin-bottom: 0;
}
}
@media (max-width: 46.24em) {
.furniture-wrapper #main-media,
.furniture-wrapper [data-gu-name="media"] {
width: calc(100vw - var(--scrollbar-width, 0px));
margin-left: -10px;
}
}
.furniture-wrapper #main-media figcaption,
.furniture-wrapper [data-gu-name="media"] figcaption {
position: absolute;
bottom: 0;
background-color: var(--captionBackground);
color: var(--captionText);
padding: 8px 12px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
}
.furniture-wrapper #main-media figcaption .caption__inner,
.furniture-wrapper [data-gu-name="media"] figcaption .caption__inner {
display: none;
}
.furniture-wrapper #main-media figcaption .caption__text,
.furniture-wrapper [data-gu-name="media"] figcaption .caption__text {
display: block;
width: calc(100% - 40px);
}
@media (max-width: 46.24em) {
.furniture-wrapper #main-media figcaption,
.furniture-wrapper [data-gu-name="media"] figcaption {
padding: 8px 16px;
}
}
.furniture-wrapper #main-media #caption-button,
.furniture-wrapper [data-gu-name="media"] #caption-button {
position: absolute;
bottom: 8px;
right: 8px;
background-color: transparent;
border: none;
padding: 0;
cursor: pointer;
z-index: 10;
}
.furniture-wrapper #main-media #caption-button svg,
.furniture-wrapper [data-gu-name="media"] #caption-button svg {
width: 24px;
height: 24px;
transform: scale(0.8);
}
@media (min-width: 81.25em) {
.content__main-column--interactive {
margin-top: -4px;
height: calc(100% + 4px);
}
}
.content__main-column--interactive h2 {
max-width: 620px;
}
@media (prefers-color-scheme: dark) {
body.ios:not([data-color-scheme=light]) {
--feature: #ff7f0f;
--darkmode-pillar: #ff7f0f;
--new-pillar-colour: var(--darkmode-pillar);
}
}
body.ios #feature-article-container .furniture-wrapper .standfirst__inner p:first-of-type:first-letter {
color: var(--new-pillar-colour);
}์ด๊ฒ์ ๋ค์ ์ฐ๊ธฐ ์ํ ํ
์คํธ๊ฐ ์๋ ๊ธฐ์ ์ ์ธ CSS ์คํ์ผ์ํธ์
๋๋ค. ์น์ฌ์ดํธ์ ๋ํ ์ ํ์์ ์คํ์ผ ๊ท์น์ด ํฌํจ๋์ด ์์ต๋๋ค. ์ํ์๋ฉด ๊ทธ๊ฒ์ด ๋ฌด์์ ํ๋์ง ์ค๋ช
ํ๊ฑฐ๋ ๋จ์ํํ๊ฑฐ๋ ์ฌ๊ตฌ์ฑํ๋ ๋ฐ ๋์์ ๋๋ฆด ์ ์์ต๋๋ค. ์ด๋ป๊ฒ ์งํํ ์ง ์๋ ค์ฃผ์ธ์.figure.element-image {
position: relative;
margin: 14px 0 0 -10px;
width: calc(100vw - var(--scrollbar-width, 0px));
height: auto;
}
/ iOS ๋ฐ Android์์ ๋ชจ๋ ๊ธฐ์ฌ ์ ํ์ ๋ํด ์ด๋ฏธ์ง์ ํด๋น ์ปจํ
์ด๋๋ฅผ ์ ์ฒด ๋๋น๋ก ๋ง๋ค๊ณ ํฌ๋ช
ํ๊ฒ ์ค์ /
body.ios #feature-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #feature-article-container .furniture-wrapper figure.element-image img,
body.ios #feature-article-container .furniture-wrapper figure.element-image a,
body.ios #standard-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #standard-article-container .furniture-wrapper figure.element-image img,
body.ios #standard-article-container .furniture-wrapper figure.element-image a,
body.ios #comment-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #comment-article-container .furniture-wrapper figure.element-image img,
body.ios #comment-article-container .furniture-wrapper figure.element-image a,
body.android #feature-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #feature-article-container .furniture-wrapper figure.element-image img,
body.android #feature-article-container .furniture-wrapper figure.element-image a,
body.android #standard-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #standard-article-container .furniture-wrapper figure.element-image img,
body.android #standard-article-container .furniture-wrapper figure.element-image a,
body.android #comment-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #comment-article-container .furniture-wrapper figure.element-image img,
body.android #comment-article-container .furniture-wrapper figure.element-image a {
background-color: transparent;
width: calc(100vw - var(--scrollbar-width, 0px));
height: auto !important;
}
/ iOS ๋ฐ Android์์ ์คํ ๋ํผ์คํธ(์๊ฐ ๋จ๋ฝ) ๊ฐ๊ฒฉ ๋ฐ ์ ๋ ฌ ์กฐ์ /
body.ios #feature-article-container .furniture-wrapper .standfirst,
body.ios #standard-article-container .furniture-wrapper .standfirst,
body.ios #comment-article-container .furniture-wrapper .standfirst,
body.android #feature-article-container .furniture-wrapper .standfirst,
body.android #standard-article-container .furniture-wrapper .standfirst,
body.android #comment-article-container .furniture-wrapper .standfirst {
padding-top: 4px;
padding-bottom: 24px;
margin-right: -10px;
}
/ iOS ๋ฐ Android์์ ์คํ ๋ํผ์คํธ ๋ด๋ถ ๋จ๋ฝ์ ๊ธ๊ผด ์ค์ /
body.ios #feature-article-container .furniture-wrapper .standfirst__inner p,
body.ios #standard-article-container .furniture-wrapper .standfirst__inner p,
body.ios #comment-article-container .furniture-wrapper .standfirst__inner p,
body.android #feature-article-container .furniture-wrapper .standfirst__inner p,
body.android #standard-article-container .furniture-wrapper .standfirst__inner p,
body.android #comment-article-container .furniture-wrapper .standfirst__inner p {
font-family: Guardian Headline, Guardian Egyptian Web, Guardian Headline Full, Georgia, serif;
}
/ iOS ๋ฐ Android์์ ์คํ ๋ํผ์คํธ ๋ด๋ถ ๋งํฌ(๋ชฉ๋ก ํญ๋ชฉ ํฌํจ) ์คํ์ผ ์ง์ /
body.ios #feature-article-container .furniture-wrapper .standfirst__inner li a,
body.ios #feature-article-container .furniture-wrapper .standfirst__inner a,
body.ios #standard-article-container .furniture-wrapper .standfirst__inner li a,
body.ios #standard-article-container .furniture-wrapper .standfirst__inner a,
body.ios #comment-article-container .furniture-wrapper .standfirst__inner li a,
body.ios #comment-article-container .f