Dieser CSS-Code definiert eine benutzerdefinierte Schriftfamilie namens "Guardian Headline Full" mit mehreren Stilen und Gewichten. Er enthält leichte, reguläre, mittlere und halbfette Versionen, jeweils in normalen und kursiven Stilen. Die Schriftdateien werden in drei Formaten bereitgestellt – WOFF2, WOFF und TrueType – und sind auf den Servern des Guardian gehostet.@font-face {
font-family: Guardian Headline Full;
src: url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Bold.woff2) format("woff2"),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Bold.woff) format("woff"),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Bold.ttf) format("truetype");
font-weight: 700;
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-BoldItalic.woff2) format("woff2"),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BoldItalic.woff) format("woff"),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BoldItalic.ttf) format("truetype");
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: Guardian Headline Full;
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;
}
div#maincontent:focus {
box-shadow: none !important;
}
body {
--primary-text-color: #121212;
--secondary-text-color: #707070;
--tertiary-text-color: #707070;
--primary-bg-color: #ffffff;
--secondary-bg-color: #f3f3f3;
--tertiary-bg-color: #f6f6f6;
--primary-line-color: #333333;
--secondary-line-color: #dcdcdc;
--border-divider-color: #dcdcdc;
--axis-color: #bababa;
--primary-button-color: #121212;
--primary-button-text-color: #ffffff;
--primary-button-highlight-color: #333333;
--highlight-color: #ffe500;
--highlighted-text-color: #121212;
--info-color: #00b2ff;
--news-grey-01: #121212;
--news-grey-02: #707070;
--news-grey-03: #a1a1a1;
--news-grey-04: #bababa;
--news-grey-05: #dcdcdc;
--news-grey-06: #f3f3f3;
--news-core-01: #005689;
--news-core-02: #0094da;
--news-core-03: #c70000;
--news-core-04: #23b4a9;
--news-core-05: #494949;
--news-core-06: #cca36e;
}
@media (prefers-color-scheme: dark) {
:root:not([data-color-scheme=light]) body {
--primary-text-color: #dcdcdc;
--secondary-text-color: #c8c8c8;
--tertiary-text-color: #999999;
--primary-bg-color: #1a1a1a;
--secondary-bg-color: #383838;
--tertiary-bg-color: #121212;
--primary-line-color: #dcdcdc;
--secondary-line-color: #707070;
--border-divider-color: #606060;
--axis-color: var(--news-grey-04);
--primary-button-color: #383838;
--primary-button-text-color: #dcdcdc;
--primary-button-highlight-color: #707070;
--highlight-color: #cda500;
--highlighted-text-color: #121212;
--info-color: #0077b6;
--news-grey-01: #dcdcdc;
--news-grey-02: #c8c8c8;
--news-grey-03: #a1a1a1;
--news-grey-04: #707070;
--news-grey-05: #494949;
--news-grey-06: #383838;
--news-core-01: #0077b6;
--news-core-02: #00b2ff;
--news-core-03: #e33824;
--news-core-04: #23b4a9;
--news-core-05: #494949;
}
}:root {
--f100-mobile-background: none;
--f100-desktop-background: none;
}
.element-immersive {
width: auto;
left: auto;
right: auto;
}
.interactive-atom {
margin: 0;
padding: 0;
}
@media (max-width: 46.24em) {
.ios .element--immersive,
.android .element--immersive {
width: 100vw !important;
position: relative;
left: 50% !important;
right: 50% !important;
margin-left: -50vw !important;
margin-right: -50vw !important;
}
}
@media (min-width: 46.25em) {
.ios .article__body,
.android .article__body {
padding-right: 12px !important;
}
}
.ios figure.element.element-atom,
.ios figure.interactive.interactive-atom.interactive--loading,
.android figure.element.element-atom,
.android figure.interactive.interactive-atom.interactive--loading {
padding: 0 !important;
}
.gv-right-render {
position: relative;
height: 100%;
width: auto;
}
.gv-detail-overlay {
top: 0;
left: 100%;
width: calc(100% - 40px);
height: 100%;
max-width: 400px;
z-index: 1050;
}
@media (min-width: 61.25em) {
.gv-detail-overlay {
display: block;
width: 320px;
height: 100%;
min-height: 400px;
}
}
@media (min-width: 81.25em) {
.gv-detail-overlay {
width: 400px;
height: auto;
min-height: 360px;
}
}
.gv-detail-overlay.opened {
transform: translate(-100%);
}
@media (min-width: 61.25em) {
.gv-detail-overlay.opened {
display: block;
}
}
.gv-detail-overlay.fix-pos {
position: fixed;
}
.gv-detail-overlay.abs-pos {
position: absolute;
}
.gv-detail-overlay.opened:before {
width: 20px;
height: 100%;
display: block;
content: "";
position: absolute;
left: -20px;
}
.gv-detail-scroll-area {
position: absolute;
padding: 0 0 100%;
top: 0;
left: 0;
bottom: 0;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
background-color: #fff;
box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
}
@media (min-width: 61.25em) {
.gv-detail-scroll-area {
overflow: hidden;
box-shadow: none;
border-top: 1px solid #ffbb00;
border-bottom: none;
padding: 0 0 0 10px;
}
.gv-detail-scroll-area.add-border-bottom {
border-top: none;
}
}
.gv-detail-items-list {
position: relative;
width: calc(100% - 30px);
}
@media (min-width: 61.25em) {
.gv-detail-items-list {
width: 280px;
}
}
@media (min-width: 81.25em) {
.gv-detail-items-list {
width: 600px;
}
}
.gv-detail-item {
display: block;
height: auto;
margin: 0 0 24px;
padding-bottom: 12px;
}
@media (min-width: 61.25em) {
.gv-detail-item {
border-bottom: none;
}
}
.gv-detail-item.selected {
opacity: 1;
}
@media (min-width: 61.25em) {
.gv-detail-item.selected {
padding-top: 0;
display: block;
}
}
.gv-detail-item.no-border,
.gv-detail-item:first-child {
border: none;
}
.gv-detail-text1,
.gv-detail-text2,
.gv-detail-head-text {
font-size: 14px;
line-height: 20px;
font-family: Guardian Text Sans Web, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
}
.gv-detail-text1 h1,
.gv-detail-text2 h1,
.gv-detail-head-text h1 {
font-size: 20px;
line-height: 24px;
font-family: Guardian Headline, Guardian Egyptian Web, Guardian Headline Full, Georgia, serif;
font-weight: 900;
}
.gv-detail-head-text {
height: auto;
margin-left: 12px;
}
.gv-detail-head-text h1 {
color: #333;
font-size: 28px;
line-height: 32px;
font-family: Guardian Headline, Guardian Egyptian Web, Guardian Headline Full, Georgia, serif;
font-weight: 400;
font-weight: 200;
}
@media (min-width: 61.25em) {
.gv-detail-head-text h1 {
font-size: 36px;
line-height: 40px;
font-family: Guardian Headline, Guardian Egyptian Web, Guardian Headline Full, Georgia, serif;
font-weight: 400;
font-weight: 200;
}
}
@media (min-width: 61.25em) {
.gv-detail-head-text {
margin-left: 0;
}
}
.gv-detail-head-text:before,
.gv-detail-head-text:after {
content: "";
display: block;
top: 0;
height: 1px;
width: 100vw;
margin-left: 90px;
border-bottom: 1px solid #dcdcdc;
}
@media (min-width: 61.25em) {
.gv-detail-head-text:before,
.gv-detail-head-text:after {
width: 50vw;
}
}
.gv-detail-head-text:after {
border-bottom: none;
border-top: 1px solid #dcdcdc;
}
@media (min-width: 61.25em) {
.gv-detail-head-text:after {
padding-bottom: 2px;
}
}
.gv-detail-main {
width: 100%;
height: auto;
margin: 0;
}
@media (min-width: 61.25em) {
.gv-detail-main {
height: auto;
}
}
.gv-detail-description {
margin-top: 12px;
font-size: 14px;
line-height: 20px;
font-family: Guardian Text Egyptian Web, Georgia, serif;
color: #333;
min-height: 24px;
}
@media (min-width: 61.25em) {
.gv-detail-description {
font-size: 16px;
line-height: 24px;
font-family: Guardian Text Egyptian Web, Georgia, serif;
height: auto;
}
}
.gv-detail-list-wrapper ul {
margin: 0;
padding: 0;
}
.gv-detail-list-wrapper ul li {
font-size: 14px;
line-height: 20px;
}Die CSS-Stile definieren ein responsives Layout für eine Galerie- oder Listenansichtskomponente. Listeneinträge haben eine Mindestbreite, die auf größeren Bildschirmen zunimmt, mit fettem Text und ohne Aufzählungspunkte. Profilbilder sind kreisförmige Miniaturansichten mit einem festen Seitenverhältnis. Ein Umschaltknopf wechselt zwischen Raster- und Listenansichten und ändert Position und Farbe auf dem Desktop. Filteroptionen enthalten eine benutzerdefiniert gestaltete Dropdown-Liste. Überschriften passen ihre Größe und oberen Rand über Breakpoints hinweg an, mit einem vollbreiten Hintergrundbild, das responsiv skaliert. Der Artikelkopf hat einen transparenten Hintergrund mit einem Pseudoelement, das das Hintergrundbild bereitstellt, das sich von der mobilen zur Desktop-Version bei bestimmten Bildschirmbreiten ändert..article__header:before {
background-size: auto 100%;
height: 350px;
background-image: var(--f100-desktop-background);
background-size: cover;
}
@media (min-width: 61.25em) {
article .content--interactive:before,
.article__header:before {
background-size: auto 100%;
height: 450px;
}
}
.gv-wrapper {
border-top: 1px solid #dcdcdc;
}
.gv-wrapper select {
background: var(--primary-bg-color) url(https://interactive.guim.co.uk/atoms/2025/09/top100-footballers-men/assets/v/1765877613169/down-arrow-blue-dark.png) no-repeat 93% 50%;
background-size: 16px auto;
}
.gv-header {
display: none !important;
}
.element-atom,
.interactive-atom {
margin: 0 !important;
height: auto;
}
.interactive-ad-banner {
display: flex;
justify-content: center;
}
.interactive-ad-banner .hide-until-tablet {
display: none;
}
@media (min-width: 46.25em) {
.interactive-ad-banner .hide-until-tablet {
display: inherit;
}
}
@media (min-width: 46.25em) {
.interactive-ad-banner .mobile-only {
display: none;
}
}
@media (min-width: 46.25em) {
.interactive-ad-banner .ad-slot--rendered {
margin: 0 0 80px;
}
}
#gv-mobile-dummy {
position: absolute;
display: block;
}
@media (min-width: 61.25em) {
#gv-mobile-dummy {
display: none;
}
}
.gv-no-select {
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
select:focus {
outline: none;
}
.gv-wrap-all {
position: relative;
width: 100%;
max-width: 1300px;
vertical-align: top;
margin: 1px auto 0;