page titles now respond to small-text mode

This commit is contained in:
dragonwocky 2020-09-02 11:33:18 +10:00
parent 1e1808fd09
commit fed816b8da
Signed by: dragonwocky
GPG Key ID: C7A48B7846AA706D
2 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,7 @@ a feature and cleanup update.
- bugfix: enhancer settings should no longer reset on update (though this will not have - bugfix: enhancer settings should no longer reset on update (though this will not have
effect until the release after this one). effect until the release after this one).
- bugfix: blue select tags are no longer purple. - bugfix: blue select tags are no longer purple.
- bugfix: page titles now respond to small-text mode.
- themes: "littlepig" (light + dark) = monospaced themes using emojis and colourful text. - themes: "littlepig" (light + dark) = monospaced themes using emojis and colourful text.
- extension: "font chooser" = customize fonts. for each option, type in the name of the font you would like to use, - extension: "font chooser" = customize fonts. for each option, type in the name of the font you would like to use,
or leave it blank to not change anything. or leave it blank to not change anything.
@ -23,12 +24,11 @@ a feature and cleanup update.
// todo // todo
- improved: added individual text-colour rules for different background colours. - improved: added individual text-colour rules for different background colours.
- improved: added variables for callout backgrounds. - improved: added variables for callout colouring.
- improved: tiling window-manager support (can hide titlebars entirely without dragarea/buttons). - improved: tiling window-manager support (can hide titlebars entirely without dragarea/buttons).
- bugfix: made the open enhancements menu hotkey configurable and changed the default to `option/alt + e` - bugfix: made the open enhancements menu hotkey configurable and changed the default to `option/alt + e`
to remove conflict with the inline code highlight shortcut. to remove conflict with the inline code highlight shortcut.
- bugfix: block-level text colours are now changed properly. - bugfix: block-level text colours are now changed properly.
- bugfix: page titles now respond to small-text mode.
- bugfix: update property-layout to match notion changes again. - bugfix: update property-layout to match notion changes again.
- extension: "calendar scroll" = a button to scroll down to the current week for you. - extension: "calendar scroll" = a button to scroll down to the current week for you.

View File

@ -107,7 +107,9 @@
font-family: var(--theme--font_code) !important; font-family: var(--theme--font_code) !important;
} }
.notion-frame .notion-page-block div[placeholder='Untitled'] { .notion-frame .notion-page-block div[placeholder='Untitled'] {
font-size: var(--theme--font_title-size) !important; font-size: calc(
var(--theme--font_body-size) * (var(--theme--font_heading1-size) / 1em)
) !important;
} }
[placeholder='Heading 1'] { [placeholder='Heading 1'] {
font-size: calc( font-size: calc(