nnbb 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +1 -0
- package/.env.local +2 -0
- package/.eslintrc.json +15 -0
- package/.github/stale.yml +16 -0
- package/.github/workflows/codeql-analysis.yml +73 -0
- package/.github/workflows/docker-ghcr.yaml +59 -0
- package/.prettierrc +9 -0
- package/.vscode/launch.json +28 -0
- package/.vscode/settings.json +6 -0
- package/Dockerfile +38 -0
- package/LICENSE +21 -0
- package/README.md +16 -0
- package/blog.config.js +454 -0
- package/components/Ackee.js +83 -0
- package/components/AdBlockDetect.js +40 -0
- package/components/AlgoliaSearchModal.js +250 -0
- package/components/Artalk.js +30 -0
- package/components/Busuanzi.js +26 -0
- package/components/ChatBase.js +19 -0
- package/components/Collapse.tsx +134 -0
- package/components/Comment.js +161 -0
- package/components/CommonHead.tsx +101 -0
- package/components/CommonScript.js +125 -0
- package/components/CusdisComponent.js +35 -0
- package/components/CustomContextMenu.js +221 -0
- package/components/DebugPanel.js +134 -0
- package/components/DisableCopy.js +21 -0
- package/components/Draggable.js +167 -0
- package/components/Equation.js +31 -0
- package/components/ExternalPlugins.js +75 -0
- package/components/ExternalScript.js +29 -0
- package/components/FacebookMessenger.js +255 -0
- package/components/FacebookPage.js +34 -0
- package/components/Fireworks.js +210 -0
- package/components/FlipCard.js +56 -0
- package/components/FlutteringRibbon.js +322 -0
- package/components/FullScreenButton.js +48 -0
- package/components/Giscus.js +33 -0
- package/components/Gitalk.js +42 -0
- package/components/GoogleAdsense.js +111 -0
- package/components/Gtag.js +18 -0
- package/components/HeroIcons.tsx +321 -0
- package/components/KatexReact.js +53 -0
- package/components/LazyImage.js +95 -0
- package/components/Live2D.js +52 -0
- package/components/Loading.js +20 -0
- package/components/Mark.js +28 -0
- package/components/NProgress.ts +8 -0
- package/components/Nest.js +124 -0
- package/components/NotionIcon.js +20 -0
- package/components/NotionPage.tsx +206 -0
- package/components/Player.js +54 -0
- package/components/PrismMac.js +236 -0
- package/components/QrCode.js +34 -0
- package/components/Ribbon.js +98 -0
- package/components/Sakura.js +192 -0
- package/components/Select.js +40 -0
- package/components/ShareBar.js +29 -0
- package/components/ShareButtons.js +403 -0
- package/components/SideBarDrawer.js +50 -0
- package/components/StarrySky.js +130 -0
- package/components/Tabs.js +64 -0
- package/components/ThemeSwitch.js +67 -0
- package/components/Twikoo.js +27 -0
- package/components/TwikooCommentCount.js +22 -0
- package/components/TwikooCommentCounter.js +78 -0
- package/components/TwikooRecentComments.js +11 -0
- package/components/Utterances.js +35 -0
- package/components/VConsole.js +76 -0
- package/components/ValineComponent.js +59 -0
- package/components/ValineCount.js +6 -0
- package/components/ValinePanel.js +3 -0
- package/components/Vercel.tsx +54 -0
- package/components/WWAds.js +18 -0
- package/components/WalineComponent.js +83 -0
- package/components/WebMention.js +173 -0
- package/components/Webwhiz.js +17 -0
- package/components/WordCount.js +73 -0
- package/hooks/useToggleClickOutSide.ts +32 -0
- package/hooks/useWindowSize.ts +30 -0
- package/lib/algolia.js +108 -0
- package/lib/busuanzi.js +99 -0
- package/lib/cache/cacheManager.ts +49 -0
- package/lib/cache/localFileCache.ts +56 -0
- package/lib/cache/memoryMache.ts +20 -0
- package/lib/cache/mongoDbCache.ts +70 -0
- package/lib/cache/types.ts +5 -0
- package/lib/font.js +46 -0
- package/lib/global.tsx +129 -0
- package/lib/gtag.js +17 -0
- package/lib/mailchimp.js +49 -0
- package/lib/memorize.js +0 -0
- package/lib/mhchem.js +1696 -0
- package/lib/notion/getAllCategories.ts +51 -0
- package/lib/notion/getAllPageIds.ts +51 -0
- package/lib/notion/getAllPosts.js +68 -0
- package/lib/notion/getAllTags.ts +43 -0
- package/lib/notion/getNotionData.ts +340 -0
- package/lib/notion/getPageInfoOfPostPage.ts +58 -0
- package/lib/notion/getPageProperties.ts +203 -0
- package/lib/notion/getPageTableOfContents.ts +107 -0
- package/lib/notion/getPostBlocks.ts +147 -0
- package/lib/notion/mapImage.ts +130 -0
- package/lib/notion/types.ts +125 -0
- package/lib/notion.js +2 -0
- package/lib/robots.txt.js +25 -0
- package/lib/rss.js +63 -0
- package/lib/sitemap.xml.js +67 -0
- package/lib/utils.js +212 -0
- package/next-env.d.ts +5 -0
- package/next-i18next.config.js +7 -0
- package/next-sitemap.config.js +11 -0
- package/next.config.js +124 -0
- package/package.json +92 -0
- package/pages/404.tsx +40 -0
- package/pages/[prefix]/[slug].tsx +123 -0
- package/pages/[prefix]/index.tsx +223 -0
- package/pages/_app.js +59 -0
- package/pages/_document.js +42 -0
- package/pages/api/subscribe.js +22 -0
- package/pages/archive/index.tsx +79 -0
- package/pages/category/[category]/index.tsx +87 -0
- package/pages/category/[category]/page/[page].tsx +103 -0
- package/pages/category/index.tsx +43 -0
- package/pages/index.tsx +88 -0
- package/pages/page/[page].tsx +93 -0
- package/pages/search/[keyword]/index.tsx +162 -0
- package/pages/search/[keyword]/page/[page].tsx +166 -0
- package/pages/search/index.tsx +69 -0
- package/pages/sitemap.xml.js +70 -0
- package/pages/tag/[tag]/index.tsx +73 -0
- package/pages/tag/[tag]/page/[page].tsx +87 -0
- package/pages/tag/index.tsx +42 -0
- package/postcss.config.js +6 -0
- package/public/ads.txt +1 -0
- package/public/avatar.png +0 -0
- package/public/avatar.svg +11 -0
- package/public/bg_image.jpg +0 -0
- package/public/css/all.min.css +9 -0
- package/public/css/custom.css +8 -0
- package/public/css/img-shadow.css +5 -0
- package/public/css/prism-mac-style.css +58 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +9 -0
- package/public/js/cusdis.es.js +107 -0
- package/public/js/custom.js +1 -0
- package/public/locales/en/common.json +44 -0
- package/public/locales/en/menu.json +9 -0
- package/public/locales/en/nav.json +11 -0
- package/public/locales/zh-CN/common.json +44 -0
- package/public/locales/zh-CN/menu.json +9 -0
- package/public/locales/zh-CN/nav.json +9 -0
- package/public/webfonts/fa-brands-400.ttf +0 -0
- package/public/webfonts/fa-brands-400.woff2 +0 -0
- package/public/webfonts/fa-regular-400.ttf +0 -0
- package/public/webfonts/fa-regular-400.woff2 +0 -0
- package/public/webfonts/fa-solid-900.ttf +0 -0
- package/public/webfonts/fa-solid-900.woff2 +0 -0
- package/public/webfonts/fa-v4compatibility.ttf +0 -0
- package/public/webfonts/fa-v4compatibility.woff2 +0 -0
- package/styles/animate.css +503 -0
- package/styles/globals.css +183 -0
- package/styles/notion.css +2064 -0
- package/styles/nprogress.css +84 -0
- package/styles/prism-theme.css +119 -0
- package/styles/utility-patterns.css +79 -0
- package/tailwind.config.js +37 -0
- package/theme/index.ts +6 -0
- package/theme/types/@theme-components.d.ts +29 -0
- package/theme/useLayout.ts +41 -0
- package/theme/utils.ts +108 -0
- package/themes/innocent/package.json +7 -0
- package/themes/innocent/theme.config.js +1 -0
- package/themes/nobelium/components/Announcement.tsx +27 -0
- package/themes/nobelium/components/ArticleFooter.tsx +39 -0
- package/themes/nobelium/components/ArticleInfo.tsx +58 -0
- package/themes/nobelium/components/ArticleLock.tsx +86 -0
- package/themes/nobelium/components/BlogArchiveItem.js +41 -0
- package/themes/nobelium/components/BlogListBar.js +39 -0
- package/themes/nobelium/components/BlogListPage.tsx +67 -0
- package/themes/nobelium/components/BlogListScroll.tsx +96 -0
- package/themes/nobelium/components/BlogPost.tsx +33 -0
- package/themes/nobelium/components/DarkModeButton.tsx +50 -0
- package/themes/nobelium/components/ExampleRecentComments.js +35 -0
- package/themes/nobelium/components/Footer.tsx +35 -0
- package/themes/nobelium/components/JumpToTopButton.tsx +39 -0
- package/themes/nobelium/components/LanguageSwitchButton.tsx +58 -0
- package/themes/nobelium/components/MenuItemCollapse.tsx +92 -0
- package/themes/nobelium/components/MenuItemDrop.tsx +83 -0
- package/themes/nobelium/components/Nav/Nav.module.css +50 -0
- package/themes/nobelium/components/Nav/Nav.tsx +187 -0
- package/themes/nobelium/components/RandomPostButton.tsx +31 -0
- package/themes/nobelium/components/SearchButton.tsx +31 -0
- package/themes/nobelium/components/SearchInput.tsx +94 -0
- package/themes/nobelium/components/SearchNavBar.js +19 -0
- package/themes/nobelium/components/SideBar.js +83 -0
- package/themes/nobelium/components/SvgIcon.js +29 -0
- package/themes/nobelium/components/TagItem.js +13 -0
- package/themes/nobelium/components/Tags.tsx +44 -0
- package/themes/nobelium/components/Title.js +19 -0
- package/themes/nobelium/index.tsx +28 -0
- package/themes/nobelium/layout/LayoutBase.tsx +79 -0
- package/themes/nobelium/pages/Archive.tsx +30 -0
- package/themes/nobelium/pages/Category.tsx +43 -0
- package/themes/nobelium/pages/Home.tsx +22 -0
- package/themes/nobelium/pages/PageNotFound.tsx +15 -0
- package/themes/nobelium/pages/Post.tsx +34 -0
- package/themes/nobelium/pages/PostList.tsx +74 -0
- package/themes/nobelium/pages/Search.tsx +65 -0
- package/themes/nobelium/pages/Tag.tsx +42 -0
- package/themes/nobelium/providers/index.tsx +60 -0
- package/themes/nobelium/stores/index.tsx +42 -0
- package/themes/nobelium/theme.config.ts +17 -0
- package/themes/nobelium/types/index.ts +10 -0
- package/tsconfig.json +29 -0
- package/types/index.ts +1 -0
- package/types/page.ts +102 -0
- package/vercel.json +5 -0
@@ -0,0 +1,2064 @@
|
|
1
|
+
:root {
|
2
|
+
--fg-color: rgb(0, 0, 0);
|
3
|
+
--fg-color-0: rgba(55, 53, 47, 0.09);
|
4
|
+
--fg-color-1: rgba(55, 53, 47, 0.16);
|
5
|
+
--fg-color-2: rgba(55, 53, 47, 0.4);
|
6
|
+
--fg-color-3: rgba(55, 53, 47, 0.6);
|
7
|
+
--fg-color-4: #000;
|
8
|
+
--fg-color-5: rgba(55, 53, 47, 0.024);
|
9
|
+
--fg-color-6: rgba(55, 53, 47, 0.8);
|
10
|
+
--fg-color-icon: var(--fg-color);
|
11
|
+
|
12
|
+
--bg-color: #fff;
|
13
|
+
--bg-color-0: rgba(135, 131, 120, 0.15);
|
14
|
+
--bg-color-1: rgb(247, 246, 243);
|
15
|
+
--bg-color-2: rgba(135, 131, 120, 0.15);
|
16
|
+
|
17
|
+
--select-color-0: rgb(46, 170, 220);
|
18
|
+
--select-color-1: rgba(45, 170, 219, 0.3);
|
19
|
+
--select-color-2: #ffffff;
|
20
|
+
|
21
|
+
--notion-red: rgb(224, 62, 62);
|
22
|
+
--notion-pink: rgb(173, 26, 114);
|
23
|
+
--notion-blue: rgb(11, 110, 153);
|
24
|
+
--notion-purple: rgb(105, 64, 165);
|
25
|
+
--notion-teal: rgb(15, 123, 108);
|
26
|
+
--notion-yellow: rgb(223, 171, 1);
|
27
|
+
--notion-orange: rgb(217, 115, 13);
|
28
|
+
--notion-brown: rgb(100, 71, 58);
|
29
|
+
--notion-gray: rgb(155, 154, 151);
|
30
|
+
|
31
|
+
--notion-red_background: rgb(251, 228, 228);
|
32
|
+
--notion-pink_background: rgb(244, 223, 235);
|
33
|
+
--notion-blue_background: rgb(221, 235, 241);
|
34
|
+
--notion-purple_background: rgb(234, 228, 242);
|
35
|
+
--notion-teal_background: rgb(221, 237, 234);
|
36
|
+
--notion-yellow_background: rgb(251, 243, 219);
|
37
|
+
--notion-orange_background: rgb(250, 235, 221);
|
38
|
+
--notion-brown_background: rgb(233, 229, 227);
|
39
|
+
--notion-gray_background: rgb(241 241 239);
|
40
|
+
--notion-green_background: rgb(219, 237, 219);
|
41
|
+
--notion-default_background: rgba(227, 226, 224);
|
42
|
+
|
43
|
+
--notion-red_background_co: rgba(251, 228, 228, 0.3);
|
44
|
+
--notion-pink_background_co: rgba(244, 223, 235, 0.3);
|
45
|
+
--notion-blue_background_co: rgba(221, 235, 241, 0.3);
|
46
|
+
--notion-purple_background_co: rgba(234, 228, 242, 0.3);
|
47
|
+
--notion-teal_background_co: rgba(221, 237, 234, 0.3);
|
48
|
+
--notion-yellow_background_co: rgba(251, 243, 219, 0.3);
|
49
|
+
--notion-orange_background_co: rgba(250, 235, 221, 0.3);
|
50
|
+
--notion-brown_background_co: rgba(233, 229, 227, 0.3);
|
51
|
+
--notion-gray_background_co: rgba(241, 241, 239, 0.3);
|
52
|
+
--notion-green_background_co: rgba(219, 237, 219, 0.3);
|
53
|
+
--notion-default_background_co: rgba(227, 226, 224, 0.3);
|
54
|
+
|
55
|
+
--notion-item-blue: rgba(0, 120, 223, 0.2);
|
56
|
+
--notion-item-orange: rgba(245, 93, 0, 0.2);
|
57
|
+
--notion-item-green: rgba(0, 135, 107, 0.2);
|
58
|
+
--notion-item-pink: rgba(221, 0, 129, 0.2);
|
59
|
+
--notion-item-brown: rgba(140, 46, 0, 0.2);
|
60
|
+
--notion-item-red: rgba(255, 0, 26, 0.2);
|
61
|
+
--notion-item-yellow: rgba(233, 168, 0, 0.2);
|
62
|
+
--notion-item-default: rgba(206, 205, 202, 0.5);
|
63
|
+
--notion-item-purple: rgba(103, 36, 222, 0.2);
|
64
|
+
--notion-item-gray: rgba(155, 154, 151, 0.4);
|
65
|
+
|
66
|
+
--notion-max-width: 720px;
|
67
|
+
--notion-header-height: 45px;
|
68
|
+
}
|
69
|
+
|
70
|
+
.notion {
|
71
|
+
font-size: 16px;
|
72
|
+
line-height: 1.5;
|
73
|
+
color: var(--fg-color);
|
74
|
+
caret-color: var(--fg-color);
|
75
|
+
font-family: inherit;
|
76
|
+
}
|
77
|
+
|
78
|
+
.notion > * {
|
79
|
+
padding: 3px 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
.notion * {
|
83
|
+
margin-block-start: 0;
|
84
|
+
margin-block-end: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
.notion *::selection {
|
88
|
+
background: var(--select-color-1);
|
89
|
+
}
|
90
|
+
|
91
|
+
.notion *,
|
92
|
+
.notion *:focus {
|
93
|
+
outline: 0;
|
94
|
+
}
|
95
|
+
|
96
|
+
.notion-page-content {
|
97
|
+
width: 100%;
|
98
|
+
display: flex;
|
99
|
+
flex-direction: column;
|
100
|
+
}
|
101
|
+
|
102
|
+
@media (min-width: 1300px) and (min-height: 300px) {
|
103
|
+
.notion-page-content-has-aside {
|
104
|
+
display: flex;
|
105
|
+
flex-direction: row;
|
106
|
+
width: calc((100vw + var(--notion-max-width)) / 2);
|
107
|
+
}
|
108
|
+
|
109
|
+
.notion-page-content-has-aside .notion-aside {
|
110
|
+
display: flex;
|
111
|
+
}
|
112
|
+
|
113
|
+
.notion-page-content-has-aside .notion-page-content-inner {
|
114
|
+
width: var(--notion-max-width);
|
115
|
+
max-width: var(--notion-max-width);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
|
120
|
+
.notion-page-content-inner {
|
121
|
+
position: relative;
|
122
|
+
display: flex;
|
123
|
+
flex-direction: column;
|
124
|
+
align-items: flex-start;
|
125
|
+
}
|
126
|
+
|
127
|
+
.notion-aside {
|
128
|
+
position: sticky;
|
129
|
+
top: calc(88px);
|
130
|
+
align-self: flex-start;
|
131
|
+
flex: 1;
|
132
|
+
flex-direction: column;
|
133
|
+
align-items: center;
|
134
|
+
}
|
135
|
+
|
136
|
+
.notion-aside-table-of-contents {
|
137
|
+
display: flex;
|
138
|
+
flex-direction: column;
|
139
|
+
align-items: center;
|
140
|
+
max-height: calc(100vh - 148px - 16px);
|
141
|
+
overflow: hidden auto;
|
142
|
+
min-width: 222px;
|
143
|
+
overflow: auto;
|
144
|
+
}
|
145
|
+
|
146
|
+
.notion-aside-table-of-contents-header {
|
147
|
+
text-transform: uppercase;
|
148
|
+
font-weight: 500;
|
149
|
+
font-size: 1.1em;
|
150
|
+
word-break: break-word;
|
151
|
+
}
|
152
|
+
|
153
|
+
.notion-aside-table-of-contents .notion-table-of-contents-item {
|
154
|
+
line-height: 1;
|
155
|
+
}
|
156
|
+
|
157
|
+
.notion-aside-table-of-contents
|
158
|
+
.notion-table-of-contents-item-indent-level-0:first-of-type {
|
159
|
+
margin-top: 0;
|
160
|
+
}
|
161
|
+
|
162
|
+
.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-0 {
|
163
|
+
margin-top: 0.25em;
|
164
|
+
}
|
165
|
+
|
166
|
+
.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-1 {
|
167
|
+
font-size: 13px;
|
168
|
+
}
|
169
|
+
|
170
|
+
.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-2 {
|
171
|
+
font-size: 12px;
|
172
|
+
}
|
173
|
+
|
174
|
+
.notion-aside-table-of-contents .notion-table-of-contents-item-body {
|
175
|
+
border: 0 none;
|
176
|
+
}
|
177
|
+
|
178
|
+
.notion-table-of-contents-active-item {
|
179
|
+
color: var(--select-color-2) !important;
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
.notion-app {
|
184
|
+
position: relative;
|
185
|
+
background: var(--bg-color);
|
186
|
+
min-height: 100vh;
|
187
|
+
}
|
188
|
+
|
189
|
+
.notion-viewport {
|
190
|
+
position: fixed;
|
191
|
+
top: 0;
|
192
|
+
left: 0;
|
193
|
+
right: 0;
|
194
|
+
bottom: 0;
|
195
|
+
z-index: -10;
|
196
|
+
pointer-events: none;
|
197
|
+
}
|
198
|
+
|
199
|
+
.medium-zoom-overlay {
|
200
|
+
z-index: 300;
|
201
|
+
-webkit-backdrop-filter: blur(5px);
|
202
|
+
backdrop-filter: blur(5px);
|
203
|
+
}
|
204
|
+
|
205
|
+
.medium-zoom-image {
|
206
|
+
border-radius: 0;
|
207
|
+
}
|
208
|
+
|
209
|
+
.medium-zoom-image--opened {
|
210
|
+
z-index: 301;
|
211
|
+
/* width: auto !important; */
|
212
|
+
}
|
213
|
+
|
214
|
+
@media (max-width: 768px){
|
215
|
+
.medium-zoom-image--opened {
|
216
|
+
object-fit: fill !important;
|
217
|
+
height: auto !important;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
@media (min-width: 768px){
|
222
|
+
.medium-zoom-image--opened {
|
223
|
+
object-fit: scale-down !important;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
.notion-frame {
|
228
|
+
display: flex;
|
229
|
+
flex-direction: column;
|
230
|
+
width: 100%;
|
231
|
+
height: 100%;
|
232
|
+
}
|
233
|
+
|
234
|
+
.notion-page-scroller {
|
235
|
+
position: relative;
|
236
|
+
display: flex;
|
237
|
+
flex-direction: column;
|
238
|
+
flex-grow: 1;
|
239
|
+
align-items: center;
|
240
|
+
min-height: calc(100vh - var(--notion-header-height));
|
241
|
+
}
|
242
|
+
|
243
|
+
.notion-red,
|
244
|
+
.notion-red_co {
|
245
|
+
color: var(--notion-red);
|
246
|
+
}
|
247
|
+
.notion-pink,
|
248
|
+
.notion-pink_co {
|
249
|
+
color: var(--notion-pink);
|
250
|
+
}
|
251
|
+
.notion-blue,
|
252
|
+
.notion-blue_co {
|
253
|
+
color: var(--notion-blue);
|
254
|
+
}
|
255
|
+
.notion-purple,
|
256
|
+
.notion-purple_co {
|
257
|
+
color: var(--notion-purple);
|
258
|
+
}
|
259
|
+
.notion-teal,
|
260
|
+
.notion-teal_co {
|
261
|
+
color: var(--notion-teal);
|
262
|
+
}
|
263
|
+
.notion-yellow,
|
264
|
+
.notion-yellow_co {
|
265
|
+
color: var(--notion-yellow);
|
266
|
+
}
|
267
|
+
.notion-orange,
|
268
|
+
.notion-orange_co {
|
269
|
+
color: var(--notion-orange);
|
270
|
+
}
|
271
|
+
.notion-brown,
|
272
|
+
.notion-brown_co {
|
273
|
+
color: var(--notion-brown);
|
274
|
+
}
|
275
|
+
.notion-gray,
|
276
|
+
.notion-gray_co {
|
277
|
+
color: var(--notion-gray);
|
278
|
+
}
|
279
|
+
.notion-red_background {
|
280
|
+
background-color: var(--notion-red_background);
|
281
|
+
}
|
282
|
+
.notion-pink_background {
|
283
|
+
background-color: var(--notion-pink_background);
|
284
|
+
}
|
285
|
+
.notion-blue_background {
|
286
|
+
background-color: var(--notion-blue_background);
|
287
|
+
}
|
288
|
+
.notion-purple_background {
|
289
|
+
background-color: var(--notion-purple_background);
|
290
|
+
}
|
291
|
+
.notion-teal_background {
|
292
|
+
background-color: var(--notion-teal_background);
|
293
|
+
}
|
294
|
+
.notion-yellow_background {
|
295
|
+
background-color: var(--notion-yellow_background);
|
296
|
+
}
|
297
|
+
.notion-orange_background {
|
298
|
+
background-color: var(--notion-orange_background);
|
299
|
+
}
|
300
|
+
.notion-brown_background {
|
301
|
+
background-color: var(--notion-brown_background);
|
302
|
+
}
|
303
|
+
.notion-gray_background {
|
304
|
+
background-color: var(--notion-gray_background);
|
305
|
+
}
|
306
|
+
.notion-green_background {
|
307
|
+
background-color: var(--notion-green_background);
|
308
|
+
}
|
309
|
+
.notion-default_background {
|
310
|
+
background-color: var(--notion-default_background);
|
311
|
+
}
|
312
|
+
|
313
|
+
.notion-red_background_co {
|
314
|
+
background-color: var(--notion-red_background_co);
|
315
|
+
}
|
316
|
+
.notion-pink_background_co {
|
317
|
+
background-color: var(--notion-pink_background_co);
|
318
|
+
}
|
319
|
+
.notion-blue_background_co {
|
320
|
+
background-color: var(--notion-blue_background_co);
|
321
|
+
}
|
322
|
+
.notion-purple_background_co {
|
323
|
+
background-color: var(--notion-purple_background_co);
|
324
|
+
}
|
325
|
+
.notion-teal_background_co {
|
326
|
+
background-color: var(--notion-teal_background_co);
|
327
|
+
}
|
328
|
+
.notion-yellow_background_co {
|
329
|
+
background-color: var(--notion-yellow_background_co);
|
330
|
+
}
|
331
|
+
.notion-orange_background_co {
|
332
|
+
background-color: var(--notion-orange_background_co);
|
333
|
+
}
|
334
|
+
.notion-brown_background_co {
|
335
|
+
background-color: var(--notion-brown_background_co);
|
336
|
+
}
|
337
|
+
.notion-gray_background_co {
|
338
|
+
background-color: var(--notion-gray_background_co);
|
339
|
+
}
|
340
|
+
.notion-green_background_co {
|
341
|
+
background-color: var(--notion-green_background_co);
|
342
|
+
}
|
343
|
+
.notion-default_background_co {
|
344
|
+
background-color: var(--notion-default_background_co);
|
345
|
+
}
|
346
|
+
|
347
|
+
.notion-item-blue {
|
348
|
+
background-color: var(--notion-item-blue);
|
349
|
+
}
|
350
|
+
.notion-item-orange {
|
351
|
+
background-color: var(--notion-item-orange);
|
352
|
+
}
|
353
|
+
.notion-item-green {
|
354
|
+
background-color: var(--notion-item-green);
|
355
|
+
}
|
356
|
+
.notion-item-pink {
|
357
|
+
background-color: var(--notion-item-pink);
|
358
|
+
}
|
359
|
+
.notion-item-brown {
|
360
|
+
background-color: var(--notion-item-brown);
|
361
|
+
}
|
362
|
+
.notion-item-red {
|
363
|
+
background-color: var(--notion-item-red);
|
364
|
+
}
|
365
|
+
.notion-item-yellow {
|
366
|
+
background-color: var(--notion-item-yellow);
|
367
|
+
}
|
368
|
+
.notion-item-default {
|
369
|
+
background-color: var(--notion-item-default);
|
370
|
+
}
|
371
|
+
.notion-item-purple {
|
372
|
+
background-color: var(--notion-item-purple);
|
373
|
+
}
|
374
|
+
.notion-item-gray {
|
375
|
+
background-color: var(--notion-item-gray);
|
376
|
+
}
|
377
|
+
|
378
|
+
.notion b {
|
379
|
+
font-weight: 600;
|
380
|
+
}
|
381
|
+
|
382
|
+
.notion-title {
|
383
|
+
width: 100%;
|
384
|
+
font-size: 2.5em;
|
385
|
+
font-weight: 700;
|
386
|
+
margin-bottom: 20px;
|
387
|
+
line-height: 1.2;
|
388
|
+
}
|
389
|
+
|
390
|
+
summary > .notion-h {
|
391
|
+
display: inline;
|
392
|
+
}
|
393
|
+
|
394
|
+
.notion-h {
|
395
|
+
position: relative;
|
396
|
+
font-weight: 600;
|
397
|
+
line-height: 1.3;
|
398
|
+
padding: 3px 2px;
|
399
|
+
margin-bottom: 1px;
|
400
|
+
max-width: 100%;
|
401
|
+
white-space: pre-wrap;
|
402
|
+
word-break: break-word;
|
403
|
+
}
|
404
|
+
|
405
|
+
.notion-h1 {
|
406
|
+
font-size: 1.575em;
|
407
|
+
margin-top: 1.08em;
|
408
|
+
@apply border-b w-full
|
409
|
+
}
|
410
|
+
.notion-h2 {
|
411
|
+
@apply w-full
|
412
|
+
}
|
413
|
+
.notion-h3 {
|
414
|
+
@apply w-full
|
415
|
+
}
|
416
|
+
|
417
|
+
.notion-header-anchor {
|
418
|
+
position: absolute;
|
419
|
+
top: -54px;
|
420
|
+
left: 0;
|
421
|
+
}
|
422
|
+
|
423
|
+
.notion-title + .notion-h1,
|
424
|
+
.notion-title + .notion-h2,
|
425
|
+
.notion-title + .notion-h3 {
|
426
|
+
margin-top: 0;
|
427
|
+
}
|
428
|
+
|
429
|
+
.notion-h1:first-child {
|
430
|
+
margin-top: 0;
|
431
|
+
}
|
432
|
+
/* .notion-h1:first-of-type {
|
433
|
+
margin-top: 2px;
|
434
|
+
} */
|
435
|
+
.notion-h2 {
|
436
|
+
font-size: 1.4em;
|
437
|
+
margin-top: 1.1em;
|
438
|
+
}
|
439
|
+
.notion-h3 {
|
440
|
+
font-size: 1.25em;
|
441
|
+
margin-top: 1em;
|
442
|
+
}
|
443
|
+
|
444
|
+
.notion-h:hover .notion-hash-link {
|
445
|
+
opacity: 1;
|
446
|
+
@apply dark:fill-gray-200
|
447
|
+
}
|
448
|
+
|
449
|
+
.notion-hash-link {
|
450
|
+
opacity: 0;
|
451
|
+
text-decoration: none;
|
452
|
+
float: left;
|
453
|
+
margin-left: -20px;
|
454
|
+
padding-right: 4px;
|
455
|
+
fill: var(--fg-color-icon);
|
456
|
+
}
|
457
|
+
|
458
|
+
.notion-page-cover {
|
459
|
+
display: block;
|
460
|
+
object-fit: cover;
|
461
|
+
width: 100%;
|
462
|
+
height: 30vh;
|
463
|
+
min-height: 30vh;
|
464
|
+
max-height: 30vh;
|
465
|
+
padding: 0;
|
466
|
+
}
|
467
|
+
|
468
|
+
.notion-page {
|
469
|
+
position: relative;
|
470
|
+
padding: 0;
|
471
|
+
margin: 0 auto;
|
472
|
+
display: flex;
|
473
|
+
flex-direction: column;
|
474
|
+
flex-grow: 1;
|
475
|
+
flex-shrink: 0;
|
476
|
+
align-items: flex-start;
|
477
|
+
width: 100%;
|
478
|
+
max-width: 100%;
|
479
|
+
}
|
480
|
+
|
481
|
+
.notion-full-page {
|
482
|
+
padding-bottom: calc(max(10vh, 120px));
|
483
|
+
}
|
484
|
+
|
485
|
+
.notion-page-no-cover {
|
486
|
+
margin-top: 48px !important;
|
487
|
+
padding-top: 96px;
|
488
|
+
}
|
489
|
+
|
490
|
+
.notion-page-no-cover.notion-page-no-icon {
|
491
|
+
padding-top: 0;
|
492
|
+
}
|
493
|
+
|
494
|
+
.notion-page-no-cover.notion-page-has-image-icon {
|
495
|
+
padding-top: 148px;
|
496
|
+
}
|
497
|
+
|
498
|
+
.notion-page-has-cover.notion-page-no-icon {
|
499
|
+
padding-top: 48px;
|
500
|
+
}
|
501
|
+
|
502
|
+
.notion-page-has-cover {
|
503
|
+
padding-top: 112px;
|
504
|
+
}
|
505
|
+
|
506
|
+
.notion-page-has-cover.notion-page-has-text-icon {
|
507
|
+
padding-top: 64px;
|
508
|
+
}
|
509
|
+
|
510
|
+
.notion-page-icon-wrapper {
|
511
|
+
position: absolute;
|
512
|
+
top: 0;
|
513
|
+
left: 0;
|
514
|
+
width: 100%;
|
515
|
+
display: flex;
|
516
|
+
flex-direction: row;
|
517
|
+
justify-content: center;
|
518
|
+
}
|
519
|
+
|
520
|
+
.notion-page-icon-wrapper .notion-page-icon {
|
521
|
+
position: relative;
|
522
|
+
display: block;
|
523
|
+
}
|
524
|
+
|
525
|
+
.notion-page {
|
526
|
+
width: var(--notion-max-width);
|
527
|
+
padding-left: calc(min(12px, 8vw));
|
528
|
+
padding-right: calc(min(12px, 8vw));
|
529
|
+
}
|
530
|
+
|
531
|
+
.notion-full-width {
|
532
|
+
--notion-max-width: calc(min(1920px, 98vw));
|
533
|
+
padding-left: calc(min(96px, 8vw));
|
534
|
+
padding-right: calc(min(96px, 8vw));
|
535
|
+
}
|
536
|
+
|
537
|
+
.notion-small-text {
|
538
|
+
font-size: 14px;
|
539
|
+
}
|
540
|
+
|
541
|
+
.notion-quote {
|
542
|
+
display: block;
|
543
|
+
width: 100%;
|
544
|
+
white-space: pre-wrap;
|
545
|
+
word-break: break-word;
|
546
|
+
border-left: 3px solid currentcolor;
|
547
|
+
padding: 0.2em 0.9em;
|
548
|
+
margin: 6px 0;
|
549
|
+
font-size: 1.2em;
|
550
|
+
}
|
551
|
+
|
552
|
+
.notion-hr {
|
553
|
+
width: 100%;
|
554
|
+
margin: 6px 0;
|
555
|
+
padding: 0;
|
556
|
+
border-bottom-width: 1px;
|
557
|
+
}
|
558
|
+
|
559
|
+
.notion-link {
|
560
|
+
color: inherit;
|
561
|
+
word-break: break-word;
|
562
|
+
text-decoration: inherit;
|
563
|
+
border-bottom: .05em solid !important;
|
564
|
+
border-color: var(--fg-color-2);
|
565
|
+
opacity: 0.7;
|
566
|
+
transition: border-color 100ms ease-in, opacity 100ms ease-in;
|
567
|
+
}
|
568
|
+
|
569
|
+
.notion-link:hover {
|
570
|
+
border-color: var(--fg-color-6);
|
571
|
+
opacity: 1;
|
572
|
+
}
|
573
|
+
|
574
|
+
.notion-blank {
|
575
|
+
width: 100%;
|
576
|
+
min-height: 1rem;
|
577
|
+
padding: 3px 2px;
|
578
|
+
margin-top: 1px;
|
579
|
+
margin-bottom: 1px;
|
580
|
+
}
|
581
|
+
|
582
|
+
.notion-page-link {
|
583
|
+
display: flex;
|
584
|
+
color: var(--fg-color);
|
585
|
+
text-decoration: underline;
|
586
|
+
width: 100%;
|
587
|
+
height: 30px;
|
588
|
+
margin: 1px 0;
|
589
|
+
transition: background 120ms ease-in 0s;
|
590
|
+
/* pointer-events: none; */
|
591
|
+
}
|
592
|
+
|
593
|
+
.notion-page-link:hover {
|
594
|
+
/*background: var(--bg-color-0);*/
|
595
|
+
}
|
596
|
+
|
597
|
+
.notion-page-icon {
|
598
|
+
font-family: 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji,
|
599
|
+
'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;
|
600
|
+
font-size: 1.1em;
|
601
|
+
margin: 2px 4px 0 2px;
|
602
|
+
fill: var(--fg-color-6);
|
603
|
+
color: var(--fg-color-icon);
|
604
|
+
@apply dark:fill-gray-200
|
605
|
+
}
|
606
|
+
|
607
|
+
img.notion-page-icon,
|
608
|
+
svg.notion-page-icon {
|
609
|
+
display: block;
|
610
|
+
object-fit: fill;
|
611
|
+
border-radius: 3px;
|
612
|
+
/* padding: 1px; */
|
613
|
+
max-width: 22px;
|
614
|
+
max-height: 22px;
|
615
|
+
}
|
616
|
+
|
617
|
+
.notion-icon {
|
618
|
+
display: block;
|
619
|
+
width: 18px;
|
620
|
+
height: 18px;
|
621
|
+
color: var(--fg-color-icon);
|
622
|
+
}
|
623
|
+
|
624
|
+
.notion-page-text {
|
625
|
+
white-space: nowrap;
|
626
|
+
overflow: hidden;
|
627
|
+
text-overflow: ellipsis;
|
628
|
+
font-weight: 500;
|
629
|
+
line-height: 1.3;
|
630
|
+
border-bottom: 1px solid var(--fg-color-1);
|
631
|
+
margin: 4px 0;
|
632
|
+
}
|
633
|
+
|
634
|
+
.notion-inline-code {
|
635
|
+
color: #eb5757;
|
636
|
+
padding: 0.2em 0.4em;
|
637
|
+
background: var(--bg-color-2);
|
638
|
+
border-radius: 3px;
|
639
|
+
font-size: 85%;
|
640
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
641
|
+
monospace;
|
642
|
+
}
|
643
|
+
|
644
|
+
.notion-inline-underscore {
|
645
|
+
text-decoration: underline;
|
646
|
+
}
|
647
|
+
|
648
|
+
.notion-list {
|
649
|
+
margin: 0;
|
650
|
+
margin-block-start: 0.6em;
|
651
|
+
margin-block-end: 0.6em;
|
652
|
+
@apply w-full;
|
653
|
+
}
|
654
|
+
|
655
|
+
.notion-list-disc {
|
656
|
+
list-style-type: disc;
|
657
|
+
padding-inline-start: 1.4em;
|
658
|
+
margin-top: 0;
|
659
|
+
margin-bottom: 0;
|
660
|
+
}
|
661
|
+
|
662
|
+
.notion-list-numbered {
|
663
|
+
list-style-type: decimal;
|
664
|
+
padding-inline-start: 1.6em;
|
665
|
+
margin-top: 0;
|
666
|
+
margin-bottom: 0;
|
667
|
+
}
|
668
|
+
|
669
|
+
.notion-list-numbered > .notion-list-numbered {
|
670
|
+
list-style-type: lower-alpha;
|
671
|
+
}
|
672
|
+
|
673
|
+
.notion-list-numbered > .notion-list-numbered > .notion-list-numbered {
|
674
|
+
list-style-type: lower-roman;
|
675
|
+
}
|
676
|
+
|
677
|
+
.notion-list-disc li {
|
678
|
+
padding-left: 0.1em;
|
679
|
+
}
|
680
|
+
|
681
|
+
.notion-list-numbered li {
|
682
|
+
padding-left: 0.2em;
|
683
|
+
}
|
684
|
+
|
685
|
+
.notion-list li {
|
686
|
+
padding: 1px 0;
|
687
|
+
white-space: pre-wrap;
|
688
|
+
}
|
689
|
+
|
690
|
+
.notion-asset-wrapper {
|
691
|
+
margin: 0.5rem 0;
|
692
|
+
max-width: 100%;
|
693
|
+
min-width: 100%;
|
694
|
+
align-self: center;
|
695
|
+
display: flex;
|
696
|
+
flex-direction: column;
|
697
|
+
}
|
698
|
+
|
699
|
+
.notion-asset-wrapper-image {
|
700
|
+
max-width: 100%;
|
701
|
+
}
|
702
|
+
|
703
|
+
.notion-asset-wrapper-image > div {
|
704
|
+
height: auto !important;
|
705
|
+
}
|
706
|
+
|
707
|
+
.notion-asset-wrapper-full {
|
708
|
+
/* max-width: 100vw; */
|
709
|
+
}
|
710
|
+
|
711
|
+
.notion-asset-wrapper img {
|
712
|
+
width: 90%;
|
713
|
+
/* height: 100%; */
|
714
|
+
height: auto !important;
|
715
|
+
max-height: 100%;
|
716
|
+
margin: auto;
|
717
|
+
}
|
718
|
+
|
719
|
+
.notion-asset-wrapper iframe {
|
720
|
+
border: none;
|
721
|
+
background: rgb(247, 246, 245);
|
722
|
+
}
|
723
|
+
|
724
|
+
.notion-text {
|
725
|
+
width: 100%;
|
726
|
+
white-space: pre-wrap;
|
727
|
+
line-height: 1.5rem !important;
|
728
|
+
word-break: break-word;
|
729
|
+
padding: 3px 2px !important;
|
730
|
+
margin: 1px 0 !important;
|
731
|
+
}
|
732
|
+
|
733
|
+
.notion-text:first-child {
|
734
|
+
margin-top: 2px;
|
735
|
+
}
|
736
|
+
|
737
|
+
.notion-text-children {
|
738
|
+
padding-left: 1.5em;
|
739
|
+
display: flex;
|
740
|
+
flex-direction: column;
|
741
|
+
}
|
742
|
+
|
743
|
+
.notion-block {
|
744
|
+
padding: 3px 2px;
|
745
|
+
}
|
746
|
+
|
747
|
+
.notion .notion-code {
|
748
|
+
font-size: 85%;
|
749
|
+
margin-top: 0;
|
750
|
+
margin-bottom: 0.5em;
|
751
|
+
}
|
752
|
+
|
753
|
+
pre[class*='language-'] {
|
754
|
+
line-height: inherit;
|
755
|
+
}
|
756
|
+
|
757
|
+
code[class*='language-'] {
|
758
|
+
background: unset !important;
|
759
|
+
}
|
760
|
+
|
761
|
+
.notion-code {
|
762
|
+
padding: 30px 16px 30px 20px;
|
763
|
+
border-bottom-right-radius: 0.5rem;
|
764
|
+
border-bottom-left-radius: 0.5rem;
|
765
|
+
tab-size: 2;
|
766
|
+
display: block;
|
767
|
+
box-sizing: border-box;
|
768
|
+
overflow: auto;
|
769
|
+
font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier,
|
770
|
+
monospace;
|
771
|
+
@apply w-full mb-0 dark:bg-black !important;
|
772
|
+
}
|
773
|
+
|
774
|
+
.notion-column {
|
775
|
+
display: flex;
|
776
|
+
flex-direction: column;
|
777
|
+
padding-top: 12px;
|
778
|
+
padding-bottom: 12px;
|
779
|
+
}
|
780
|
+
|
781
|
+
.notion-column > *:first-child {
|
782
|
+
margin-top: 0;
|
783
|
+
margin-left: 0;
|
784
|
+
margin-right: 0;
|
785
|
+
}
|
786
|
+
|
787
|
+
.notion-column > *:last-child {
|
788
|
+
margin-left: 0;
|
789
|
+
margin-right: 0;
|
790
|
+
margin-bottom: 0;
|
791
|
+
}
|
792
|
+
|
793
|
+
.notion-row {
|
794
|
+
display: flex;
|
795
|
+
overflow: hidden;
|
796
|
+
width: 100%;
|
797
|
+
max-width: 100%;
|
798
|
+
}
|
799
|
+
|
800
|
+
@media (max-width: 640px) {
|
801
|
+
.notion-row {
|
802
|
+
flex-direction: column;
|
803
|
+
}
|
804
|
+
|
805
|
+
.notion-row .notion-column {
|
806
|
+
width: 100% !important;
|
807
|
+
}
|
808
|
+
|
809
|
+
.notion-row .notion-spacer {
|
810
|
+
display: none;
|
811
|
+
}
|
812
|
+
}
|
813
|
+
|
814
|
+
.notion-bookmark {
|
815
|
+
margin: 4px 0;
|
816
|
+
width: 100%;
|
817
|
+
box-sizing: border-box;
|
818
|
+
text-decoration: none;
|
819
|
+
border: 1px solid var(--fg-color-1);
|
820
|
+
border-radius: 3px;
|
821
|
+
display: flex;
|
822
|
+
overflow: hidden;
|
823
|
+
user-select: none;
|
824
|
+
}
|
825
|
+
|
826
|
+
.notion-bookmark > div:first-child {
|
827
|
+
flex: 4 1 180px;
|
828
|
+
padding: 12px 14px 14px;
|
829
|
+
overflow: hidden;
|
830
|
+
text-align: left;
|
831
|
+
color: var(--fg-color);
|
832
|
+
}
|
833
|
+
|
834
|
+
.notion-bookmark-title {
|
835
|
+
font-size: 14px;
|
836
|
+
line-height: 20px;
|
837
|
+
white-space: nowrap;
|
838
|
+
overflow: hidden;
|
839
|
+
text-overflow: ellipsis;
|
840
|
+
min-height: 24px;
|
841
|
+
margin-bottom: 2px;
|
842
|
+
}
|
843
|
+
|
844
|
+
.notion-bookmark-description {
|
845
|
+
font-size: 12px;
|
846
|
+
line-height: 16px;
|
847
|
+
opacity: 0.8;
|
848
|
+
height: 32px;
|
849
|
+
overflow: hidden;
|
850
|
+
}
|
851
|
+
|
852
|
+
.notion-bookmark-link {
|
853
|
+
display: flex;
|
854
|
+
margin-top: 6px;
|
855
|
+
@apply w-52 md:w-80
|
856
|
+
}
|
857
|
+
|
858
|
+
.notion-bookmark-link > img {
|
859
|
+
width: 16px;
|
860
|
+
height: 16px;
|
861
|
+
min-width: 16px;
|
862
|
+
margin-right: 6px;
|
863
|
+
}
|
864
|
+
|
865
|
+
.notion-bookmark-link > div {
|
866
|
+
font-size: 12px;
|
867
|
+
line-height: 16px;
|
868
|
+
color: var(--fg-color);
|
869
|
+
white-space: nowrap;
|
870
|
+
overflow: hidden;
|
871
|
+
text-overflow: ellipsis;
|
872
|
+
}
|
873
|
+
|
874
|
+
.notion-bookmark-image {
|
875
|
+
flex: 1 1 180px;
|
876
|
+
position: relative;
|
877
|
+
}
|
878
|
+
|
879
|
+
.notion-bookmark-image img {
|
880
|
+
object-fit: cover;
|
881
|
+
width: 100%;
|
882
|
+
height: 100%;
|
883
|
+
position: absolute;
|
884
|
+
}
|
885
|
+
|
886
|
+
.notion-column .notion-bookmark-image {
|
887
|
+
display: none;
|
888
|
+
}
|
889
|
+
|
890
|
+
.notion-spacer {
|
891
|
+
width: calc(min(32px, 4vw));
|
892
|
+
}
|
893
|
+
|
894
|
+
.notion-spacer:last-child {
|
895
|
+
display: none;
|
896
|
+
}
|
897
|
+
|
898
|
+
.notion-asset-object-fit {
|
899
|
+
position: absolute;
|
900
|
+
left: 0;
|
901
|
+
top: 0;
|
902
|
+
right: 0;
|
903
|
+
bottom: 0;
|
904
|
+
width: 100%;
|
905
|
+
height: 100%;
|
906
|
+
border-radius: 1px;
|
907
|
+
}
|
908
|
+
|
909
|
+
.notion-image {
|
910
|
+
display: block;
|
911
|
+
width: 100%;
|
912
|
+
border-radius: 1px;
|
913
|
+
}
|
914
|
+
|
915
|
+
.notion-asset-caption {
|
916
|
+
padding: 6px 0 6px 2px;
|
917
|
+
white-space: pre-wrap;
|
918
|
+
word-break: break-word;
|
919
|
+
caret-color: var(--fg-color);
|
920
|
+
font-size: 14px;
|
921
|
+
line-height: 1.4;
|
922
|
+
color: var(--fg-color-3);
|
923
|
+
@apply dark:text-gray-300
|
924
|
+
}
|
925
|
+
|
926
|
+
.notion-callout {
|
927
|
+
padding: 16px 16px 16px 12px;
|
928
|
+
display: inline-flex;
|
929
|
+
width: 100%;
|
930
|
+
border-radius: 3px;
|
931
|
+
border-width: 1px;
|
932
|
+
align-items: center;
|
933
|
+
box-sizing: border-box;
|
934
|
+
margin: 4px 0;
|
935
|
+
border: 1px solid var(--fg-color-0);
|
936
|
+
}
|
937
|
+
|
938
|
+
.dark-mode .notion-callout {
|
939
|
+
border-color: var(--bg-color-2);
|
940
|
+
}
|
941
|
+
|
942
|
+
.notion-callout .notion-page-icon {
|
943
|
+
align-self: flex-start;
|
944
|
+
width: 24px;
|
945
|
+
height: 24px;
|
946
|
+
font-size: 1em;
|
947
|
+
line-height: 1em;
|
948
|
+
}
|
949
|
+
|
950
|
+
.notion-callout-text {
|
951
|
+
margin-left: 8px;
|
952
|
+
white-space: pre-wrap;
|
953
|
+
word-break: break-word;
|
954
|
+
}
|
955
|
+
|
956
|
+
.notion-toggle {
|
957
|
+
padding: 3px 2px;
|
958
|
+
width: 100%;
|
959
|
+
}
|
960
|
+
.notion-toggle > summary {
|
961
|
+
cursor: pointer;
|
962
|
+
outline: none;
|
963
|
+
}
|
964
|
+
.notion-toggle > div {
|
965
|
+
margin-left: 1.1em;
|
966
|
+
}
|
967
|
+
|
968
|
+
.notion-list-view {
|
969
|
+
position: relative;
|
970
|
+
padding-left: 0;
|
971
|
+
transition: padding 200ms ease-out;
|
972
|
+
max-width: 100%;
|
973
|
+
}
|
974
|
+
|
975
|
+
.notion-list-body {
|
976
|
+
display: flex;
|
977
|
+
flex-direction: column;
|
978
|
+
border-top: 1px solid var(--fg-color-1);
|
979
|
+
padding-top: 8px;
|
980
|
+
max-width: 100%;
|
981
|
+
overflow: hidden;
|
982
|
+
}
|
983
|
+
|
984
|
+
.notion-list-item {
|
985
|
+
display: flex;
|
986
|
+
justify-content: space-between;
|
987
|
+
align-items: center;
|
988
|
+
padding: 0 4px;
|
989
|
+
margin: 1px 0;
|
990
|
+
max-width: 100%;
|
991
|
+
overflow: hidden;
|
992
|
+
}
|
993
|
+
|
994
|
+
.notion-list-item-title {
|
995
|
+
white-space: nowrap;
|
996
|
+
overflow: hidden;
|
997
|
+
text-overflow: ellipsis;
|
998
|
+
font-weight: 500;
|
999
|
+
line-height: 1.3;
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
.notion-list-item-body {
|
1003
|
+
display: flex;
|
1004
|
+
align-items: center;
|
1005
|
+
flex-wrap: nowrap;
|
1006
|
+
overflow: hidden;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
.notion-list-item-property {
|
1010
|
+
/* display: flex;
|
1011
|
+
align-items: center; */
|
1012
|
+
margin-left: 14px;
|
1013
|
+
font-size: 14px;
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
.notion-list-item-property .notion-property-date,
|
1017
|
+
.notion-list-item-property .notion-property-created_time,
|
1018
|
+
.notion-list-item-property .notion-property-last_edited_time,
|
1019
|
+
.notion-list-item-property .notion-property-url {
|
1020
|
+
display: inline-block;
|
1021
|
+
color: var(--fg-color-3);
|
1022
|
+
font-size: 12px;
|
1023
|
+
/* white-space: nowrap; */
|
1024
|
+
overflow: hidden;
|
1025
|
+
text-overflow: ellipsis;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
.notion-board {
|
1029
|
+
width: 100vw;
|
1030
|
+
max-width: 100vw;
|
1031
|
+
align-self: center;
|
1032
|
+
overflow: auto hidden;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
.notion-board-view {
|
1036
|
+
position: relative;
|
1037
|
+
float: left;
|
1038
|
+
min-width: 100%;
|
1039
|
+
padding-left: 0;
|
1040
|
+
transition: padding 200ms ease-out;
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
.notion-board-header {
|
1044
|
+
display: flex;
|
1045
|
+
position: absolute;
|
1046
|
+
z-index: 30;
|
1047
|
+
height: 44px;
|
1048
|
+
min-width: 100%;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
.notion-board-header-inner {
|
1052
|
+
display: inline-flex;
|
1053
|
+
border-top: 1px solid var(--fg-color-1);
|
1054
|
+
border-bottom: 1px solid var(--fg-color-1);
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
.notion-board-header-placeholder {
|
1058
|
+
height: var(--notion-header-height);
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
.notion-board-th {
|
1062
|
+
display: flex;
|
1063
|
+
align-items: center;
|
1064
|
+
font-size: 14px;
|
1065
|
+
padding-right: 16px;
|
1066
|
+
box-sizing: content-box;
|
1067
|
+
flex-shrink: 0;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
.notion-board-th-body {
|
1071
|
+
display: flex;
|
1072
|
+
align-items: center;
|
1073
|
+
font-size: 14px;
|
1074
|
+
line-height: 1.2;
|
1075
|
+
padding-left: 2px;
|
1076
|
+
padding-right: 4px;
|
1077
|
+
white-space: nowrap;
|
1078
|
+
overflow: hidden;
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
.notion-board-th-count {
|
1082
|
+
color: var(--fg-color-3);
|
1083
|
+
font-weight: 500;
|
1084
|
+
padding: 0 8px;
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
.notion-board-th-empty {
|
1088
|
+
margin-right: 4px;
|
1089
|
+
position: relative;
|
1090
|
+
top: 2px;
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
.notion-board-body {
|
1094
|
+
display: inline-flex;
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
.notion-board-group {
|
1098
|
+
flex: 0 0 auto;
|
1099
|
+
padding-right: 16px;
|
1100
|
+
box-sizing: content-box;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
.notion-board-group-card {
|
1104
|
+
margin-bottom: 8px;
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
.notion-board-view .notion-board-th,
|
1108
|
+
.notion-board-view .notion-board-group {
|
1109
|
+
width: 260px;
|
1110
|
+
}
|
1111
|
+
|
1112
|
+
.notion-board-view-size-small .notion-board-th,
|
1113
|
+
.notion-board-view-size-small .notion-board-group {
|
1114
|
+
width: 180px;
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
.notion-board-view-size-large .notion-board-th,
|
1118
|
+
.notion-board-view-size-large .notion-board-group {
|
1119
|
+
width: 320px;
|
1120
|
+
}
|
1121
|
+
|
1122
|
+
.notion-table-of-contents {
|
1123
|
+
width: 100%;
|
1124
|
+
margin: 4px 0;
|
1125
|
+
@apply bg-gray-50 dark:bg-gray-900 p-2
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
.notion-table-of-contents-item {
|
1129
|
+
text-decoration: none;
|
1130
|
+
user-select: none;
|
1131
|
+
transition: background 20ms ease-in 0s;
|
1132
|
+
cursor: pointer;
|
1133
|
+
width: 100%;
|
1134
|
+
|
1135
|
+
padding: 6px 2px;
|
1136
|
+
font-size: 14px;
|
1137
|
+
line-height: 1.2;
|
1138
|
+
display: flex;
|
1139
|
+
align-items: center;
|
1140
|
+
|
1141
|
+
white-space: nowrap;
|
1142
|
+
overflow: hidden;
|
1143
|
+
text-overflow: ellipsis;
|
1144
|
+
@apply dark:text-white
|
1145
|
+
|
1146
|
+
}
|
1147
|
+
|
1148
|
+
.notion-table-of-contents-item:hover {
|
1149
|
+
background: var(--bg-color-0);
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
.notion-table-of-contents-item-body {
|
1153
|
+
border-bottom: 1px solid var(--fg-color-1);
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
.notion-to-do {
|
1157
|
+
width: 100%;
|
1158
|
+
display: flex;
|
1159
|
+
flex-direction: column;
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
.notion-to-do-item {
|
1163
|
+
width: 100%;
|
1164
|
+
display: flex;
|
1165
|
+
align-items: center;
|
1166
|
+
width: 100%;
|
1167
|
+
padding-left: 2px;
|
1168
|
+
min-height: calc(1.5em + 3px + 3px);
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
.notion-to-do-children {
|
1172
|
+
padding-left: 1.5em;
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
.notion-to-do-checked {
|
1176
|
+
text-decoration: line-through;
|
1177
|
+
opacity: 0.375;
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
.notion-to-do-body {
|
1181
|
+
white-space: pre-wrap;
|
1182
|
+
word-break: break-word;
|
1183
|
+
}
|
1184
|
+
|
1185
|
+
.notion-to-do-item .notion-property-checkbox {
|
1186
|
+
margin-right: 8px;
|
1187
|
+
/* @apply w-4 h-4 border-2 */
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
.notion-property-checkbox-checked {
|
1191
|
+
/* @apply bg-white */
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
.notion-google-drive {
|
1195
|
+
width: 100%;
|
1196
|
+
align-self: center;
|
1197
|
+
margin: 4px 0;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
.notion-google-drive-link {
|
1201
|
+
position: relative;
|
1202
|
+
display: flex;
|
1203
|
+
flex-direction: column;
|
1204
|
+
color: inherit;
|
1205
|
+
text-decoration: none;
|
1206
|
+
width: 100%;
|
1207
|
+
border: 1px solid var(--fg-color-1);
|
1208
|
+
border-radius: 3px;
|
1209
|
+
|
1210
|
+
user-select: none;
|
1211
|
+
transition: background 20ms ease-in 0s;
|
1212
|
+
cursor: pointer;
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
.notion-google-drive-link:hover {
|
1216
|
+
background: var(--bg-color-0);
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
.notion-google-drive-preview {
|
1220
|
+
display: block;
|
1221
|
+
position: relative;
|
1222
|
+
width: 100%;
|
1223
|
+
padding-bottom: 55%;
|
1224
|
+
overflow: hidden;
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
.notion-google-drive-preview img {
|
1228
|
+
position: absolute;
|
1229
|
+
width: 100%;
|
1230
|
+
top: 0;
|
1231
|
+
left: 0;
|
1232
|
+
bottom: 0;
|
1233
|
+
right: 0;
|
1234
|
+
object-fit: cover;
|
1235
|
+
object-position: center top;
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
.notion-google-drive-body {
|
1239
|
+
width: 100%;
|
1240
|
+
min-height: 60px;
|
1241
|
+
padding: 12px 14px 14px;
|
1242
|
+
overflow: hidden;
|
1243
|
+
border-top: 1px solid var(--fg-color-1);
|
1244
|
+
}
|
1245
|
+
|
1246
|
+
.notion-google-drive-body-title {
|
1247
|
+
font-size: 14px;
|
1248
|
+
line-height: 20px;
|
1249
|
+
white-space: nowrap;
|
1250
|
+
overflow: hidden;
|
1251
|
+
text-overflow: ellipsis;
|
1252
|
+
margin-bottom: 2px;
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
.notion-google-drive-body-modified-time {
|
1256
|
+
font-size: 12px;
|
1257
|
+
line-height: 1.3;
|
1258
|
+
color: var(--fg-color-3);
|
1259
|
+
max-height: 32px;
|
1260
|
+
overflow: hidden;
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
.notion-google-drive-body-source {
|
1264
|
+
display: flex;
|
1265
|
+
align-items: center;
|
1266
|
+
margin-top: 6px;
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
.notion-google-drive-body-source-icon {
|
1270
|
+
flex-shrink: 0;
|
1271
|
+
background-size: cover;
|
1272
|
+
width: 16px;
|
1273
|
+
height: 16px;
|
1274
|
+
margin-right: 6px;
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
.notion-google-drive-body-source-domain {
|
1278
|
+
font-size: 12px;
|
1279
|
+
line-height: 16px;
|
1280
|
+
white-space: nowrap;
|
1281
|
+
overflow: hidden;
|
1282
|
+
text-overflow: ellipsis;
|
1283
|
+
}
|
1284
|
+
|
1285
|
+
.notion-file {
|
1286
|
+
width: 100%;
|
1287
|
+
margin: 1px 0;
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
.notion-file-link {
|
1291
|
+
display: flex;
|
1292
|
+
align-items: center;
|
1293
|
+
padding: 3px 2px;
|
1294
|
+
border-radius: 3px;
|
1295
|
+
transition: background 20ms ease-in 0s;
|
1296
|
+
color: inherit;
|
1297
|
+
text-decoration: none;
|
1298
|
+
|
1299
|
+
@apply dark:stroke-slate-200
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
.notion-file-link:hover {
|
1303
|
+
background: var(--bg-color-0);
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
.notion-file-icon {
|
1307
|
+
margin-right: 2px;
|
1308
|
+
width: 1.35em;
|
1309
|
+
display: flex;
|
1310
|
+
align-items: center;
|
1311
|
+
justify-content: center;
|
1312
|
+
flex-grow: 0;
|
1313
|
+
flex-shrink: 0;
|
1314
|
+
min-height: calc(1.5em + 3px + 3px);
|
1315
|
+
height: 1.35em;
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
.notion-file-info {
|
1319
|
+
display: flex;
|
1320
|
+
align-items: baseline;
|
1321
|
+
overflow-x: auto;
|
1322
|
+
}
|
1323
|
+
|
1324
|
+
.notion-file-title {
|
1325
|
+
white-space: nowrap;
|
1326
|
+
overflow: hidden;
|
1327
|
+
text-overflow: ellipsis;
|
1328
|
+
}
|
1329
|
+
|
1330
|
+
.notion-file-size {
|
1331
|
+
white-space: nowrap;
|
1332
|
+
overflow: hidden;
|
1333
|
+
text-overflow: ellipsis;
|
1334
|
+
/* color: var(--fg-color-3); */
|
1335
|
+
font-size: 12px;
|
1336
|
+
line-height: 16px;
|
1337
|
+
margin-left: 6px;
|
1338
|
+
|
1339
|
+
@apply dark:text-gray-400 !important
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
.notion-audio {
|
1343
|
+
width: 100%;
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
.notion-audio audio {
|
1347
|
+
width: 100%;
|
1348
|
+
}
|
1349
|
+
|
1350
|
+
.notion-equation {
|
1351
|
+
position: relative;
|
1352
|
+
display: inline-flex;
|
1353
|
+
color: inherit;
|
1354
|
+
fill: inherit;
|
1355
|
+
user-select: none;
|
1356
|
+
border-radius: 3px;
|
1357
|
+
transition: background 20ms ease-in 0s;
|
1358
|
+
text-align: center;
|
1359
|
+
-ms-overflow-style: none;
|
1360
|
+
overflow: -moz-scrollbars-none;
|
1361
|
+
scrollbar-width: none; /* firefox */
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
.notion-equation-inline {
|
1365
|
+
-webkit-user-select: all;
|
1366
|
+
-moz-user-select: all;
|
1367
|
+
user-select: all;
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
.notion-equation-block {
|
1371
|
+
display: flex;
|
1372
|
+
flex-direction: column;
|
1373
|
+
overflow: auto;
|
1374
|
+
width: 100%;
|
1375
|
+
max-width: 100%;
|
1376
|
+
padding: 4px 8px;
|
1377
|
+
margin: 4px 0;
|
1378
|
+
cursor: pointer;
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
.notion-equation:hover {
|
1382
|
+
background: var(--bg-color-0);
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
.notion-equation:active,
|
1386
|
+
.notion-equation:focus {
|
1387
|
+
background: var(--select-color-2);
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
.notion-frame .katex-display .katex {
|
1391
|
+
padding-right: 32px;
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
.notion-frame .katex > .katex-html {
|
1395
|
+
white-space: normal;
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
.katex-display>.katex>.katex-html>.tag {
|
1399
|
+
position: inherit !important;
|
1400
|
+
}
|
1401
|
+
|
1402
|
+
.notion-page-title {
|
1403
|
+
display: inline-flex;
|
1404
|
+
max-width: 100%;
|
1405
|
+
align-items: center;
|
1406
|
+
line-height: 1.3;
|
1407
|
+
transition: background 120ms ease-in 0s;
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
.notion-page-title-icon {
|
1411
|
+
display: flex;
|
1412
|
+
align-items: center;
|
1413
|
+
justify-content: center;
|
1414
|
+
height: 22px;
|
1415
|
+
width: 22px;
|
1416
|
+
border-radius: 3px;
|
1417
|
+
flex-shrink: 0;
|
1418
|
+
margin-left: 2px;
|
1419
|
+
margin-right: 6px;
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
.notion-collection {
|
1423
|
+
@apply max-w-0;
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
.notion-collection-card{
|
1427
|
+
/* cursor: default !important; */
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
.notion-collection-card-property .notion-link {
|
1431
|
+
border-bottom: 0 none;
|
1432
|
+
cursor: pointer
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
.notion-collection-card-property .notion-page-title {
|
1436
|
+
transition: none;
|
1437
|
+
}
|
1438
|
+
|
1439
|
+
.notion-collection-card-property .notion-page-title:hover {
|
1440
|
+
background: unset;
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
.notion-collection-card-property .notion-page-title-icon {
|
1444
|
+
margin-left: 0;
|
1445
|
+
height: 18px;
|
1446
|
+
width: 18px;
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
.notion-collection-card-property .notion-page-title-text {
|
1450
|
+
border-bottom: 0 none;
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
.notion-collection-card-property
|
1454
|
+
.notion-property-relation
|
1455
|
+
.notion-page-title-text {
|
1456
|
+
border-bottom: 1px solid;
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
.notion-page-title-text {
|
1460
|
+
position: relative;
|
1461
|
+
top: 1px;
|
1462
|
+
border-bottom: 1px solid var(--fg-color-1);
|
1463
|
+
line-height: 1.3;
|
1464
|
+
white-space: nowrap;
|
1465
|
+
overflow: hidden;
|
1466
|
+
text-overflow: ellipsis;
|
1467
|
+
font-weight: 500;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
.notion-collection-row {
|
1471
|
+
@apply hidden
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
.notion-collection-row-body {
|
1475
|
+
display: flex;
|
1476
|
+
flex-direction: column;
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
.notion-collection-row-property {
|
1480
|
+
display: flex;
|
1481
|
+
align-items: center;
|
1482
|
+
margin-bottom: 4px;
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
.notion-collection-row-value {
|
1486
|
+
flex: 1;
|
1487
|
+
padding: 6px 8px 7px;
|
1488
|
+
font-size: 14px;
|
1489
|
+
}
|
1490
|
+
|
1491
|
+
.notion-collection-row-property .notion-collection-column-title {
|
1492
|
+
display: flex;
|
1493
|
+
align-items: center;
|
1494
|
+
width: 160px;
|
1495
|
+
height: 34px;
|
1496
|
+
color: var(--fg-color-3);
|
1497
|
+
padding: 0 6px;
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
.notion-collection-row-property .notion-property {
|
1501
|
+
width: 100%;
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
.notion-collection-row-property .notion-collection-column-title-icon {
|
1505
|
+
width: 16px;
|
1506
|
+
height: 16px;
|
1507
|
+
min-width: 16px;
|
1508
|
+
min-height: 16px;
|
1509
|
+
}
|
1510
|
+
|
1511
|
+
.notion-collection-row-property .notion-link {
|
1512
|
+
border-bottom: 0 none;
|
1513
|
+
}
|
1514
|
+
|
1515
|
+
.notion-collection-row-property
|
1516
|
+
.notion-property-relation
|
1517
|
+
.notion-page-title-text {
|
1518
|
+
border-bottom: 1px solid;
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
.notion-user {
|
1522
|
+
display: block;
|
1523
|
+
object-fit: cover;
|
1524
|
+
border-radius: 100%;
|
1525
|
+
width: 20px;
|
1526
|
+
height: 20px;
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
.notion-list-item-property .notion-property-multi_select-item {
|
1530
|
+
margin-bottom: 0;
|
1531
|
+
flex-wrap: none;
|
1532
|
+
}
|
1533
|
+
|
1534
|
+
.notion-list-item-property .notion-property-multi_select-item:last-of-type {
|
1535
|
+
margin-right: 0;
|
1536
|
+
}
|
1537
|
+
|
1538
|
+
.notion-toggle .notion-collection-header,
|
1539
|
+
.notion-toggle .notion-table-view,
|
1540
|
+
.notion-toggle .notion-board-view,
|
1541
|
+
.notion-column .notion-collection-header,
|
1542
|
+
.notion-column .notion-table-view,
|
1543
|
+
.notion-column .notion-board-view {
|
1544
|
+
padding-left: 0 !important;
|
1545
|
+
padding-right: 0 !important;
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
.notion-toggle .notion-table,
|
1549
|
+
.notion-toggle .notion-board,
|
1550
|
+
.notion-column .notion-table,
|
1551
|
+
.notion-column .notion-board {
|
1552
|
+
width: 100% !important;
|
1553
|
+
max-width: 100% !important;
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
@media only screen and (max-width: 730px) {
|
1557
|
+
.notion-page {
|
1558
|
+
padding-left: 2vw;
|
1559
|
+
padding-right: 2vw;
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
.notion-asset-wrapper {
|
1563
|
+
max-width: 100%;
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
.notion-asset-wrapper-full {
|
1567
|
+
max-width: 100vw;
|
1568
|
+
}
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
@media (max-width: 640px) {
|
1572
|
+
.notion-bookmark-image {
|
1573
|
+
display: none;
|
1574
|
+
}
|
1575
|
+
}
|
1576
|
+
|
1577
|
+
.lazy-image-wrapper {
|
1578
|
+
position: relative;
|
1579
|
+
overflow: hidden;
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
.lazy-image-wrapper img {
|
1583
|
+
position: absolute;
|
1584
|
+
width: 100%;
|
1585
|
+
height: 100%;
|
1586
|
+
object-fit: cover;
|
1587
|
+
max-width: 100%;
|
1588
|
+
max-height: 100%;
|
1589
|
+
min-width: 100%;
|
1590
|
+
min-height: 100%;
|
1591
|
+
}
|
1592
|
+
|
1593
|
+
.lazy-image-preview {
|
1594
|
+
filter: blur(20px);
|
1595
|
+
transform: scale(1.1);
|
1596
|
+
|
1597
|
+
opacity: 1;
|
1598
|
+
transition: opacity 400ms ease-in !important;
|
1599
|
+
transition-delay: 100ms;
|
1600
|
+
will-change: opacity;
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
.lazy-image-wrapper img.lazy-image-real {
|
1604
|
+
position: relative;
|
1605
|
+
}
|
1606
|
+
|
1607
|
+
.lazy-image-real {
|
1608
|
+
opacity: 0;
|
1609
|
+
transition: opacity 400ms ease-out !important;
|
1610
|
+
will-change: opacity;
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
.lazy-image-real.medium-zoom-image {
|
1614
|
+
transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1),
|
1615
|
+
opacity 400ms ease-out !important;
|
1616
|
+
will-change: opacity, transform;
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
.medium-zoom-image--opened {
|
1620
|
+
object-fit: cover;
|
1621
|
+
opacity: 1;
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
/* NOTE: if we hide the preview image, there's a weird bug with react hydration where
|
1625
|
+
the image will sometimes flicker to show the background during initial page load.
|
1626
|
+
So I'm removing this `opacity: 0` for now, but it will cause issues if the real
|
1627
|
+
image is transparent. */
|
1628
|
+
.lazy-image-loaded .lazy-image-preview {
|
1629
|
+
opacity: 0;
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
.lazy-image-loaded .lazy-image-real {
|
1633
|
+
opacity: 1;
|
1634
|
+
}
|
1635
|
+
|
1636
|
+
.notion-page-cover.lazy-image-wrapper {
|
1637
|
+
padding: 0 !important;
|
1638
|
+
}
|
1639
|
+
|
1640
|
+
.notion-collection-card-cover .lazy-image-wrapper {
|
1641
|
+
padding: 0 !important;
|
1642
|
+
z-index: 20;
|
1643
|
+
height: 100%;
|
1644
|
+
}
|
1645
|
+
|
1646
|
+
.notion-page-cover .lazy-image-preview,
|
1647
|
+
.notion-page-cover .lazy-image-real {
|
1648
|
+
will-change: unset !important;
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
.notion-page-cover .lazy-image-loaded .lazy-image-preview {
|
1652
|
+
opacity: 1;
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
@keyframes spinner {
|
1656
|
+
to {
|
1657
|
+
transform: rotate(360deg);
|
1658
|
+
}
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
/* NOTION CSS OVERRIDE */
|
1662
|
+
|
1663
|
+
.notion {
|
1664
|
+
@apply dark:text-gray-300;
|
1665
|
+
overflow-wrap: break-word;
|
1666
|
+
}
|
1667
|
+
.notion,
|
1668
|
+
.notion-text,
|
1669
|
+
.notion-quote,
|
1670
|
+
.notion-h-title {
|
1671
|
+
@apply leading-8;
|
1672
|
+
@apply p-0;
|
1673
|
+
@apply my-3;
|
1674
|
+
}
|
1675
|
+
.notion-page-link {
|
1676
|
+
color: inherit;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
svg.notion-page-icon {
|
1680
|
+
/* @apply hidden;*/
|
1681
|
+
}
|
1682
|
+
|
1683
|
+
svg + .notion-page-title-text {
|
1684
|
+
@apply border-b-0;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
.notion-bookmark {
|
1688
|
+
@apply border-2;
|
1689
|
+
@apply border-gray-100;
|
1690
|
+
color: inherit;
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
.notion-bookmark .notion-bookmark-title,
|
1694
|
+
.notion-bookmark .notion-bookmark-link div {
|
1695
|
+
@apply text-gray-900 dark:text-gray-200;
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
.notion-bookmark .notion-bookmark-description {
|
1699
|
+
@apply text-gray-600 dark:text-gray-300;
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
.notion-gray_background,.notion-brown_background,
|
1703
|
+
.notion-orange_background,.notion-yellow_background,
|
1704
|
+
.notion-blue_background,.notion-purple_background,
|
1705
|
+
.notion-teal_background,.notion-red_background,
|
1706
|
+
.notion-pink_background{
|
1707
|
+
@apply dark:text-black
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
.notion-bookmark:hover {
|
1711
|
+
@apply border-blue-400;
|
1712
|
+
}
|
1713
|
+
.notion-asset-caption {
|
1714
|
+
@apply text-center;
|
1715
|
+
}
|
1716
|
+
.notion-full-width {
|
1717
|
+
@apply px-0;
|
1718
|
+
}
|
1719
|
+
.notion-page {
|
1720
|
+
@apply w-auto;
|
1721
|
+
@apply px-0;
|
1722
|
+
}
|
1723
|
+
.notion-quote {
|
1724
|
+
padding: 0.2em 0.9em;
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
.notion-collection {
|
1728
|
+
align-self: center;
|
1729
|
+
min-width: 100%;
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
.notion-collection-header {
|
1733
|
+
display: flex;
|
1734
|
+
align-items: center;
|
1735
|
+
height: 42px;
|
1736
|
+
padding: 4px 2px;
|
1737
|
+
white-space: nowrap;
|
1738
|
+
overflow: hidden;
|
1739
|
+
@apply px-0 !important
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
.notion-collection-header-title {
|
1743
|
+
display: inline-flex;
|
1744
|
+
align-items: center;
|
1745
|
+
font-size: 1.25em;
|
1746
|
+
line-height: 1.2;
|
1747
|
+
font-weight: 600;
|
1748
|
+
white-space: pre-wrap;
|
1749
|
+
word-break: break-word;
|
1750
|
+
margin-right: 0.5em;
|
1751
|
+
}
|
1752
|
+
|
1753
|
+
.notion-collection-view-dropdown {
|
1754
|
+
cursor: pointer;
|
1755
|
+
padding: 4px 8px;
|
1756
|
+
border-radius: 3px;
|
1757
|
+
transition: background 120ms ease-in 0s;
|
1758
|
+
}
|
1759
|
+
|
1760
|
+
.notion-collection-view-dropdown:hover {
|
1761
|
+
background: var(--bg-color-0);
|
1762
|
+
}
|
1763
|
+
|
1764
|
+
.notion-collection-view-dropdown-icon {
|
1765
|
+
position: relative;
|
1766
|
+
top: 2px;
|
1767
|
+
margin-left: 4px;
|
1768
|
+
}
|
1769
|
+
|
1770
|
+
.notion-collection-view-type-menu-item {
|
1771
|
+
cursor: pointer;
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
.notion-collection-view-type-menu-item .notion-collection-view-type {
|
1775
|
+
width: 340px;
|
1776
|
+
max-width: 100%;
|
1777
|
+
min-width: 100px;
|
1778
|
+
}
|
1779
|
+
|
1780
|
+
.notion-collection-view-type {
|
1781
|
+
display: flex;
|
1782
|
+
align-items: center;
|
1783
|
+
font-size: 14px;
|
1784
|
+
}
|
1785
|
+
|
1786
|
+
.notion-collection-view-type-icon {
|
1787
|
+
display: inline-block;
|
1788
|
+
width: 14px;
|
1789
|
+
height: 14px;
|
1790
|
+
/* fill: var(--fg-color); */
|
1791
|
+
fill: rgba(55, 53, 47);
|
1792
|
+
margin-right: 6px;
|
1793
|
+
@apply dark:fill-gray-200
|
1794
|
+
}
|
1795
|
+
|
1796
|
+
.notion-collection-view-type-title {
|
1797
|
+
white-space: nowrap;
|
1798
|
+
overflow: hidden;
|
1799
|
+
text-overflow: ellipsis;
|
1800
|
+
color: var(--fg-color);
|
1801
|
+
@apply dark:text-gray-200
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
.notion-table {
|
1805
|
+
align-self: center;
|
1806
|
+
overflow: auto hidden;
|
1807
|
+
@apply w-full !important
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
.notion-table-view {
|
1811
|
+
position: relative;
|
1812
|
+
float: left;
|
1813
|
+
min-width: var(--notion-max-width);
|
1814
|
+
padding-left: 0;
|
1815
|
+
transition: padding 200ms ease-out;
|
1816
|
+
@apply px-0 !important
|
1817
|
+
}
|
1818
|
+
|
1819
|
+
.notion-table-header {
|
1820
|
+
display: flex;
|
1821
|
+
position: absolute;
|
1822
|
+
z-index:30;
|
1823
|
+
height: 33px;
|
1824
|
+
color: var(--fg-color-3);
|
1825
|
+
min-width: var(--notion-max-width);
|
1826
|
+
}
|
1827
|
+
|
1828
|
+
.notion-table-header-inner {
|
1829
|
+
width: 100%;
|
1830
|
+
display: inline-flex;
|
1831
|
+
border-top: 1px solid var(--fg-color-1);
|
1832
|
+
border-bottom: 1px solid var(--fg-color-1);
|
1833
|
+
/* box-shadow: white -3px 0 0, rgba(55, 53, 47, 0.16) 0 1px 0; */
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
.notion-table-header-placeholder {
|
1837
|
+
height: 34px;
|
1838
|
+
}
|
1839
|
+
|
1840
|
+
.notion-table-th {
|
1841
|
+
display: flex;
|
1842
|
+
position: relative;
|
1843
|
+
}
|
1844
|
+
|
1845
|
+
.notion-table-view-header-cell {
|
1846
|
+
display: flex;
|
1847
|
+
flex-shrink: 0;
|
1848
|
+
overflow: hidden;
|
1849
|
+
height: 32px;
|
1850
|
+
font-size: 14px;
|
1851
|
+
padding: 0;
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
.notion-table-view-header-cell-inner {
|
1855
|
+
user-select: none;
|
1856
|
+
display: flex;
|
1857
|
+
width: 100%;
|
1858
|
+
height: 100%;
|
1859
|
+
padding-left: 8px;
|
1860
|
+
padding-right: 8px;
|
1861
|
+
border-right: 1px solid var(--fg-color-0);
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
.notion-table-th:last-child .notion-table-view-header-cell-inner {
|
1865
|
+
border-right: 0 none;
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
.notion-collection-column-title {
|
1869
|
+
display: flex;
|
1870
|
+
align-items: center;
|
1871
|
+
line-height: 120%;
|
1872
|
+
min-width: 0;
|
1873
|
+
font-size: 14px;
|
1874
|
+
@apply dark:text-gray-200
|
1875
|
+
}
|
1876
|
+
|
1877
|
+
.notion-collection-column-title-icon {
|
1878
|
+
display: inline-block;
|
1879
|
+
width: 14px;
|
1880
|
+
height: 14px;
|
1881
|
+
min-width: 14px;
|
1882
|
+
min-height: 14px;
|
1883
|
+
fill: var(--fg-color-2);
|
1884
|
+
margin-right: 6px;
|
1885
|
+
@apply dark:text-gray-200 dark:fill-gray-200
|
1886
|
+
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
.notion-collection-view-tabs-content-item-active {
|
1890
|
+
@apply dark:border-gray-300
|
1891
|
+
}
|
1892
|
+
|
1893
|
+
.notion-collection-column-title-body {
|
1894
|
+
white-space: nowrap;
|
1895
|
+
overflow: hidden;
|
1896
|
+
text-overflow: ellipsis;
|
1897
|
+
}
|
1898
|
+
|
1899
|
+
.notion-table-body {
|
1900
|
+
position: relative;
|
1901
|
+
min-width: var(--notion-max-width);
|
1902
|
+
}
|
1903
|
+
|
1904
|
+
.notion-table-row {
|
1905
|
+
display: flex;
|
1906
|
+
border-bottom: 1px solid var(--fg-color-1);
|
1907
|
+
}
|
1908
|
+
|
1909
|
+
.notion-table-cell {
|
1910
|
+
min-height: 32px;
|
1911
|
+
padding: 5px 8px 6px;
|
1912
|
+
font-size: 14px;
|
1913
|
+
line-height: 1;
|
1914
|
+
white-space: normal;
|
1915
|
+
overflow: hidden;
|
1916
|
+
word-break: break-word;
|
1917
|
+
border-right: 1px solid var(--fg-color-1);
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
.notion-table-cell:last-child {
|
1921
|
+
border-right: 0 none;
|
1922
|
+
}
|
1923
|
+
|
1924
|
+
.notion-table-cell-title {
|
1925
|
+
font-weight: 500;
|
1926
|
+
}
|
1927
|
+
|
1928
|
+
.notion-table-cell-text {
|
1929
|
+
white-space: pre-wrap;
|
1930
|
+
}
|
1931
|
+
|
1932
|
+
.notion-table-cell-text,
|
1933
|
+
.notion-table-cell-number,
|
1934
|
+
.notion-table-cell-url,
|
1935
|
+
.notion-table-cell-email,
|
1936
|
+
.notion-table-cell-phone_number {
|
1937
|
+
line-height: 1.5;
|
1938
|
+
}
|
1939
|
+
|
1940
|
+
.notion-table-cell-number {
|
1941
|
+
white-space: pre-wrap;
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
.notion-table-cell-select,
|
1945
|
+
.notion-table-cell-multi_select {
|
1946
|
+
padding: 7px 8px 0;
|
1947
|
+
}
|
1948
|
+
|
1949
|
+
.notion-simple-table {
|
1950
|
+
@apply whitespace-nowrap overflow-x-auto block w-full border-0 !important;
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
.notion-asset-wrapper-pdf > div {
|
1954
|
+
display: block !important;
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
/* https://github.com/kchen0x */
|
1958
|
+
.notion-quote {
|
1959
|
+
display: block;
|
1960
|
+
border-radius: 5px;
|
1961
|
+
border-color: var(--notion-blue);
|
1962
|
+
border-left-color: var(--notion-blue);
|
1963
|
+
background-color: var(--notion-blue_background_co);
|
1964
|
+
width: 100%;
|
1965
|
+
white-space: pre-wrap;
|
1966
|
+
word-break: break-word;
|
1967
|
+
border-left: 10px solid;
|
1968
|
+
padding: 0.2em 0.9em;
|
1969
|
+
margin: 6px 0;
|
1970
|
+
font-size: 1em;
|
1971
|
+
/* color: var(--notion-gray); */
|
1972
|
+
}
|
1973
|
+
|
1974
|
+
.notion-asset-wrapper-pdf>div{
|
1975
|
+
width:unset!important
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
/* pdf预览适配页面 */
|
1979
|
+
.react-pdf__Page__canvas,.react-pdf__Page__textContent{
|
1980
|
+
width: 100% !important;
|
1981
|
+
height: auto !important;
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
|
1985
|
+
/* simple table设置 */
|
1986
|
+
table,thead,tbody{
|
1987
|
+
display:block
|
1988
|
+
}
|
1989
|
+
|
1990
|
+
thead, tbody tr {
|
1991
|
+
display:table;
|
1992
|
+
width:100%;
|
1993
|
+
table-layout:fixed;
|
1994
|
+
}
|
1995
|
+
|
1996
|
+
.notion-collection-card{
|
1997
|
+
@apply dark:text-gray-200 dark:bg-gray-800 dark:hover:bg-black
|
1998
|
+
}
|
1999
|
+
|
2000
|
+
.notion-code-copy{
|
2001
|
+
display: none;
|
2002
|
+
}
|
2003
|
+
|
2004
|
+
|
2005
|
+
pre[class*="language-mermaid"] {
|
2006
|
+
@apply bg-gray-50 dark:bg-gray-200 !important;
|
2007
|
+
}
|
2008
|
+
|
2009
|
+
/* mermaid 原文隐藏 */
|
2010
|
+
code.language-mermaid {
|
2011
|
+
display:none
|
2012
|
+
}
|
2013
|
+
|
2014
|
+
.code-toolbar{
|
2015
|
+
@apply w-full shadow-md pb-0;
|
2016
|
+
}
|
2017
|
+
|
2018
|
+
.mermaid > svg {
|
2019
|
+
margin: auto;
|
2020
|
+
}
|
2021
|
+
|
2022
|
+
.notion-equation-inline .katex-display {
|
2023
|
+
margin: 0 0 !important;
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
.notion-external-title {
|
2027
|
+
@apply dark:text-white !important;
|
2028
|
+
}
|
2029
|
+
|
2030
|
+
.notion-external-subtitle {
|
2031
|
+
@apply dark:text-gray-400 !important;
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
.notion-external-block {
|
2035
|
+
@apply dark:border-gray-200 !important;
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
.notion-external-image > svg > g > path{
|
2039
|
+
@apply dark:fill-gray-200 !important;
|
2040
|
+
}
|
2041
|
+
|
2042
|
+
.notion-external-image {
|
2043
|
+
@apply w-6 h-6 mx-3 my-2 !important;
|
2044
|
+
}
|
2045
|
+
|
2046
|
+
/* 表格 #f5f6f8*/
|
2047
|
+
.notion-simple-table-row {
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
/* 表格头 */
|
2051
|
+
.notion-simple-table tr:first-child td{
|
2052
|
+
background-color: #f5f6f8;
|
2053
|
+
@apply text-center font-bold dark:bg-gray-800 !important;
|
2054
|
+
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
.notion-simple-table td{
|
2058
|
+
border: 1px solid var(#eee) !important
|
2059
|
+
}
|
2060
|
+
|
2061
|
+
/* 竖屏视频高度bug */
|
2062
|
+
figure.notion-asset-wrapper.notion-asset-wrapper-video>div {
|
2063
|
+
height: 100% !important;
|
2064
|
+
}
|