Compare commits

..

1 Commits

Author SHA1 Message Date
Wolf Noble dbcce22f12
Merge ea7d67c735 into 82b5481914 2023-12-15 06:55:18 -06:00
13 changed files with 23 additions and 84 deletions

View File

@ -1,7 +1,6 @@
i18n: i18n:
- changed-files: - i18n/*
- any-glob-to-any-file: i18n/*
documentation: documentation:
- changed-files: - "*.md"
- any-glob-to-any-file: '**/*.md' - exampleSite/content/*

View File

@ -12,8 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693)) - Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693))
- Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691)) - Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691))
- Ability to share articles to Telegram and Line ([#719](https://github.com/jpanther/congo/pull/719)) - Ability to share articles to Telegram and Line ([#719](https://github.com/jpanther/congo/pull/719))
- New icons for `line` and `google-scholar` ([#719](https://github.com/jpanther/congo/pull/719), [#755](https://github.com/jpanther/congo/pull/755)) - New icon for `line`([#719](https://github.com/jpanther/congo/pull/719))
- Table of contents will now scroll if taller than the browser height ([#733](https://github.com/jpanther/congo/pull/733))
- Korean translation ([#731](https://github.com/jpanther/congo/pull/731)) - Korean translation ([#731](https://github.com/jpanther/congo/pull/731))
### Changed ### Changed
@ -22,13 +21,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- ⚠️ Author params block in language configuration has been moved to `params.author` ([#704](https://github.com/jpanther/congo/pull/704)) - ⚠️ Author params block in language configuration has been moved to `params.author` ([#704](https://github.com/jpanther/congo/pull/704))
- Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693)) - Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693))
- Upgrade to ChartJS v4.4.1 ([#736](https://github.com/jpanther/congo/pull/736)) - Upgrade to ChartJS v4.4.1 ([#736](https://github.com/jpanther/congo/pull/736))
- Upgrade to Tailwind v3.3.7 ([#737](https://github.com/jpanther/congo/pull/737), [#752](https://github.com/jpanther/congo/pull/752)) - Upgrade to Tailwind v3.3.6 ([#737](https://github.com/jpanther/congo/pull/737))
- Updated Japanese translation ([#750](https://github.com/jpanther/congo/pull/750))
### Fixed ### Fixed
- Hamburger menu is not dismissed when links are clicked ([#705](https://github.com/jpanther/congo/pull/705)) - Hamburger menu is not dismissed when links are clicked ([#705](https://github.com/jpanther/congo/pull/705))
- KaTeX, table and code elements wider than the page are not formatted correctly ([#753](https://github.com/jpanther/congo/pull/753))
### Removed ### Removed

View File

@ -1,6 +1,6 @@
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */ /*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.3.7 | MIT License | https://tailwindcss.com */ /*! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com */
/* /*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@ -1137,12 +1137,6 @@ body:has(#menu-controller:checked) {
/* Table of Contents */ /* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul, .toc ul,
.toc li { .toc li {
list-style-type: none; list-style-type: none;
@ -1188,8 +1182,8 @@ body:has(#menu-controller:checked) {
.copy-button { .copy-button {
visibility: hidden; visibility: hidden;
position: absolute; position: absolute;
top: 0px;
right: 0px; right: 0px;
top: 0px;
z-index: 10; z-index: 10;
width: 5rem; width: 5rem;
cursor: pointer; cursor: pointer;
@ -1237,28 +1231,6 @@ body:has(#menu-controller:checked) {
opacity: 0.05; opacity: 0.05;
} }
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
.katex-display {
overflow: auto hidden;
}
/* Fix long tables breaking out of article on mobile */
table {
display: block;
overflow: auto;
}
/* Fix long inline code sections breaking out of article on mobile */
code {
word-wrap: break-word;
/* All browsers since IE 5.5+ */
overflow-wrap: break-word;
/* Renamed property in CSS3 draft spec */
}
/* -- Chroma Highlight -- */ /* -- Chroma Highlight -- */
/* Background */ /* Background */

View File

@ -59,15 +59,9 @@ body:has(#menu-controller:checked) {
} }
/* Table of Contents */ /* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul, .toc ul,
.toc li { .toc li {
@apply px-0 leading-snug list-none; @apply list-none px-0 leading-snug;
} }
.toc ul ul { .toc ul ul {
@apply ps-4; @apply ps-4;
@ -90,7 +84,7 @@ body:has(#menu-controller:checked) {
@apply visible; @apply visible;
} }
.copy-button { .copy-button {
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200; @apply invisible absolute right-0 top-0 z-10 w-20 cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 py-1 font-mono text-sm text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200;
} }
.copy-button:hover, .copy-button:hover,
.copy-button:focus, .copy-button:focus,
@ -102,40 +96,23 @@ body:has(#menu-controller:checked) {
@apply absolute -z-10 opacity-5; @apply absolute -z-10 opacity-5;
} }
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
.katex-display {
overflow: auto hidden;
}
/* Fix long tables breaking out of article on mobile */
table {
display: block;
overflow: auto;
}
/* Fix long inline code sections breaking out of article on mobile */
code {
word-wrap: break-word; /* All browsers since IE 5.5+ */
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
}
/* -- Chroma Highlight -- */ /* -- Chroma Highlight -- */
/* Background */ /* Background */
.chroma { .chroma {
@apply py-3 rounded-md bg-neutral-50 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200; @apply rounded-md bg-neutral-50 py-3 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
} }
.chroma pre { .chroma pre {
@apply p-0 m-0; @apply m-0 p-0;
} }
/* LineTable */ /* LineTable */
.chroma .lntable { .chroma .lntable {
@apply block w-auto m-0 overflow-auto text-base; @apply m-0 block w-auto overflow-auto text-base;
} }
/* LineNumbersTable */ /* LineNumbersTable */
/* LineNumbers */ /* LineNumbers */
.chroma .lnt, .chroma .lnt,
.chroma .ln { .chroma .ln {
@apply px-2 mr-2 text-neutral-600 dark:text-neutral-300; @apply mr-2 px-2 text-neutral-600 dark:text-neutral-300;
} }
.chroma .lntd { .chroma .lntd {
@apply p-0 align-top; @apply p-0 align-top;
@ -297,7 +274,7 @@ code {
} }
/* CommentHashbang */ /* CommentHashbang */
.chroma .ch { .chroma .ch {
@apply italic font-semibold text-neutral-500 dark:text-neutral-400; @apply font-semibold italic text-neutral-500 dark:text-neutral-400;
} }
/* GenericEmph */ /* GenericEmph */
.chroma .ge { .chroma .ge {

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path fill="currentColor" d="M390.9 298.5c0 0 0 .1 .1 .1c9.2 19.4 14.4 41.1 14.4 64C405.3 445.1 338.5 512 256 512s-149.3-66.9-149.3-149.3c0-22.9 5.2-44.6 14.4-64h0c1.7-3.6 3.6-7.2 5.6-10.7c4.4-7.6 9.4-14.7 15-21.3c27.4-32.6 68.5-53.3 114.4-53.3c33.6 0 64.6 11.1 89.6 29.9c9.1 6.9 17.4 14.7 24.8 23.5c5.6 6.6 10.6 13.8 15 21.3c2 3.4 3.8 7 5.5 10.5zm26.4-18.8c-30.1-58.4-91-98.4-161.3-98.4s-131.2 40-161.3 98.4L0 202.7 256 0 512 202.7l-94.7 77.1z"/></svg>

Before

Width:  |  Height:  |  Size: 689 B

View File

@ -59,5 +59,4 @@ title = "Congo"
# { whatsapp = "https://wa.me/phone-number" }, # { whatsapp = "https://wa.me/phone-number" },
# { x-twitter = "https://twitter.com/username" }, # { x-twitter = "https://twitter.com/username" },
# { youtube = "https://youtube.com/username" }, # { youtube = "https://youtube.com/username" },
# { google-scholar = "https://scholar.google.com/citations?user=user-id"}
# ] # ]

View File

@ -40,7 +40,6 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
| gitlab | {{< icon gitlab >}} | | gitlab | {{< icon gitlab >}} |
| globe | {{< icon globe >}} | | globe | {{< icon globe >}} |
| google | {{< icon google >}} | | google | {{< icon google >}} |
| google-scholar | {{< icon google-scholar >}} |
| hashnode | {{< icon hashnode >}} | | hashnode | {{< icon hashnode >}} |
| instagram | {{< icon instagram >}} | | instagram | {{< icon instagram >}} |
| keybase | {{< icon keybase >}} | | keybase | {{< icon keybase >}} |

View File

@ -40,7 +40,6 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
| gitlab | {{< icon gitlab >}} | | gitlab | {{< icon gitlab >}} |
| globe | {{< icon globe >}} | | globe | {{< icon globe >}} |
| google | {{< icon google >}} | | google | {{< icon google >}} |
| google-scholar | {{< icon google-scholar >}} |
| hashnode | {{< icon hashnode >}} | | hashnode | {{< icon hashnode >}} |
| instagram | {{< icon instagram >}} | | instagram | {{< icon instagram >}} |
| keybase | {{< icon keybase >}} | | keybase | {{< icon keybase >}} |

View File

@ -40,7 +40,6 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
| gitlab | {{< icon gitlab >}} | | gitlab | {{< icon gitlab >}} |
| globe | {{< icon globe >}} | | globe | {{< icon globe >}} |
| google | {{< icon google >}} | | google | {{< icon google >}} |
| google-scholar | {{< icon google-scholar >}} |
| hashnode | {{< icon hashnode >}} | | hashnode | {{< icon hashnode >}} |
| instagram | {{< icon instagram >}} | | instagram | {{< icon instagram >}} |
| keybase | {{< icon keybase >}} | | keybase | {{< icon keybase >}} |

View File

@ -40,7 +40,6 @@ The full list of built-in icons and their corresponding names can referenced bel
| gitlab | {{< icon gitlab >}} | | gitlab | {{< icon gitlab >}} |
| globe | {{< icon globe >}} | | globe | {{< icon globe >}} |
| google | {{< icon google >}} | | google | {{< icon google >}} |
| google-scholar | {{< icon google-scholar >}} |
| hashnode | {{< icon hashnode >}} | | hashnode | {{< icon hashnode >}} |
| instagram | {{< icon instagram >}} | | instagram | {{< icon instagram >}} |
| keybase | {{< icon keybase >}} | | keybase | {{< icon keybase >}} |

View File

@ -47,7 +47,7 @@ sharing:
email: " Eメールを送る" email: " Eメールを送る"
facebook: "Facebookでシェアする" facebook: "Facebookでシェアする"
linkedin: "LinkedInでシェアする" linkedin: "LinkedInでシェアする"
mastodon: "Mastodonに投稿する" # mastodon: "Toot on Mastodon"
pinterest: "Pinterestでピンする" pinterest: "Pinterestでピンする"
reddit: "Redditに投稿する" reddit: "Redditに投稿する"
twitter: "Twitterに投稿する" twitter: "Twitterに投稿する"

14
package-lock.json generated
View File

@ -20,7 +20,7 @@
"prettier-plugin-tailwindcss": "^0.5.9", "prettier-plugin-tailwindcss": "^0.5.9",
"quicklink": "^2.3.0", "quicklink": "^2.3.0",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"tailwindcss": "^3.3.7", "tailwindcss": "^3.3.6",
"vendor-copy": "^3.0.1" "vendor-copy": "^3.0.1"
}, },
"funding": { "funding": {
@ -2896,9 +2896,9 @@
} }
}, },
"node_modules/tailwindcss": { "node_modules/tailwindcss": {
"version": "3.3.7", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz",
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==", "integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@alloc/quick-lru": "^5.2.0", "@alloc/quick-lru": "^5.2.0",
@ -5199,9 +5199,9 @@
"dev": true "dev": true
}, },
"tailwindcss": { "tailwindcss": {
"version": "3.3.7", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz",
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==", "integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@alloc/quick-lru": "^5.2.0", "@alloc/quick-lru": "^5.2.0",

View File

@ -39,7 +39,7 @@
"prettier-plugin-tailwindcss": "^0.5.9", "prettier-plugin-tailwindcss": "^0.5.9",
"quicklink": "^2.3.0", "quicklink": "^2.3.0",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"tailwindcss": "^3.3.7", "tailwindcss": "^3.3.6",
"vendor-copy": "^3.0.1" "vendor-copy": "^3.0.1"
}, },
"vendorCopy": [], "vendorCopy": [],