diff --git a/README.md b/README.md index 0a00070..c58422f 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,5 @@ bun install --frozen-lockfile ### Dev ``` -bun run preview -``` - -### build - -``` -bun run generate +bun run dev ``` diff --git a/assets/scss/_reset.scss b/assets/scss/_reset.scss index d692e68..cccb741 100644 --- a/assets/scss/_reset.scss +++ b/assets/scss/_reset.scss @@ -46,7 +46,7 @@ textarea, select, button { color: #333; - font: normal 12px/1.5 "Pretendard", sans-serif; + font: normal 12px/1.6 "Pretendard", sans-serif; } input, textarea, diff --git a/assets/scss/common.scss b/assets/scss/common.scss index b256e25..1732afb 100644 --- a/assets/scss/common.scss +++ b/assets/scss/common.scss @@ -7,6 +7,11 @@ .container { display: flex; min-height: calc(100vh - 41px); + color: var(--color-text-default); + + a { + color: #0000ff; + } .section { display: flex; @@ -16,14 +21,100 @@ padding: 40px; } - .page-title { - color: var(--color-text-default); - font-size: 22px; + h1 { + font-size: 26px; font-weight: bold; } - .text { - font-size: 14px; + h2 { + font-size: 20px; + font-weight: 500; + } + + h3 { + font-size: 16px; + font-weight: 500; + } + + p { + font-size: 16px; + + code { + padding: 2px 4px; + background: #f1f1f1; + color: #be1b1b; + } + } + + .list { + padding-left: 30px; color: var(--color-text-default); + font-size: 16px; + } + + ul { + list-style: disc; + + li { + list-style: inherit; + } + } + + .--red { + color: var(--color-text-worrying); + } + + pre { + padding: 20px; + color: #adbac7; + background: #22272e; + + .title, + .title.--class, + .title.--class.--inherited, + .title.--function { + color: #dcbdfb; + } + + .attr, + .attribute, + .literal, + .meta, + .number, + .operator, + .selector-attr, + .selector-class, + .selector-id, + .variable { + color: #6cb6ff; + } + + .meta .string, + .regexp, + .string { + color: #96d0ff; + } + + .name, + .quote, + .selector-pseudo, + .selector-tag { + color: #8ddb8c; + } + + .built-in, + .symbol { + color: #f69d50; + } + + .doctag, + .keyword, + .meta .keyword, + .template-tag, + .template-variable, + .type, + .variable.--language { + color: #f47067; + } } } diff --git a/assets/scss/variables.scss b/assets/scss/variables.scss index 9624665..25b762d 100644 --- a/assets/scss/variables.scss +++ b/assets/scss/variables.scss @@ -3,6 +3,7 @@ --color-text-sub: #666; --color-border: #f3f3f3; --color-bg: #f9fafc; + --color-text-worrying: #ff0000; --size-asdie: 200px; } diff --git a/bun.lockb b/bun.lockb index df3c7b0..793c612 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/SiteAside.vue b/components/SiteAside.vue index 97dc0c5..04acd1d 100644 --- a/components/SiteAside.vue +++ b/components/SiteAside.vue @@ -1,7 +1,8 @@ diff --git a/pages/index.vue b/pages/index.vue index 7cdb40c..a6a97a8 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,6 +1,67 @@ diff --git a/pages/method.vue b/pages/method.vue new file mode 100644 index 0000000..1391a8a --- /dev/null +++ b/pages/method.vue @@ -0,0 +1,77 @@ + diff --git a/pages/option.vue b/pages/option.vue new file mode 100644 index 0000000..6d19bec --- /dev/null +++ b/pages/option.vue @@ -0,0 +1,24 @@ +