notion-enhancer/repo/neutral/app.css

49 lines
1.5 KiB
CSS

/**
* notion-enhancer: neutral
* (c) 2020 Arecsu
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
.notion-dark-theme [placeholder='Heading 1'],
.notion-dark-theme [placeholder='Heading 2'],
.notion-dark-theme [placeholder='Heading 3'] {
padding: 3px 1px !important;
}
/* hide sidebar "new page" button */
.notion-dark-theme .notion-sidebar > [style*='flex: 0 0 auto; margin-top: auto;'] {
display: none !important;
}
/* 1.3 supreme ratio. https://www.modularscale.com/ */
.notion-collection_view_page-block > div[placeholder='Untitled'],
.notion-frame .notion-page-block > div[placeholder='Untitled'],
.notion-overlay-container .notion-page-block > div[placeholder='Untitled'] {
font-size: 33px !important;
}
[placeholder='Heading 1'] {
font-size: 2.2rem !important;
}
[placeholder='Heading 2'] {
font-size: 1.687rem !important;
}
[placeholder='Heading 3'] {
font-size: 1.3rem !important;
}
.notion-frame .notion-scroller.vertical.horizontal .notion-page-content,
.notion-overlay-container .notion-scroller.vertical .notion-page-content {
font-size: 15px !important;
}
.notion-frame
.notion-scroller.vertical.horizontal
.notion-page-content[style*='font-size: 14px'],
.notion-overlay-container
.notion-scroller.vertical
.notion-page-content[style*='font-size: 14px'] {
font-size: 13.5px !important;
}
.notion-code-block [placeholder=' '] {
font-size: 0.9em !important;
}