refactor: css cleanup and style tweaks

This commit is contained in:
saicaca
2024-12-02 16:02:39 +08:00
parent 87e83fc601
commit 079abbc965
24 changed files with 676 additions and 751 deletions

80
pnpm-lock.yaml generated
View File

@@ -62,9 +62,6 @@ importers:
astro-icon:
specifier: ^1.1.1
version: 1.1.1
colorjs.io:
specifier: ^0.5.2
version: 0.5.2
hastscript:
specifier: ^9.0.0
version: 9.0.0
@@ -113,9 +110,6 @@ importers:
sanitize-html:
specifier: ^2.13.1
version: 2.13.1
sass:
specifier: ^1.80.4
version: 1.80.4
sharp:
specifier: ^0.33.5
version: 0.33.5
@@ -153,6 +147,12 @@ importers:
'@types/sanitize-html':
specifier: ^2.13.0
version: 2.13.0
postcss-import:
specifier: ^16.1.0
version: 16.1.0(postcss@8.4.47)
postcss-nesting:
specifier: ^13.0.1
version: 13.0.1(postcss@8.4.47)
packages:
@@ -845,6 +845,18 @@ packages:
cpu: [x64]
os: [win32]
'@csstools/selector-resolve-nested@3.0.0':
resolution: {integrity: sha512-ZoK24Yku6VJU1gS79a5PFmC8yn3wIapiKmPgun0hZgEI5AOqgH2kiPRsPz1qkGv4HL+wuDLH83yQyk6inMYrJQ==}
engines: {node: '>=18'}
peerDependencies:
postcss-selector-parser: ^7.0.0
'@csstools/selector-specificity@5.0.0':
resolution: {integrity: sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==}
engines: {node: '>=18'}
peerDependencies:
postcss-selector-parser: ^7.0.0
'@emmetio/abbreviation@2.3.3':
resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==}
@@ -2004,9 +2016,6 @@ packages:
colord@2.9.3:
resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==}
colorjs.io@0.5.2:
resolution: {integrity: sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==}
combined-stream@1.0.8:
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
engines: {node: '>= 0.8'}
@@ -3632,6 +3641,12 @@ packages:
peerDependencies:
postcss: ^8.0.0
postcss-import@16.1.0:
resolution: {integrity: sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==}
engines: {node: '>=18.0.0'}
peerDependencies:
postcss: ^8.0.0
postcss-js@4.0.1:
resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
engines: {node: ^12 || ^14 || >= 16}
@@ -3733,6 +3748,12 @@ packages:
peerDependencies:
postcss: ^8.2.14
postcss-nesting@13.0.1:
resolution: {integrity: sha512-VbqqHkOBOt4Uu3G8Dm8n6lU5+9cJFxiuty9+4rcoyRPO9zZS1JIs6td49VIoix3qYqELHlJIn46Oih9SAKo+yQ==}
engines: {node: '>=18'}
peerDependencies:
postcss: ^8.4
postcss-normalize-charset@5.1.0:
resolution: {integrity: sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==}
engines: {node: ^10 || ^12 || >=14.0}
@@ -3813,6 +3834,10 @@ packages:
resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
engines: {node: '>=4'}
postcss-selector-parser@7.0.0:
resolution: {integrity: sha512-9RbEr1Y7FFfptd/1eEdntyjMwLeghW1bHX9GWjXo19vx4ytPQhANltvVxDggzJl7mnWM+dX28kb6cyS/4iQjlQ==}
engines: {node: '>=4'}
postcss-svgo@5.1.0:
resolution: {integrity: sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==}
engines: {node: ^10 || ^12 || >=14.0}
@@ -5700,6 +5725,14 @@ snapshots:
'@biomejs/cli-win32-x64@1.8.3':
optional: true
'@csstools/selector-resolve-nested@3.0.0(postcss-selector-parser@7.0.0)':
dependencies:
postcss-selector-parser: 7.0.0
'@csstools/selector-specificity@5.0.0(postcss-selector-parser@7.0.0)':
dependencies:
postcss-selector-parser: 7.0.0
'@emmetio/abbreviation@2.3.3':
dependencies:
'@emmetio/scanner': 1.0.4
@@ -6043,6 +6076,7 @@ snapshots:
'@parcel/watcher-win32-arm64': 2.4.1
'@parcel/watcher-win32-ia32': 2.4.1
'@parcel/watcher-win32-x64': 2.4.1
optional: true
'@pkgjs/parseargs@0.11.0':
optional: true
@@ -6968,8 +7002,6 @@ snapshots:
colord@2.9.3: {}
colorjs.io@0.5.2: {}
combined-stream@1.0.8:
dependencies:
delayed-stream: 1.0.0
@@ -7804,7 +7836,8 @@ snapshots:
dependencies:
postcss: 8.4.47
immutable@4.3.7: {}
immutable@4.3.7:
optional: true
import-cwd@3.0.0:
dependencies:
@@ -8666,7 +8699,8 @@ snapshots:
lower-case: 2.0.2
tslib: 2.8.0
node-addon-api@7.1.1: {}
node-addon-api@7.1.1:
optional: true
node-releases@2.0.18: {}
@@ -8927,6 +8961,13 @@ snapshots:
read-cache: 1.0.0
resolve: 1.22.8
postcss-import@16.1.0(postcss@8.4.47):
dependencies:
postcss: 8.4.47
postcss-value-parser: 4.2.0
read-cache: 1.0.0
resolve: 1.22.8
postcss-js@4.0.1(postcss@8.4.47):
dependencies:
camelcase-css: 2.0.1
@@ -9022,6 +9063,13 @@ snapshots:
postcss: 8.4.47
postcss-selector-parser: 6.1.2
postcss-nesting@13.0.1(postcss@8.4.47):
dependencies:
'@csstools/selector-resolve-nested': 3.0.0(postcss-selector-parser@7.0.0)
'@csstools/selector-specificity': 5.0.0(postcss-selector-parser@7.0.0)
postcss: 8.4.47
postcss-selector-parser: 7.0.0
postcss-normalize-charset@5.1.0(postcss@8.4.47):
dependencies:
postcss: 8.4.47
@@ -9095,6 +9143,11 @@ snapshots:
cssesc: 3.0.0
util-deprecate: 1.0.2
postcss-selector-parser@7.0.0:
dependencies:
cssesc: 3.0.0
util-deprecate: 1.0.2
postcss-svgo@5.1.0(postcss@8.4.47):
dependencies:
postcss: 8.4.47
@@ -9516,6 +9569,7 @@ snapshots:
chokidar: 4.0.1
immutable: 4.3.7
source-map-js: 1.2.1
optional: true
sax@1.3.0: {}