astro-accelerator 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,72 +1,75 @@
1
- {
2
- "version": "0.3.1",
3
- "author": "Steve Fenton",
4
- "name": "astro-accelerator",
5
- "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
- "keywords": ["astro","themes"],
7
- "type": "module",
8
- "packageManager": "pnpm@8.7.0",
9
- "engines": {
10
- "node": ">=18.14.1",
11
- "pnpm": ">=8.6.12"
12
- },
13
- "homepage": "https://astro.stevefenton.co.uk/",
14
- "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
15
- "license": "(Apache-2.0)",
16
- "repository": {
17
- "url": "https://github.com/Steve-Fenton/astro-accelerator"
18
- },
19
- "scripts": {
20
- "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
21
- "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
22
- "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
23
- "test": "astro build && npx playwright install --with-deps && npx playwright test",
24
- "build": "astro build",
25
- "preview": "astro preview",
26
- "astro": "astro",
27
- "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
28
- },
29
- "dependencies": {
30
- "@astrojs/mdx": "^1.0.0",
31
- "astro": "^3.0.0",
32
- "astro-accelerator-utils": "^0.2.39",
33
- "csv": "^6.3.3",
34
- "hast-util-from-selector": "^3.0.0",
35
- "html-to-text": "^9.0.5",
36
- "keyword-extractor": "^0.0.25",
37
- "remark-directive": "^2.0.1",
38
- "sharp": "^0.32.5"
39
- },
40
- "devDependencies": {
41
- "@playwright/test": "^1.36.2"
42
- },
43
- "files": [
44
- ".npmrc",
45
- "env.d.ts",
46
- "tsconfig.json",
47
- "astro.config.mjs",
48
- "sample/*",
49
- "sample/**/*",
50
- "src/config.ts",
51
- "src/pages/index.md",
52
- "src/pages/search.md",
53
- "src/pages/authors/[[]author[]]/[[]page[]].astro",
54
- "src/pages/articles/[[]page[]].astro",
55
- "src/pages/articles/index.astro",
56
- "src/pages/articles/feed.xml.ts",
57
- "src/pages/category/[[]category[]]/[[]page[]].astro",
58
- "src/pages/category/[[]category[]]/index.astro",
59
- "src/pages/tag/[[]tag[]]/[[]page[]].astro",
60
- "src/pages/tag/[[]tag[]]/index.astro",
61
- "src/pages/search.json.ts",
62
- "src/pages/sitemap.xml.ts",
63
- "src/pages/report/*",
64
- "src/layouts/*",
65
- "src/themes/**/*",
66
- "src/data/*",
67
- "public/img/astro-lighthouse.png",
68
- "public/icons/**/*",
69
- "public/css/**/*",
70
- "public/js/**/*"
71
- ]
72
- }
1
+ {
2
+ "version": "0.3.2",
3
+ "author": "Steve Fenton",
4
+ "name": "astro-accelerator",
5
+ "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
+ "keywords": [
7
+ "astro",
8
+ "themes"
9
+ ],
10
+ "type": "module",
11
+ "packageManager": "pnpm@8.7.0",
12
+ "engines": {
13
+ "node": ">=18.14.1",
14
+ "pnpm": ">=8.6.12"
15
+ },
16
+ "homepage": "https://astro.stevefenton.co.uk/",
17
+ "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
18
+ "license": "(Apache-2.0)",
19
+ "repository": {
20
+ "url": "https://github.com/Steve-Fenton/astro-accelerator"
21
+ },
22
+ "scripts": {
23
+ "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
24
+ "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
25
+ "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
26
+ "test": "astro build && npx playwright install --with-deps && npx playwright test",
27
+ "build": "astro build",
28
+ "preview": "astro preview",
29
+ "astro": "astro",
30
+ "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
31
+ },
32
+ "dependencies": {
33
+ "@astrojs/mdx": "^1.0.0",
34
+ "astro": "^3.0.3",
35
+ "astro-accelerator-utils": "^0.2.39",
36
+ "csv": "^6.3.3",
37
+ "hast-util-from-selector": "^3.0.0",
38
+ "html-to-text": "^9.0.5",
39
+ "keyword-extractor": "^0.0.25",
40
+ "remark-directive": "^2.0.1",
41
+ "sharp": "^0.32.5"
42
+ },
43
+ "devDependencies": {
44
+ "@playwright/test": "^1.37.1"
45
+ },
46
+ "files": [
47
+ ".npmrc",
48
+ "env.d.ts",
49
+ "tsconfig.json",
50
+ "astro.config.mjs",
51
+ "sample/*",
52
+ "sample/**/*",
53
+ "src/config.ts",
54
+ "src/pages/index.md",
55
+ "src/pages/search.md",
56
+ "src/pages/authors/[[]author[]]/[[]page[]].astro",
57
+ "src/pages/articles/[[]page[]].astro",
58
+ "src/pages/articles/index.astro",
59
+ "src/pages/articles/feed.xml.ts",
60
+ "src/pages/category/[[]category[]]/[[]page[]].astro",
61
+ "src/pages/category/[[]category[]]/index.astro",
62
+ "src/pages/tag/[[]tag[]]/[[]page[]].astro",
63
+ "src/pages/tag/[[]tag[]]/index.astro",
64
+ "src/pages/search.json.ts",
65
+ "src/pages/sitemap.xml.ts",
66
+ "src/pages/report/*",
67
+ "src/layouts/*",
68
+ "src/themes/**/*",
69
+ "src/data/*",
70
+ "public/img/astro-lighthouse.png",
71
+ "public/icons/**/*",
72
+ "public/css/**/*",
73
+ "public/js/**/*"
74
+ ]
75
+ }
@@ -688,6 +688,11 @@ form.site-search #site-search-button {
688
688
  max-width: 860px;
689
689
  }
690
690
 
691
+ .search-dialog::backdrop {
692
+ background-color: #000;
693
+ opacity: 0.5;
694
+ }
695
+
691
696
  .search-dialog form {
692
697
  margin-top: 2rem;
693
698
  }
@@ -24,7 +24,7 @@
24
24
  --fore-block: #333;
25
25
  --aft-block: #F3F5FF;
26
26
  --icon-block: #4D71FF;
27
-
27
+
28
28
  --fore-table-head: #FDFDFE;
29
29
  --aft-table-head: #2F3141;
30
30
  --fore-table-row-odd: #333;
@@ -22,7 +22,7 @@ const _ = Lang(lang);
22
22
  // Logic
23
23
  stats.stop();
24
24
  ---
25
- <p>{ _(Translations.footer.copyright) } &copy; { new Date().getFullYear() } { SITE.owner }</p>
25
+ <p>{ _(Translations.footer.copyright) } &copy; { new Date().getFullYear() + ' ' + SITE.owner }</p>
26
26
  <nav aria-label={ _(Translations.aria.back_to_top) }>
27
27
  <a href="#site-top">{ _(Translations.skiplinks.skip_to_top) }</a>
28
28
  </nav>