Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ const sectionStyles = css`
`;

const linesStyles = css`
height: 10px;
height: 13px;
margin-bottom: ${space[4]}px;
background: repeating-linear-gradient(
to bottom,
var(--puzzles-border-colour, ${palette.neutral[86]}) 0,
var(--puzzles-border-colour, ${palette.neutral[86]}) 1px,
transparent 1px,
transparent 3px
transparent 4px
);
`;

Expand Down Expand Up @@ -364,6 +364,7 @@ const calendarStyles = css`
);
}
.setter-name {
display: none;
position: absolute;
top: 50%;
left: 2px;
Expand Down Expand Up @@ -409,6 +410,9 @@ const calendarStyles = css`
.day-number {
font-size: 12px;
}
.setter-name {
display: block;
}
}
${from.desktop} {
grid-template-columns: repeat(7, 78px);
Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/layouts/PuzzlesArchiveLayout.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('PuzzlesArchiveLayout', () => {
expect(
screen.getByRole('heading', {
level: 1,
name: 'Word games archive',
name: 'Word games',
}),
).toBeInTheDocument();
});
Expand Down
12 changes: 9 additions & 3 deletions dotcom-rendering/src/layouts/PuzzlesArchiveLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
headlineBold28,
palette,
space,
textEgyptian15,
textEgyptian17,
} from '@guardian/source/foundations';
import { AdSlot } from '../components/AdSlot.web';
Expand Down Expand Up @@ -98,10 +99,15 @@ const headingStyles = css`
}
}
p {
${textEgyptian17};
${textEgyptian15};
max-width: 620px;
margin: 0 0 ${space[6]}px;
color: var(--puzzles-text-colour);
padding-top: 10px;
color: var(--puzzles-supporting-text-colour);
${from.tablet} {
${textEgyptian17};
padding-top: ${space[2]}px;
}
}
${from.leftCol} {
h1 {
Expand Down Expand Up @@ -227,7 +233,7 @@ export const PuzzlesArchiveLayout = ({
<div css={pageStyles}>
<div css={topStyles}>
<header css={headingStyles}>
<h1>{archive.title} archive</h1>
<h1>{archive.title}</h1>
<p>
<Island priority="critical">
<PuzzlesArchiveDescription
Expand Down
2 changes: 2 additions & 0 deletions dotcom-rendering/src/lib/puzzlesTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const puzzlesPageTheme = (
--puzzles-header-background: ${palette.opinion[800]};
--puzzles-headline-colour: ${palette.neutral[7]};
--puzzles-text-colour: ${palette.neutral[7]};
--puzzles-supporting-text-colour: ${palette.neutral[46]};
--puzzles-border-colour: ${palette.neutral[86]};

background: var(--puzzles-page-background);
Expand All @@ -30,6 +31,7 @@ export const puzzlesPageTheme = (
--puzzles-card-text-colour: ${palette.neutral[86]};
--puzzles-headline-colour: ${palette.neutral[97]};
--puzzles-text-colour: ${palette.neutral[86]};
--puzzles-supporting-text-colour: ${palette.neutral[86]};
--puzzles-border-colour: ${palette.neutral[46]};
}
}
Expand Down
Loading