1
0
Fork 0
mirror of https://github.com/GuerillaStudio/vanillalist.git synced 2024-12-21 08:31:55 +00:00

Update depencies

This commit is contained in:
Tixie 2022-02-09 18:40:14 +01:00
parent d7f89859cb
commit 2a41e11af6
6 changed files with 2207 additions and 2591 deletions

4728
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,33 +9,34 @@
"build:sass": "sass --no-source-map src/sass/style.scss:public/css/style.css",
"build:eleventy": "eleventy",
"postbuild": "postcss public/css/*.css -u autoprefixer cssnano -r --no-map",
"start": "npm-run-all build:sass --parallel watch:*",
"start": "npm run dev",
"dev": "npm-run-all build:sass --parallel watch:*",
"build": "npm-run-all build:sass build:eleventy"
},
"dependencies": {
"@11ty/eleventy": "^0.12.1",
"autoprefixer": "^9.8.6",
"@11ty/eleventy": "^1.0.0",
"autoprefixer": "^10.4.2",
"cross-env": "^7.0.3",
"cssnano": "^5.0.14",
"cssnano": "^5.0.17",
"eleventy-plugin-sharp": "0.0.3",
"npm-run-all": "^4.1.5",
"postcss-cli": "^8.3.1",
"sass": "^1.32.7",
"sifter": "^0.0.5"
"postcss-cli": "^9.1.0",
"sass": "^1.49.7",
"sifter": "^0.5.4"
},
"browserslist": [
"> 1%",
"not dead"
],
"devDependencies": {
"glob": "^7.1.6",
"glob-promise": "^4.0.1",
"postcss": "^8.4.5",
"glob": "^7.2.0",
"glob-promise": "^4.2.2",
"postcss": "^8.4.6",
"postcss-import": "^14.0.2",
"postcss-scss": "^4.0.2",
"stylelint": "^14.2.0",
"stylelint-config-rational-order": "^0.0.4",
"stylelint-config-standard": "^24.0.0",
"postcss-scss": "^4.0.3",
"stylelint": "^14.4.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^25.0.0",
"stylelint-scss": "^4.1.0"
}
}

View file

@ -1,14 +1,16 @@
// --------------------------------------------------------------
// == mixins */
// --------------------------------------------------------------
@use "sass:math";
// -------------------------------------------------------------
// mixins
// -------------------------------------------------------------
@mixin flow($font-size, $bf: $base-font, $lh: $line-height) {
$lh-value: $base-font * $lh;
$coeff: ceil($font-size / $lh-value);
$new-lh: ($lh-value / $font-size) * $coeff;
$margin-bottom: $new-lh / $coeff;
$coeff: math.ceil(math.div($font-size, $lh-value));
$new-lh: math.div($lh-value, $font-size) * $coeff;
$margin-bottom: math.div($new-lh, $coeff);
margin-bottom: $margin-bottom + em;
font-size: $font-size / 10 + rem;
font-size: math.div($font-size, 10) + rem;
line-height: $new-lh;
}

View file

@ -1,15 +1,16 @@
// -----------------------------------------------------------
// == typography
// -----------------------------------------------------------
@use "sass:math";
// -------------------------------------------------------------
// typography
// -------------------------------------------------------------
html {
font-size: 62.5%;
// IE9-11 calculation fix
font-size: calc(1em * .625);
font-size: calc(1em * .625); // IE9-11 calculation fix
}
body {
font-size: $base-font / 10 + em;
font-size: math.div($base-font, 10) + em;
line-height: $line-height;
}

View file

@ -1,6 +1,8 @@
// -----------------------------------------------------------
// == helpers
// -----------------------------------------------------------// screen readers
// -------------------------------------------------------------
// helpers
// -------------------------------------------------------------
// screen readers
// --------------------------------------------------------------
// Hide only visually, but have it available for screen readers (from HTML5 Boilerplate)

View file

@ -66,7 +66,7 @@
.contribute__box:hover .contribute__content .emoji {
display: inline-block;
animation: "emoji-shake";
animation-name: emoji-shake;
animation-duration: 1s;
animation-fill-mode: both;
}