Skip to content

Commit d3cc5fb

Browse files
committed
Make it to have default notion styling
1 parent a579017 commit d3cc5fb

File tree

4 files changed

+67
-116
lines changed

4 files changed

+67
-116
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
npm-debug.log*
2727
yarn-debug.log*
2828
yarn-error.log*
29+
yarn.lock
2930

3031
# local env files
3132
.env

site.config.ts

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,35 @@ export default siteConfig({
4545
// '/foo': '067dd719a912471ea9a3ac10710e7fdf',
4646
// '/bar': '0be6efce9daf42688f65c76b89f8eb27'
4747
// }
48-
pageUrlOverrides: null,
48+
pageUrlOverrides: {
49+
'/careers/p2achai': '7a39a94e4e104d04ab14385f244e5613',
50+
'/careers/teamluckly':
51+
'https://1c1.notion.site/SW-12-6c60cc7c9b064bab9963598a1da21805',
52+
'/careers/teamrare': 'SW-12-93c0e513e98048209b20b117210959e4',
53+
'/careers/rokaf': '15-8cfb950730264881a2e90576617db4a6',
54+
'/careers/ajou': '0ddbb2fb30814fbdb1d6156f64839ca9',
55+
'/projects/teft': 'Teft-3796aad2db414f82a85569be93247268',
56+
'/projects/ojjam': 'f0f7beabb162475583cfe432179ae4a1',
57+
'/projects/mytypetest': 'd4dbb5d3300140e9a947598d11a4c07e',
58+
'/projects/stady': 'STADY-84595d1b794745baaa8fd2c79ad49ecf',
59+
'/projects/routelog': 'RouteLog-10d1892dc4c848dc998cc989a68bc2d9',
60+
'/projects/traffin': 'TRAFFIN-24971d0c6a8e470e8d05ac7ed12327d4',
61+
'/projects/hyowonlife': '750da52c857648978e315f5d11c00daf',
62+
'/projects/tothesky': 'toTheSky-1b33457e15fa4ba3851eb685f2edbfac'
63+
}
4964

5065
// whether to use the default notion navigation style or a custom one with links to
5166
// important pages
5267
// navigationStyle: 'default'
53-
navigationStyle: 'custom',
54-
navigationLinks: [
55-
{
56-
title: 'About',
57-
pageId: 'f1199d37579b41cbabfc0b5174f4256a'
58-
},
59-
{
60-
title: 'Contact',
61-
pageId: '6a29ebcb935a4f0689fe661ab5f3b8d1'
62-
}
63-
]
68+
// navigationStyle: 'custom',
69+
// navigationLinks: [
70+
// {
71+
// title: 'About',
72+
// pageId: 'f1199d37579b41cbabfc0b5174f4256a'
73+
// },
74+
// {
75+
// title: 'Contact',
76+
// pageId: '6a29ebcb935a4f0689fe661ab5f3b8d1'
77+
// }
78+
// ]
6479
})

styles/notion.css

Lines changed: 38 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
--notion-max-width: 900px;
2222
}
2323

24-
.notion-text {
24+
/* .notion-text {
2525
padding: 0.5em 2px;
2626
}
2727
@@ -114,7 +114,7 @@
114114
}
115115
}
116116

117-
.notion-quote {
117+
/* .notion-quote {
118118
padding: 0.2em 0.75em;
119119
line-height: 1.5;
120120
font-style: italic;
@@ -162,15 +162,6 @@
162162
margin-right: auto;
163163
}
164164
165-
.notion-title {
166-
display: block;
167-
text-align: start;
168-
letter-spacing: 4px;
169-
text-decoration-line: underline;
170-
text-decoration-style: wavy;
171-
text-underline-offset: 12px;
172-
}
173-
174165
.notion-collection-row {
175166
padding-bottom: 1em;
176167
}
@@ -244,95 +235,10 @@
244235
245236
transition-property: background-position, background-size;
246237
transition-duration: 300ms;
247-
}
248-
249-
.notion-red_background,
250-
.notion-pink_background,
251-
.notion-blue_background,
252-
.notion-purple_background,
253-
.notion-teal_background,
254-
.notion-yellow_background,
255-
.notion-orange_background,
256-
.notion-brown_background,
257-
.notion-gray_background {
258-
padding: 0 0.5rem;
259-
margin: 0 -0.5rem 0 -0.25rem;
260-
border-radius: 0.5rem;
261-
border-bottom-left-radius: 0.125rem;
262-
box-decoration-break: clone;
263-
264-
background-color: none;
265-
266-
/* light yellow */
267-
background-image: linear-gradient(
268-
119deg,
269-
var(--bg-color),
270-
#fff697 10.5%,
271-
#fdf59d 85.29%,
272-
var(--bg-color)
273-
);
274-
}
275-
276-
.notion-purple_background,
277-
.notion-pink_background {
278-
/* light pink */
279-
background-image: linear-gradient(
280-
119deg,
281-
var(--bg-color),
282-
#f5b8d1 10.5%,
283-
#f9bcd3 85.29%,
284-
var(--bg-color)
285-
);
286-
}
287-
288-
.notion-blue_background,
289-
.notion-gray_background {
290-
/* light blue */
291-
background-image: linear-gradient(
292-
119deg,
293-
var(--bg-color),
294-
#adedfc 10.5%,
295-
#adebfd 85.29%,
296-
var(--bg-color)
297-
);
298-
}
299-
300-
.notion-red_background,
301-
.notion-orange_background {
302-
/* light red */
303-
background-image: linear-gradient(
304-
119deg,
305-
var(--bg-color),
306-
#f5c4ff 10.5%,
307-
#e7a8fc 85.29%,
308-
var(--bg-color)
309-
);
310-
}
311-
312-
.notion-teal_background {
313-
/* light green */
314-
background-image: linear-gradient(
315-
119deg,
316-
var(--bg-color),
317-
#d4eabc 10.5%,
318-
#d2eabc 85.29%,
319-
var(--bg-color)
320-
);
321-
}
322-
323-
.notion-brown_background {
324-
/* dark blue */
325-
background-image: linear-gradient(
326-
119deg,
327-
var(--bg-color),
328-
#96b8ec 10.5%,
329-
#a6c3f0 85.29%,
330-
var(--bg-color)
331-
);
332-
}
238+
} */
333239

334240
/* disable highlighting in dark mode */
335-
.dark-mode .notion-red_background,
241+
/* .dark-mode .notion-red_background,
336242
.dark-mode .notion-pink_background,
337243
.dark-mode .notion-blue_background,
338244
.dark-mode .notion-purple_background,
@@ -345,17 +251,17 @@
345251
margin: 0;
346252
border-radius: 0;
347253
background: none !important;
348-
}
254+
} */
349255

350256
/* if you don't want rounded page icon images, remove this */
351-
.notion-page-icon-hero.notion-page-icon-image {
257+
/* .notion-page-icon-hero.notion-page-icon-image {
352258
border-radius: 50%;
353259
box-shadow: 0 8px 40px 0 rgb(0 0 0 / 21%);
354260
}
355261
.notion-page-icon-hero.notion-page-icon-image span,
356262
.notion-page-icon-hero.notion-page-icon-image img {
357263
border-radius: 50%;
358-
}
264+
} */
359265

360266
.notion-header {
361267
background: hsla(0, 0%, 100%, 0.8);
@@ -375,10 +281,10 @@
375281
}
376282
}
377283

378-
.notion-bookmark:hover {
284+
/* .notion-bookmark:hover {
379285
border-image: linear-gradient(90.68deg, #b439df 0.26%, #e5337e 102.37%);
380286
border-image-slice: 1;
381-
}
287+
} */
382288

383289
.notion-block-ab9a258d6cf444f3bb40dc2600feae91 .notion-column {
384290
padding: 0;
@@ -388,6 +294,8 @@
388294
display: none;
389295
}
390296

297+
/* edit */
298+
391299
.notion-collection-header {
392300
display: none;
393301
}
@@ -419,3 +327,30 @@
419327
.title {
420328
font-weight: 700;
421329
}
330+
331+
.notion-title {
332+
display: none;
333+
text-align: start;
334+
letter-spacing: 4px;
335+
text-decoration-line: underline;
336+
text-decoration-style: wavy;
337+
text-underline-offset: 12px;
338+
}
339+
340+
.notion-page-title-text {
341+
font-size: 20px;
342+
font-weight: 700;
343+
}
344+
345+
.notion-page-icon-inline {
346+
min-width: 28px;
347+
max-width: 28px;
348+
min-height: 28px;
349+
max-height: 28px;
350+
display: flex;
351+
}
352+
353+
.notion-page-icon-inline img {
354+
align-self: center;
355+
justify-self: center;
356+
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3605,7 +3605,7 @@ supports-preserve-symlinks-flag@^1.0.0:
36053605
resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz"
36063606
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
36073607

3608-
tar-fs@*, tar-fs@^2.0.0, tar-fs@^2.1.1:
3608+
tar-fs@^2.0.0, tar-fs@^2.1.1:
36093609
version "2.1.1"
36103610
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784"
36113611
integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==

0 commit comments

Comments
 (0)