From 54cabb373278960266d86fc15d4d1ede7fd06b27 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Tue, 1 Oct 2019 14:05:37 +0100 Subject: [PATCH 01/12] Fix security vulnerabilities related to dependencies --- gulpfile.js | 4 +- package-lock.json | 588 +++++++++++----------------------------------- package.json | 2 +- 3 files changed, 143 insertions(+), 451 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c03fa1c..532b1b8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,7 @@ var browserSync = require("browser-sync").create(); var sass = require("gulp-sass"); var autoprefixer = require("gulp-autoprefixer"); var sourcemaps = require("gulp-sourcemaps"); -var cssmin = require("gulp-cssmin"); +var cleanCSS = require("gulp-clean-css"); var concat = require("gulp-concat"); var uglify = require("gulp-uglify"); var header = require("gulp-header"); @@ -56,7 +56,7 @@ gulp.task("sass", function() { .pipe(sourcemaps.write()) .pipe(autoprefixer()) .pipe(concat("style.css")) - .pipe(cssmin()) + .pipe(cleanCSS()) .pipe(header(banner, { pkg: pkg })) .pipe(gulp.dest(themeDir)); }); diff --git a/package-lock.json b/package-lock.json index d46385c..9565399 100644 --- a/package-lock.json +++ b/package-lock.json @@ -390,9 +390,9 @@ "dev": true }, "async-limiter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", "dev": true }, "async-settle": { @@ -453,9 +453,9 @@ }, "dependencies": { "is-buffer": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", + "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", "dev": true } } @@ -874,33 +874,12 @@ } }, "clean-css": { - "version": "3.4.28", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-3.4.28.tgz", - "integrity": "sha1-vxlF6C/ICPVWlebd6uwBQA79A/8=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", "dev": true, "requires": { - "commander": "2.8.x", - "source-map": "0.4.x" - }, - "dependencies": { - "commander": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", - "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", - "dev": true, - "requires": { - "graceful-readlink": ">= 1.0.0" - } - }, - "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "dev": true, - "requires": { - "amdefine": ">=0.0.4" - } - } + "source-map": "~0.6.0" } }, "clipboard": { @@ -995,9 +974,9 @@ } }, "commander": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", - "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==", + "version": "2.20.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.1.tgz", + "integrity": "sha512-cCuLsMhJeWQ/ZpsFTbE765kvVfoeSddc4nU3up4fV+fDBcfUXnbITJ+JzhkdjzOqhURjZgujxaioam4RM9yGUg==", "dev": true }, "component-bind": { @@ -1176,12 +1155,20 @@ "dev": true }, "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { - "ms": "2.0.0" + "ms": "^2.1.1" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } } }, "debug-fabulous": { @@ -1480,6 +1467,28 @@ "ws": "~3.3.1" }, "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "engine.io-parser": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, "ws": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", @@ -1494,15 +1503,15 @@ } }, "engine.io-client": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.3.2.tgz", - "integrity": "sha512-y0CPINnhMvPuwtqXfsGuWE8BB66+B6wTtCofQDRecMQPYX3MYUZXFNKDhdrSe3EVjgOu4V3rxdeqN/Tr91IgbQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.0.tgz", + "integrity": "sha512-a4J5QO2k99CM2a0b12IznnyQndoEvtA4UAldhGzKqnHf42I3Qs2W5SPnDvatZRcMaNZs4IevVicBPayxYt6FwA==", "dev": true, "requires": { "component-emitter": "1.2.1", "component-inherit": "0.0.3", - "debug": "~3.1.0", - "engine.io-parser": "~2.1.1", + "debug": "~4.1.0", + "engine.io-parser": "~2.2.0", "has-cors": "1.1.0", "indexof": "0.0.1", "parseqs": "0.0.5", @@ -1513,9 +1522,9 @@ } }, "engine.io-parser": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", - "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.0.tgz", + "integrity": "sha512-6I3qD9iUxotsC5HEMuuGsKA0cXerGz+4uGcXQEkfBidgKf0amsjrrtwcbwK/nzpZBxclXlV7gGl9dgWvu4LF6w==", "dev": true, "requires": { "after": "0.8.2", @@ -1796,12 +1805,6 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, - "filesize": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-2.0.4.tgz", - "integrity": "sha1-eAWUHGD83+Y/RtfqNYxZreEcEyU=", - "dev": true - }, "fill-range": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", @@ -1931,6 +1934,17 @@ "dev": true, "requires": { "debug": "=3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "for-in": { @@ -2746,12 +2760,6 @@ "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", "dev": true }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true - }, "gulp": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/gulp/-/gulp-4.0.2.tgz", @@ -2898,6 +2906,29 @@ "vinyl-sourcemaps-apply": "^0.2.0" } }, + "gulp-clean-css": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/gulp-clean-css/-/gulp-clean-css-4.2.0.tgz", + "integrity": "sha512-r4zQsSOAK2UYUL/ipkAVCTRg/2CLZ2A+oPVORopBximRksJ6qy3EX1KGrIWT4ZrHxz3Hlobb1yyJtqiut7DNjA==", + "dev": true, + "requires": { + "clean-css": "4.2.1", + "plugin-error": "1.0.1", + "through2": "3.0.1", + "vinyl-sourcemaps-apply": "0.2.1" + }, + "dependencies": { + "through2": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", + "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "dev": true, + "requires": { + "readable-stream": "2 || 3" + } + } + } + }, "gulp-concat": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/gulp-concat/-/gulp-concat-2.6.1.tgz", @@ -2943,212 +2974,6 @@ } } }, - "gulp-cssmin": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/gulp-cssmin/-/gulp-cssmin-0.2.0.tgz", - "integrity": "sha1-h6s8ad05sg1dljVcZQStakR7HnI=", - "dev": true, - "requires": { - "clean-css": "^3.1.9", - "filesize": "~2.0.0", - "graceful-fs": "~4.1.4", - "gulp-rename": "~1.1.0", - "gulp-util": "~2.2.0", - "map-stream": "0.0.4", - "temp-write": "~0.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz", - "integrity": "sha1-DY6UaWej2BQ/k+JOKYUl/BsiNfk=", - "dev": true - }, - "ansi-styles": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz", - "integrity": "sha1-6uy/Zs1waIJ2Cy9GkVgrj1XXp94=", - "dev": true - }, - "chalk": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz", - "integrity": "sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ=", - "dev": true, - "requires": { - "ansi-styles": "^1.1.0", - "escape-string-regexp": "^1.0.0", - "has-ansi": "^0.1.0", - "strip-ansi": "^0.3.0", - "supports-color": "^0.2.0" - } - }, - "dateformat": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", - "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", - "dev": true, - "requires": { - "get-stdin": "^4.0.1", - "meow": "^3.3.0" - } - }, - "gulp-util": { - "version": "2.2.20", - "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-2.2.20.tgz", - "integrity": "sha1-1xRuVyiRC9jwR6awseVJvCLb1kw=", - "dev": true, - "requires": { - "chalk": "^0.5.0", - "dateformat": "^1.0.7-1.2.3", - "lodash._reinterpolate": "^2.4.1", - "lodash.template": "^2.4.1", - "minimist": "^0.2.0", - "multipipe": "^0.1.0", - "through2": "^0.5.0", - "vinyl": "^0.2.1" - } - }, - "has-ansi": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz", - "integrity": "sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=", - "dev": true, - "requires": { - "ansi-regex": "^0.2.0" - } - }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", - "dev": true - }, - "lodash._reinterpolate": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-2.4.1.tgz", - "integrity": "sha1-TxInqlqHEfxjL1sHofRgequLMiI=", - "dev": true - }, - "lodash.escape": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-2.4.1.tgz", - "integrity": "sha1-LOEsXghNsKV92l5dHu659dF1o7Q=", - "dev": true, - "requires": { - "lodash._escapehtmlchar": "~2.4.1", - "lodash._reunescapedhtml": "~2.4.1", - "lodash.keys": "~2.4.1" - } - }, - "lodash.keys": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz", - "integrity": "sha1-SN6kbfj/djKxDXBrissmWR4rNyc=", - "dev": true, - "requires": { - "lodash._isnative": "~2.4.1", - "lodash._shimkeys": "~2.4.1", - "lodash.isobject": "~2.4.1" - } - }, - "lodash.template": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-2.4.1.tgz", - "integrity": "sha1-nmEQB+32KRKal0qzxIuBez4c8g0=", - "dev": true, - "requires": { - "lodash._escapestringchar": "~2.4.1", - "lodash._reinterpolate": "~2.4.1", - "lodash.defaults": "~2.4.1", - "lodash.escape": "~2.4.1", - "lodash.keys": "~2.4.1", - "lodash.templatesettings": "~2.4.1", - "lodash.values": "~2.4.1" - } - }, - "lodash.templatesettings": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-2.4.1.tgz", - "integrity": "sha1-6nbHXRHrhtTb6JqDiTu4YZKaxpk=", - "dev": true, - "requires": { - "lodash._reinterpolate": "~2.4.1", - "lodash.escape": "~2.4.1" - } - }, - "map-stream": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.4.tgz", - "integrity": "sha1-XsbekCE+9sey65Nn6a3o2k79tos=", - "dev": true - }, - "minimist": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.2.0.tgz", - "integrity": "sha1-Tf/lJdriuGTGbC4jxicdev3s784=", - "dev": true - }, - "readable-stream": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true - }, - "strip-ansi": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz", - "integrity": "sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=", - "dev": true, - "requires": { - "ansi-regex": "^0.2.1" - } - }, - "supports-color": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz", - "integrity": "sha1-2S3iaU6z9nMjlz1649i1W0wiGQo=", - "dev": true - }, - "through2": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.5.1.tgz", - "integrity": "sha1-390BLrnHAOIyP9M084rGIqs3Lac=", - "dev": true, - "requires": { - "readable-stream": "~1.0.17", - "xtend": "~3.0.0" - } - }, - "vinyl": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.2.3.tgz", - "integrity": "sha1-vKk4IJWC7FpJrVOKAPofEl5RMlI=", - "dev": true, - "requires": { - "clone-stats": "~0.0.1" - } - }, - "xtend": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-3.0.0.tgz", - "integrity": "sha1-XM50B7r2Qsunvs2laBEcST9ZZlo=", - "dev": true - } - } - }, "gulp-header": { "version": "1.8.12", "resolved": "https://registry.npmjs.org/gulp-header/-/gulp-header-1.8.12.tgz", @@ -3159,15 +2984,6 @@ "through2": "^2.0.0" } }, - "gulp-rename": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-1.1.0.tgz", - "integrity": "sha1-kwkKqvTThsB/IFOKaIjxXvunJ6E=", - "dev": true, - "requires": { - "map-stream": ">=0.0.4" - } - }, "gulp-sass": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/gulp-sass/-/gulp-sass-2.3.2.tgz", @@ -3956,21 +3772,6 @@ "yargs": "6.6.0" }, "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, "yargs": { "version": "6.6.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", @@ -3995,9 +3796,9 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true }, "lodash._basecopy": { @@ -4015,49 +3816,16 @@ "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz", "integrity": "sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc=" }, - "lodash._escapehtmlchar": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._escapehtmlchar/-/lodash._escapehtmlchar-2.4.1.tgz", - "integrity": "sha1-32fDu2t+jh6DGrSL+geVuSr+iZ0=", - "dev": true, - "requires": { - "lodash._htmlescapes": "~2.4.1" - } - }, - "lodash._escapestringchar": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._escapestringchar/-/lodash._escapestringchar-2.4.1.tgz", - "integrity": "sha1-7P4iYYoq3lC/7qQ5N+Ud9m8O23I=", - "dev": true - }, "lodash._getnative": { "version": "3.9.1", "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=" }, - "lodash._htmlescapes": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._htmlescapes/-/lodash._htmlescapes-2.4.1.tgz", - "integrity": "sha1-MtFL8IRLbeb4tioFG09nwii2JMs=", - "dev": true - }, "lodash._isiterateecall": { "version": "3.0.9", "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=" }, - "lodash._isnative": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._isnative/-/lodash._isnative-2.4.1.tgz", - "integrity": "sha1-PqZAS3hKe+g2x7V1gOHN95sUgyw=", - "dev": true - }, - "lodash._objecttypes": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz", - "integrity": "sha1-fAt/admKH3ZSn4kLDNsbTf7BHBE=", - "dev": true - }, "lodash._reescape": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz", @@ -4073,43 +3841,11 @@ "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" }, - "lodash._reunescapedhtml": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._reunescapedhtml/-/lodash._reunescapedhtml-2.4.1.tgz", - "integrity": "sha1-dHxPxAED6zu4oJduVx96JlnpO6c=", - "dev": true, - "requires": { - "lodash._htmlescapes": "~2.4.1", - "lodash.keys": "~2.4.1" - }, - "dependencies": { - "lodash.keys": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz", - "integrity": "sha1-SN6kbfj/djKxDXBrissmWR4rNyc=", - "dev": true, - "requires": { - "lodash._isnative": "~2.4.1", - "lodash._shimkeys": "~2.4.1", - "lodash.isobject": "~2.4.1" - } - } - } - }, "lodash._root": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz", "integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=" }, - "lodash._shimkeys": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash._shimkeys/-/lodash._shimkeys-2.4.1.tgz", - "integrity": "sha1-bpzJZm/wgfC1psl4uD4kLmlJ0gM=", - "dev": true, - "requires": { - "lodash._objecttypes": "~2.4.1" - } - }, "lodash.assign": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", @@ -4122,29 +3858,6 @@ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", "dev": true }, - "lodash.defaults": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-2.4.1.tgz", - "integrity": "sha1-p+iIXwXmiFEUS24SqPNngCa8TFQ=", - "dev": true, - "requires": { - "lodash._objecttypes": "~2.4.1", - "lodash.keys": "~2.4.1" - }, - "dependencies": { - "lodash.keys": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz", - "integrity": "sha1-SN6kbfj/djKxDXBrissmWR4rNyc=", - "dev": true, - "requires": { - "lodash._isnative": "~2.4.1", - "lodash._shimkeys": "~2.4.1", - "lodash.isobject": "~2.4.1" - } - } - } - }, "lodash.escape": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz", @@ -4169,15 +3882,6 @@ "integrity": "sha1-+4m2WpqAKBgz8LdHizpRBPiY67M=", "dev": true }, - "lodash.isobject": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-2.4.1.tgz", - "integrity": "sha1-Wi5H/mmVPx7mMafrof5k0tBlWPU=", - "dev": true, - "requires": { - "lodash._objecttypes": "~2.4.1" - } - }, "lodash.keys": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", @@ -4210,28 +3914,6 @@ "lodash._reinterpolate": "~3.0.0" } }, - "lodash.values": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.values/-/lodash.values-2.4.1.tgz", - "integrity": "sha1-q/UUQ2s8twUAFieXjLzzCxKA7qQ=", - "dev": true, - "requires": { - "lodash.keys": "~2.4.1" - }, - "dependencies": { - "lodash.keys": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz", - "integrity": "sha1-SN6kbfj/djKxDXBrissmWR4rNyc=", - "dev": true, - "requires": { - "lodash._isnative": "~2.4.1", - "lodash._shimkeys": "~2.4.1", - "lodash.isobject": "~2.4.1" - } - } - } - }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -4975,6 +4657,18 @@ "pinkie": "^2.0.0" } }, + "plugin-error": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", + "integrity": "sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1", + "arr-diff": "^4.0.0", + "arr-union": "^3.1.0", + "extend-shallow": "^3.0.2" + } + }, "portscanner": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/portscanner/-/portscanner-2.1.1.tgz", @@ -5810,6 +5504,15 @@ "socket.io-parser": "~3.2.0" }, "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "engine.io-client": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", @@ -5829,6 +5532,19 @@ "yeast": "0.1.2" } }, + "engine.io-parser": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, "isarray": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", @@ -5888,17 +5604,17 @@ "dev": true }, "socket.io-client": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.2.0.tgz", - "integrity": "sha512-56ZrkTDbdTLmBIyfFYesgOxsjcLnwAKoN4CiPyTVkMQj3zTUh0QAx3GbvIvLpFEOvQWu92yyWICxB0u7wkVbYA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.3.0.tgz", + "integrity": "sha512-cEQQf24gET3rfhxZ2jJ5xzAOo/xhZwK+mOqtGRg5IowZsMgwvHwnf/mCRapAAkadhM26y+iydgwsXGObBB5ZdA==", "dev": true, "requires": { "backo2": "1.0.2", "base64-arraybuffer": "0.1.5", "component-bind": "1.0.0", "component-emitter": "1.2.1", - "debug": "~3.1.0", - "engine.io-client": "~3.3.1", + "debug": "~4.1.0", + "engine.io-client": "~3.4.0", "has-binary2": "~1.0.2", "has-cors": "1.1.0", "indexof": "0.0.1", @@ -5920,6 +5636,15 @@ "isarray": "2.0.1" }, "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "isarray": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", @@ -6201,33 +5926,6 @@ "inherits": "2" } }, - "temp-write": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-0.1.1.tgz", - "integrity": "sha1-C2Rng43Xf79/YqDJPah5cy/9qTI=", - "dev": true, - "requires": { - "graceful-fs": "~2.0.0", - "tempfile": "~0.1.2" - }, - "dependencies": { - "graceful-fs": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz", - "integrity": "sha1-fNLNsiiko/Nule+mzBQt59GhNtA=", - "dev": true - } - } - }, - "tempfile": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-0.1.3.tgz", - "integrity": "sha1-fWtxAEcznTn4RzJ6BW2t8YMQMBA=", - "dev": true, - "requires": { - "uuid": "~1.4.0" - } - }, "tfunk": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/tfunk/-/tfunk-3.1.0.tgz", @@ -6619,12 +6317,6 @@ "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", "dev": true }, - "uuid": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-1.4.2.tgz", - "integrity": "sha1-RTAZ9oaWam34PNxSROfJkOzDMvw=", - "dev": true - }, "v8flags": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz", diff --git a/package.json b/package.json index 23d84c1..d0d95d1 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "gulp": "^4.0.2", "gulp-add-src": "^1.0.0", "gulp-autoprefixer": "^3.1.0", + "gulp-clean-css": "^4.2.0", "gulp-concat": "^2.6.0", - "gulp-cssmin": "^0.2.0", "gulp-sass": "^2.2.0", "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "^1.5.3", From 8efbb4e395817362cfbc102aadabe1e40da755e9 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Tue, 1 Oct 2019 14:08:24 +0100 Subject: [PATCH 02/12] Remove aria-role="button" from links Fixes #76 --- notebook-ph/functions.php | 1 - notebook-ph/header.php | 6 +++--- notebook-ph/index.php | 4 ++-- notebook-ph/page-templates/no-title.php | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/notebook-ph/functions.php b/notebook-ph/functions.php index 73f3076..d34749e 100644 --- a/notebook-ph/functions.php +++ b/notebook-ph/functions.php @@ -530,7 +530,6 @@ function nph_get_list($posts = false) {
  • diff --git a/notebook-ph/header.php b/notebook-ph/header.php index 5d8ca9d..b754adc 100644 --- a/notebook-ph/header.php +++ b/notebook-ph/header.php @@ -17,9 +17,9 @@
    - + - +

    @@ -81,7 +81,7 @@ ?>

    - + diff --git a/notebook-ph/index.php b/notebook-ph/index.php index 31b4070..b7053ef 100644 --- a/notebook-ph/index.php +++ b/notebook-ph/index.php @@ -21,7 +21,7 @@
    @@ -73,7 +73,7 @@ - + diff --git a/notebook-ph/page-templates/no-title.php b/notebook-ph/page-templates/no-title.php index 691f6a4..0055d6b 100644 --- a/notebook-ph/page-templates/no-title.php +++ b/notebook-ph/page-templates/no-title.php @@ -27,7 +27,7 @@ - + From 106ce29b53d42a2d74eb34d7db4a959894fffabd Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Tue, 1 Oct 2019 14:11:21 +0100 Subject: [PATCH 03/12] Add font-display swap Fix #73 --- css/_fonts.scss | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/css/_fonts.scss b/css/_fonts.scss index c5d9630..a8db7a6 100644 --- a/css/_fonts.scss +++ b/css/_fonts.scss @@ -1,30 +1,39 @@ @font-face { - font-family: 'IBMPlexMono'; + font-display: swap; + font-family: "IBMPlexMono"; font-weight: 400; - src: url('fonts/IBMPlexMono-Regular.eot'); /* IE9 Compat Modes */ - src: url('fonts/IBMPlexMono-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('fonts/IBMPlexMono-Regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('fonts/IBMPlexMono-Regular.woff') format('woff'), /* Pretty Modern Browsers */ - url('fonts/IBMPlexMono-Regular.ttf') format('truetype'); /* Safari, Android, iOS */ + src: url("fonts/IBMPlexMono-Regular.eot"); /* IE9 Compat Modes */ + src: url("fonts/IBMPlexMono-Regular.eot?#iefix") format("embedded-opentype"), + /* IE6-IE8 */ url("fonts/IBMPlexMono-Regular.woff2") format("woff2"), + /* Super Modern Browsers */ url("fonts/IBMPlexMono-Regular.woff") + format("woff"), + /* Pretty Modern Browsers */ url("fonts/IBMPlexMono-Regular.ttf") + format("truetype"); /* Safari, Android, iOS */ } @font-face { - font-family: 'IBMPlexMono'; + font-display: swap; + font-family: "IBMPlexMono"; font-weight: 700; - src: url('fonts/IBMPlexMono-Bold.eot'); /* IE9 Compat Modes */ - src: url('fonts/IBMPlexMono-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('fonts/IBMPlexMono-Bold.woff2') format('woff2'), /* Super Modern Browsers */ - url('fonts/IBMPlexMono-Bold.woff') format('woff'), /* Pretty Modern Browsers */ - url('fonts/IBMPlexMono-Bold.ttf') format('truetype'); /* Safari, Android, iOS */ + src: url("fonts/IBMPlexMono-Bold.eot"); /* IE9 Compat Modes */ + src: url("fonts/IBMPlexMono-Bold.eot?#iefix") format("embedded-opentype"), + /* IE6-IE8 */ url("fonts/IBMPlexMono-Bold.woff2") format("woff2"), + /* Super Modern Browsers */ url("fonts/IBMPlexMono-Bold.woff") + format("woff"), + /* Pretty Modern Browsers */ url("fonts/IBMPlexMono-Bold.ttf") + format("truetype"); /* Safari, Android, iOS */ } @font-face { - font-family: 'IBMPlexMono'; + font-display: swap; + font-family: "IBMPlexMono"; font-weight: 400; font-style: italic; - src: url('fonts/IBMPlexMono-Italic.eot'); /* IE9 Compat Modes */ - src: url('fonts/IBMPlexMono-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('fonts/IBMPlexMono-Italic.woff2') format('woff2'), /* Super Modern Browsers */ - url('fonts/IBMPlexMono-Italic.woff') format('woff'), /* Pretty Modern Browsers */ - url('fonts/IBMPlexMono-Italic.ttf') format('truetype'); /* Safari, Android, iOS */ + src: url("fonts/IBMPlexMono-Italic.eot"); /* IE9 Compat Modes */ + src: url("fonts/IBMPlexMono-Italic.eot?#iefix") format("embedded-opentype"), + /* IE6-IE8 */ url("fonts/IBMPlexMono-Italic.woff2") format("woff2"), + /* Super Modern Browsers */ url("fonts/IBMPlexMono-Italic.woff") + format("woff"), + /* Pretty Modern Browsers */ url("fonts/IBMPlexMono-Italic.ttf") + format("truetype"); /* Safari, Android, iOS */ } From 725d9cc1e212c80547a10220e83249b786dfc5db Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 11:13:20 +0100 Subject: [PATCH 04/12] Allow rsd_link in head This was screwing over pingbacks / Webmentions --- notebook-ph/library/cleanup.php | 1 - 1 file changed, 1 deletion(-) diff --git a/notebook-ph/library/cleanup.php b/notebook-ph/library/cleanup.php index f149499..9bc9edc 100644 --- a/notebook-ph/library/cleanup.php +++ b/notebook-ph/library/cleanup.php @@ -12,7 +12,6 @@ function addBackPostFeed() { } function cleanup_head() { - remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'feed_links_extra', 3); remove_action('wp_head', 'feed_links', 2); add_action('wp_head', 'addBackPostFeed'); From 873622634fee4dcd83bb10d483327fc26147f3b5 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 11:15:35 +0100 Subject: [PATCH 05/12] =?UTF-8?q?Don=E2=80=99t=20alter=20feed=20link=20beh?= =?UTF-8?q?aviour=20in=20head?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should be done on a site-by-site basis w/ plugins or child themes, not at the theme level --- notebook-ph/library/cleanup.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/notebook-ph/library/cleanup.php b/notebook-ph/library/cleanup.php index 9bc9edc..168761b 100644 --- a/notebook-ph/library/cleanup.php +++ b/notebook-ph/library/cleanup.php @@ -7,14 +7,7 @@ function start_cleanup() { add_filter('gallery_style', 'gallery_style'); } -function addBackPostFeed() { - echo ''; -} - function cleanup_head() { - remove_action('wp_head', 'feed_links_extra', 3); - remove_action('wp_head', 'feed_links', 2); - add_action('wp_head', 'addBackPostFeed'); remove_action('wp_head', 'wlwmanifest_link'); remove_action('wp_head', 'index_rel_link'); remove_action('wp_head', 'parent_post_rel_link', 10, 0); From 0e08357f4aa3066de4c91a65835f44ffbd29a3f1 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 11:29:07 +0100 Subject: [PATCH 06/12] =?UTF-8?q?Don=E2=80=99t=20remove=20wp=20generator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should be done at the plugin level, for example Wordfence --- notebook-ph/library/cleanup.php | 1 - 1 file changed, 1 deletion(-) diff --git a/notebook-ph/library/cleanup.php b/notebook-ph/library/cleanup.php index 168761b..ab6c799 100644 --- a/notebook-ph/library/cleanup.php +++ b/notebook-ph/library/cleanup.php @@ -15,7 +15,6 @@ function cleanup_head() { remove_action('wp_head', 'rel_canonical', 10, 0); remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0); remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); - remove_action('wp_head', 'wp_generator'); add_filter('style_loader_src', 'alter_wp_ver_css_js', 9999); add_filter('script_loader_src', 'alter_wp_ver_css_js', 9999); } From 6a547c764dd2b92a894f45ae9bcd8fd6af432e6d Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:09:07 +0100 Subject: [PATCH 07/12] Adjust head cleanup --- notebook-ph/library/cleanup.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/notebook-ph/library/cleanup.php b/notebook-ph/library/cleanup.php index ab6c799..3d905e9 100644 --- a/notebook-ph/library/cleanup.php +++ b/notebook-ph/library/cleanup.php @@ -8,13 +8,9 @@ function start_cleanup() { } function cleanup_head() { + remove_action ('wp_head', 'rsd_link'); remove_action('wp_head', 'wlwmanifest_link'); - remove_action('wp_head', 'index_rel_link'); - remove_action('wp_head', 'parent_post_rel_link', 10, 0); - remove_action('wp_head', 'start_post_rel_link', 10, 0); - remove_action('wp_head', 'rel_canonical', 10, 0); remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0); - remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); add_filter('style_loader_src', 'alter_wp_ver_css_js', 9999); add_filter('script_loader_src', 'alter_wp_ver_css_js', 9999); } From 007aa52069020dac988313b4db61c2847f4e675d Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:09:17 +0100 Subject: [PATCH 08/12] Add indieweb class --- notebook-ph/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook-ph/index.php b/notebook-ph/index.php index b7053ef..a609d75 100644 --- a/notebook-ph/index.php +++ b/notebook-ph/index.php @@ -32,7 +32,7 @@

    -
    +
    From 71a83d8c33641550a1f0dbb64fa259d965bec096 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:11:27 +0100 Subject: [PATCH 09/12] Adjust typography styles --- css/_typography.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/_typography.scss b/css/_typography.scss index 8321f39..0022750 100644 --- a/css/_typography.scss +++ b/css/_typography.scss @@ -166,6 +166,10 @@ white-space: pre-wrap; } +.prose pre.nowrap code { + white-space: inherit; +} + .prose table { display: block; max-width: 100%; From f6d3c23ab6766820191c6437b99536aa3cb4367f Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:18:52 +0100 Subject: [PATCH 10/12] Add print styles See #68 --- css/_print.scss | 134 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 css/_print.scss diff --git a/css/_print.scss b/css/_print.scss new file mode 100644 index 0000000..318a271 --- /dev/null +++ b/css/_print.scss @@ -0,0 +1,134 @@ +@media print { + @page { + size: A4; + margin: 0; + } + * { + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + } + html, + body { + font-size: 10px; + background: #ffffff; + overflow: visible; + } + .header { + position: static; + } + .header__breadcrumb { + font-weight: bold; + } + .nav-icon { + display: none; + } + .article { + padding-top: 15mm; + } + .post__footer { + padding-bottom: 15mm; + } + .post__time { + margin-bottom: 1.5rem; + } + .post__time .has-bg { + background: #ffffff; + color: #000000; + height: auto; + padding: 0; + } + .post__header, + .prose, + .prose h1, + .prose h2, + .prose h3, + .prose h4, + .prose h5 .prose h6 { + break-after: avoid-page; + } + .prose img:not(.emoji) { + height: auto !important; + max-height: 5cm; + max-width: 5cm; + width: auto !important; + } + .prose .thumbs img { + max-width: 100%; + } + .prose img.alignleft, + .prose p .alignleft { + margin-left: 0; + padding-left: 0; + } + .prose img.alignright, + .prose p .alignright { + margin-right: 0; + padding-right: 0; + } + .article .prose blockquote, + .rainbow .article .prose blockquote { + border: 0.25mm solid #000000; + } + .prose hr { + height: 0.25mm; + } + .prose hr, + .rainbow .prose hr { + background-color: #000000; + color: #000000; + } + .rainbow .post__author a:active, + .rainbow .post__author a:focus, + .rainbow .post__author a:hover, + .rainbow .post__tag a:active, + .rainbow .post__tag a:focus, + .rainbow .post__tag a:hover, + .rainbow .prose a, + .rainbow .prose del, + .rainbow .prose ins, + .rainbow .prose s, + .rainbow .prose strike, + .rainbow .termindex a:active, + .rainbow .termindex a:focus, + .rainbow .termindex a:hover { + text-decoration-color: #000000; + } + .termindex { + margin-left: auto; + margin-right: auto; + max-width: 40rem; + } + .post-index__post-item { + border-top: 0.25mm solid #000000; + } + .post-index__post-item:last-child { + border-bottom: 0.25mm solid #000000; + } + .post-item__link { + background: #ffffff; + color: #000000; + height: 32px; + padding: 0; + } + .post-item__image { + mix-blend-mode: normal; + } + .post-item__image { + height: 24px; + } + .pagination .post-index, + .rpbt_shortcode .post-index { + padding-bottom: 0; + } + .pagination { + margin-bottom: 1cm; + padding-top: 1cm; + } + .infinite-loading, + .infinite-end { + display: none !important; + } + .pagination { + display: block !important; + } +} From 765c890e6c2caa6d162b5aa31f861d1da4138a96 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:19:10 +0100 Subject: [PATCH 11/12] Use prose styles in smallprint in menu --- css/_components.site-header.scss | 4 ++-- notebook-ph/header.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/_components.site-header.scss b/css/_components.site-header.scss index ee98343..23011a4 100644 --- a/css/_components.site-header.scss +++ b/css/_components.site-header.scss @@ -54,8 +54,8 @@ body.is-not-tabbing.is-header-open { margin-bottom: 1em; } -.smallprint a:hover { - text-decoration: underline; +.smallprint a { + text-decoration-color: $grey !important; } .menu-header-container { diff --git a/notebook-ph/header.php b/notebook-ph/header.php index b754adc..c5d1bbf 100644 --- a/notebook-ph/header.php +++ b/notebook-ph/header.php @@ -63,7 +63,7 @@ -
    +
    From 60a8ea2c8e7e492e2220a2a97ca8986ba0fdacc0 Mon Sep 17 00:00:00 2001 From: Piper Haywood Date: Wed, 2 Oct 2019 12:47:39 +0100 Subject: [PATCH 12/12] v2.1.3 --- notebook-ph/style.css | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notebook-ph/style.css b/notebook-ph/style.css index da9aabf..62edac5 100644 --- a/notebook-ph/style.css +++ b/notebook-ph/style.css @@ -3,8 +3,8 @@ * Author: Piper Haywood * Author URI: https://piperhaywood.com * Description: A simple WordPress theme for keeping notes. - * Version: 2.1.2 + * Version: 2.1.3 * License: GPL-3.0 * Textdomain: notebook-ph */ -@charset "UTF-8";img,svg{height:auto;vertical-align:middle;display:inline-block}iframe,img{max-width:100%}.menu-header-container ul,.post-index{list-style-type:none}@font-face{font-family:IBMPlexMono;font-weight:400;src:url(fonts/IBMPlexMono-Regular.eot);src:url(fonts/IBMPlexMono-Regular.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Regular.woff2) format("woff2"),url(fonts/IBMPlexMono-Regular.woff) format("woff"),url(fonts/IBMPlexMono-Regular.ttf) format("truetype")}@font-face{font-family:IBMPlexMono;font-weight:700;src:url(fonts/IBMPlexMono-Bold.eot);src:url(fonts/IBMPlexMono-Bold.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Bold.woff2) format("woff2"),url(fonts/IBMPlexMono-Bold.woff) format("woff"),url(fonts/IBMPlexMono-Bold.ttf) format("truetype")}@font-face{font-family:IBMPlexMono;font-weight:400;font-style:italic;src:url(fonts/IBMPlexMono-Italic.eot);src:url(fonts/IBMPlexMono-Italic.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Italic.woff2) format("woff2"),url(fonts/IBMPlexMono-Italic.woff) format("woff"),url(fonts/IBMPlexMono-Italic.ttf) format("truetype")}:root{--tag-color:#000000;--color:#000000;--gutter:0.5rem}html{box-sizing:border-box;-webkit-text-size-adjust:100%;font-size:87.5%;height:100%}button,input,select,textarea{font-size:16px}@media (min-width:500px){:root{--gutter:1rem}button,html,input,select,textarea{font-size:100%}}*,::after,::before{box-sizing:inherit;margin:0}body{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:400;line-height:1.5;color:#000;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}.pagination__link,.post__title{font-family:IBMPlexMono,monospace;font-size:1rem}[type=submit],button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:0;cursor:pointer;margin:0;padding:0}summary{cursor:pointer}body:not(.is-tabbing) button:focus,body:not(.is-tabbing) input:focus,body:not(.is-tabbing) select:focus,body:not(.is-tabbing) summary:focus,body:not(.is-tabbing) textarea:focus{outline:0}.article,.articles{padding-top:3rem}.header__inner,.post__footer{padding-bottom:3rem}@media (min-width:800px){.article{padding-top:6vw}.header__inner,.post__footer{padding-bottom:6vw}}.pagination{margin-bottom:2em;padding-top:10vh}.pagination__label,.rpbt_shortcode h3{margin-left:auto;margin-right:auto;padding-left:.5rem;padding-right:.5rem;margin-bottom:.5rem;max-width:900px}@media (min-width:500px){.pagination__label,.rpbt_shortcode h3{padding-left:1rem;padding-right:1rem}}.pagination__link{font-weight:300;line-height:1.5}.post__title,.prose h1,.prose h2,.token.bold,.token.important{font-weight:700}.pagination--post .pagination__link a{display:inline-block;width:100%}.post-index{margin-right:auto;margin-left:auto;padding-bottom:10vw;padding-left:0;width:100%}.post-item__link{-ms-flex-align:center;align-items:center;background:var(--color);color:#fff;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;padding:4px;text-decoration:none!important}.post-item__link:hover{background:#fff;color:#000}.post__tag,.smallprint,.term__count{color:#949494}.post-item__link>*{margin-right:4px;margin-left:4px}.post-item__image{height:32px;mix-blend-mode:multiply;mix-blend-mode:color-burn;width:auto}.post-item__link:hover .post-item__image{mix-blend-mode:unset}.post-item__text,.post-item__time{margin-top:4px;margin-bottom:4px}.post-item__time{white-space:nowrap}.post-item__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchform{margin-bottom:2em;margin-top:2em}.searchform label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.searchform input{background:inherit}.searchform input[type=text]{border:1px solid transparent;display:block;margin-left:auto;margin-right:auto;max-width:calc(100vw - (var(--gutter) * 2));padding:1rem 0 1rem 1rem;width:100%}.searchform input[type=submit]{cursor:pointer;padding:1rem}.searchform input[type=submit]:hover{text-decoration:underline}.searchform__group{border:1px solid #000;display:-ms-flexbox;display:flex;margin-bottom:.5rem}.post__tags{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin-left:0;padding:0}#title:active~.header__details .header__title,#title:focus~.header__details .header__title,.is-tabbing.is-header-open .archive-description,.post__tag:last-child .separator{display:none}.post__tag{margin-right:1.5ch}.post__tag a{text-decoration:none}.header__summary:hover .header__title,.infinite-end a:hover,.menu a:active,.menu a:focus,.menu a:hover,.post__tag a:active,.post__tag a:focus,.post__tag a:hover,.smallprint a:hover{text-decoration:underline}.term--category{font-style:italic;text-transform:uppercase}.term--post_format{font-style:italic;text-transform:lowercase}body.is-not-tabbing.is-header-open{height:100%;overflow-y:hidden;position:fixed;top:0;bottom:0;left:0;right:0}.is-not-tabbing.is-header-open .header{height:100%;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}#menutoggle,#title,.visuallyhidden{clip:rect(0 0 0 0);height:1px;overflow:hidden;white-space:nowrap}.header,.header__summary{background:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header__summary{padding-top:1rem;padding-bottom:1rem}.header__title{display:inline}.header__desc{margin-bottom:2em}.header__desc.prose p{padding-left:0;padding-right:0}.smallprint{margin-bottom:1em}.post__title a:hover,.prose hr{color:#000}.menu-header-container{margin-top:1rem}.menu{padding-left:0}.menu.col-2{columns:2}.menu a{display:inline-block;padding-bottom:calc(var(--gutter)/ 2);padding-right:calc(var(--gutter)/ 2)}#menutoggle,#title{border:0;margin:-1px;padding:0;position:absolute;width:1px}#title:active,#title:active~.header__details #menutoggle,#title:focus,#title:focus~.header__details #menutoggle{height:auto;padding-top:1rem;position:static;width:auto;z-index:50;overflow:auto;left:auto}#title:active,#title:focus{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}pre.line-numbers,pre.line-numbers>code{position:relative}body:not(.no-details) .header__title{display:-ms-flexbox;display:flex}body:not(.no-details) .header__title>*{margin-right:.75rem}body:not(.no-details) .header__breadcrumb{-ms-flex-positive:1;flex-grow:1}body:not(.no-details) .header__summary{list-style:none}body:not(.no-details) .header__summary::-webkit-details-marker{display:none}body:not(.no-details) .nav-icon{-ms-flex-negative:0;flex-shrink:0;padding-top:1px;padding-bottom:1px;width:16px}@media (min-width:500px){#title:active,#title:focus{padding-left:1rem;padding-right:1rem}body:not(.no-details) .nav-icon{padding-top:4px;padding-bottom:4px}}body:not(.no-details) .nav-icon div,body:not(.no-details) .nav-icon:after,body:not(.no-details) .nav-icon:before{background-color:#000;content:"";display:block;height:2px;margin:3px 0}body:not(.no-details) .header__details[open] .nav-icon:before{transform:translateY(5px) rotate(135deg)}body:not(.no-details) .header__details[open] .nav-icon:after{transform:translateY(-5px) rotate(-135deg)}body:not(.no-details) .header__details[open] .nav-icon div{transform:scale(0)}.site-footer{padding-bottom:3rem}.infinite-end,.infinite-loading{display:none;margin-bottom:2em;padding-top:10vh}.infinite-end.show,.infinite-loading.show{display:block}.post__title a,.post__title a:hover{text-decoration:none}.post__footer,.post__header{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.post__footer,.post__header{padding-left:1rem;padding-right:1rem}}.post__time{margin-bottom:2em;display:inline-block}.post__time a{display:inline-block;height:2.5rem;padding:.5rem}.post__title{line-height:1.5;margin-bottom:2em}.post__author a:hover,.prose a{text-decoration:underline}.post__footer{clear:both;margin-top:1.5em}code[class*=language-],pre[class*=language-]{color:#282828;font-size:92%;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:0 0 1em;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#eee}:not(pre)>code[class*=language-]{padding:.1em}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#75715E}.token.punctuation{color:#282828}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#e08}.token.boolean,.token.number{color:#98d}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#0a2}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#282828}.token.atrule,.token.attr-value,.token.function{color:#d70}.token.keyword{color:#07d}.token.important,.token.regex{color:#d70}.token.italic{font-style:italic}.token.entity{cursor:help}pre.line-numbers{padding-left:3.8em;counter-reset:linenumber}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-size:1rem;line-height:1.5;font-family:IBMPlexMono,monospace}.line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.token a{color:inherit}code.language-javascript .token.keyword{color:#e08}code.language-javascript .token.keyword.keyword-function{color:#07d;font-style:italic}code.language-javascript .token.keyword.keyword-false,code.language-javascript .token.keyword.keyword-true{color:#98d}code.language-javascript .token.operator{color:#e08}code.language-javascript .token.class-name{color:#07d}.prose img.alignnone{padding:0}.prose .alignnone.wp-caption{width:auto!important}.prose .alignleft,.prose .alignright{width:16em!important}.prose .alignleft img,.prose .alignright img{width:100%!important}.prose .alignleft.wp-caption,.prose .alignright.wp-caption{margin-right:0;margin-left:0}@media (min-width:600px){.prose .alignleft{float:left;margin-top:0}.prose .alignright{float:right;margin-top:0}.prose img.alignleft{margin-bottom:1rem;padding-right:var(--gutter)}.prose img.alignright{margin-bottom:1rem;padding-left:var(--gutter)}}.prose p .alignright{margin-right:0}.prose p .alignleft{margin-left:0}@media (min-width:864px){.prose img.alignleft{margin-left:calc(16em / 2 * -1);padding-left:var(--gutter)}.prose img.alignright{margin-right:calc(16em / 2 * -1);padding-right:var(--gutter)}}.prose .gallery,.prose .gallery-item{padding-right:calc(var(--gutter)/ 2)}@media (min-width:1120px){.prose img.alignleft{margin-left:calc(16em * -1)}.prose img.alignright{margin-right:calc(16em * -1)}}.prose .alignleft.wp-caption{margin-left:0!important}.prose .alignright.wp-caption{margin-right:0!important}@media (min-width:864px){.prose .alignleft.wp-caption{margin-left:calc((100vw - 40rem)/ 2 - (16em / 2) + 1rem)!important}.prose .alignright.wp-caption{margin-right:calc((100vw - 40rem)/ 2 - (16em / 2) + 1rem)!important}}@media (min-width:1120px){.prose .alignleft.wp-caption{margin-left:calc((100vw - 40rem)/ 2 - 16em + 1rem)!important}.prose .alignright.wp-caption{margin-right:calc((100vw - 40rem)/ 2 - 16em + 1rem)!important}}.prose div.aligncenter{max-width:100%}@media (min-width:1200px){.prose div.aligncenter{max-width:1200px}}.prose div.aligncenter .wp-caption-text{max-width:608px;margin-right:auto;margin-left:auto}@media (min-width:640px){.prose img.aligncenter{margin-left:calc((100vw - 40rem)/ 2 * -1);margin-right:calc((100vw - 40rem)/ 2 * -1);max-width:calc(100vw - (var(--gutter) * 2))}}@media (min-width:1200px){.prose img.aligncenter{margin-left:calc((1200px - 40rem)/ 2 * -1);margin-right:calc((1200px - 40rem)/ 2 * -1);max-width:calc(1200px - (var(--gutter) * 2))}}.prose .gallery{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;max-width:100%;padding-left:calc(var(--gutter)/ 2)}.prose .gallery br{display:none}.prose .gallery-columns-1,.prose pre code,.prose table,.prose>a{display:block}.prose .gallery dd{padding-left:0}.prose .gallery-item{margin-bottom:var(--gutter);padding-left:calc(var(--gutter)/ 2)}@media (min-width:410px){.prose .gallery-columns-2 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-3 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:410px){.prose .gallery-columns-4 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:766px){.prose .gallery-columns-4 .gallery-item{max-width:calc((100vw - var(--gutter))/ 4)}}@media (min-width:410px){.prose .gallery-columns-5 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:900px){.prose .gallery-columns-5 .gallery-item{max-width:calc((100vw - var(--gutter))/ 5)}}@media (min-width:410px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 6)}}@media (min-width:410px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 7)}}@media (min-width:410px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:766px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 4)}}@media (min-width:1200px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 8)}}@media (min-width:410px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 6)}}@media (min-width:1600px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 9)}}.prose [class*=instagram]{margin:0 auto!important}.prose>iframe.instagram-media{margin-right:auto!important;margin-left:auto!important;width:calc(100vw - (var(--gutter) * 2))!important}.prose>:first-child{margin-top:0}.prose>a,.prose>address,.prose>blockquote,.prose>details,.prose>div:not(.container):not(.gallery),.prose>dl,.prose>form,.prose>h1,.prose>h2,.prose>h3,.prose>h4,.prose>h5,.prose>h6,.prose>ol,.prose>p,.prose>ul{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (max-width:45em){.prose>ol{margin-left:calc(2ch + 16px)}}@media (max-width:42em){.prose>ul:not(.post__tags){margin-left:18px}}.prose hr,.prose pre,.prose table{margin-right:auto;margin-left:auto}.has-bg a,.prose a:hover,.prose abbr,.prose acronym,.termindex a,a.has-bg:hover{text-decoration:none}.prose h1{margin-bottom:1.5em;margin-top:1.5em}.prose h2{margin-bottom:1.5em;margin-top:4em}.prose h3,.prose h4,.prose h5,.prose h6{letter-spacing:.0275em;text-transform:uppercase}.prose>details pre{width:36rem;max-width:calc(100vw - (var(--gutter) * 6))}.prose small{font-size:inherit}.link_description>*,.prose>*,.prose>details p,.prose>details summary{margin-bottom:1.5em;margin-top:1.5em}@media (min-width:500px){.prose>a,.prose>address,.prose>blockquote,.prose>details,.prose>div:not(.container):not(.gallery),.prose>dl,.prose>form,.prose>h1,.prose>h2,.prose>h3,.prose>h4,.prose>h5,.prose>h6,.prose>ol,.prose>p,.prose>ul{padding-left:1rem;padding-right:1rem}.prose>details pre{max-width:calc(100vw - (var(--gutter) * 4))}.prose>a,.prose>details{padding-left:1rem;padding-right:1rem}}.prose .wp-caption.alignleft,.prose .wp-caption.alignright{margin-bottom:1rem}.wp-caption{max-width:100%}.prose .wp-caption-text,.prose p img{margin-bottom:0}.prose .wp-caption img{margin-bottom:.5em}.prose blockquote p,.prose>blockquote blockquote{margin-bottom:1rem}.prose address{font-style:normal}.prose hr{border:none;height:1px;background-color:#000;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.prose hr{padding-left:1rem;padding-right:1rem}}.prose code,.prose kbd{font-family:IBMPlexMono,monospace;font-size:inherit;background:#eee;padding:0 .25em}.prose pre{width:40rem;max-width:calc(100vw - (var(--gutter) * 2));overflow:scroll;background:#eee;padding:1rem}.prose pre h1,.prose pre h2,.prose pre h3,.prose pre h4,.prose pre h5,.prose pre h6{font-size:inherit;font-weight:inherit}.prose pre code{white-space:pre-wrap}.prose table{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;overflow-x:scroll;border-collapse:collapse;padding-bottom:1.5em;padding-right:var(--gutter);padding-left:var(--gutter)}.prose th{font-weight:400;text-align:left}.prose tr{vertical-align:top}.prose tr>*{padding-top:.5em;padding-bottom:.5em;border-bottom:1px solid #000;min-width:9em;padding-right:.5em}.prose tr>:last-child{padding-right:0}.prose dd{padding-left:1.5em}.prose ins{position:relative}.prose ins:before{content:"‸";top:2px;position:absolute;width:100%;text-align:center}.article .prose blockquote{border:1px solid #000;padding:1rem}@media (max-width:42em){.article .prose>blockquote{margin-right:var(--gutter);margin-left:var(--gutter)}}.prose blockquote :last-child{margin-bottom:0}.prose .wp-caption-text{font-style:italic}.prose mark{background-color:rgba(255,255,64,.65)}.prose .wp-caption-text em,.prose .wp-caption-text i{font-style:normal}.prose>:last-child{margin-bottom:0!important}.termindex{columns:11rem auto;margin-top:2rem;margin-bottom:2rem}.termindex h2{font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}.termindex ol{list-style:none;margin-bottom:1.5rem;padding-left:0}.termindex li{margin-left:1rem;text-indent:-1rem}.termindex a:active,.termindex a:focus,.termindex a:hover{text-decoration:underline}.container{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.container{padding-left:1rem;padding-right:1rem}}.container--large{max-width:900px}.container--full{max-width:100%}.hidden{display:none}.visuallyhidden{border:0;margin:-1px;padding:0;position:absolute;width:1px}.visuallyhidden.button:active,.visuallyhidden.button:focus{background-color:var(--color);color:#fff;display:inline-block;left:auto;top:auto;width:auto;height:auto;overflow:auto;margin:1rem auto 0;padding:.5rem;position:static;text-align:center;white-space:nowrap;z-index:auto}.visuallyhidden.button:hover{background-color:#fff;color:#000}.has-bg{background:#000;color:#fff;padding:.25em}a.has-bg:hover{background:0 0;color:inherit}.rainbow .post__title a:hover,.rainbow .prose hr{color:var(--color)}.rainbow .has-bg{background:var(--color)}.rainbow .prose hr{background-color:var(--color)}.rainbow .prose tr>*{border-bottom:1px solid var(--color)}.rainbow .article .prose blockquote{border:1px solid var(--color)}@supports ((-webkit-text-decoration-color:var(--color)) or (text-decoration-color:var(--color))){.rainbow .post__author a:active,.rainbow .post__author a:focus,.rainbow .post__author a:hover,.rainbow .post__tag a:active,.rainbow .post__tag a:focus,.rainbow .post__tag a:hover,.rainbow .prose a,.rainbow .prose del,.rainbow .prose ins,.rainbow .prose s,.rainbow .prose strike,.rainbow .termindex a:active,.rainbow .termindex a:focus,.rainbow .termindex a:hover{-webkit-text-decoration-color:var(--color);text-decoration-color:var(--color)}} \ No newline at end of file +@charset "UTF-8";@font-face{font-display:swap;font-family:IBMPlexMono;font-weight:400;src:url(fonts/IBMPlexMono-Regular.eot);src:url(fonts/IBMPlexMono-Regular.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Regular.woff2) format("woff2"),url(fonts/IBMPlexMono-Regular.woff) format("woff"),url(fonts/IBMPlexMono-Regular.ttf) format("truetype")}@font-face{font-display:swap;font-family:IBMPlexMono;font-weight:700;src:url(fonts/IBMPlexMono-Bold.eot);src:url(fonts/IBMPlexMono-Bold.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Bold.woff2) format("woff2"),url(fonts/IBMPlexMono-Bold.woff) format("woff"),url(fonts/IBMPlexMono-Bold.ttf) format("truetype")}@font-face{font-display:swap;font-family:IBMPlexMono;font-weight:400;font-style:italic;src:url(fonts/IBMPlexMono-Italic.eot);src:url(fonts/IBMPlexMono-Italic.eot?#iefix) format("embedded-opentype"),url(fonts/IBMPlexMono-Italic.woff2) format("woff2"),url(fonts/IBMPlexMono-Italic.woff) format("woff"),url(fonts/IBMPlexMono-Italic.ttf) format("truetype")}:root{--tag-color:#000000;--color:#000000;--gutter:0.5rem}@media (min-width:500px){:root{--gutter:1rem}}html{box-sizing:border-box;-webkit-text-size-adjust:100%}body{font-size:1em}html{font-size:87.5%}button,input,select,textarea{font-size:16px}@media (min-width:500px){html{font-size:100%}button,input,select,textarea{font-size:100%}}*,::after,::before{box-sizing:inherit;margin:0}body{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:400;line-height:1.5;color:#000}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:none}img{display:inline-block;height:auto;max-width:100%;vertical-align:middle}button,input,select,textarea{font-family:inherit}[type=submit],button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:0;cursor:pointer;margin:0;padding:0}svg{display:inline-block;height:auto;vertical-align:middle}summary{cursor:pointer}body:not(.is-tabbing) button:focus,body:not(.is-tabbing) input:focus,body:not(.is-tabbing) select:focus,body:not(.is-tabbing) summary:focus,body:not(.is-tabbing) textarea:focus{outline:0}iframe{max-width:100%}html{height:100%}body{overflow-x:hidden}.article,.articles{padding-top:3rem}.header__inner,.post__footer{padding-bottom:3rem}@media (min-width:800px){.article{padding-top:6vw}.header__inner,.post__footer{padding-bottom:6vw}}.pagination{margin-bottom:2em;padding-top:10vh}.pagination__label,.rpbt_shortcode h3{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem;margin-bottom:.5rem;max-width:900px}@media (min-width:500px){.pagination__label,.rpbt_shortcode h3{padding-left:1rem;padding-right:1rem}}.pagination__link{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:300;line-height:1.5}.pagination--post .pagination__link a{display:inline-block;width:100%}.post-index{list-style-type:none;margin-right:auto;margin-left:auto;padding-bottom:10vw;padding-left:0;width:100%}.post-item__link{-ms-flex-align:center;align-items:center;background:var(--color);color:#fff;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;padding:4px;text-decoration:none!important}.post-item__link:hover{background:#fff;color:#000}.post-item__link>*{margin-right:4px;margin-left:4px}.post-item__image{height:32px;mix-blend-mode:multiply;mix-blend-mode:color-burn;width:auto}.post-item__link:hover .post-item__image{mix-blend-mode:unset}.post-item__text,.post-item__time{margin-top:4px;margin-bottom:4px}.post-item__time{white-space:nowrap}.post-item__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchform{margin-bottom:2em;margin-top:2em}.searchform label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.searchform input{background:inherit}.searchform input[type=text]{border:1px solid transparent;display:block;margin-left:auto;margin-right:auto;max-width:calc(100vw - (var(--gutter) * 2));padding:1rem 0 1rem 1rem;width:100%}.searchform input[type=submit]{cursor:pointer;padding:1rem}.searchform input[type=submit]:hover{text-decoration:underline}.searchform__group{border:1px solid #000;display:-ms-flexbox;display:flex;margin-bottom:.5rem}.post__tags{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin-left:0;padding:0}.post__tag{color:#949494;margin-right:1.5ch}.post__tag a{text-decoration:none}.post__tag:last-child .separator{display:none}.post__tag a:active,.post__tag a:focus,.post__tag a:hover{text-decoration:underline}.term__count{color:#949494}.term--category{font-style:italic;text-transform:uppercase}.term--post_format{font-style:italic;text-transform:lowercase}body.is-not-tabbing.is-header-open{height:100%;overflow-y:hidden;position:fixed;top:0;bottom:0;left:0;right:0}.is-not-tabbing.is-header-open .header{height:100%;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}.is-tabbing.is-header-open .archive-description{display:none}.header,.header__summary{background:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header__summary{padding-top:1rem;padding-bottom:1rem}.header__summary:hover .header__title{text-decoration:underline}.header__title{display:inline}.header__desc{margin-bottom:2em}.header__desc.prose p{padding-left:0;padding-right:0}.smallprint{color:#949494;margin-bottom:1em}.smallprint a{-webkit-text-decoration-color:#949494!important;text-decoration-color:#949494!important}.menu-header-container{margin-top:1rem}.menu-header-container ul{list-style-type:none}.menu{padding-left:0}.menu.col-2{columns:2}.menu a{display:inline-block;padding-bottom:calc(var(--gutter)/ 2);padding-right:calc(var(--gutter)/ 2)}.menu a:active,.menu a:focus,.menu a:hover{text-decoration:underline}#title{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}#title:active,#title:focus{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem;height:auto;left:auto;overflow:auto;padding-top:1rem;position:static;width:auto;z-index:50}@media (min-width:500px){#title:active,#title:focus{padding-left:1rem;padding-right:1rem}}#menutoggle{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}#title:active~.header__details #menutoggle,#title:focus~.header__details #menutoggle{height:auto;left:auto;overflow:auto;padding-top:1rem;position:static;width:auto;z-index:50}#title:active~.header__details .header__title,#title:focus~.header__details .header__title{display:none}body:not(.no-details) .header__title{display:-ms-flexbox;display:flex}body:not(.no-details) .header__title>*{margin-right:.75rem}body:not(.no-details) .header__breadcrumb{-ms-flex-positive:1;flex-grow:1}body:not(.no-details) .header__summary{list-style:none}body:not(.no-details) .header__summary::-webkit-details-marker{display:none}body:not(.no-details) .nav-icon{-ms-flex-negative:0;flex-shrink:0;padding-top:1px;padding-bottom:1px;width:16px}@media (min-width:500px){body:not(.no-details) .nav-icon{padding-top:4px;padding-bottom:4px}}body:not(.no-details) .nav-icon div,body:not(.no-details) .nav-icon:after,body:not(.no-details) .nav-icon:before{background-color:#000;content:"";display:block;height:2px;margin:3px 0}body:not(.no-details) .header__details[open] .nav-icon:before{transform:translateY(5px) rotate(135deg)}body:not(.no-details) .header__details[open] .nav-icon:after{transform:translateY(-5px) rotate(-135deg)}body:not(.no-details) .header__details[open] .nav-icon div{transform:scale(0)}.site-footer{padding-bottom:3rem}.infinite-end,.infinite-loading{display:none;margin-bottom:2em;padding-top:10vh}.infinite-end.show,.infinite-loading.show{display:block}.infinite-end a:hover{text-decoration:underline}.post__footer,.post__header{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.post__footer,.post__header{padding-left:1rem;padding-right:1rem}}.post__time{margin-bottom:2em;display:inline-block}.post__time a{display:inline-block;height:2.5rem;padding:.5rem}.post__title{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:700;line-height:1.5;margin-bottom:2em}.post__title a{text-decoration:none}.post__title a:hover{color:#000;text-decoration:none}.post__footer{clear:both;margin-top:1.5em}.post__author a:hover{text-decoration:underline}code[class*=language-],pre[class*=language-]{color:#282828;font-size:92%;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:0 0 1em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#eee}:not(pre)>code[class*=language-]{padding:.1em}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#75715e}.token.punctuation{color:#282828}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#e08}.token.boolean,.token.number{color:#98d}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#0a2}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#282828}.token.atrule,.token.attr-value,.token.function{color:#d70}.token.keyword{color:#07d}.token.important,.token.regex{color:#d70}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre.line-numbers>code{position:relative}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.token a{color:inherit}code.language-javascript .token.keyword{color:#e08}code.language-javascript .token.keyword.keyword-function{color:#07d;font-style:italic}code.language-javascript .token.keyword.keyword-false,code.language-javascript .token.keyword.keyword-true{color:#98d}code.language-javascript .token.operator{color:#e08}code.language-javascript .token.class-name{color:#07d}.prose img.alignnone{padding:0}.prose .alignnone.wp-caption{width:auto!important}.prose .alignleft,.prose .alignright{width:16em!important}.prose .alignleft img,.prose .alignright img{width:100%!important}.prose .alignleft.wp-caption,.prose .alignright.wp-caption{margin-right:0;margin-left:0}@media (min-width:600px){.prose .alignleft{float:left;margin-top:0}.prose .alignright{float:right;margin-top:0}.prose img.alignleft{margin-bottom:1rem;padding-right:var(--gutter)}.prose img.alignright{margin-bottom:1rem;padding-left:var(--gutter)}}.prose p .alignright{margin-right:0}.prose p .alignleft{margin-left:0}@media (min-width:864px){.prose img.alignleft{margin-left:calc(16em / 2 * -1);padding-left:var(--gutter)}}@media (min-width:1120px){.prose img.alignleft{margin-left:calc(16em * -1)}}@media (min-width:864px){.prose img.alignright{margin-right:calc(16em / 2 * -1);padding-right:var(--gutter)}}@media (min-width:1120px){.prose img.alignright{margin-right:calc(16em * -1)}}.prose .alignleft.wp-caption{margin-left:0!important}@media (min-width:864px){.prose .alignleft.wp-caption{margin-left:calc((100vw - 40rem)/ 2 - (16em / 2) + 1rem)!important}}@media (min-width:1120px){.prose .alignleft.wp-caption{margin-left:calc((100vw - 40rem)/ 2 - 16em + 1rem)!important}}.prose .alignright.wp-caption{margin-right:0!important}@media (min-width:864px){.prose .alignright.wp-caption{margin-right:calc((100vw - 40rem)/ 2 - (16em / 2) + 1rem)!important}}@media (min-width:1120px){.prose .alignright.wp-caption{margin-right:calc((100vw - 40rem)/ 2 - 16em + 1rem)!important}}.prose div.aligncenter{max-width:100%}@media (min-width:1200px){.prose div.aligncenter{max-width:1200px}}.prose div.aligncenter .wp-caption-text{max-width:608px;margin-right:auto;margin-left:auto}@media (min-width:640px){.prose img.aligncenter{margin-left:calc((100vw - 40rem)/ 2 * -1);margin-right:calc((100vw - 40rem)/ 2 * -1);max-width:calc(100vw - (var(--gutter) * 2))}}@media (min-width:1200px){.prose img.aligncenter{margin-left:calc((1200px - 40rem)/ 2 * -1);margin-right:calc((1200px - 40rem)/ 2 * -1);max-width:calc(1200px - (var(--gutter) * 2))}}.prose .gallery{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;max-width:100%;padding-right:calc(var(--gutter)/ 2);padding-left:calc(var(--gutter)/ 2)}.prose .gallery br{display:none}.prose .gallery-columns-1{display:block}.prose .gallery dd{padding-left:0}.prose .gallery-item{margin-bottom:var(--gutter);padding-right:calc(var(--gutter)/ 2);padding-left:calc(var(--gutter)/ 2)}@media (min-width:410px){.prose .gallery-columns-2 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-3 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:410px){.prose .gallery-columns-4 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:766px){.prose .gallery-columns-4 .gallery-item{max-width:calc((100vw - var(--gutter))/ 4)}}@media (min-width:410px){.prose .gallery-columns-5 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:900px){.prose .gallery-columns-5 .gallery-item{max-width:calc((100vw - var(--gutter))/ 5)}}@media (min-width:410px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-6 .gallery-item{max-width:calc((100vw - var(--gutter))/ 6)}}@media (min-width:410px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-7 .gallery-item{max-width:calc((100vw - var(--gutter))/ 7)}}@media (min-width:410px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:766px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 4)}}@media (min-width:1200px){.prose .gallery-columns-8 .gallery-item{max-width:calc((100vw - var(--gutter))/ 8)}}@media (min-width:410px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 2)}}@media (min-width:500px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 3)}}@media (min-width:1200px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 6)}}@media (min-width:1600px){.prose .gallery-columns-9 .gallery-item{max-width:calc((100vw - var(--gutter))/ 9)}}.prose [class*=instagram]{margin:0 auto!important}.prose>iframe.instagram-media{margin-right:auto!important;margin-left:auto!important;width:calc(100vw - (var(--gutter) * 2))!important}.prose>:first-child{margin-top:0}.prose>a,.prose>address,.prose>blockquote,.prose>details,.prose>div:not(.container):not(.gallery),.prose>dl,.prose>form,.prose>h1,.prose>h2,.prose>h3,.prose>h4,.prose>h5,.prose>h6,.prose>ol,.prose>p,.prose>ul{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.prose>a,.prose>address,.prose>blockquote,.prose>details,.prose>div:not(.container):not(.gallery),.prose>dl,.prose>form,.prose>h1,.prose>h2,.prose>h3,.prose>h4,.prose>h5,.prose>h6,.prose>ol,.prose>p,.prose>ul{padding-left:1rem;padding-right:1rem}}@media (max-width:45em){.prose>ol{margin-left:calc(2ch + 16px)}}@media (max-width:42em){.prose>ul:not(.post__tags){margin-left:18px}}.prose a{text-decoration:underline}.prose a:hover{text-decoration:none}.prose>a{display:block}.prose h1{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:700;line-height:1.5;margin-bottom:1.5em;margin-top:1.5em}.prose h2{font-family:IBMPlexMono,monospace;font-size:1rem;font-weight:700;line-height:1.5;margin-bottom:1.5em;margin-top:4em}.prose h3,.prose h4,.prose h5,.prose h6{font-family:IBMPlexMono,monospace;font-size:1rem;letter-spacing:.0275em;line-height:1.5;text-transform:uppercase}.prose>details p,.prose>details summary{margin-bottom:1.5em;margin-top:1.5em}.prose>details pre{width:36rem;max-width:calc(100vw - (var(--gutter) * 6))}@media (min-width:500px){.prose>details pre{max-width:calc(100vw - (var(--gutter) * 4))}}.prose small{font-size:inherit}.link_description>*,.prose>*,.prose>details p,.prose>details summary{margin-bottom:1.5em;margin-top:1.5em}@media (min-width:500px){.prose>a,.prose>details{padding-left:1rem;padding-right:1rem}}.prose .wp-caption.alignleft,.prose .wp-caption.alignright{margin-bottom:1rem}.wp-caption{max-width:100%}.prose .wp-caption-text,.prose p img{margin-bottom:0}.prose .wp-caption img{margin-bottom:.5em}.prose abbr,.prose acronym{text-decoration:none}.prose address{font-style:normal}.prose hr{border:none;height:1px;color:#000;background-color:#000;margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.prose hr{padding-left:1rem;padding-right:1rem}}.prose code,.prose kbd{font-family:IBMPlexMono,monospace;font-size:inherit;background:#eee;padding:0 .25em}.prose pre{width:40rem;max-width:calc(100vw - (var(--gutter) * 2));overflow:scroll;margin-left:auto;margin-right:auto;background:#eee;padding:1rem}.prose pre h1,.prose pre h2,.prose pre h3,.prose pre h4,.prose pre h5,.prose pre h6{font-size:inherit;font-weight:inherit}.prose pre code{display:block;white-space:pre-wrap}.prose pre.nowrap code{white-space:inherit}.prose table{display:block;max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;overflow-x:scroll;border-collapse:collapse;padding-bottom:1.5em;padding-right:var(--gutter);padding-left:var(--gutter);margin-right:auto;margin-left:auto}.prose th{font-weight:400;text-align:left}.prose tr{vertical-align:top}.prose tr>*{padding-top:.5em;padding-bottom:.5em;border-bottom:1px solid #000}.prose tr>*{min-width:9em;padding-right:.5em}.prose tr>:last-child{padding-right:0}.prose dd{padding-left:1.5em}.prose ins{position:relative}.prose ins:before{content:"‸";top:2px;position:absolute;width:100%;text-align:center}.article .prose blockquote{border:1px solid #000;padding:1rem}.prose blockquote p{margin-bottom:1rem}@media (max-width:42em){.article .prose>blockquote{margin-right:var(--gutter);margin-left:var(--gutter)}}.prose>blockquote blockquote{margin-bottom:1rem}.prose blockquote :last-child{margin-bottom:0}.prose .wp-caption-text{font-style:italic}.prose mark{background-color:rgba(255,255,64,.65)}.prose .wp-caption-text em,.prose .wp-caption-text i{font-style:normal}.prose>:last-child{margin-bottom:0!important}.termindex{columns:11rem auto;margin-top:2rem;margin-bottom:2rem}.termindex h2{font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}.termindex ol{list-style:none;margin-bottom:1.5rem;padding-left:0}.termindex li{margin-left:1rem;text-indent:-1rem}.termindex a{text-decoration:none}.termindex a:active,.termindex a:focus,.termindex a:hover{text-decoration:underline}.container{margin-left:auto;margin-right:auto;max-width:40rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:500px){.container{padding-left:1rem;padding-right:1rem}}.container--large{max-width:900px}.container--full{max-width:100%}.hidden{display:none}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.visuallyhidden.button:active,.visuallyhidden.button:focus{background-color:var(--color);color:#fff;display:inline-block;left:auto;top:auto;width:auto;height:auto;overflow:auto;margin:1rem auto 0 auto;padding:.5rem;position:static;text-align:center;white-space:nowrap;z-index:auto}.visuallyhidden.button:hover{background-color:#fff;color:#000}.has-bg{background:#000;color:#fff;padding:.25em}.has-bg a{text-decoration:none}a.has-bg:hover{background:0 0;color:inherit;text-decoration:none}.rainbow .has-bg{background:var(--color)}.rainbow .post__title a:hover{color:var(--color)}.rainbow .prose hr{color:var(--color);background-color:var(--color)}.rainbow .prose tr>*{border-bottom:1px solid var(--color)}.rainbow .article .prose blockquote{border:1px solid var(--color)}@supports ((-webkit-text-decoration-color:var(--color)) or (text-decoration-color:var(--color))){.rainbow .post__author a:active,.rainbow .post__author a:focus,.rainbow .post__author a:hover,.rainbow .post__tag a:active,.rainbow .post__tag a:focus,.rainbow .post__tag a:hover,.rainbow .prose a,.rainbow .prose del,.rainbow .prose ins,.rainbow .prose s,.rainbow .prose strike,.rainbow .termindex a:active,.rainbow .termindex a:focus,.rainbow .termindex a:hover{-webkit-text-decoration-color:var(--color);text-decoration-color:var(--color)}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9565399..0cfafe2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "notebook-ph", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d0d95d1..bf3c3f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "notebook-ph", "title": "Notebook by PH", - "version": "2.1.2", + "version": "2.1.3", "description": "A simple WordPress theme for keeping notes. ", "author": { "name": "Piper Haywood",