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 @@ -9,9 +9,10 @@ export const postPageTitleStyles = theme => ({
...theme.typography.display3,
...theme.typography.postStyle,
...theme.typography.headerStyle,
lineHeight: 1.25,
marginTop: 0,
marginLeft: 0,
marginBottom: forumTypeSetting.get() === 'EAForum' ? theme.spacing.unit : 0,
marginBottom: forumTypeSetting.get() === 'EAForum' ? theme.spacing.unit : 8,
color: theme.palette.text.primary,
[theme.breakpoints.down('sm')]: {
fontSize: '2.5rem',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ const styles = (theme: ThemeType): JssStyles => ({
flexGrow: 1,
marginTop: 0,
marginBottom: 8,
marginRight: 8,
display: "block",
fontSize: "1.75rem",
fontSize: "1.9rem",
lineHeight: 1.25,
},
actions: {
"& .PostsPageActions-icon": {
Expand Down
3 changes: 2 additions & 1 deletion packages/lesswrong/themes/pfTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ const theme = createLWTheme({
typography: {
fontDownloads: [
"https://fonts.googleapis.com/css?family=Mukta:300,400,500,600",
"https://fonts.googleapis.com/css?family=Source+Serif+Pro:300,400,500,600",
"https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap",
],
fontFamily: sansSerifStack,
postStyle: {
fontFamily: sansSerifStack,
},
headerStyle: {
fontFamily: serifStack,
fontWeight: 700,
},
caption: {
// captions should be relative to their surrounding content, so they are unopinionated about fontFamily and use ems instead of rems
Expand Down