This CSS code defines a custom font family called “Guardian Headline Full” with multiple font weights and styles. It includes light (300), regular (400), medium (500), and semibold (600) weights, each available in both normal and italic styles. The font files are hosted on The Guardian’s servers and are provided in three formats: WOFF2, WOFF, and TrueType (TTF) to ensure compatibility across different browsers.@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;
}
@font-face {
font-family: Guardian Headline Full;
src: url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Light.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Light.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Light.ttf) format(“truetype”);
font-weight: 300;
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-LightItalic.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-LightItalic.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-LightItalic.ttf) format(“truetype”);
font-weight: 300;
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-Regular.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Regular.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Regular.ttf) format(“truetype”);
font-weight: 400;
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-RegularItalic.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-RegularItalic.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-RegularItalic.ttf) format(“truetype”);
font-weight: 400;
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-RegularItalic.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-RegularItalic.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-RegularItalic.ttf) format(“truetype”);
font-weight: 400;
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-Medium.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Medium.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Medium.ttf) format(“truetype”);
font-weight: 500;
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-MediumItalic.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-MediumItalic.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-MediumItalic.ttf) format(“truetype”);
font-weight: 500;
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-Semibold.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Semibold.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Semibold.ttf) format(“truetype”);
font-weight: 600;
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-SemiboldItalic.woff2) format(“woff2”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-SemiboldItalic.woff) format(“woff”),
url(https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-SemiboldItalic.ttf) format(“truetype”);
font-weight: 600;
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-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 Headline;
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;
}
#article-body>div .content–interactive-grid,
.content–interactive>div .content–interactive-grid,
#comment-body .content–interactive-grid,
[data-gu-name=body] .content–interactive-grid,
#feature-body .content–interactive-grid {
grid-column-gap: 0px;
grid-template-columns: 100%;
grid-template-areas: “media” “title” “headline” “standfirst” “lines” “meta” “body”;
}
@media (min-width: 30em) {
#article-body>div .content–interactive-grid figure.element–immersive figcaption,
.content–interactive>div .content–interactive-grid figure.element–immersive figcaption,
#comment-body .content–interactive-grid figure.element–immersive figcaption,
[data-gu-name=body] .content–interactive-grid figure.element–immersive figcaption,
#feature-body .content–interactive-grid figure.element–immersive figcaption {
padding: 0 20px;
max-width: 620px;
}
}
@media (min-width: 46.25em) {
#article-body>div .content–interactive-grid,
.content–interactive>div .content–interactive-grid,
#comment-body .content–interactive-grid,
[data-gu-name=body] .content–interactive-grid,
#feature-body .content–interactive-grid {
grid-template-columns: 100%;
grid-column-gap: 10px;
grid-template-areas: “title” “headline” “standfirst” “media” “lines” “meta” “body”;
}
#article-body>div .content–interactive-grid #maincontent,
.content–interactive>div .content–interactive-grid #maincontent,
#comment-body .content–interactive-grid #maincontent,
[data-gu-name=body] .content–interactive-grid #maincontent,
#feature-body .content–interactive-grid #maincontent {
padding-right: 80px;
}
}
@media (min-width: 61.25em) {
#article-body>div .content–interactive-grid,
.content–interactive>div .content–interactive-grid,
#comment-body .content–interactive-grid,
[data-gu-name=body] .content–interactive-grid,
#feature-body .content–interactive-grid {
grid-template-columns: 620px 300px;
grid-template-areas: “title right-column” “headline right-column” “standfirst right-column” “media right-column” “lines right-column” “meta right-column” “body right-column” “. right-column”;
}
#article-body>div .content–interactive-grid #maincontent,
.content–interactive>div .content–interactive-grid #maincontent,
#comment-body .content–interactive-grid #maincontent,
[data-gu-name=body] .content–interactive-grid #maincontent,
#feature-body .content–interactive-grid #maincontent {
padding-right: unset;
}
}
@media (min-width: 71.25em) {
#article-body>div .content–interactive-grid,
.content–interactive>div .content–interactive-grid,
#comment-body .content–interactive-grid,
[data-gu-name=body] .content–interactive-grid,
#feature-body .content–interactive-grid {
grid-template-columns: 140px 1px 620px 300px;
grid-template-areas: “title border headline right-column” “. border standfirst right-column” “. border media right-column” “. border body right-column” “. border . right-column”;
}
#article-body>div .content–interactive-grid .content__standfirst,
.content–interactive>div .content–interactive-grid .content__standfirst,
#comment-body .content–interactive-grid .content__standfirst,
[data-gu-name=body] .content–interactive-grid .content__standfirst,
#feature-body .content–interactive-grid .content__standfirst {
padding-bottom: 0;
}
#article-body>div .content–interactive-grid figure.element–immersive figcaption,
.content–interactive>div .content–interactive-grid figure.element–immersive figcaption,
#comment-body .content–interactive-grid figure.element–immersive figcaption,
[data-gu-name=body] .content–interactive-grid figure.element–immersive figcaption,
#feature-body .content–interactive-grid figure.element–immersive figcaption {
/ Caption styling continues here /
}
}For interactive grid figures with immersive captions in specific content areas, the caption padding is set to 4 pixels at the top and 0 elsewhere.
In various content sections, elements named “lines” and “meta” within interactive grids are positioned in the grid area from row 2, column 1 to row 5, column 2. The “lines” elements have a height that fits their content and a top margin of 5 pixels, while “meta” elements have an 18-pixel top margin.
On larger screens (81.25em and above), the interactive grid layout uses specific column widths: 219px, 1px, 620px, 80px, and 300px.
For iOS and Android devices, article headers have customized styles:
– Standfirst text uses specific font families with a medium weight.
– Section kickers are displayed as blocks with the first letter capitalized.
– Keylines have a top padding of 12 pixels.
– Author bylines use bold, serif fonts.
– Image figures have automatic height.
– Paragraphs following atomic elements have no top margin.
Additionally, custom font faces for “Guardian Headline Full” are defined with light and light italic weights, sourced from specific URLs in woff2, woff, and truetype formats.The Guardian Headline Full font family includes various styles and weights, such as regular, italic, medium, medium italic, semibold, semibold italic, bold, and bold italic. Each style is available in multiple formats like WOFF2, WOFF, and TrueType, sourced from the Guardian’s website.@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;
}
@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));
position: relative;
left: 50%;
right: 50%;
margin-left: calc(-50vw + var(–half-scrollbar-width)) !important;
margin-right: calc(-50vw + var(–half-scrollbar-width)) !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;
}
}
:root {
–dateline: #606060;
–headerBorder: #dcdcdc;
–captionText: #999;
–captionBackground: hsla(0, 0%, 7%, 0.72);
–feature: #c70000;
–new-pillar-colour: var(–primary-pillar, var(–feature));
}
.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-ga {
/ No additional styles specified /
}For the first paragraph in various content sections, add a top padding of 14 pixels.
Style the first letter of these paragraphs with a specific font family, bold weight, 111px size, 92px line height, left float, uppercase text, box-sizing, 8px right margin, vertical alignment at the top, and a color variable.
Remove top padding for paragraphs following a horizontal rule.
Set captions for showcase elements to be static, full width, and up to 620px wide.
Make immersive elements span the full viewport width minus the scrollbar.
On screens up to 71.24em wide, limit immersive elements to 978px and add 10px horizontal padding to captions.
Between 30em and 71.24em, increase caption padding to 20px horizontally.
For screens from 46.25em to 61.24em, set immersive elements to a maximum width.For screens up to 738 pixels wide, adjust the layout for immersive elements by removing left and right margins and aligning them to the left edge.
On smaller screens (under 46.24em), immersive elements shift left with no right margin. For slightly wider small screens (between 30em and 46.24em), increase the left shift and adjust caption padding.
For larger screens (61.25em and up), use a grid layout with defined columns and rows for furniture components. Style headlines with top borders, position metadata relatively, and format standfirst text with specific link styles and borders that change on hover.
Adjust figure margins and widths within the grid, and modify grid structures and element styles further for extra-wide screens (71.25em and 81.25em), including adding separators and repositioning content areas.The CSS code defines styles for a webpage layout, adjusting elements like headlines, images, and captions across different screen sizes. Headlines are set to a bold font with specific maximum widths and font sizes that change on larger screens. For medium screens, some margins are removed, and on larger screens, certain lines are hidden. Social and comment elements have borders matching the header’s color, while some components are not displayed.
The main media area is positioned relatively and adjusts its width and margins on smaller screens. Captions are placed at the bottom with a background color and text color, hiding one span and displaying another with a maximum width. A caption button is positioned in the bottom right, changing appearance on larger screens.
For interactive content, headings have a set maximum width, and dark mode variables are defined for background and feature colors, adjusting based on user preferences or device settings.For iOS and Android devices, the first letter of the first paragraph in feature, standard, and comment articles is styled with a secondary pillar color. Article headers are hidden, while furniture wrappers have minimal padding. Labels within these wrappers use a bold, capitalized font in a specific headline style and color. Headlines are set to 32px, bold, with bottom padding and a dark gray color. Image figures in the furniture wrapper are also styled accordingly.For Android devices, images in standard and comment articles are positioned relatively, with a 14px top margin, no left margin, and a width that adjusts to the viewport minus the scrollbar width, while maintaining their aspect ratio.
On iOS and Android, images and their inner elements in feature, standard, and comment articles have a transparent background and a width that matches the viewport minus the scrollbar, with automatic height.
The standfirst section in feature, standard, and comment articles on both iOS and Android has 4px top padding, 24px bottom padding, and a negative 10px right margin.
Paragraphs within the standfirst use the Guardian Headline or similar serif fonts.
Links in the standfirst, including those in lists, are styled with the new pillar color, underlined with a 6px offset, and have a specific underline color, without any background image or bottom border.For iOS and Android devices, when hovering over links in the standfirst section of feature, standard, or comment articles, the text decoration color changes to the new pillar color. Additionally, the meta section in these articles has no margin, and elements like byline, author, and related links adopt the new pillar color for text. The meta misc section has no padding, and any SVG icons within it are also styled accordingly.For Android and iOS devices, the following styles apply to feature, standard, and comment article containers:
– SVG icons in the meta section use the new pillar color for strokes.
– Caption buttons in showcase elements are displayed as centered flex containers, sized 28×28 pixels with 5px padding, positioned 14px from the right.
– Article body content has 12px horizontal padding.
– Standard image elements (excluding thumbnails and immersive types) span the full viewport width minus 24px and scrollbar width, with auto height and no margin. Their captions have no padding.
– Immersive image elements span the full viewport width minus scrollbar width.
– Quoted blockquotes in prose use the new pillar color for their decorative before element.
– Links in prose sections…For iOS and Android devices, links within article bodies are styled with a primary pillar color, an underline 6 pixels below the text, and no background image. When hovered over, the underline changes to a new pillar color.
In dark mode, the furniture wrapper’s background becomes dark gray, while labels adopt the new pillar color. Headlines lose their background and use the header border color, and standfirst text and links, along with author bylines, also take on the header border color.For iOS and Android devices, apply the following styles to feature, standard, and comment article containers:
– Set the color of meta information text and SVG strokes to the new pillar color.
– Use the dateline color for showcase image captions.
– Apply the new pillar color to quoted text in article bodies.
– Use a dark background for main content areas, ensuring it overrides other styles.
– Style the first letter of paragraphs following specific elements with a larger font size, bold weight, and the new pillar color.This CSS code targets the first letter of paragraphs that follow specific elements within various article containers on iOS and Android devices. It applies to different sections like the main article body, feature body, comment body, and interactive content areas, ensuring consistent styling for drop caps or initial letter formatting across the platform.For Android devices, the first letter of paragraphs in various article containers (feature, standard, comment) and their specific sections (article-body, feature-body, comment-body, content–interactive) will be styled with a color variable, defaulting to white. This applies to paragraphs following elements like .element-atom, .sign-in-gate, or #sign-in-gate, and includes those with data attributes like [data-gu-name=body].
On iOS and Android in comment articles, the standfirst element within the furniture-wrapper has a top padding of 24px and no top margin.
Additionally, all h2 headings within prose have a font size of 24px.For iOS devices, the caption button in feature, standard, and comment articles has a top padding of 6px and 5px on the sides. On Android, it’s 4px all around with top padding.
In dark mode, text and icon colors adjust for better readability, using lighter shades for follow text and standfirst, while bylines and links adopt a dark mode pillar color.
When the furniture wrapper includes a Guardian organization logo, the branding element is always displayed.
Labels and headlines within the furniture wrapper on iOS and Android, as well as standfirst paragraphs, use a medium font weight.
The page background is set to a soft pink (#fff4f2) for weekend essays, which also applies to article sections and sub-meta backgrounds.
Lines are hidden in the layout.
The furniture wrapper is positioned relatively and uses a grid layout for larger screens, defining rows for title, headline, standfirst, and meta sections.
The article header has a fixed height of 70px (80px on wider screens) and contains labels with a decorative book GIF in the bottom right corner, scaling up on larger displays.
A horizontal line appears below the labels on smaller screens, spanning the viewport width minus the scrollbar, but disappears on medium to large screens.For screens wider than 1300px, adjust the article header and title container height to 125px.
On the same screen size, shift the headline section upward by 2 pixels.
Remove bottom padding from the headline’s inner containers.
Set the main headline container to full height with relative positioning, hidden overflow, and 24px bottom padding.
Remove maximum width restrictions from headline titles and links.
Enhance hover effects for headlines and links with thicker underlines and 6px offset.
Apply consistent typography to headlines, links, and bylines: 115% line height, medium font weight, and 36px font size.
Increase font size to 50px for screens wider than 1140px.
Position the standfirst section relatively with 4px top padding.
Adjust standfirst padding: none for screens over 980px, 2px for screens over 1140px.
Display branding elements in the meta section.
Position the main media section relatively.
Place the media section in the portrait grid area for screens wider than 980px.
Set the main media container to use relative positioning.The furniture wrapper styles the main media elements to display as blocks and sets figures to full height with a left margin. Images and captions are sized to fit the viewport minus margins and scrollbar width, with auto height and padding. A decorative frame is added as a background image, positioned absolutely to cover the figure.
On medium screens and above, adjustments include removing the left margin, setting fixed widths for images and captions, and repositioning the frame. The caption button’s placement shifts at different breakpoints for optimal positioning.
For elements without media, a centered flexbox layout ensures content is displayed neatly in the center.The CSS code defines styles for various elements in a layout. For instance, paragraphs within specific containers have a font size of 24px, bold weight, underlined, and a custom color. On larger screens, the main interactive column adjusts its margin and removes a pseudo-element.
Supporting elements with blockquotes get a light pink background, while the first letter of the first paragraph is styled with a lighter weight. Drop caps are large, uppercase, and floated to the left with specific fonts and colors. Headings are colored dark orange, with larger sizes on bigger screens, and bold if they contain strong tags.
Figures with iframes also adopt the light pink background. On apps, follow buttons are displayed with adjusted spacing and smaller font sizes for spans. Media elements are set to fit their content width. In dark mode, the background colors change to dark gray, and a background image is applied to certain elements after the header or labels.For iOS and Android apps, the main media figure uses a specific white frame background image. The body background is set to white on these devices.
Labels and headlines in article containers are displayed with a medium font weight.
In light mode, the background color for iOS and Android is a custom weekend essay background, defaulting to a light pink shade.
For opinion content, the primary color is set to a dark orange, and the byline anchor uses this color.
In dark mode, the weekend essay background becomes dark gray, and the opinion primary color changes to a brighter orange. Opinion article bodies and tags on iOS have their background reset to default.
Article containers on iOS and Android use the weekend essay background color.
On larger screens, the furniture wrapper in article containers uses a specific grid layout with defined columns and rows for titles, headlines, meta information, standfirsts, and portraits.
The title and GIF wrapper in article containers is set to display as a flexible row, spaced apart, and positioned relatively.For iOS and Android devices, the content labels in feature, standard, and comment article containers have a font size of 17 pixels, normal style, bold weight, and 115% line height. Links within these labels use a custom color (defaulting to #c74600) and have no text transformation.
GIF containers and their images in these sections are set to 70 pixels in width and height. A specific class, book-gif-white, hides these elements when applied.
In dark mode, the book-gif class is hidden for iOS devices in feature and standard article containers.This CSS code hides certain GIF elements with the class “book-gif” on iOS and Android devices for feature, standard, and comment article containers. Instead, it displays white versions of these GIFs with the class “book-gif-white”. It also adds a horizontal line below the title and GIF wrapper on these devices, which spans the full viewport width on smaller screens and half the viewport width on screens larger than 61.25em.When the color scheme is set to dark on iOS or Android devices, the background color for the title and GIF wrapper in feature, standard, and comment articles changes to #606060.
For screens wider than 61.25em, the portrait main media headline wrapper in these article types on iOS and Android is assigned to the grid area named “headline.”
Additionally, the headline and byline text in feature, standard, and comment articles on both iOS and Android have a font size of 36px, normal style, medium weight, and a line height of 115%.For Android devices, the author’s name in comment articles is displayed in red. In dark mode, all author names across different article types on iOS and Android appear in a darker orange. On both iOS and Android, author profile pictures are hidden in all article layouts. Article headlines have no bottom margin or padding. The byline text is italicized, but the author’s name within it remains normal. Main media elements adjust their height automatically with a 4:5 aspect ratio and a transparent background.For iOS and Android devices, the following styles apply to feature, standard, and comment article containers:
– The main media figure element has full height and no left margin.
– Its inner figure is positioned at the top-left corner.
– The element’s inner container has a transparent background, visible overflow, and no padding.
– Images within these elements are set to the viewport width minus 40 pixels, with 20 pixels left margin and 25 pixels top margin.
– For images directly inside the element’s inner container, the top margin is reduced to 13 pixels.
– Figure captions are also styled consistently across these containers.For all devices, the figure captions in the main media section will have automatic height.
On iOS and Android devices, captions within feature, standard, and comment articles will display as blocks with no maximum height, positioned relatively, and use a gray color defined by the –captionText variable.
For screens wider than 46.25em:
– Figures in these containers will have no maximum width limit
– A pseudo-element before each figure will span almost the full viewport width with small margins
– Images inside figures will occupy most of the viewport width with consistent margins
For screens wider than 61.25em:
– Additional responsive adjustments will apply to the figure layoutFor iOS and Android devices, the main media figure elements in feature, standard, and comment article containers have specific styles. The width of the figure’s pseudo-element is set to half the viewport width minus 20 pixels and any scrollbar width. Images within these figures are sized at half the viewport width minus 40 pixels and the scrollbar width, with a left margin of 18 pixels, auto height, no padding, and a top margin of 10 pixels.
On larger screens (min-width: 71.25em), the pseudo-element is positioned 4 pixels higher. For even wider screens (min-width: 81.25em), the pseudo-element shifts 20 pixels to the left, and images adjust to half the viewport width minus 90 pixels and the scrollbar width, with a left margin of 12 pixels, a negative top margin of 10 pixels, and a top padding of 21 pixels.
In dark mode, the pseudo-element uses a white frame image as its background. Additionally, the first image in these figures receives special styling for both operating systems.For iOS and Android devices, the first image in the main media section of feature, standard, and comment articles has specific styling. The image’s width is set to the full viewport width minus 20 pixels and the scrollbar width, with no left margin and 10 pixels of padding.
On larger screens (over 61.25em wide), the image width adjusts to half the viewport width minus 30 pixels and the scrollbar width, with a 5-pixel left margin, automatic height, and 21 pixels of top padding.
On even larger screens (over 81.25em wide), the image width becomes half the viewport width minus 70 pixels and the scrollbar width, with a 5-pixel left margin, automatic height, a 10-pixel negative top margin, and 21 pixels of top padding.
For the container element before the image, its width matches the full viewport width minus 20 pixels and the scrollbar width, aligned to the left. On screens wider than 61.25em, it adjusts to half the viewport width minus 20 pixels and the scrollbar width, spans the full height, and remains left-aligned.For iOS and Android devices, the first image in feature, standard, and comment articles has a left offset of -20px.
On screens wider than 46.25em, the caption button in these articles is positioned 45px from the bottom.
For screens wider than 61.25em, the main media area in these articles is set to a portrait grid area with a maximum width of 620px and automatic height.
All figure elements in these articles are relatively positioned with no top margin.
The inner container of each figure is absolutely positioned 15px from the top and 20px from the left, spanning the viewport width minus 40px with automatic height.
Images within these figures cover their containers completely while maintaining their aspect ratio.
The caption button in each figure is placed 24px from the right and 20px from the bottom.
On screens wider than 46.25em, the inner container of each figure adjusts its positioning accordingly.For Android devices, the inner figure element in feature, standard, and comment article containers has a width of 680px, automatic height, and is positioned 10px from the top and left.
On both iOS and Android, the caption button within figure elements in these article containers is positioned 25px from the bottom.
When the screen width is at least 61.25em, figure elements in these containers on iOS and Android adjust their width to half the viewport width minus 20px and the scrollbar width.
For standfirst elements in these article containers on iOS and Android, the top margin is removed, with 8px padding added to the top and 10px to the right. Any preceding content in standfirst is hidden.
Text elements within the standfirst inner section, including paragraphs, links, and list items, use a 20px font size, normal style, medium weight, 115% line height, and no bottom padding.
On wider screens (min-width: 61.25em), the standfirst elements in feature, standard, and comment article containers for iOS and Android…For iOS and Android devices, the standfirst section in feature, standard, and comment article containers is placed in the grid area labeled “standfirst.”
On these devices, the meta section in these article types has no top padding and displays the publication date with a relative position. A thin gray line appears below the publication date, spanning the full viewport width and positioned slightly to the left.
On larger screens (over 61.25em wide), the meta section is placed in the “meta” grid area and displayed as a block. The line below the publication date then spans only half the viewport width.
For even wider screens (over 81.25em), the miscellaneous meta content has no left margin.
In dark mode, the line below the publication date changes to a darker gray color.
Additionally, for iOS devices, the meta and keyline sections in feature, standard, and comment articles have specific styling applied before their content.For iOS and Android devices, hide the meta and keyline elements before the furniture wrapper in feature, standard, and comment article containers. Also, conceal rich-link aside elements and cutout containers in comment headers for these article types.
Set the background color of article and feature bodies to a weekend essay theme with a light pink default, adding a 6px top margin. Style horizontal rules with a 1px height, no border, light gray background, 150px width, and specific spacing.
Apply a drop cap style to the first letter of the first paragraph or after a horizontal rule, using headline fonts in uppercase with large size, floating left, and colored based on variables. Make h2 headings with strong or bold text semi-bold.
In dark mode, change the horizontal rule color to dark gray, adjust drop cap color to a new pillar shade, and remove underlines from paragraph links.
Ensure the first paragraph after an initial atom element uses a medium font weight for its drop cap in article and feature bodies, and apply similar styling to comment bodies when an atom is followed by a paragraph.During the Ryder Cup, the verbal abuse directed at European golfers caused shock and concern in both Europe and the US. At New York’s Bethpage Black course, the crowd escalated from booing and jeering to using homophobic slurs and targeting players’ wives. The emcee at the first tee set a hostile tone by encouraging a “fuck you, Rory!” chant, singling out Rory McIlroy and his wife, who was struck by a beer cup.
Initially downplaying the incidents, American golf officials later apologized, acknowledging that some fan conduct had “crossed the line.” However, the episode has raised lingering doubts: has the line itself shifted? Have accepted standards for crowd behavior changed?
This is a question that social scientists and event organizers have been exploring in recent years, with similar issues arising across various countries and events, suggesting the problem isn’t unique to American golf fans.
From offensive banners at football matches to spitting at tennis players, throwing objects at concerts, and disruptive shouting during performances, reports of rude and aggressive behavior seem endless.
Kirsty Sedgman, a cultural studies expert at the University of Bristol, noted, “It’s undeniable that in all areas of public life, more people are acting aggressively. It’s not just that behavior is worsening; when confronted, they’re increasingly likely to retaliate against those complaining.”Last week, a survey by the Broadcasting, Entertainment, Communications and Theatre Union (Bectu) revealed that 34% of UK live event workers had faced antisocial behavior, violence, aggression, or harassment from audiences in the past year, with the figure rising to 77% for front-of-house staff.
Some crowd psychology experts attribute such aggression to “deindividuation,” where anonymity and sensory overload cause people to lose their individual identity and act out of character. Others suggest “convergence,” where the crowd dynamic brings out individuals’ inner beliefs and values. In either case, the outcome can be unpleasant, as seen when U.S. fans hurled insults like “Faggot!” and “Wanker!” at Rory McIlroy.
Many commentators connect this kind of abuse to toxic social media and political polarization, implying it’s a modern issue. But poor behavior by sports fans or theater audiences is nothing new. In ancient Athens, Plato lamented spectators turning into mobs, arguably making him the first crowd behavior theorist.
Indeed, any large gathering can lead to unrest. Thomas Hardy borrowed the title of his novel Far From the Madding Crowd from Thomas Gray’s 1751 poem, which criticized the “ignoble strife” of those disturbing peace and tranquility.
According to Sedgman, current concerns about worsening crowd behavior may be exaggerated and partly reflect a “moral panic.” She noted that every society tends to idealize a past era when people were supposedly kinder and more courteous.
Scottish boxing fans still cringe at the memory of a crowd booing Muhammad Ali during a 1965 exhibition match in Paisley. Ali’s plea for respect went unheeded. In 1995, Eric Cantona responded more directly to a fan’s racist taunt by leaping over a barrier and delivering a kung fu kick.
Some experts doubt that modern manners have truly declined. Anne Marie Chebib of the UK Crowd Management Association pointed out that high-profile incidents like disorder at Wembley or gate-rushing at the Copa América final dominate headlines, but data shows these are exceptions. The vast majority of events occur safely without disruption, though such stories rarely make the news.
In a 2023 poll of UKCMA members, 93% reported deteriorating behavior, but by the following year, 57% saw no change or only a slight worsening, a trend echoed in a Global Crowd Management Alliance report. Chebib stated that many practitioners now view behavior as largely stable.
Stephen Reicher, a psychology professor and crowd behavior expert at the University of St Andrews, noted that while fears about crowd rowdiness and danger are persistent, violence is extremely rare. Out of 49 million attendances at British football matches last year, there were only 1,963 arrests, half for disorder. He argued that people are less likely to be disorderly in a football crowd than in a town on a Saturday afternoon.
However, Reicher added that crowds only make headlines when disturbances occur. With hundreds of games happening on a single afternoon and violence at just one, media coverage can distort public perception, making crowds seem inherently violent.
The history of the Ryder Cup’s…The scenes at Bethpage Black should not be taken as a broader trend. For instance, the 1999 event in Brookline, Massachusetts, was tainted by fan behavior compared to a bear pit, and in 2016, Rory McIlroy had security remove a persistent heckler at Hazeltine in Minnesota.
Eric Cantona’s infamous kung fu kick on a Crystal Palace fan in 1995 serves as another stark example.
According to Reicher, the Ryder Cup’s U.S. versus Europe format resonates with Donald Trump’s redefinition of Americanism, emphasizing triumph, domination, and success at any cost, while rejecting rules and celebrating masculinity and excess. However, its appeal among some Americans doesn’t mean it applies to all sports or even all golf.
Mark Breen of Safe Events Global highlights the importance of addressing negative behavior early to influence crowd conduct. By making examples of the worst offenders, organizers can curb bad norms without stripping the event of its passion, as seen in lively but controlled environments like Glastonbury.
Breen notes that adding concerts and other activities to sports events complicates maintaining social norms, making it challenging to prevent boorishness while fostering a festival atmosphere.
John Drury from the University of Sussex points out that post-pandemic, music event organizers have observed a normalization of poor audience behavior. Lockdowns may have hindered social development, leaving some attendees unaware of established norms. Additionally, the pursuit of social media fame through stunts contributes to disruptions, though only a small minority is responsible.
Sedgman offers a more concerning view, suggesting that worsening audience conduct reflects a breakdown in the social contract, where more people feel exempt from following shared norms, signaling deeper societal issues.
Frequently Asked Questions
Of course Here is a list of FAQs about unruly crowd behavior with clear and concise answers
Basic Definition Questions
1 What counts as unruly crowd behavior
Unruly behavior refers to actions that are disruptive disrespectful and often aggressive Common examples include loud sustained booing shouting profanities and spitting at players performers or officials
2 Is this kind of behavior really becoming more common
Many observers from sports analysts to event security experts believe so While there have always been rowdy fans theres a growing concern that the frequency and intensity of swearing booing and spitting have increased especially postpandemic
3 Why is spitting considered such a serious offense
Spitting is seen as a deeply disrespectful and degrading act Its also a major health hazard as it can transmit diseases In many places spitting at someone is legally considered assault
Causes Motivations
4 Why do people act this way in crowds
A few key reasons
Mob Mentality People in a crowd can feel anonymous and less responsible for their actions
High Emotions Sports and concerts are emotionally charged and some fans cant control their frustration or excitement
AlcoholDrugs These substances lower inhibitions and can fuel aggressive behavior
A Sense of Entitlement Some fans feel that buying a ticket gives them the right to behave however they want
5 Is social media making this worse
It can be Online platforms allow for instant often anonymous venting and negativity which can spill over into realworld behavior Seeing others act out online can also normalize the behavior for some
Consequences Problems
6 Whats the harm in a little booing Isnt it just part of the game
Loud targeted booing can cross the line from competitive spirit into personal intimidation and harassment creating a hostile environment for everyone including other fans and children
7 What are the consequences for someone who spits or swears aggressively
Consequences can be severe You can be immediately ejected from the venue banned from future events and face fines or even criminal charges for assault or disorderly conduct
8 How does this behavior affect the players or performers
It can significantly impact