From 42b33081cdd66a0de7723515577d7b378ad18372 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Sat, 11 Mar 2023 17:26:43 +0100 Subject: [PATCH 1/3] Restore stylelint autofix by removing front matter preprocessor --- .stylelintrc.yml | 3 +-- package-lock.json | 4 +--- package.json | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 10e988fd7..ebe73b45a 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -1,11 +1,10 @@ extends: - stylelint-config-standard - stylelint-config-recommended-scss -processors: - - stylelint-processor-ignore-front-matter ignoreFiles: - node_modules/**/* - vendor/**/* + - assets/style.scss plugins: - stylelint-scss - stylelint-order diff --git a/package-lock.json b/package-lock.json index d8715a348..20b76f69b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "stylelint": "^14.16.1", "stylelint-config-standard-scss": "^6.1.0", "stylelint-order": "^6.0.1", - "stylelint-processor-ignore-front-matter": "^1.0.4", "stylelint-scss": "^4.3.0" } }, @@ -3400,8 +3399,7 @@ } }, "stylelint-processor-ignore-front-matter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stylelint-processor-ignore-front-matter/-/stylelint-processor-ignore-front-matter-1.0.4.tgz", + "version": "https://registry.npmjs.org/stylelint-processor-ignore-front-matter/-/stylelint-processor-ignore-front-matter-1.0.4.tgz", "integrity": "sha512-ku06Dope95ppFwZz3jdbhAbdAx4CcH/OO1DGWHvKfFe7imOT/EBaOp7O/TBVagxKgEzK/zQ07OufOLGYSg6fjQ==", "dev": true, "requires": { diff --git a/package.json b/package.json index 65910bdac..4b5d6fd4d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "stylelint": "^14.16.1", "stylelint-config-standard-scss": "^6.1.0", "stylelint-order": "^6.0.1", - "stylelint-processor-ignore-front-matter": "^1.0.4", "stylelint-scss": "^4.3.0" } } From 1c31d3504a2b0091bb2118709e343f5977ed2d02 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Sat, 11 Mar 2023 17:27:10 +0100 Subject: [PATCH 2/3] Reduce logo size to 60% --- _sass/_home.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_sass/_home.scss b/_sass/_home.scss index 4020ee274..f5ac7e9b2 100644 --- a/_sass/_home.scss +++ b/_sass/_home.scss @@ -14,6 +14,8 @@ top: 50%; left: 50%; + height: 60%; + transform: translate(-50%, -50%); } From 153193149e9a43311c9995748c2d234c923cbf2f Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Sat, 11 Mar 2023 17:34:21 +0100 Subject: [PATCH 3/3] Add padding to normal text --- _layouts/post.html | 4 ++-- _sass/_base.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 2f0ac6241..ab7d75f44 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -18,11 +18,11 @@

{{ page.title }}

{% if page.show_image and page.image %} {{ page.title }} {% endif %} -
+
{{ content }}
{% include footer.html %} - \ No newline at end of file + diff --git a/_sass/_base.scss b/_sass/_base.scss index 20a32f180..2211fc3af 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -35,6 +35,7 @@ body { .normal { max-width: 65ch; margin: 2rem auto; + padding: 0 1rem; } section {