Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Set large font size
  • Loading branch information
oandregal committed Jan 13, 2022
commit 5cc7d7718aed5b1b20200452a384f807dca9938d
4 changes: 4 additions & 0 deletions src/wp-content/themes/twentytwentyone/assets/css/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
font-weight: bold;
}

.has-large-font-size {
--wp--preset--font-size--large: 14pt;
}

h2,
h3,
h4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2160,6 +2160,7 @@ pre.wp-block-verse {

:root .is-large-text,
:root .has-large-font-size {
--wp--preset--font-size--large: var(--global--font-size-lg);
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-heading);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

.is-large-text,
.has-large-font-size {
--wp--preset--font-size--large: var(--global--font-size-lg);
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-heading);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
font-weight: bold;
}

.has-large-font-size {
--wp--preset--font-size--large: 14pt;
}

h2,
h3,
h4,
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentyone/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3617,6 +3617,7 @@ table.wp-calendar-table caption {

:root .is-large-text,
:root .has-large-font-size {
--wp--preset--font-size--large: var(--global--font-size-lg);
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-heading);
}
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentyone/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3627,6 +3627,7 @@ table.wp-calendar-table caption {

:root .is-large-text,
:root .has-large-font-size {
--wp--preset--font-size--large: var(--global--font-size-lg);
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-heading);
}
Expand Down