2020-05-16 17:24:40 +00:00
|
|
|
/* enables hover effect on buttons */
|
|
|
|
div[role="button"]:not(.notion-record-icon):hover {
|
|
|
|
background: rgba(55, 53, 47, 0.08);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hides loading spinner */
|
|
|
|
.loading-spinner {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hides elements on the top right (search box, duplicate, notion shortcut) */
|
|
|
|
.notion-topbar > div > div:not(:first-child) {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 960px) {
|
|
|
|
/* normalizes banner width */
|
|
|
|
.notion-scroller > div > div:not([class]) {
|
|
|
|
width: 100% !important;
|
2020-05-17 17:11:17 +00:00
|
|
|
max-width: 960px !important;
|
2020-05-16 17:24:40 +00:00
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* normalizes content width */
|
2020-05-17 20:41:20 +00:00
|
|
|
.notion-page-content,
|
|
|
|
.notion-page-content > .notion-collection_view-block,
|
|
|
|
.notion-page-content > .notion-collection_view-block > div,
|
|
|
|
.notion-page-content > .notion-collection_view-block > .notion-scroller > div {
|
2020-05-16 17:24:40 +00:00
|
|
|
width: 100% !important;
|
|
|
|
max-width: unset !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* add padding to banner, but not to image */
|
2020-05-17 20:41:20 +00:00
|
|
|
.notion-frame > .notion-scroller > div:first-child > div:last-child {
|
2020-05-16 17:24:40 +00:00
|
|
|
padding-right: 2em !important;
|
|
|
|
padding-left: 2em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* add padding to content */
|
2020-05-17 20:41:20 +00:00
|
|
|
.notion-scroller > .notion-page-content,
|
|
|
|
.notion-frame > .notion-scroller > .notion-scroller > .notion-list-view,
|
|
|
|
.notion-frame > .notion-scroller > .notion-scroller > .notion-gallery-view,
|
|
|
|
.notion-frame > .notion-scroller > .notion-scroller > .notion-table-view,
|
|
|
|
.notion-frame > .notion-scroller > .notion-scroller > .notion-board-view,
|
|
|
|
.notion-frame > .notion-scroller > .notion-scroller > .notion-calendar-view {
|
2020-05-16 17:24:40 +00:00
|
|
|
padding-right: 2em !important;
|
|
|
|
padding-left: 2em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* collapses flex rows into columns */
|
|
|
|
.notion-column_list-block > div {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.notion-column_list-block > div > * {
|
|
|
|
width: unset !important;
|
|
|
|
}
|
|
|
|
}
|