mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-19 07:26:45 +00:00
95 lines
1.5 KiB
CSS
95 lines
1.5 KiB
CSS
.notion-page {
|
|
margin: 0 12px;
|
|
width: 720px;
|
|
padding-bottom: calc(max(5vh, 64px)) !important;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.index-page {
|
|
width: 900px;
|
|
}
|
|
|
|
.notion-text {
|
|
padding: 0.5em 2px;
|
|
}
|
|
|
|
.notion-asset-caption {
|
|
text-align: center;
|
|
}
|
|
|
|
.notion-asset-wrapper {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.notion-header {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.notion-gallery-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
|
grid-gap: 6vmin;
|
|
gap: 6vmin;
|
|
}
|
|
|
|
.notion-gallery-grid .notion-page-icon {
|
|
display: none;
|
|
}
|
|
|
|
.notion-gallery-grid .notion-page-title-text {
|
|
font-size: 2em;
|
|
white-space: unset;
|
|
}
|
|
|
|
.notion-gallery-grid .notion-collection-card-property {
|
|
white-space: unset;
|
|
text-overflow: unset;
|
|
}
|
|
|
|
.notion-collection-card {
|
|
border-radius: 10px;
|
|
border-top-right-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
box-shadow: 2px 2px 8px 4px rgba(15, 15, 15, 0.1);
|
|
}
|
|
|
|
/*
|
|
.notion-collection-card {
|
|
transition: background-color 150ms linear;
|
|
}
|
|
|
|
.notion-collection-card:hover .notion-collection-card-cover {
|
|
filter: grayscale(0);
|
|
}
|
|
|
|
.notion-collection-card-cover {
|
|
transition: filter 150ms linear;
|
|
filter: grayscale(0.25);
|
|
}
|
|
*/
|
|
|
|
.notion-quote {
|
|
padding: 0.2em 0.75em;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.notion-h1,
|
|
.notion-h2,
|
|
.notion-h3 {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.notion-callout {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.notion-hr {
|
|
margin: 2em 0;
|
|
}
|
|
|
|
.notion-dark .notion-collection-card {
|
|
border: 1px solid var(--fg-color-0);
|
|
box-shadow: unset;
|
|
}
|