diff --git a/lib/build.js b/lib/build.js index d3232be..366d0ba 100644 --- a/lib/build.js +++ b/lib/build.js @@ -35,14 +35,20 @@ module.exports = async (config) => { rowspan: true, headerless: true, multibody: true, - aotolabel: true, + autolabel: true, }) .use(require("markdown-it-emoji")) .use(require("markdown-it-mark")) .use(require("markdown-it-auto-crosslinker"), { dictionary, + }) + .use(require("markdown-it-implicit-figures"), { + dataType: true, + figcaption: true, + tabindex: true, + lazyLoading: true, + link: true, }), - // { readJsonIfExists } = require("./utils"), { build, isRebuild, logFunction: log = () => {} } = config || {}, { outputPath, journalsPerPage = 5, srcPath } = build, { site } = config, diff --git a/package-lock.json b/package-lock.json index 8f10986..f38e2f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,25 @@ { "name": "planar-vagabond", - "version": "0.9.3", + "version": "0.9.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "planar-vagabond", - "version": "0.9.3", - "license": "CC0-1.0", + "version": "0.9.5", + "license": "MIT", "dependencies": { "chalk": "^4.1.2", "chokidar": "^3.4.3", "dotenv": "^16.0.1", "highlight.js": "^11.3.1", "json5": "^2.1.3", - "livereload": "^0.9.3", "markdown-it": "^13.0.1", "markdown-it-anchor": "^8.6.7", "markdown-it-auto-crosslinker": "^1.0.1", "markdown-it-emoji": "^2.0.0", "markdown-it-footnote": "^3.0.3", + "markdown-it-implicit-figures": "^0.11.0", "markdown-it-linkify-images": "^4.0.0", "markdown-it-mark": "^3.0.1", "markdown-it-multimd-table": "^4.2.0", @@ -1023,28 +1023,6 @@ "uc.micro": "^1.0.1" } }, - "node_modules/livereload": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz", - "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==", - "dependencies": { - "chokidar": "^3.5.0", - "livereload-js": "^3.3.1", - "opts": ">= 1.2.0", - "ws": "^7.4.3" - }, - "bin": { - "livereload": "bin/livereload.js" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/livereload-js": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.4.1.tgz", - "integrity": "sha512-5MP0uUeVCec89ZbNOT/i97Mc+q3SxXmiUGhRFOTmhrGPn//uWVQdCvcLJDy64MSBR5MidFdOR7B9viumoavy6g==" - }, "node_modules/markdown-it": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz", @@ -1084,6 +1062,14 @@ "resolved": "https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-3.0.3.tgz", "integrity": "sha512-YZMSuCGVZAjzKMn+xqIco9d1cLGxbELHZ9do/TSYVzraooV8ypsppKNmUJ0fVH5ljkCInQAtFpm8Rb3eXSrt5w==" }, + "node_modules/markdown-it-implicit-figures": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/markdown-it-implicit-figures/-/markdown-it-implicit-figures-0.11.0.tgz", + "integrity": "sha512-ed32u3O8pTEM3TKgeBTMKw8ce86L8u5L41CuLvGee3yevYOq+1BoxjI84m/f7RcUaATcKgXTgZwieadvOH4afg==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/markdown-it-linkify-images": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/markdown-it-linkify-images/-/markdown-it-linkify-images-4.0.0.tgz", @@ -1258,11 +1244,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/opts": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz", - "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==" - }, "node_modules/path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", @@ -1702,26 +1683,6 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index 72310cd..d57506c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "planar-vagabond", - "version": "0.9.5", + "version": "0.9.6", "description": "", "main": "index.js", "scripts": { @@ -23,7 +23,7 @@ "markdown-it-auto-crosslinker": "^1.0.1", "markdown-it-emoji": "^2.0.0", "markdown-it-footnote": "^3.0.3", - "markdown-it-linkify-images": "^4.0.0", + "markdown-it-implicit-figures": "^0.11.0", "markdown-it-mark": "^3.0.1", "markdown-it-multimd-table": "^4.2.0", "markdown-it-table-of-contents": "^0.6.0", diff --git a/src/assets/fonts/raleway/raleway-bold-webfont.eot b/src/assets/fonts/raleway/raleway-bold-webfont.eot deleted file mode 100644 index bd9be37..0000000 Binary files a/src/assets/fonts/raleway/raleway-bold-webfont.eot and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-bold-webfont.ttf b/src/assets/fonts/raleway/raleway-bold-webfont.ttf deleted file mode 100644 index 38c099c..0000000 Binary files a/src/assets/fonts/raleway/raleway-bold-webfont.ttf and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-bolditalic-webfont.eot b/src/assets/fonts/raleway/raleway-bolditalic-webfont.eot deleted file mode 100644 index 5909d08..0000000 Binary files a/src/assets/fonts/raleway/raleway-bolditalic-webfont.eot and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-bolditalic-webfont.ttf b/src/assets/fonts/raleway/raleway-bolditalic-webfont.ttf deleted file mode 100644 index eac54e7..0000000 Binary files a/src/assets/fonts/raleway/raleway-bolditalic-webfont.ttf and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-italic-webfont.eot b/src/assets/fonts/raleway/raleway-italic-webfont.eot deleted file mode 100644 index 7c60bae..0000000 Binary files a/src/assets/fonts/raleway/raleway-italic-webfont.eot and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-italic-webfont.ttf b/src/assets/fonts/raleway/raleway-italic-webfont.ttf deleted file mode 100644 index 237d88d..0000000 Binary files a/src/assets/fonts/raleway/raleway-italic-webfont.ttf and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-regular-webfont.eot b/src/assets/fonts/raleway/raleway-regular-webfont.eot deleted file mode 100644 index 73198f0..0000000 Binary files a/src/assets/fonts/raleway/raleway-regular-webfont.eot and /dev/null differ diff --git a/src/assets/fonts/raleway/raleway-regular-webfont.ttf b/src/assets/fonts/raleway/raleway-regular-webfont.ttf deleted file mode 100644 index e570a2d..0000000 Binary files a/src/assets/fonts/raleway/raleway-regular-webfont.ttf and /dev/null differ diff --git a/src/assets/fonts/unbounded/unbounded-medium-webfont.eot b/src/assets/fonts/unbounded/unbounded-medium-webfont.eot deleted file mode 100644 index e3dea80..0000000 Binary files a/src/assets/fonts/unbounded/unbounded-medium-webfont.eot and /dev/null differ diff --git a/src/assets/fonts/unbounded/unbounded-medium-webfont.ttf b/src/assets/fonts/unbounded/unbounded-medium-webfont.ttf deleted file mode 100644 index 7bb99ec..0000000 Binary files a/src/assets/fonts/unbounded/unbounded-medium-webfont.ttf and /dev/null differ diff --git a/src/assets/images/404/` b/src/assets/images/404/` new file mode 100644 index 0000000..8978d8c Binary files /dev/null and b/src/assets/images/404/` differ diff --git a/src/assets/images/404/lake-of-fire-lg.jpg b/src/assets/images/404/lake-of-fire-lg.jpg new file mode 100644 index 0000000..e343c68 Binary files /dev/null and b/src/assets/images/404/lake-of-fire-lg.jpg differ diff --git a/src/assets/images/404/lake-of-fire.jpg b/src/assets/images/404/lake-of-fire.jpg new file mode 100644 index 0000000..8e3e1bf Binary files /dev/null and b/src/assets/images/404/lake-of-fire.jpg differ diff --git a/src/assets/images/galleon-ship-silhouette-red.svg b/src/assets/images/galleon-ship-silhouette-red.svg index 1a8036c..45b24e0 100644 --- a/src/assets/images/galleon-ship-silhouette-red.svg +++ b/src/assets/images/galleon-ship-silhouette-red.svg @@ -43,5 +43,5 @@ fill="#0C0C0A" d="M2035.781,1079.881c-4.52-4.731-12.924-2.252-15.811,3.205c-152.484,31.255-235.471,51.946-254.125,51.469 c-67.21,12.454-130.797,25.805-144.083,26.422c-12.488-0.715-197.927,46.143-205.846,36.912 c8.358-13.499,33.783-74.338,39.12-101.109c1.238-6.992,18.511-41.617-2.691-128.695c-6.561-29.848-14.351-52.552-33.345-86.311 c-1.98-3.779-5.956-7.135-5.275-11.76c20.512-24.578,42.656-49.383,52.935-80.34c18.802-57.305,4.442-91.487-22.235-152.245 c-26.358-65.701-43.632-106.546-72.404-149.464c-4.653-4.699,0.111-8.45-21.162,5.23c-13.194,6.189-44.817,15.879-76.697,17.791 c-13.586,0.887-9.52-1.651-8.707-71.83c0.106-4.837-1.436-10.203,1.481-14.526c27.313-36.27,32.028-27.212,29.068-38.137 c-11.019-32.151-18.91-65.255-29.143-97.647c-4.239-10.735-0.548-47.699,0.665-54.356c84.65-5.954,123.762,18.616,138.596,18.759 c-7.6-12.501-38.406-29.446-59.45-35.643c-0.076-1.36-0.121-2.721-0.136-4.066c8.237,1.373,37.143-1.839,50.623-13.71 c-81.105-0.749-77.154-25.756-110.239-28.493c-5.593-0.423-11.034-1.814-16.189-3.945c0.196-4.368,0.227-8.752-0.03-13.12 c-3.235-0.62-6.439-1.27-9.644-1.874c-4.271,11.092-7.145,119.16-8.435,135.694c-0.272,7.15-4.172,13.332-6.651,19.847 c-29.682,72.953-38.384,81.063-33.103,85.691c10.929,10.203,19.409,22.628,28.826,34.192c1.753,2.509,4.52,4.913,3.945,8.314 c-0.124,5.355-0.917,62.811-4.52,70.999c-14.819,1.557-82.029-15.333-110.587-28.765c8.994,26.105,18.154,52.316,23.671,79.448 c0,0-129.464,1.36-129.466,1.36c-2.857-0.197-7.029,0.197-8.057-3.205c-26.768-63.94-41.732-101.56-35.084-162.237 c-40.479-10.335-83.552-15.416-146.124-32.862c-2.6-5.396,3.235-10.218,5.472-14.844c4.006-4.701,6.923-10.188,10.657-15.101 c3.945-5.563,12.833-5.895,15.237-12.803c0.786-6.077-7.361-6.742-11.382-8.858c-6.731-12.719-43.59-113.938-42.989-151.233 c0.648-22.911-1.487-58.49,5.2-57.833c68.864-2.754,104.364,8.353,140.773-4.625c2.101-0.423,3.975-1.451,5.018-3.416 c-11.367-2.887-23.097-3.9-34.691-5.442c-9.024-1.466-17.398-5.26-26.165-7.664c-4.081-1.421-9.326-2.373-10.793-7.119 c4.032-0.117,39.488-5.656,53.767-11.322c2.207-0.484,2.993-2.6,3.855-4.414c-10.898-2.54-22.22-1.542-33.119-4.021 c-50.361-11.916-78.75-9.112-98.963-11.443c-0.257-3.129-0.484-6.243-0.59-9.372c-2.373-2.887-6.046-3.114-9.493-3.219 c-0.952,1.013-1.889,2.041-2.827,3.053c0.124,3.505-1.18,113.799-1.194,114.804c-1.76,26.85-22.254,81.817-26.846,98.509 c-0.276,1-16.965,60.925-29.158,69.774c0,1.874,0.015,3.749,0.045,5.638c4.807,6.908,12.229,12.365,14.435,20.754 c-13.876-4.247-28.07-7.376-41.78-12.214c-24.458-6.352-85.688-26.099-86.689-26.392c-25.512-6.851-28.737-13.3-43.896-8.646 c5.491,15.495,21.975,32.543,38.5,93.959c23.586,72.495,17.9,195.96-6.077,261.336c-0.333,0.257-1.013,0.786-1.36,1.058 c-12.818-8.268-23.596-19.167-35.386-28.765C442.587,503.866,463.888,518.68,456.794,503.458 c-1.965-5.396-6.469-10.717-3.915-16.703c19.907,0.635,39.497-4.837,59.39-5.245c19.318,0.106,38.681,0.544,57.893-2.192 c-8.006-12.166-35.439-8.437-56.019-19.152c5.398-3.147,42.987-0.429,51-22.22c-17.452,6.787-42.72,4.002-49.504,1.466 c-26.763-7.864-2.973-6.244-59.465-1.769c-0.816-0.287-2.434-0.862-3.235-1.134c0.272-4.202-0.212-8.435-3.099-11.684 c-2.162,0.03-4.308,0.091-6.454,0.136c-1.481,2.509-3.084,5.139-2.721,8.208c0.06,20.089-0.635,40.178-0.378,60.266 c-5.94,4.172-7.074,11.73-8.616,18.29c-1.166,5.07-21.911,81.204-23.807,85.374c-6.082,4.199-32.118-45.111-57.334-79.221 c-81.736-96.943-71.34-89.761-78.526-90.815c-4.45,17.015,18.127,52.846,27.556,77.272c27.432,59.336,85.43,226.038,80.083,244.346 c-3.914,13.402-63.864,286.087-71.15,289.406c-5.215,0.378-10.082-2.026-15.222-2.373c-26.997-1.784-53.132-10.158-80.234-10.959 c-12.844,0.218-11.98-15.887-17.323-43.563c8.918-3.492,19.62,1.708,27.768-4.187c20.292-14.561,2.481-29.956-19.56-41.901 c8.923-17.536,31.972-30.548,39.936-63.849c6.092-28.932,1.617-59.254-9.205-86.507c-7.995-16.44-26.412-40.386-57.122-63.002 c-28.682-26.601-16.785-24.255-16.038-36.036c3.08-15.238-19.911-22.045-28.493-10.989c-7.661,11.555-1.099,15.938,2.434,31.032 c12.114,73.498,8.195,85.673,11.972,119.142c1.573,23.652,6.817,55.351,4.127,59.314c-5.306,8.676-10.551,17.731-12.682,27.768 c-1.496,14.36-2.252,29.355,2.721,43.17c5.031,14.163,23.082,28.802,23.838,37.593c-8.903,0.967-17.927,0.605-26.74-0.922 c-20.681-3.708-49.47-6.13-45.529-15.932c0.384-1.095,24.871-58.413,28.448-65.451c1.682-5.278-13.653-5.038-27.223-19.922 c-4.157-4.474-7.059-9.886-10.808-14.677c-13.725,11.291-31.184,15.902-48.189,19.575c-0.984,30.387,4.472,64.317,9.946,73.085 c5.457,6.59,16.476,4.474,21.253,11.896c20.364,30.471,60.629,31.127,88.85,36.263c0,0,12.512,134.9,58.256,238.254 c14.376,28.377,24.471,27.489,30.473,59.223c5.419,41.445,8.091,128.171,10.838,148.376c1.058,10.052-0.907,20.104-0.65,30.201 c-3.488,74.379-5.699,72.034-28.115,87.626c-16.023,9.659-31.501,20.24-47.539,29.823c-2.963,4.051-1.451,10.082-2.645,14.919 c0.559,0.65,1.648,1.935,2.192,2.585c0,0,153.88,1.659,254.02-3.114c493.085-23.502,660.641,15.934,844.205-20.372 c107.289-21.22,156.188-43.946,212.066-129.303c25.834-43.293,16.983-56.266,20.905-77.347 c120.948-50.889,92.107-127.051,123.556-143.388c11.624-6.092,25.349-9.478,34.282-19.711c11.761-13.51,3.206-16.542-2.948-28.916 c-12.414-21.724-20.883-15.387-34.963-12.138c-5.714-0.589-6.167-7.512-5.351-11.941c0,0,300.539-69.618,394.097-87.112 c5.215-1.028,10.747,2.66,15.705-0.151C2038.714,1091.293,2037.973,1084.219,2035.781,1079.881z M1343.089,215.761l-0.121-1.421 C1345.31,211.226,1345.915,218.33,1343.089,215.761z M1269.732,406.506c-2.358-2.721-4.066-9.236,0.302-10.672 c2.449-0.212,4.913-0.076,7.392-0.03C1276.201,400.203,1272.952,403.468,1269.732,406.506z M1264.955,325.501l2.237-1.119 c2.872,9.931,4.474,20.225,7.981,29.99c3.598,10.218,7.225,20.421,10.46,30.76c-5.744,2.101-12.002,1.36-17.973,2.026 c-0.62-2.267-1.255-4.535-1.255-6.893C1266.119,362.005,1263.852,343.76,1264.955,325.501z M68.592,959.605 c-4.807,0.196-9.961,0.453-14.299-2.01c-2.539-15.494-5.865-31.048-6.727-46.798c0.212-2.252-0.967-5.986,2.116-6.726 c5.804,0.816,11.322,3.023,17.156,3.718c2.026,6.878,1.723,14.043,2.434,21.102C68.169,939.093,69.862,949.372,68.592,959.605z M77.586,959.076c1.209-16.053,4.308-31.909,6.636-47.826c7.135,1.481,15.796,1.088,21.056,6.908 c-4.656,8.873-4.807,19.242-8.782,28.372c-1.451,5.608-4.716,10.551-5.744,16.295C86.292,963.082,80.155,963.611,77.586,959.076z M400.654,969.959c-3.099,12.833-5.336,25.954-10.158,38.303c-4.822,13.483-9.689,26.966-16.053,39.815l-1.27,0.922 c-7.331-0.877-14.436-3.25-21.782-4.187c-7.512-1.935-15.675-1.481-22.749-4.913c-2.237-1.632-1.179-4.399-0.831-6.606 c7.195-31.199,13.982-62.443,21.041-93.672c5.547-25.682,10.294-51.545,16.31-77.135c2.796-14.723,5.215-29.521,8.419-44.168 c2.419-16.37,6.107-32.65,11.458-48.295c2.902,2.917,3.114,7.15,3.688,10.989c0.695,6.606,2.796,12.954,3.325,19.59 c2.116,21.102,5.427,42.082,6.742,63.259c2.283,19.091,3.084,38.303,4.535,57.47c0.106,4.081-0.348,8.162-0.151,12.244 C404.191,945.744,401.893,957.882,400.654,969.959z M426.32,1046.989c-2.963,1.451-3.053,5.321-5.608,6.953 c-5.26,0.59-10.626-0.302-15.358-2.676c6.485-5.17,13.045-10.279,19.771-15.131C427.469,1039.325,426.532,1043.346,426.32,1046.989z M433.878,606.094c-3.537,0.363-7.24,0.62-10.566-0.862c-2.146-3.053-0.257-7.165-0.121-10.581 c3.522-15.554,5.835-31.305,8.797-46.964c0.877,0,2.63-0.015,3.492-0.03C437.899,567.125,435.344,586.67,433.878,606.094z M687.505,735.696c6.757,2.494,9.417,10.067,13.634,15.358c5.593,6.968,10.883,14.179,15.69,21.736 c9.75,11.896,16.869,25.757,27.223,37.185c1.95,2.116,3.129,4.761,3.552,7.618c-5.29,0.166-10.46-0.862-15.539-2.177 c-20.104-2.116-40.253-4.081-60.115-8.026c-24.578-3.446-49.081-7.24-73.629-10.747c-10.536-2.177-21.389-2.6-31.743-5.593 c-0.589-1.663-2.63-3.96-0.423-5.321c14.163-13.695,30.05-26.241,48.93-32.65C637.85,743.103,662.156,733.444,687.505,735.696z M748.194,899.051c4.308,0.015,8.782-0.846,12.939,0.771c-0.499,3.855-1.935,7.437-5.623,9.221 c-2.267,6.001-5.804,11.609-5.835,18.23c-3.9,10.022-9.372,19.469-12.153,29.929c-3.295,3.809-3.975,8.994-6.167,13.408 c-5.427,11.957-9.81,24.336-15.494,36.172c-7.225,17.882-17.202,34.555-23.535,52.814c-1.844-0.801-3.885-1.421-4.988-3.205 c-14.859-17.867-29.899-35.597-43.911-54.144c-6.847-10.294-15.856-19.031-22.553-29.37c-9.825-28.72-24.639-55.278-38.56-82.139 c-1.633-3.023-4.021-5.699-4.474-9.206c15.872,0.318,31.97,3.87,47.796,0.559c12.667-3.477,25.092-8.026,36.52-14.556 c12.455,12.803,28.055,22.568,45.317,27.405C720.82,897.918,734.5,899.641,748.194,899.051z M458.698,535.05 c7.452,18.456,11.488,38.031,17.171,57.062c0.438,2.026,1.844,5.532-0.892,6.56c-4.58,1.859-9.689,2.524-14.526,1.345 c-0.62-21.948-3.975-43.73-5.563-65.617C455.841,534.566,457.746,534.884,458.698,535.05z M506.781,1074.152 c-3.628,0.952-7.119-1.315-10.657-1.859c-12.788-2.479-25.47-5.638-37.956-9.357c-4.081-1.769-9.78-4.943-8.692-10.203 c0.499-11.05,0.045-22.16,1.194-33.149c1.859-3.341,5.457-4.958,8.616-6.787c9.75-5.578,20.089-10.037,30.473-14.254 c2.283-1.451,3.96-1.058,5.064,1.149c6.122,21.328,8.389,43.458,11.851,65.315C506.691,1068.015,508.202,1071.295,506.781,1074.152z M502.866,751.31c-5.865-6.772-8.918-15.267-13.771-22.689c-2.811-5.986-7.905-10.914-9.311-17.504 c-2.101-17.066-6.273-33.799-8.268-50.88c0.71-1.013,1.421-2.01,2.146-2.993c-1.315-6.742-0.574-13.65-1.058-20.452 c6.122-9.19,14.708-16.401,21.026-25.394c-5.744-22.22-15.418-43.291-20.678-65.678c7.845,3.93,13.695,10.838,20.89,15.796 c7.361,6.938,15.645,12.773,23.082,19.635c14.36,11.322,27.677,23.928,42.158,35.068c16.068,14.088,32.771,27.495,48.476,41.976 c2.388,2.388,7.014,3.779,7.044,7.694c-1.406,7.497-5.88,13.816-8.616,20.814c-0.907,1.527-1.799,3.053-2.706,4.58 c-5.457,11.427-12.697,21.888-19.257,32.695c-4.882,5.29-8.374,11.654-13.272,16.93c-10.883,13.649-20.557,28.795-34.917,39.15 c-2.978,2.902-6.863,7.513-11.261,4.021C513.976,775.889,510.984,761.589,502.866,751.31z M531.858,1080.425 c-3.159-11.11-5.668-22.417-7.256-33.844c-3.537-14.587-5.729-29.445-8.918-44.108c-0.363-3.189-2.237-6.727-0.106-9.629 c5.079-0.181,10.46,0.408,15.055,2.706c6.938,23.475,9.976,47.841,14.677,71.769c0.393,5.064,1.708,10.022,2.237,15.085 C542.243,1082.345,537.088,1081.12,531.858,1080.425z M564.085,1073.396c-5.623-14.859-7.83-30.715-13.015-45.695 c-2.524-10.445-4.444-21.177-8.903-31.017c0.816-0.317,2.449-0.922,3.265-1.24c9.901,6.333,19.514,13.12,29.778,18.88 c11.881,8.389,24.941,15.418,34.948,26.211c-6.167,7.361-12.939,14.209-20.557,20.059c-7.271,5.638-13.619,12.41-21.313,17.504 C566.715,1076.676,564.705,1075.527,564.085,1073.396z M647.524,1160.538c-0.227,2.751-4.111,4.293-6.137,2.434 c-20.376-14.708-38.999-31.985-54.25-51.983c-5.064-6.575-6.893-14.904-11.7-21.615c-0.076-0.816-0.227-2.418-0.302-3.235 c5.956-4.202,10.46-10.082,16.038-14.768c9.039-7.256,16.567-16.174,25.651-23.369c8.389-1.844,17.081-1.345,25.44-3.28 c-0.408-11.699-6.59-22.22-7.77-33.708c4.096,2.57,6.606,6.802,9.795,10.324c14.284,16.612,27.798,33.814,41.266,51.076 c-0.151,0.771-0.438,2.298-0.574,3.068C672.752,1103.945,661.067,1132.68,647.524,1160.538z M698.01,1148.929 c-3.114,9.795-5.29,19.892-8.676,29.612l-1.633,0.831c-5.759-0.998-11.261-3.038-16.688-5.154c0.484-2.464,0.892-4.928,1.844-7.24 c9.251-23.097,15.615-47.176,24.654-70.349c0.937-1.859,0.846-5.079,3.446-5.442c3.9,3.295,6.757,7.649,9.931,11.639 C706.687,1118.214,703.255,1133.844,698.01,1148.929z M713.579,1089.192c-3.008-3.477-5.85-7.059-8.918-10.445 c2.751-9.069,6.077-17.957,8.979-26.966c8.51-23.021,14.466-46.904,23.324-69.82c1.874-8.661,5.623-16.703,8.299-25.107 c4.081-9.734,6.167-20.164,10.475-29.838c1.693,0.423,3.235,1.164,4.625,2.207c0.378,2.464-0.741,4.867-1.36,7.225 c-4.807,13.302-7.119,27.329-11.548,40.737c-10.128,36.731-20.573,73.432-31.955,109.755 C715.015,1087.514,714.063,1088.633,713.579,1089.192z M718.583,1181.383c3.945-14.194,6.273-28.795,10.415-42.928 c0.726-3.386,0.62-6.969,2.449-10.007c3.295,3.205,7.225,6.228,8.888,10.687c-1.799,16.053-6.953,31.592-9.432,47.539 C726.745,1186.069,717.222,1188.351,718.583,1181.383z M769.991,1201.426c-7.664,0.62-11.488-6.878-14.269-12.682 c-5.215-3.114-13.151,1.481-17.141-3.9c1.859-6.893,2.494-14.012,3.93-20.981c0.982-5.26,3.099-10.248,3.613-15.584 c4.066,1.33,5.85,5.472,8.707,8.329c5.321,5.276,10.007,11.155,14.904,16.839c1.678,1.723,1.345,4.293,1.451,6.53 C770.944,1187.127,770.581,1194.276,769.991,1201.426z M773.513,1033.355c-0.559,40.797-0.65,81.61-2.207,122.392 c-4.096-0.227-5.91-4.535-8.601-6.984c-5.049-4.852-7.951-11.609-13.634-15.796c-1.33-6.968,1.149-13.755,2.585-20.482 c2.131-8.722,2.842-17.716,4.867-26.452c3.87-14.798,6.53-29.854,9.916-44.758c1.935-8.238,3.658-16.537,4.474-24.956l1.995-1.738 C774.707,1020.703,773.407,1027.082,773.513,1033.355z M772.077,980.087c-4.792,29.929-11.624,59.465-17.292,89.243 c-4.127,17.852-7.286,35.915-11.367,53.782c-3.688-1.89-6.424-5.003-8.979-8.163c3.174-13.392,5.442-27.027,9.719-40.117 c4.368-19.953,9.931-39.618,14.632-59.495c3.265-17.882,8.223-35.401,12.274-53.117c0.393-2.434,1.693-4.52,3.099-6.454 C775.539,963.958,772.939,971.985,772.077,980.087z M763.733,904.493c1.043-2.267,1.829-5.547,4.958-5.638 c-0.816,3.643,0.68,9.659-3.764,11.261C762.01,909.632,762.962,906.292,763.733,904.493z M776.944,820.314 c-2.086,2.086-4.414-0.65-5.789-2.101c-3.28-4.172-4.535-9.508-7.361-13.952c-7.633-12.259-13.967-25.243-20.845-37.925 c-2.464-4.973-6.651-9.84-6.046-15.72c13.589,0.892,27.057-3.22,40.646-1.391C778.622,772.896,777.594,796.627,776.944,820.314z M784.517,346.315c-3.537,0.151-4.988-2.993-6.031-5.774c-1.481-4.671-5.789-8.238-5.064-13.498 c3.885,1.421,9.961-0.484,12.289,3.507C785.152,335.794,784.245,341.009,784.517,346.315z M796.671,233.476 c-1.98,14.571-2.207,29.279-3.658,43.881c-0.363,10.657-2.721,21.117-2.827,31.804c-4.973,0.741-9.931-0.378-14.753-1.406 c-3.734-1.512-2.252-6.167-1.768-9.16c5.079-21.948,11.836-43.458,17.504-65.27c0.907-3.038,2.434-5.835,3.93-8.616 C796.731,227.354,797.154,230.438,796.671,233.476z M1157.619,570.496c2.358,9.069,6.439,17.776,7.24,27.193 c3.779,20.588,2.6,41.735,0.151,62.413c-2.282,10.611-3.144,21.751-7.815,31.698c-2.6,6.711-4.55,13.68-7.452,20.285 c-7.437,15.055-12.395,31.274-20.678,45.906c-4.127,8.888-8.692,17.58-13.468,26.135c-11.533,18.078-21.661,37.018-31.622,55.974 c-4.701-2.403-7.543-6.908-10.868-10.793c-14.602-17.746-28.69-35.9-43.125-53.782c-2.781-2.781-0.801-6.621,1.255-9.115 c0.453-2.842,1.164-5.623,2.464-8.178c2.872-5.774,4.187-12.123,6.016-18.245c4.278-11.76,5.185-24.367,8.057-36.489 c1.33-8.933,1.028-18.003,1.678-26.997c-1.164-19.771-0.983-39.921-6.454-59.148c-1.814-6.545-2.963-13.408-6.349-19.378 c-2.932-9.024-10.566-16.385-11.035-26.18C1069.615,571.161,1113.602,569.574,1157.619,570.496z M1039.127,1014.551 c9.039-30.428,19.635-60.327,28.992-90.634c4.898-2.796,10.717-1.209,15.161,1.723c-4.127,11.019-7.18,22.401-11.624,33.3 c-7.074,24.382-15.841,48.234-22.9,72.616c0.121,2.993-3.839,3.537-5.487,1.663c-2.449-1.814-4.837-3.718-6.968-5.865 C1035.604,1022.879,1037.932,1018.723,1039.127,1014.551z M1026.157,1015.337c-0.786,0.136-2.358,0.408-3.144,0.544 c-15.509-12.848-30.473-26.316-45.906-39.255c-4.323-3.205-8.268-6.863-12.062-10.657c-20.24-17.111-40.329-34.449-59.934-52.285 c-3.053-2.237,1.33-4.761,3.446-4.928c5.23-1.617,9.614-4.943,14.209-7.785c2.101-0.831,4.051,0.62,5.563,1.935 c8.676,7.437,18.411,14.345,29.808,16.703c15.252,3.265,31.154,0.695,45.695-4.414c8.555-4.58,16.582-10.158,24.246-16.098 c2.146-1.391,4.202,0.892,5.789,2.131c6.953,6.757,14.224,13.74,23.444,17.247c-2.57,14.073-9.009,27.057-12.546,40.873 C1039.066,978.182,1031.886,996.518,1026.157,1015.337z M890.146,779.184c1.27-1.315,2.963-2.071,4.52-3.008 c3.462-5.215,8.828-8.571,13.559-12.501c3.628-2.948,6.621-6.696,10.702-9.069c2.192-1.104,4.232,0.982,6.243,1.678 c28.191,14.662,55.036,31.728,82.033,48.446c1.3-0.287,2.63-0.59,3.975-0.877c1.602-6.001,6.711-10.097,9.206-15.69 c1.95,0.151,3.945,0.771,4.913,2.66c17.247,21.359,34.781,42.46,51.136,64.529c-6.923,2.812-14.39,0.106-21.479-0.408 c-27.571-4.112-55.505-4.777-83.091-8.873c-23.218-2.222-46.299-5.699-69.411-8.722c-12.183-0.786-24.17-3.25-36.308-4.414 c-7.195-1.285-14.617-1.285-21.615-3.507c1.27-4.55,5.729-7.044,8.283-10.808C865.628,805.818,877.086,791.745,890.146,779.184z M838.526,333.21c-4.58,6.152-7.361,13.393-11.896,19.605c-2.041,2.419-1.617,7.845-5.819,7.452 c-2.524,0.378-4.096-2.041-3.96-4.278c-0.408-8.661-0.151-17.353,0.302-26.014c5.215-0.287,10.445-0.484,15.675-0.726 C835.563,328.69,836.803,331.728,838.526,333.21z M816.003,265.431c1.587-9.81,0.181-19.817,1.814-29.642 c2.842,2.222,2.827,6.077,3.99,9.19c3.552,10.218,8.51,20.059,10.309,30.821c2.494,10.536,3.462,21.343,5.517,31.97 c0.045,2.63-2.796,3.356-4.882,3.008c-4.081-0.287-8.147-0.907-12.244-0.68c-1.496-1.285-2.948-2.57-4.383-3.87 C816.805,292.654,815.021,279.005,816.003,265.431z M815.384,820.057c0.061-7.543-0.227-15.146,0.847-22.628 c3.371-14.496,5.85-29.34,6.379-44.229c1.768-1.028,3.401-2.554,5.502-2.917c14.027,1.466,27.813,4.55,41.523,7.8 c0.529,2.434,0.998,5.185-0.877,7.24c-10.657,14.904-22.553,28.871-33.905,43.276c-4.807,5.336-9.946,10.369-14.904,15.554 C817.198,826.239,814.976,822.566,815.384,820.057z M826.887,1243.69c-6.303-1.149-12.062-4.127-17.61-7.195 c-0.816-2.691-1.512-5.427-1.406-8.238c0.151-31.743,1.421-63.456,2.026-95.199c0.015-5.684-0.151-11.443,1.602-16.93 c3.794,12.319,4.187,25.485,6.182,38.228c4.051,29.219,5.956,58.83,12.319,87.656C829.23,1242.435,827.673,1243.266,826.887,1243.69 z M838.541,1243.599c-2.66-15.66-5.532-31.305-7.21-47.116c-2.343-9.115-1.436-18.562-2.721-27.783 c-1.406-21.117-4.837-42.022-6.878-63.063c-1.345-13.695-4.55-27.103-5.94-40.782c-1.935-16.446-5.759-32.922-3.205-49.534 c4.263,7.528,3.749,16.582,6.122,24.744c1.602,11.942,5.487,23.475,5.865,35.567c0.892,14.375,4.958,28.251,7.165,42.445 c1.889,12.365,4.973,24.487,6.666,36.882c3.885,17.232,4.595,34.948,8.132,52.24c1.693,12.894,5.986,25.334,6.953,38.349 C848.487,1246.607,842.622,1247.363,838.541,1243.599z M882.059,1246.879c-8.646-39.83-16.521-79.841-23.717-119.943 c-2.857-10.007-3.598-20.421-6.243-30.458c-5.457-26.619-11.427-53.147-16.385-79.856c-3.975-16.839-6.182-34.086-9.931-50.91 c0.71,0.106,2.131,0.317,2.842,0.423c6.152,20.195,10.626,40.858,16.219,61.219c2.902,11.05,4.247,22.432,7.331,33.451 c4.913,16.914,9.583,33.905,14.647,50.774c6.968,28.342,13.211,56.865,20.361,85.162c2.358,6.213,1.784,13.03,3.885,19.318 c2.494,10.959,5.714,21.751,7.921,32.756C893.26,1249.328,887.486,1248.754,882.059,1246.879z M945.968,1250.643 c-3.779-0.529-9.946,1.89-11.412-3.038c-4.716-11.533-8.117-23.535-12.002-35.356c-5.532-15.796-10.687-31.698-16.128-47.509 c-7.603-20.104-16.159-39.89-22.205-60.554c-4.429-11.579-7.225-23.671-11.624-35.25c-5.895-21.222-13.831-41.795-21.056-62.579 c-5.321-17.307-11.639-34.298-17.685-51.363c-5.971-13.77-10.898-27.934-15.524-42.203c-1.134-4.429-3.099-8.707-3.22-13.332 c11.155,4.006,22.296,8.314,34.086,10.128c10.052,2.63,20.497,1.965,30.745,3.114c5.714,0.831,12.622-1.391,17.126,3.28 c39.104,33.542,77.846,67.446,117.026,100.897c3.552,3.265,9.553,6.772,7.195,12.531c-19.968,63.032-42.49,125.203-62.503,188.206 C954.312,1228.589,951.818,1240.258,945.968,1250.643z M966.465,1235.799c0.438-9.553,5.155-18.184,7.89-27.193 c4.066-13.77,9.19-27.193,14.269-40.601c3.628-13.211,8.238-26.105,12.062-39.24c8.495-22.296,16.113-44.924,22.477-67.915 c3.371-8.858,6.001-18.048,10.415-26.468c3.87,2.827,7.77,5.82,10.747,9.659c-0.544,7.255-5.23,13.483-6.046,20.754 c-3.582,10.128-5.668,20.693-9.704,30.67c-5.155,17.912-13.665,34.645-18.698,52.588c-4.293,13.211-8.858,26.301-13.362,39.452 c-6.772,18.094-10.838,37.291-20.497,54.22C972.391,1244.899,966.934,1239.548,966.465,1235.799z M1125.724,1216.92 c-9.538,13.12-23.853,22.175-39.24,26.846c-10.778,2.298-21.797,4.187-32.846,3.416c-5.457-0.484-10.914,0.348-16.355,0.212 c3.794-4.489,9.765-5.578,14.949-7.694c12.153-5.018,24.926-8.404,36.837-13.997c12.274-4.399,24.578-8.692,36.671-13.559 C1129.216,1212.37,1126.616,1215.574,1125.724,1216.92z M1144.801,1133.194c-10.762,21.464-28.402,38.485-47.222,52.965 c-20.603,17.277-43.82,30.957-65.829,46.284c-8.888,6.515-18.91,11.186-27.904,17.504c-3.341,2.494-7.437,3.189-10.611,0.015 c1.103-14.042,8.404-26.468,11.76-39.966c5.154-16.083,9.553-32.423,15.221-48.355c1.98-5.85,3.628-11.82,4.822-17.867 c0.499-0.574,1.496-1.693,2.01-2.267c2.056-9.825,5.638-19.242,8.948-28.705c2.645-8.873,5.517-17.701,8.692-26.407 c0.665-1.376,0.302-2.887,0.076-4.293c4.429-4.369,3.9-11.05,6.591-16.295c1.663-3.326,2.615-6.938,3.431-10.536 c3.144-0.665,5.608,1.436,7.845,3.341c26.256,22.734,52.981,44.909,78.844,68.081 C1143.198,1128.266,1146.66,1130.473,1144.801,1133.194z M1148.852,1122.885c-8.299-4.293-14.375-11.609-21.676-17.262 c-21.177-17.398-41.614-35.658-62.428-53.479c-2.963-2.373-7.709-5.26-5.744-9.735c10.974-31.244,20.119-63.063,29.959-94.67 c3.87-6.636,4.399-14.783,9.281-20.89c2.086-2.721,3.28-5.971,4.096-9.266c1.24-6.076,4.61-11.427,5.82-17.504 c2.177-1.844,4.006,0.892,5.2,2.449c12.168,17.776,22.87,36.64,31.093,56.578c6.953,16.098,12.803,32.756,15.66,50.109 c3.25,17.957,6.001,36.278,3.446,54.507c-2.298,19.016-5.306,38.137-12.622,55.958 C1150.408,1120.482,1149.381,1122.084,1148.852,1122.885z M1173.717,1201.063c-6.454,0.136-13.12,1.874-19.454,0.287l0.03-1.663 c4.716-2.978,10.203-4.52,15.554-5.94C1173.687,1193.747,1174.11,1198.161,1173.717,1201.063z M1233.983,862.955 c-26.438,1.33-52.618-3.628-79.01-4.157c-12.637-1.073-25.319-1.753-37.94-2.902c-4.293-0.605-10.475,0.816-12.44-4.217 c8.329-5.578,18.396-7.014,27.873-9.614c26.966-7.361,55.157-6.968,82.834-9.311c6.424,1.028,14.919-2.645,19.877,2.464 C1235.57,844.438,1235.858,853.855,1233.983,862.955z M1244.081,409.453c-0.801,0.076-2.403,0.257-3.205,0.348 c-2.902-3.507-6.953-6.893-6.575-11.896c3.265,0.212,6.56,0.469,9.855,0.741C1244.458,402.228,1244.746,405.871,1244.081,409.453z M1246.348,388.775c-7.422,1.3-15.055,1.391-22.432-0.076c1.92-12.425,7.558-23.883,11.941-35.582 c3.25-9.719,5.986-19.756,11.125-28.69l1.542-1.119c0.862,0.06,2.585,0.181,3.446,0.242 C1249.054,345.197,1248.509,367.039,1246.348,388.775z M1268.674,840.07c0.665-3.144,4.671-2.207,7.014-2.283 c13.619,1.663,27.39,1.905,40.964,4.006c18.97,3.598,38.001,7.996,55.656,15.992c5.653,2.524,11.715,4.353,16.839,7.921 c0.318,0.756,0.967,2.282,1.3,3.038c-21.615,0.756-43.216-0.922-64.801-1.693c-19.771-1.436-39.724-0.091-59.359-2.993 C1265.953,856.017,1266.558,847.839,1268.674,840.07z M1377.159,1197.753c-12.606-1.512-25.304,0.877-37.956,0.151 c-19.121-1.058-38.258-1.602-57.394-1.209c-2.282-1.028-1.648-4.232-2.086-6.228c-0.499-7.588,2.086-14.98,1.194-22.583 c-0.453-3.068,3.265-3.719,5.517-3.96c8.949-0.65,18.063-1.27,26.936,0.514c18.048,2.192,36.807,4.867,52.724,14.269 c9.19,6.243,18.003,13.075,25.742,21.086c1.013,1.345,1.889,2.796,2.63,4.368C1387.619,1205.356,1383.81,1197.738,1377.159,1197.753 z M1555.6,1231.642c-8.238,3.265-16.219,7.225-24.608,10.067c-13.634,3.068-26.921,7.573-40.722,9.825 c-7.921,1.451-15.902,5.154-24.049,3.129c-7.377-2.086-15.705-1.134-22.25-5.668c-5.306-3.9-11.639-6.303-16.159-11.201 c-3.492-3.824-8.722-6.228-10.868-11.125c13.604-5.336,27.828-9.145,42.203-11.76c41.266-9.145,82.789-17.111,124.236-25.349 c1.693-0.227,4.489-1.104,5.306,1.119c3.34,6.681,4.58,14.179,5.986,21.479C1582.824,1220.714,1568.706,1225.4,1555.6,1231.642z" id="path2" - style="fill:#c33f3d;fill-opacity:1" /> + style="fill:#E94E5C;fill-opacity:1" /> \ No newline at end of file diff --git a/src/assets/images/magic-items/astral-compass.jpg b/src/assets/images/magic-items/astral-compass.jpg new file mode 100644 index 0000000..cd47a44 Binary files /dev/null and b/src/assets/images/magic-items/astral-compass.jpg differ diff --git a/src/assets/images/magic-items/chamber-of-lightning-bolts.jpg b/src/assets/images/magic-items/chamber-of-lightning-bolts.jpg new file mode 100644 index 0000000..33a7ec8 Binary files /dev/null and b/src/assets/images/magic-items/chamber-of-lightning-bolts.jpg differ diff --git a/src/assets/images/magic-items/crystal-skull-of-jund.jpg b/src/assets/images/magic-items/crystal-skull-of-jund.jpg new file mode 100644 index 0000000..cbd127d Binary files /dev/null and b/src/assets/images/magic-items/crystal-skull-of-jund.jpg differ diff --git a/src/assets/images/magic-items/helm-of-halos.jpg b/src/assets/images/magic-items/helm-of-halos.jpg new file mode 100644 index 0000000..69ca07c Binary files /dev/null and b/src/assets/images/magic-items/helm-of-halos.jpg differ diff --git a/src/assets/images/magic-items/pet-rock-1.jpg b/src/assets/images/magic-items/pet-rock-1.jpg new file mode 100644 index 0000000..8bd6d8a Binary files /dev/null and b/src/assets/images/magic-items/pet-rock-1.jpg differ diff --git a/src/assets/images/magic-items/pet-rock-2.jpg b/src/assets/images/magic-items/pet-rock-2.jpg new file mode 100644 index 0000000..2e09d0b Binary files /dev/null and b/src/assets/images/magic-items/pet-rock-2.jpg differ diff --git a/src/assets/images/magic-items/ring-of-eldritch-blasting.jpg b/src/assets/images/magic-items/ring-of-eldritch-blasting.jpg new file mode 100644 index 0000000..27926cb Binary files /dev/null and b/src/assets/images/magic-items/ring-of-eldritch-blasting.jpg differ diff --git a/src/assets/images/magic-items/silver-ring-scholar.jpg b/src/assets/images/magic-items/silver-ring-scholar.jpg new file mode 100644 index 0000000..3f3f7b9 Binary files /dev/null and b/src/assets/images/magic-items/silver-ring-scholar.jpg differ diff --git a/src/assets/images/magic-items/sword-burning-blade.jpg b/src/assets/images/magic-items/sword-burning-blade.jpg new file mode 100644 index 0000000..dc9ad87 Binary files /dev/null and b/src/assets/images/magic-items/sword-burning-blade.jpg differ diff --git a/src/assets/images/magic-items/tyrhung.jpg b/src/assets/images/magic-items/tyrhung.jpg new file mode 100644 index 0000000..a86971a Binary files /dev/null and b/src/assets/images/magic-items/tyrhung.jpg differ diff --git a/src/assets/images/portal-header.jpg b/src/assets/images/portal-header.jpg deleted file mode 100644 index 0ae1ecb..0000000 Binary files a/src/assets/images/portal-header.jpg and /dev/null differ diff --git a/src/assets/images/site-bg.jpg b/src/assets/images/site-bg.jpg new file mode 100644 index 0000000..5291d8e Binary files /dev/null and b/src/assets/images/site-bg.jpg differ diff --git a/src/assets/scripts/scripts.js b/src/assets/scripts/scripts.js index 4708aec..df82298 100644 --- a/src/assets/scripts/scripts.js +++ b/src/assets/scripts/scripts.js @@ -23,28 +23,6 @@ const onLoad = () => { setTimeout(() => { if (!window.Cookies || !window.FontFaceObserver) return; - // Handle Fonts - const fontRaleway = new FontFaceObserver("raleway"), - fontUnbounded = new FontFaceObserver("unbounded"); - Promise.all([ - fontRaleway.load(null, 5000), - fontUnbounded.load(null, 6000), - ]) - .then(() => { - if ( - document.documentElement.className.indexOf( - "js-hasFontsLoaded" - ) == -1 - ) { - document.documentElement.className += - " js-hasFontsLoaded"; - } - Cookies.set("fonts_loaded", true); - }) - .catch((err) => { - console.log("Error!", err); - }); - // Lazy-Load Media if (typeof loadMedia === "function") { loadMedia(".js-lazyLoader", null, true); diff --git a/src/assets/styles/fonts.css b/src/assets/styles/fonts.css index 82dde8d..bf65529 100644 --- a/src/assets/styles/fonts.css +++ b/src/assets/styles/fonts.css @@ -1,49 +1,49 @@ @font-face { font-family: "raleway"; - src: url("/fonts/raleway/raleway-regular-webfont.woff2") format("woff2"), - url("/fonts/raleway/raleway-regular-webfont.woff") format("woff"), - url("/fonts/raleway/raleway-regular-webfont.ttf") format("truetype"), - url("/fonts/raleway/raleway-regular-webfont.eot"); + src: local("Raleway"), + url("/fonts/raleway/raleway-regular-webfont.woff2") format("woff2"), + url("/fonts/raleway/raleway-regular-webfont.woff") format("woff"); font-weight: 400; font-style: normal; + font-display: swap; } @font-face { font-family: "raleway"; - src: url("/fonts/raleway/raleway-italic-webfont.woff2") format("woff2"), - url("/fonts/raleway/raleway-italic-webfont.woff") format("woff"), - url("/fonts/raleway/raleway-italic-webfont.ttf") format("truetype"), - url("/fonts/raleway/raleway-italic-webfont.eot"); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: "raleway"; - src: url("/fonts/raleway/raleway-bold-webfont.woff2") format("woff2"), - url("/fonts/raleway/raleway-bold-webfont.woff") format("woff"), - url("/fonts/raleway/raleway-bold-webfont.ttf") format("truetype"), - url("/fonts/raleway/raleway-bold-webfont.eot"); + src: local("Raleway Bold"), local("Raleway-Bold"), + url("/fonts/raleway/raleway-bold-webfont.woff2") format("woff2"), + url("/fonts/raleway/raleway-bold-webfont.woff") format("woff"); font-weight: 700; font-style: normal; + font-display: swap; } @font-face { font-family: "raleway"; - src: url("/fonts/raleway/raleway-bolditalic-webfont.woff2") format("woff2"), - url("/fonts/raleway/raleway-bolditalic-webfont.woff") format("woff"), - url("/fonts/raleway/raleway-bolditalic-webfont.ttf") format("truetype"), - url("/fonts/raleway/raleway-bolditalic-webfont.eot"); + src: local("Raleway Italic"), local("Raleway-Italic"), + url("/fonts/raleway/raleway-italic-webfont.woff2") format("woff2"), + url("/fonts/raleway/raleway-italic-webfont.woff") format("woff"); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "raleway"; + src: local("Raleway Bold Italic"), local("Raleway-BoldItalic"), + url("/fonts/raleway/raleway-bolditalic-webfont.woff2") format("woff2"), + url("/fonts/raleway/raleway-bolditalic-webfont.woff") format("woff"); font-weight: 700; font-style: italic; + font-display: swap; } @font-face { font-family: "unbounded"; - src: url("/fonts/unbounded/unbounded-medium-webfont.woff2") format("woff2"), - url("/fonts/unbounded/unbounded-medium-webfont.woff") format("woff"), - url("/fonts/unbounded/unbounded-medium-webfont.ttf") format("truetype"), - url("/fonts/unbounded/unbounded-medium-webfont.eot"); + src: local("Unbounded"), + url("/fonts/unbounded/unbounded-medium-webfont.woff2") format("woff2"), + url("/fonts/unbounded/unbounded-medium-webfont.woff") format("woff"); font-weight: 500; font-style: normal; + font-display: swap; } diff --git a/src/assets/styles/styles.css b/src/assets/styles/styles.css index 3a62c65..569d7c7 100644 --- a/src/assets/styles/styles.css +++ b/src/assets/styles/styles.css @@ -7,7 +7,7 @@ ****************************************************************************/ /* - New Palette + Old New Palette color: #e7a07f bg: #252837 link: #38B1B6 @@ -15,15 +15,29 @@ big-font: #C33F3D black: #1A0608 other: #E8A384 + visited: #3d81a5 + blockquote: #04778f + + New New Palette + color: #FADBB0 + bg: #2C0F2A + link: #44FCFC + border: #E94E5C + big-font: #E94E5C + black: #1A0608 + other: #F6BC43 + visited: #CC45B6 + blockquote: #885C68 */ html { font-size: 16px; } body { - background: #252837; /* Old browsers */ - background: url("/images/portal-header.jpg") top fixed; - color: #e7a07f; + background: #2c0f2a; /* Old browsers */ + background: url("/images/site-bg.jpg") bottom fixed; + background-size: cover; + color: #fadbb0; font-family: sans-serif; font-size: 100%; line-height: 1.5em; @@ -32,8 +46,8 @@ body { a { border: 1px solid transparent; - border-bottom: 1px solid #c33f3d; - color: #38b1b6; + border-bottom: 1px solid #e94e5c; + color: #44fcfc; font-weight: bold; padding: 0 0.2rem; text-decoration: none; @@ -49,20 +63,20 @@ a[target="_blank"]::after { } a:hover { - border: 1px solid #c33f3d; - background-color: #38b1b6; + border: 1px solid #e94e5c; + background-color: #44fcfc; border-radius: 0.3rem; - color: #c33f3d; + color: #e94e5c; text-decoration: none; text-shadow: 0px 1px 1px rgba(16, 16, 16, 0.6); } a:visited { - color: #3d81a5; + color: #cc45b6; } a:visited:hover { - color: #c33f3d; + color: #e94e5c; } article img { @@ -70,7 +84,7 @@ article img { } blockquote { - border-left: 2px solid #04778f; + border-left: 2px solid #885c68; font-style: italic; margin: 1em 0; padding: 0 1em; @@ -84,7 +98,7 @@ blockquote cite { code, kbd { - background-color: #7c4c52; + background-color: #885c68; background-color: rgba(13, 24, 82, 0.5); color: #ccc; font-size: 0.9em; @@ -122,7 +136,7 @@ details summary:before { content: ""; border-width: 0.4rem; border-style: solid; - border-color: transparent transparent transparent #38b1b6; + border-color: transparent transparent transparent #44fcfc; position: absolute; top: 1.3rem; left: 1rem; @@ -132,7 +146,8 @@ details summary:before { } figcaption { - font-size: 0.9em; + font-size: 0.75em; + font-style: italic; } figure { @@ -141,8 +156,22 @@ figure { text-align: center; } +figure[data-type="image"] > a { + position: relative; +} + +figure[data-type="image"] > a[target="_blank"]::after { + position: absolute; + bottom: 1rem; + right: 1rem; +} + +figure img { + width: 100%; /* Scale down */ +} + h1 { - color: #c33f3d; + color: #e94e5c; font-size: 1.5em; line-height: 1.2em; margin-top: 3rem; @@ -154,13 +183,13 @@ h1 svg { h2 { background-color: rgba(37, 40, 55, 0.6); - color: #c33f3d; + color: #e94e5c; font-size: 1.3em; line-height: 1.2em; } h3 { - color: #c33f3d; + color: #e94e5c; font-size: 1.2em; line-height: 1.2em; background-color: rgba(37, 40, 55, 0.6); @@ -168,19 +197,19 @@ h3 { } h4 { - color: #c33f3d; + color: #e94e5c; font-size: 1.12em; line-height: 1.2em; } h5 { - color: #c33f3d; + color: #e94e5c; font-size: 1.06em; line-height: 1.2em; } h6 { - color: #c33f3d; + color: #e94e5c; font-size: 1em; } @@ -233,7 +262,7 @@ ul { } pre { - background-color: #7c4c52; + background-color: #885c68; background-color: rgba(13, 24, 82, 0.5); color: #ccc; font-size: 0.9em; @@ -251,7 +280,7 @@ samp { } table { - border: 1px solid #e8a384; + border: 1px solid #f6bc43; border-collapse: collapse; } @@ -286,11 +315,11 @@ table th { } .dividedTableWrapper table td { - border: 1px dashed #e8a384; + border: 1px dashed #f6bc43; } .dividedTableWrapper table th { - border: 1px dashed #e8a384; + border: 1px dashed #f6bc43; border-bottom-style: solid; border-collapse: collapse; padding: 0.5rem; @@ -298,27 +327,55 @@ table th { .feature hr { border: 1px 0 0 0; - border-color: #7c4c52; + border-color: #885c68; border-style: solid; - color: #7c4c52; + color: #885c68; max-width: 90%; } a.hiddenLink { border-bottom: transparent; - color: #e7a07f; + color: #fadbb0; font-weight: normal; } a.hiddenLink:hover { - color: #c33f3d; + color: #e94e5c; font-weight: bold; } +.imgWrapper { + float: right; + margin: 0 -0.5rem 0 1rem; + max-width: 50%; + position: relative; + text-align: center; + z-index: 0; +} + +.imgWrapper figure > a { + border-color: transparent; + display: inline-block; + padding: 0.5rem 0.5rem 0.25rem; +} + +.imgWrapper figure > a:hover { + border-color: #e94e5c; +} + .levelTable table thead tr:first-child th { border-bottom-style: dashed; } +.licenseLink { + border-color: transparent; + padding: 0.25rem 0 0 0.25rem; +} + +a.licenseLink:hover { + border-color: #e94e5c; +} + .menu-icon { display: block; position: absolute; @@ -360,7 +417,7 @@ a.hiddenLink:hover { } .menu-text { - color: #38b1b6; + color: #44fcfc; font-weight: bold; padding: 0 0.5rem; position: absolute; @@ -372,10 +429,10 @@ a.hiddenLink:hover { } .menu-text:hover { - border: 1px solid #c33f3d; - background-color: #38b1b6; + border: 1px solid #e94e5c; + background-color: #44fcfc; border-radius: 0.3rem; - color: #c33f3d; + color: #e94e5c; text-decoration: none; text-shadow: 0px 1px 1px rgba(16, 16, 16, 0.6); } @@ -445,22 +502,22 @@ a.hiddenLink:hover { .navBar a { border-bottom: transparent; - color: #38b1b6; + color: #44fcfc; display: flex; padding: 0.5rem; width: 100%; } .navBar a:visited { - color: #38b1b6; + color: #44fcfc; } .navBar a:hover { - color: #c33f3d; + color: #e94e5c; } .navMenu { align-items: center; - background: #252837; + background: #2c0f2a; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; @@ -472,6 +529,7 @@ a.hiddenLink:hover { position: fixed; top: 0; transition-duration: 0.25s; + z-index: 5; } .navMenu a { @@ -483,7 +541,7 @@ a.hiddenLink:hover { } .navMenu a:visited { - color: #38b1b6; + color: #44fcfc; } .navMenu li { @@ -495,12 +553,12 @@ a.hiddenLink:hover { } .navMenu > ul > li.hasSubMenu > a { - border: 1px solid #c33f3d; + border: 1px solid #e94e5c; } .navMenu li.hasSubMenu:hover, .navMenu li.hasSubMenu:focus-within { - background-color: rgba(195, 63, 61, 0.5); + background-color: rgba(233, 78, 92, 0.5); } .navMenu ul li ul li.hasSubMenu:hover, @@ -510,12 +568,12 @@ a.hiddenLink:hover { .navMenu li.hasSubMenu:hover a, .navMenu li.hasSubMenu:hover a:visited { - color: #38b1b6; + color: #44fcfc; } .navMenu li.hasSubMenu:hover a:hover, .navMenu li.hasSubMenu:hover a:visited:hover { - color: #c33f3d; + color: #e94e5c; } .navMenu li:focus-within a { @@ -566,24 +624,16 @@ a.hiddenLink:hover { padding-left: 1rem; } -/* -.navMenu ul li ul li.hasSubMenu > a::after { - content: "▶"; - position: absolute; - right: 1rem; -} -*/ - .navMenu-list-link.isCurrentSection { - background-color: #38b1b6; - border: 1px solid #c33f3d; + background-color: #44fcfc; + border: 1px solid #e94e5c; border-radius: 0.3rem; color: #1a0608; text-decoration: none; } .navMenu-list-link.isCurrentSection:hover { - background-color: #c33f3d; + background-color: #e94e5c; } .navMenu-list-item { @@ -596,7 +646,7 @@ a.hiddenLink:hover { .page { background: #372734; background: rgba(55, 39, 52, 0.9); - border: 1px solid #252837; + border: 1px solid #2c0f2a; border-top: none; border-bottom: none; display: block; @@ -608,7 +658,7 @@ a.hiddenLink:hover { } .pageFooter { - border-top: 1px solid #252837; + border-top: 1px solid #2c0f2a; margin: 0 auto; padding: 0.5em 1em; width: 100%; @@ -642,14 +692,14 @@ a.hiddenLink:hover { a.pageTitle-link, a.pageTitle-link:visited { - color: #c33f3d; + color: #e94e5c; border-bottom: none; margin-left: -0.25rem; } .pageTitle-link:active, .pageTitle-link:hover { - border: 1px solid #c33f3d; + border: 1px solid #e94e5c; } .siteTitle-text { @@ -665,7 +715,7 @@ a.pageTitle-link:visited { } .table-of-contents { - border: 1px dashed #e8a384; + border: 1px dashed #f6bc43; display: inline-block; } @@ -736,7 +786,7 @@ a.pageTitle-link:visited { } .searchBox-query { - background-color: #3d81a5; + background-color: #cc45b6; border-radius: 0.3rem; color: #fff; width: 10em; @@ -751,7 +801,7 @@ a.pageTitle-link:visited { .siteTitle-link:visited { align-items: center; border: 1px solid transparent; - color: #38b1b6; + color: #44fcfc; border-radius: 1rem; display: flex; flex-direction: row; @@ -764,7 +814,7 @@ a.pageTitle-link:visited { .siteTitle-shipIcon { max-width: 10rem; - fill: #c33f3d; + fill: #e94e5c; fill-opacity: 0.5; -webkit-transition: 0.3s fill, 0.3s fill-opacity; transition: 0.3s fill, 0.3s fill-opacity; @@ -795,695 +845,8 @@ a.pageTitle-link:visited { text-align: center; } -/*************************************************************************************************************************** - * * - * TODO: Remove the unnecessary styles below this line - * * - ***************************************************************************************************************************/ -/* -.asideBio { - line-height: 1.35em; - padding: 0.5em; - text-align: center; -} - -.asideBio-div { +.zineIssue-wrapper .table-of-contents { display: none; - margin: 0.5em auto; - text-align: center; -} - -.asideBio-div-img { - max-width: 7.5em; -} - -.asideBio-div-imgLink { - border: 1px solid transparent; - display: inline-block; - padding: 0.5em 0.5em 0.3em; -} - -.asideBio-div-link { - white-space: nowrap; -} - -.asideBio-div-textLink { - display: none; -} - -.asideContent { - border-top: 1px dotted #04778f; -} - -.asideMenu-divider { - border: 1px dashed #c33f3d; - color: #c33f3d; - width: 80%; -} - -.asideMenu-item { - align-self: auto; - display: inline-block; - flex: none; - margin: 0.5em; -} - -.asideMenu-link { - border: 1px solid #726f6a; - border-radius: 0.3em; - display: inline-block; - padding: 0.25em; -} - -.asideMenu-list { - align-content: center; - align-items: center; /* or stretch */ /* - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - list-style: none; - margin: 0; - padding: 0; - text-align: center; -} - -.asideMenu-subtitle { - font-size: 1.1em; - margin: 1.3em auto; - text-align: center; -} - -.asideMenu-subtitle-link { - border: 1px solid transparent; - display: inline-block; -} - -.asideMenu-title { - font-size: 1.3em; - margin: 1.5em auto; - text-align: center; -} - -.asideMenu-title-link { - border: 1px solid transparent; - display: inline-block; -} - -.asideRight { - padding: 0 1em 1em; -} - -.authorHidden { - display: none; -} - -.backLink { - clear: both; - font-size: 0.8em; - margin: 1em auto; - text-align: center; -} - -.backLink-link { - border: 1px solid #c33f3d; - color: #c33f3d; - display: inline-block; - padding: 0.25em 0.5em; -} - -.boxLink { - border: 1px solid #726f6a; - border-radius: 0.3em; - display: inline-block; - padding: 0.25em; -} - -.boxLink.isCurrent { - background-color: #38b1b6; - background-color: rgba(4, 156, 116, 0.8); - color: #1a0608; - text-decoration: none; -} - -.boxLink.isCurrent:hover { - background-color: #c33f3d; -} - -.dataTable td { - border-left: 1px solid #252837; - border-right: 1px solid #252837; - padding: 0.1em 0.2em; - text-align: center; -} - -.dataTable th { - border: 1px solid #252837; - color: #c33f3d; - padding: 0.2em 0.4em; - text-align: center; -} - -.dataTable thead tr { - background-color: #7c4c52; -} - -.dataTable tr { - border-bottom: 1px solid transparent; - border-top: 1px solid transparent; -} - -.dataTable tbody tr:last-child { - border-bottom: 1px solid #252837; -} - -.dataTable tbody:nth-child(even) tr:nth-child(even) { - background-color: #7c4c52; -} - -.dataTable tr:hover td { - border-bottom: 1px solid #c33f3d; - border-top: 1px solid #c33f3d; - color: #c33f3d; -} - -.dirList { - padding: 0; -} - -.dirList-item { - display: inline-block; - margin: 0.5em; -} - -.embed { - display: block; - margin: 1em auto; - width: 30em; - max-width: 100%; -} - -.embedLink { - padding: 0.2rem; -} - -.embedImg { - width: 100%; -} - -.embedSwitch { - text-align: right; - margin-bottom: 1em; -} - -.embedTwitter { - width: 100%; -} - -.embedVimeo { - height: 15em; - max-height: 50vw; -} - -.embedYoutube { - min-height: 21em; - width: 100%; -} - -.entry-content { - display: block; - min-height: 2.6em; - padding-top: 0.2em; -} - -.entry-reacji { - cursor: default; - float: left; - font-size: 2.2em; - margin-right: 0.2em; - vertical-align: middle; -} - -.entry-reply { - display: block; -} - -.feedLine { - border-color: #c33f3d; - border-color: rgba(37, 171, 171, 0.3); - clear: both; - margin: 2.5em auto; - width: 80%; -} - -.feedLine:last-child { - display: none; -} - -.footnote { - font-size: 0.8em; -} - -.gameCardImg { - border-radius: 1rem; - max-width: 100%; -} - -.gameCardImgLand { - border-radius: 2rem; - max-width: 100%; -} - -.heroImage { - display: block; - clear: both; - margin: auto; - max-width: 100%; -} - -.icon { - display: inline-block; - font-size: 2em; - font-style: normal; - text-transform: none; - vertical-align: middle; -} - -.imgAttrib { - font-size: 0.8em; -} - -.js-momentTime { - display: inline-block; -} - -.licenseImg { - vertical-align: middle; -} - -.licenseLink { - display: inline-block; - border: 1px solid transparent; - border-bottom: 1px solid transparent; - vertical-align: baseline; -} - -.linkButton { - margin: 1em auto; - text-align: center; -} - -.linkButton-link { - border: 1px solid #c33f3d; - color: #c33f3d; - display: inline-block; - padding: 0.25em 0.5em; -} - -.magic-commander-img { - border-radius: 0.75em; - max-width: 100%; - width: 15em; -} - -.mainBio-div-img { - height: auto; - margin: 0; - vertical-align: middle; - width: 100%; -} - -.mainBio-div-imgLink { - border: 1px solid transparent; - display: block; - margin: 0 auto; - max-width: 15em; - padding: 0.5em; -} - -.mainBio-div-imgLink:hover { - border-width: 3px; -} - -.mainBio-div-textLink { - display: none; -} - -.pageMenu { - clear: both; - margin: 0 auto 2.5em; - max-width: 25em; - padding: 0px; - text-align: center; -} - -.pageMenu-anaCardLink { - border: 1px solid transparent; - display: inline-block; - margin: 0 auto; - padding: 0.5em; -} - -.pageMenu-anaCards { - align-items: center; - display: flex; - flex-direction: column; - max-width: 100%; -} - -.pageMenu-caption { - left: 0; - bottom: 0.5em; - position: absolute; - right: 0; -} -.pageMenu-gameCards { - align-items: center; - display: flex; - flex-direction: column; - justify-content: center; -} - -.pageMenu-gameCardLink { - border: 1px solid transparent; - display: flex; - margin: 0 auto; - max-width: 24em; - padding: 0.5em; -} - -.pageMenu-item { - align-items: center; - border: 2px solid transparent; - border-radius: 0.3rem; - display: flex; - justify-content: center; - margin-left: 0; - max-width: 340px; - text-align: center; - text-decoration: none; -} - -.pageMenu-item:hover { - border-color: #c33f3d; -} - -.pageMenu-link { - display: block; - height: 6.8em; - position: relative; - width: 6.8em; -} - -.pageMenu-link:hover .pageMenu-text { - background-color: #c33f3d; - background-color: rgba(150, 150, 150, 0.8); - color: #1a0608; - text-decoration: none; - width: 100%; -} - -.pageMenu-text { - background: rgba(50, 50, 50, 0.8); - display: inline-block; - margin: 0 auto; - width: 100%; -} - -.pageSection { - word-wrap: break-word; -} - -.postsByYear { - clear: both; - display: block; - float: right; -} - -.postsByYear { - clear: both; - font-size: 0.8em; - margin: 1em auto; - text-align: center; -} - -.postsByYear-list { - display: inline; - margin: 0; - max-width: 25em; - padding: 0px; -} - -.postsByYear-list li { - border-radius: 0.3rem; -} - -.postMenu { - max-height: 0; - overflow: hidden; -} -.postMenu-item { - align-self: auto; - display: inline-block; - flex: none; - margin: 0.5em; -} - -.postMenu-link { - border: 1px solid #726f6a; - border-radius: 0.3em; - display: inline-block; - padding: 0.25em; -} - -.postMenu-list { - align-content: center; - align-items: center; - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - list-style: none; - margin: 0; - padding: 0; - text-align: center; -} - -.postMenu-title { - font-size: 1.3em; - margin: 1.5em auto; - text-align: center; -} - -.postMenu-title-link { - border: 1px solid transparent; - display: inline-block; -} - -.pubDate { - font-size: 0.9em; - visibility: hidden; -} - -.raceTable-name { - font-weight: bold; - text-align: left; -} - -.readTime { - font-size: 0.9em; - font-style: italic; - text-align: right; - text-transform: capitalize; -} - -.replyTo { - margin: 0 1.25em; -} - -.replyTo-arrow { - font-size: 1.75em; -} - -.sectionBackLink { - border: 1px solid #726f6a; - border-radius: 0.3em; - display: inline-block; - margin: 1em auto; - padding: 0.25em; - text-align: center; -} - -.sectionBackLink-wrapper { - text-align: center; -} - -.spellTable { - margin-left: -1em; -} - -.spellTable td { - border: 1px solid #e8a384; -} - -.spellTable tbody:nth-child(even) { - background-color: #7c4c52; -} - -.tagPage-counts { - font-size: 0.9em; - font-style: italic; -} - -.tagPage-list { - padding-left: 0; -} - -.tagPage-listItem { - display: inline; - list-style: none; - padding: 0.3em 0.5em; -} - -.teaseLink { - clear: both; - font-size: 0.8em; - margin: 1em auto; - text-align: center; -} - -.teaseLink-link { - color: #c33f3d; - display: inline-block; - padding: 0.25em 0.5em; -} - -.twitter-tweet { - margin: 0; -} - -.update-citation { - display: block; - text-align: right; -} - -.update-footer { - align-items: start; - color: #423f4d; - display: flex; - flex-direction: column; - font-size: 0.9em; - font-style: italic; - margin-top: 1em; -} - -.update-footer-author { - display: none; -} - -.update-footer-time { - margin-left: auto; -} - -.update-nav { - border-top: 1px dotted; - display: flex; - margin-top: 1em; - padding-top: 1em; - width: 100%; -} - -.update-nav-link { - border: 1px dashed #726f6a; - border-radius: 0.3em; - display: block; - padding: 0.5em; -} - -.update-nav-linkWrapper { - max-width: 45%; -} - -.update-nav-pubDate { - font-size: 0.8em; -} - -.update-nav-nextWrapper { - margin-left: auto; - text-align: right; -} - -.update-tags { - align-items: center; - display: flex; - flex-wrap: wrap; - margin-top: 1em; - text-align: left; -} - -.update-tags > .boxLink { - margin: 0.5em; -} - -/**************************************************************************** - * State Overrides - ****************************************************************************/ -/* -.asideBio.hideBio { - display: none; -} - -.asideBio-div.showPhoto { - display: inline-block; -} - -.asideMenu-link.isCurrent { - background-color: #38b1b6; - background-color: rgba(4, 156, 116, 0.8); - color: #1a0608; - text-decoration: none; -} - -.asideUpdates .update-citation { - display: none; -} - -.asideUpdates .update-footer-time { - margin: 1em 0 2em; -} - -.asideUpdates .js-momentTime { - display: none; -} - -.pageMenu-link.isCurrent .pageMenu-text { - background-color: #38b1b6; - background-color: rgba(4, 156, 116, 0.8); - color: #1a0608; - text-decoration: none; -} - -.pageMenu-link.isCurrent:hover .pageMenu-text { - background-color: #c33f3d; -} - -.textMenu-link.isCurrent { - background-color: #38b1b6; - background-color: rgba(4, 156, 116, 0.8); - color: #1a0608; - text-decoration: none; -} - -.textMenu-link.isCurrent:hover { - background-color: #c33f3d; -} - -.update.isDraft { - background-color: #282c32; -} - -.update.isEmbargoed { - background-color: #151222; } /**************************************************************************** @@ -1501,6 +864,10 @@ a.pageTitle-link:visited { margin-top: 2rem; } + .imgWrapper { + max-width: 33%; + } + .menubar { height: auto; } @@ -1520,7 +887,7 @@ a.pageTitle-link:visited { } h1 { - color: #c33f3d; + color: #e94e5c; font-size: 2em; line-height: 1.2em; margin-top: 3rem; @@ -1528,13 +895,13 @@ a.pageTitle-link:visited { h2 { background-color: transparent; - color: #c33f3d; + color: #e94e5c; font-size: 1.5em; line-height: 1.2em; } h3 { - color: #c33f3d; + color: #e94e5c; font-size: 1.25em; line-height: 1.2em; background-color: rgba(37, 40, 55, 0.6); @@ -1542,19 +909,19 @@ a.pageTitle-link:visited { } h4 { - color: #c33f3d; + color: #e94e5c; font-size: 1.12em; line-height: 1.2em; } h5 { - color: #c33f3d; + color: #e94e5c; font-size: 1.06em; line-height: 1.2em; } h6 { - color: #c33f3d; + color: #e94e5c; font-size: 1em; } diff --git a/src/layouts/partials/backLink.ejs b/src/layouts/partials/backLink.ejs index 71a5263..198dd71 100644 --- a/src/layouts/partials/backLink.ejs +++ b/src/layouts/partials/backLink.ejs @@ -14,7 +14,9 @@ var titlesBySection = { material: "Material Planes", transcendental: "Transcendental Planes", -}; +}, +unlistedSections = ['main']; + %> <% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %> @@ -23,7 +25,12 @@ var titlesBySection = { < Back to <%= titlesBySection[page.subsection] ?? page.subsection.charAt(0).toUpperCase() + page.subsection.slice(1) %> -<% } else if (page.section && page.section !== 'main' && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%> +<% } else if (page.section && page.section === 'licenses') { -%> +
+ The latest version of this license can always be found at <%=site.url%>/<%=page.path%>. +
+ +<% } else if (page.section && !unlistedSections.includes(page.section) && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%>- Background image by AlanFrijns / Pixabay, used under the Pixabay License. + Background image created with DALL-E released under a CC0 license.
Back to TopYou can go back and try again, or just start over at It's Eric Woodward's front page.
+You can go back and try again, + or just start over at the front page for the guide.
++ Background image created with Stable Diffusion Online, + released under a CC0 license. +
diff --git a/src/support/opensearch.xml.ejs b/src/support/opensearch.xml.ejs index bdedef8..0c4b66a 100644 --- a/src/support/opensearch.xml.ejs +++ b/src/support/opensearch.xml.ejs @@ -5,8 +5,8 @@