diff options
-rw-r--r-- | .eleventy.js | 23 | ||||
-rw-r--r-- | package-lock.json | 497 | ||||
-rw-r--r-- | package.json | 14 | ||||
-rw-r--r-- | src/_includes/assets/css/styles.css | 2116 | ||||
-rw-r--r-- | src/_includes/base.njk | 13 | ||||
-rw-r--r-- | src/_includes/intro.njk | 5 | ||||
-rw-r--r-- | src/_includes/partials/footer.njk | 14 | ||||
-rw-r--r-- | src/_includes/partials/head.njk | 2 | ||||
-rw-r--r-- | src/_includes/partials/header.njk | 31 | ||||
-rw-r--r-- | src/_includes/posts.njk | 29 | ||||
-rw-r--r-- | src/about.njk | 19 | ||||
-rw-r--r-- | src/contact.njk | 10 | ||||
-rw-r--r-- | src/css/fonts/Cotory-rgwd9.ttf | bin | 0 -> 46900 bytes | |||
-rw-r--r-- | src/css/fonts/VCR_OSD_MONO_1.001.ttf | bin | 0 -> 75864 bytes | |||
-rw-r--r-- | src/css/styles.css | 179 | ||||
-rw-r--r-- | src/cv.njk | 74 | ||||
-rw-r--r-- | src/hire-me.njk | 81 | ||||
-rw-r--r-- | src/images/me.jpg | bin | 1158955 -> 352209 bytes | |||
-rw-r--r-- | src/index.njk | 25 | ||||
-rw-r--r-- | src/posts/big-list-game-dev.njk | 36 | ||||
-rw-r--r-- | src/posts/index.njk | 31 | ||||
-rw-r--r-- | src/timeline.njk | 74 | ||||
-rw-r--r-- | tailwind.config.js | 43 |
23 files changed, 338 insertions, 2978 deletions
diff --git a/.eleventy.js b/.eleventy.js index 3089f6c..fbf989e 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -5,10 +5,11 @@ const faviconPlugin = require("eleventy-favicon"); const eleventyPluginFeathericons = require("eleventy-plugin-feathericons"); const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); const pluginRss = require("@11ty/eleventy-plugin-rss"); +const _ = require("lodash"); module.exports = function (config) { config.addPassthroughCopy({ - "src/_includes/assets/css/styles.css": "./global.css", + "src/css/styles.css": "./styles.css", }); config.addPassthroughCopy({ "src/css/fonts": "./fonts", @@ -33,10 +34,26 @@ module.exports = function (config) { }); function filterTagList(tags) { - return (tags || []).filter(tag => ["all", "nav", "post", "posts"].indexOf(tag) === -1); + return (tags || []).filter( + (tag) => ["all", "nav", "post", "posts"].indexOf(tag) === -1 + ); } - config.addFilter("filterTagList", filterTagList) + config.addCollection("postsByYear", (collection) => { + return _.chain( + collection.getAllSorted().filter((post) => { + return post.data.tags?.includes("posts"); + }) + ) + .groupBy((post) => { + return dayjs(post.date).format("DD MMM YYYY"); + }) + .toPairs() + .reverse() + .value(); + }); + + config.addFilter("filterTagList", filterTagList); return { dir: { diff --git a/package-lock.json b/package-lock.json index 4ec46a1..48c6533 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,19 +8,19 @@ "name": "indrajth.dev", "version": "1.0.0", "license": "ISC", + "dependencies": { + "lodash": "^4.17.21" + }, "devDependencies": { "@11ty/eleventy": "^1.0.2", "@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-syntaxhighlight": "^4.1.0", - "@tailwindcss/forms": "^0.5.3", - "@tailwindcss/line-clamp": "^0.4.0", "autoprefixer": "^10.4.8", "dayjs": "^1.11.5", "eleventy-favicon": "^1.1.3", "eleventy-plugin-feathericons": "^1.0.1", "npm-run-all": "^4.1.5", - "postcss-cli": "^10.0.0", - "tailwindcss": "^3.1.8" + "postcss-cli": "^10.0.0" } }, "node_modules/@11ty/dependency-tree": { @@ -258,27 +258,6 @@ "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", "dev": true }, - "node_modules/@tailwindcss/forms": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz", - "integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==", - "dev": true, - "dependencies": { - "mini-svg-data-uri": "^1.2.3" - }, - "peerDependencies": { - "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1" - } - }, - "node_modules/@tailwindcss/line-clamp": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.0.tgz", - "integrity": "sha512-HQZo6gfx1D0+DU3nWlNLD5iA6Ef4JAXh0LeD8lOGrJwEDBwwJNKQza6WoXhhY1uQrxOuU8ROxV7CqiQV4CoiLw==", - "dev": true, - "peerDependencies": { - "tailwindcss": ">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1" - } - }, "node_modules/@types/component-emitter": { "version": "1.2.11", "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", @@ -346,26 +325,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "dev": true, - "dependencies": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - } - }, - "node_modules/acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -425,12 +384,6 @@ "node": ">= 8" } }, - "node_modules/arg": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", - "dev": true - }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -900,15 +853,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/caniuse-lite": { "version": "1.0.30001383", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001383.tgz", @@ -1246,18 +1190,6 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/cssom": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", @@ -1339,12 +1271,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", - "dev": true - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1387,23 +1313,6 @@ "node": ">=8" } }, - "node_modules/detective": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz", - "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==", - "dev": true, - "dependencies": { - "acorn-node": "^1.8.2", - "defined": "^1.0.0", - "minimist": "^1.2.6" - }, - "bin": { - "detective": "bin/detective.js" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/dev-ip": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dev-ip/-/dev-ip-1.0.1.tgz", @@ -1416,12 +1325,6 @@ "node": ">= 0.8.0" } }, - "node_modules/didyoumean": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", - "dev": true - }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -3373,8 +3276,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.deburr": { "version": "4.1.0", @@ -3562,15 +3464,6 @@ "dom-walk": "^0.1.0" } }, - "node_modules/mini-svg-data-uri": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", - "dev": true, - "bin": { - "mini-svg-data-uri": "cli.js" - } - }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -3658,6 +3551,7 @@ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true, + "peer": true, "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -3988,15 +3882,6 @@ "node": ">=0.10.0" } }, - "node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/object-inspect": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", @@ -4319,6 +4204,7 @@ "url": "https://tidelift.com/funding/github/npm/postcss" } ], + "peer": true, "dependencies": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -4442,90 +4328,6 @@ "node": ">= 14" } }, - "node_modules/postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", - "dev": true, - "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "node_modules/postcss-js": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", - "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", - "dev": true, - "dependencies": { - "camelcase-css": "^2.0.1" - }, - "engines": { - "node": "^12 || ^14 || >= 16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": "^8.3.3" - } - }, - "node_modules/postcss-load-config": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", - "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", - "dev": true, - "dependencies": { - "lilconfig": "^2.0.5", - "yaml": "^1.10.2" - }, - "engines": { - "node": ">= 10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": ">=8.0.9", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/postcss-nested": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz", - "integrity": "sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==", - "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.6" - }, - "engines": { - "node": ">=12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": "^8.2.14" - } - }, "node_modules/postcss-reporter": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-7.0.5.tgz", @@ -4546,19 +4348,6 @@ "postcss": "^8.1.0" } }, - "node_modules/postcss-selector-parser": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", - "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", - "dev": true, - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/postcss-value-parser": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", @@ -4898,18 +4687,6 @@ } ] }, - "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", @@ -5757,6 +5534,7 @@ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -6016,58 +5794,6 @@ "node": ">=0.10.0" } }, - "node_modules/tailwindcss": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz", - "integrity": "sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==", - "dev": true, - "dependencies": { - "arg": "^5.0.2", - "chokidar": "^3.5.3", - "color-name": "^1.1.4", - "detective": "^5.2.1", - "didyoumean": "^1.2.2", - "dlv": "^1.1.3", - "fast-glob": "^3.2.11", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "lilconfig": "^2.0.6", - "normalize-path": "^3.0.0", - "object-hash": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.14", - "postcss-import": "^14.1.0", - "postcss-js": "^4.0.0", - "postcss-load-config": "^3.1.4", - "postcss-nested": "5.0.6", - "postcss-selector-parser": "^6.0.10", - "postcss-value-parser": "^4.2.0", - "quick-lru": "^5.1.1", - "resolve": "^1.22.1" - }, - "bin": { - "tailwind": "lib/cli.js", - "tailwindcss": "lib/cli.js" - }, - "engines": { - "node": ">=12.13.0" - }, - "peerDependencies": { - "postcss": "^8.0.9" - } - }, - "node_modules/tailwindcss/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/tar-fs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", @@ -6650,15 +6376,6 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", "dev": true }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/yargs": { "version": "17.5.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", @@ -6861,22 +6578,6 @@ "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", "dev": true }, - "@tailwindcss/forms": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz", - "integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==", - "dev": true, - "requires": { - "mini-svg-data-uri": "^1.2.3" - } - }, - "@tailwindcss/line-clamp": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.0.tgz", - "integrity": "sha512-HQZo6gfx1D0+DU3nWlNLD5iA6Ef4JAXh0LeD8lOGrJwEDBwwJNKQza6WoXhhY1uQrxOuU8ROxV7CqiQV4CoiLw==", - "dev": true, - "requires": {} - }, "@types/component-emitter": { "version": "1.2.11", "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", @@ -6935,23 +6636,6 @@ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true }, - "acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "dev": true, - "requires": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - } - }, - "acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -6995,12 +6679,6 @@ "picomatch": "^2.0.4" } }, - "arg": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", - "dev": true - }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -7353,12 +7031,6 @@ "get-intrinsic": "^1.0.2" } }, - "camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "dev": true - }, "caniuse-lite": { "version": "1.0.30001383", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001383.tgz", @@ -7626,12 +7298,6 @@ "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "dev": true }, - "cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true - }, "cssom": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", @@ -7687,12 +7353,6 @@ "object-keys": "^1.1.1" } }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", - "dev": true - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -7723,29 +7383,12 @@ "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", "dev": true }, - "detective": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz", - "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==", - "dev": true, - "requires": { - "acorn-node": "^1.8.2", - "defined": "^1.0.0", - "minimist": "^1.2.6" - } - }, "dev-ip": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dev-ip/-/dev-ip-1.0.1.tgz", "integrity": "sha512-LmVkry/oDShEgSZPNgqCIp2/TlqtExeGmymru3uCELnfyjY11IzpAproLYs+1X88fXO6DBoYP3ul2Xo2yz2j6A==", "dev": true }, - "didyoumean": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", - "dev": true - }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -9252,8 +8895,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.deburr": { "version": "4.1.0", @@ -9403,12 +9045,6 @@ "dom-walk": "^0.1.0" } }, - "mini-svg-data-uri": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", - "dev": true - }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -9480,7 +9116,8 @@ "version": "3.3.4", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "dev": true + "dev": true, + "peer": true }, "napi-build-utils": { "version": "1.0.2", @@ -9724,12 +9361,6 @@ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true }, - "object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "dev": true - }, "object-inspect": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", @@ -9977,6 +9608,7 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", "dev": true, + "peer": true, "requires": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -10054,45 +9686,6 @@ } } }, - "postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", - "dev": true, - "requires": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" - } - }, - "postcss-js": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", - "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", - "dev": true, - "requires": { - "camelcase-css": "^2.0.1" - } - }, - "postcss-load-config": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", - "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", - "dev": true, - "requires": { - "lilconfig": "^2.0.5", - "yaml": "^1.10.2" - } - }, - "postcss-nested": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz", - "integrity": "sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==", - "dev": true, - "requires": { - "postcss-selector-parser": "^6.0.6" - } - }, "postcss-reporter": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-7.0.5.tgz", @@ -10103,16 +9696,6 @@ "thenby": "^1.3.4" } }, - "postcss-selector-parser": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", - "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", - "dev": true, - "requires": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - } - }, "postcss-value-parser": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", @@ -10402,12 +9985,6 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, - "quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true - }, "range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", @@ -11067,7 +10644,8 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "dev": true + "dev": true, + "peer": true }, "spdx-correct": { "version": "3.1.1", @@ -11264,47 +10842,6 @@ "integrity": "sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==", "dev": true }, - "tailwindcss": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz", - "integrity": "sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==", - "dev": true, - "requires": { - "arg": "^5.0.2", - "chokidar": "^3.5.3", - "color-name": "^1.1.4", - "detective": "^5.2.1", - "didyoumean": "^1.2.2", - "dlv": "^1.1.3", - "fast-glob": "^3.2.11", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "lilconfig": "^2.0.6", - "normalize-path": "^3.0.0", - "object-hash": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.14", - "postcss-import": "^14.1.0", - "postcss-js": "^4.0.0", - "postcss-load-config": "^3.1.4", - "postcss-nested": "5.0.6", - "postcss-selector-parser": "^6.0.10", - "postcss-value-parser": "^4.2.0", - "quick-lru": "^5.1.1", - "resolve": "^1.22.1" - }, - "dependencies": { - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - } - } - }, "tar-fs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", @@ -11729,12 +11266,6 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", "dev": true }, - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true - }, "yargs": { "version": "17.5.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", diff --git a/package.json b/package.json index 5c13527..d84895a 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,10 @@ "description": "", "main": "index.js", "scripts": { - "tailwind:process": "npx tailwindcss -i ./src/css/styles.css -o ./src/_includes/assets/css/styles.css --watch", - "tailwind:build": "npx tailwindcss -i ./src/css/styles.css -o ./src/_includes/assets/css/styles.css", "eleventy:serve": "npx @11ty/eleventy --serve", "eleventy:build": "npx @11ty/eleventy", - "start": "run-p tailwind:process eleventy:serve", - "build": "run-s tailwind:build eleventy:build" + "start": "run-p eleventy:serve", + "build": "run-s eleventy:build" }, "keywords": [], "author": "", @@ -18,14 +16,14 @@ "@11ty/eleventy": "^1.0.2", "@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-syntaxhighlight": "^4.1.0", - "@tailwindcss/forms": "^0.5.3", - "@tailwindcss/line-clamp": "^0.4.0", "autoprefixer": "^10.4.8", "dayjs": "^1.11.5", "eleventy-favicon": "^1.1.3", "eleventy-plugin-feathericons": "^1.0.1", "npm-run-all": "^4.1.5", - "postcss-cli": "^10.0.0", - "tailwindcss": "^3.1.8" + "postcss-cli": "^10.0.0" + }, + "dependencies": { + "lodash": "^4.17.21" } } diff --git a/src/_includes/assets/css/styles.css b/src/_includes/assets/css/styles.css deleted file mode 100644 index ffecb55..0000000 --- a/src/_includes/assets/css/styles.css +++ /dev/null @@ -1,2116 +0,0 @@ -/* -! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -*, -::before, -::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #e5e7eb; - /* 2 */ -} - -::before, -::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -*/ - -html { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - /* 4 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -b, -strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. -*/ - -code, -kbd, -samp, -pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - /* 1 */ - font-size: 1em; - /* 2 */ -} - -/* -Add the correct font size in all browsers. -*/ - -small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -button, -select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -:-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -:-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -[type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -blockquote, -dl, -dd, -h1, -h2, -h3, -h4, -h5, -h6, -hr, -figure, -p, -pre { - margin: 0; -} - -fieldset { - margin: 0; - padding: 0; -} - -legend { - padding: 0; -} - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -input::-moz-placeholder, textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -input::placeholder, -textarea::placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -button, -[role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -:disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -img, -svg, -video, -canvas, -audio, -iframe, -embed, -object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -img, -video { - max-width: 100%; - height: auto; -} - -[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - background-color: #fff; - border-color: #6b7280; - border-width: 1px; - border-radius: 0px; - padding-top: 0.5rem; - padding-right: 0.75rem; - padding-bottom: 0.5rem; - padding-left: 0.75rem; - font-size: 1rem; - line-height: 1.5rem; - --tw-shadow: 0 0 #0000; -} - -[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus { - outline: 2px solid transparent; - outline-offset: 2px; - --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: #2563eb; - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - border-color: #2563eb; -} - -input::-moz-placeholder, textarea::-moz-placeholder { - color: #6b7280; - opacity: 1; -} - -input::placeholder,textarea::placeholder { - color: #6b7280; - opacity: 1; -} - -::-webkit-datetime-edit-fields-wrapper { - padding: 0; -} - -::-webkit-date-and-time-value { - min-height: 1.5em; -} - -::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field { - padding-top: 0; - padding-bottom: 0; -} - -select { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); - background-position: right 0.5rem center; - background-repeat: no-repeat; - background-size: 1.5em 1.5em; - padding-right: 2.5rem; - -webkit-print-color-adjust: exact; - color-adjust: exact; - print-color-adjust: exact; -} - -[multiple] { - background-image: initial; - background-position: initial; - background-repeat: unset; - background-size: initial; - padding-right: 0.75rem; - -webkit-print-color-adjust: unset; - color-adjust: unset; - print-color-adjust: unset; -} - -[type='checkbox'],[type='radio'] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - padding: 0; - -webkit-print-color-adjust: exact; - color-adjust: exact; - print-color-adjust: exact; - display: inline-block; - vertical-align: middle; - background-origin: border-box; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - flex-shrink: 0; - height: 1rem; - width: 1rem; - color: #2563eb; - background-color: #fff; - border-color: #6b7280; - border-width: 1px; - --tw-shadow: 0 0 #0000; -} - -[type='checkbox'] { - border-radius: 0px; -} - -[type='radio'] { - border-radius: 100%; -} - -[type='checkbox']:focus,[type='radio']:focus { - outline: 2px solid transparent; - outline-offset: 2px; - --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); - --tw-ring-offset-width: 2px; - --tw-ring-offset-color: #fff; - --tw-ring-color: #2563eb; - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); -} - -[type='checkbox']:checked,[type='radio']:checked { - border-color: transparent; - background-color: currentColor; - background-size: 100% 100%; - background-position: center; - background-repeat: no-repeat; -} - -[type='checkbox']:checked { - background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); -} - -[type='radio']:checked { - background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); -} - -[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus { - border-color: transparent; - background-color: currentColor; -} - -[type='checkbox']:indeterminate { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e"); - border-color: transparent; - background-color: currentColor; - background-size: 100% 100%; - background-position: center; - background-repeat: no-repeat; -} - -[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus { - border-color: transparent; - background-color: currentColor; -} - -[type='file'] { - background: unset; - border-color: inherit; - border-width: 0; - border-radius: 0; - padding: 0; - font-size: unset; - line-height: inherit; -} - -[type='file']:focus { - outline: 1px solid ButtonText; - outline: 1px auto -webkit-focus-ring-color; -} - -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::-webkit-backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.container { - width: 100%; -} - -@media (min-width: 640px) { - .container { - max-width: 640px; - } -} - -@media (min-width: 768px) { - .container { - max-width: 768px; - } -} - -@media (min-width: 1024px) { - .container { - max-width: 1024px; - } -} - -@media (min-width: 1280px) { - .container { - max-width: 1280px; - } -} - -@media (min-width: 1536px) { - .container { - max-width: 1536px; - } -} - -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.visible { - visibility: visible; -} - -.fixed { - position: fixed; -} - -.absolute { - position: absolute; -} - -.relative { - position: relative; -} - -.right-0 { - right: 0px; -} - -.col-span-3 { - grid-column: span 3 / span 3; -} - -.col-span-2 { - grid-column: span 2 / span 2; -} - -.float-right { - float: right; -} - -.float-left { - float: left; -} - -.m-4 { - margin: 1rem; -} - -.-my-8 { - margin-top: -2rem; - margin-bottom: -2rem; -} - -.mx-6 { - margin-left: 1.5rem; - margin-right: 1.5rem; -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -.my-2 { - margin-top: 0.5rem; - margin-bottom: 0.5rem; -} - -.my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} - -.my-0 { - margin-top: 0px; - margin-bottom: 0px; -} - -.my-5 { - margin-top: 1.25rem; - margin-bottom: 1.25rem; -} - -.my-10 { - margin-top: 2.5rem; - margin-bottom: 2.5rem; -} - -.-my-5 { - margin-top: -1.25rem; - margin-bottom: -1.25rem; -} - -.-mx-6 { - margin-left: -1.5rem; - margin-right: -1.5rem; -} - -.-mx-8 { - margin-left: -2rem; - margin-right: -2rem; -} - -.mt-10 { - margin-top: 2.5rem; -} - -.ml-5 { - margin-left: 1.25rem; -} - -.mr-5 { - margin-right: 1.25rem; -} - -.mt-3 { - margin-top: 0.75rem; -} - -.mb-10 { - margin-bottom: 2.5rem; -} - -.mr-10 { - margin-right: 2.5rem; -} - -.mb-5 { - margin-bottom: 1.25rem; -} - -.mt-5 { - margin-top: 1.25rem; -} - -.mt-auto { - margin-top: auto; -} - -.ml-auto { - margin-left: auto; -} - -.mt-1 { - margin-top: 0.25rem; -} - -.mt-2 { - margin-top: 0.5rem; -} - -.-ml-1 { - margin-left: -0.25rem; -} - -.mr-3 { - margin-right: 0.75rem; -} - -.mt-0\.5 { - margin-top: 0.125rem; -} - -.ml-4 { - margin-left: 1rem; -} - -.mb-6 { - margin-bottom: 1.5rem; -} - -.mt-0 { - margin-top: 0px; -} - -.mb-1\.5 { - margin-bottom: 0.375rem; -} - -.mb-1 { - margin-bottom: 0.25rem; -} - -.mb-3 { - margin-bottom: 0.75rem; -} - -.mb-4 { - margin-bottom: 1rem; -} - -.ml-2 { - margin-left: 0.5rem; -} - -.ml-7 { - margin-left: 1.75rem; -} - -.ml-0 { - margin-left: 0px; -} - -.mr-0 { - margin-right: 0px; -} - -.mt-8 { - margin-top: 2rem; -} - -.ml-10 { - margin-left: 2.5rem; -} - -.block { - display: block; -} - -.inline-block { - display: inline-block; -} - -.flex { - display: flex; -} - -.inline-flex { - display: inline-flex; -} - -.table { - display: table; -} - -.inline-table { - display: inline-table; -} - -.grid { - display: grid; -} - -.contents { - display: contents; -} - -.hidden { - display: none; -} - -.h-screen { - height: 100vh; -} - -.h-48 { - height: 12rem; -} - -.h-2 { - height: 0.5rem; -} - -.h-12 { - height: 3rem; -} - -.h-full { - height: 100%; -} - -.w-full { - width: 100%; -} - -.w-2 { - width: 0.5rem; -} - -.w-1 { - width: 0.25rem; -} - -.w-12 { - width: 3rem; -} - -.w-auto { - width: auto; -} - -.min-w-full { - min-width: 100%; -} - -.max-w-5xl { - max-width: 64rem; -} - -.max-w-4xl { - max-width: 56rem; -} - -.max-w-md { - max-width: 28rem; -} - -.max-w-xl { - max-width: 36rem; -} - -.max-w-sm { - max-width: 24rem; -} - -.flex-1 { - flex: 1 1 0%; -} - -.flex-shrink { - flex-shrink: 1; -} - -.table-auto { - table-layout: auto; -} - -.table-fixed { - table-layout: fixed; -} - -.border-collapse { - border-collapse: collapse; -} - -.transform { - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.cursor-pointer { - cursor: pointer; -} - -.resize-none { - resize: none; -} - -.resize { - resize: both; -} - -.grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); -} - -.grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); -} - -.flex-row { - flex-direction: row; -} - -.flex-col { - flex-direction: column; -} - -.items-center { - align-items: center; -} - -.justify-start { - justify-content: flex-start; -} - -.justify-end { - justify-content: flex-end; -} - -.justify-center { - justify-content: center; -} - -.justify-between { - justify-content: space-between; -} - -.gap-3 { - gap: 0.75rem; -} - -.gap-2 { - gap: 0.5rem; -} - -.gap-5 { - gap: 1.25rem; -} - -.gap-10 { - gap: 2.5rem; -} - -.gap-6 { - gap: 1.5rem; -} - -.gap-4 { - gap: 1rem; -} - -.space-y-6 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); -} - -.space-y-1 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); -} - -.divide-y > :not([hidden]) ~ :not([hidden]) { - --tw-divide-y-reverse: 0; - border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); - border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); -} - -.overflow-auto { - overflow: auto; -} - -.overflow-hidden { - overflow: hidden; -} - -.overflow-x-auto { - overflow-x: auto; -} - -.whitespace-nowrap { - white-space: nowrap; -} - -.rounded-lg { - border-radius: 0.5rem; -} - -.rounded-full { - border-radius: 9999px; -} - -.rounded-md { - border-radius: 0.375rem; -} - -.rounded-none { - border-radius: 0px; -} - -.rounded-l-md { - border-top-left-radius: 0.375rem; - border-bottom-left-radius: 0.375rem; -} - -.rounded-r-md { - border-top-right-radius: 0.375rem; - border-bottom-right-radius: 0.375rem; -} - -.border { - border-width: 1px; -} - -.border-2 { - border-width: 2px; -} - -.border-l { - border-left-width: 1px; -} - -.border-r-0 { - border-right-width: 0px; -} - -.border-b { - border-bottom-width: 1px; -} - -.border-dashed { - border-style: dashed; -} - -.border-gray-300 { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); -} - -.border-transparent { - border-color: transparent; -} - -.border-main-dark-brown-2 { - --tw-border-opacity: 1; - border-color: rgb(51 39 42 / var(--tw-border-opacity)); -} - -.border-blue-400 { - --tw-border-opacity: 1; - border-color: rgb(96 165 250 / var(--tw-border-opacity)); -} - -.border-lightish-50 { - --tw-border-opacity: 1; - border-color: rgb(255 236 214 / var(--tw-border-opacity)); -} - -.bg-main-cream-white-2 { - --tw-bg-opacity: 1; - background-color: rgb(250 238 231 / var(--tw-bg-opacity)); -} - -.bg-main-normal-brown { - --tw-bg-opacity: 1; - background-color: rgb(89 74 78 / var(--tw-bg-opacity)); -} - -.bg-main-dark-brown { - --tw-bg-opacity: 1; - background-color: rgb(51 39 42 / var(--tw-bg-opacity)); -} - -.bg-main-dark-brown-2 { - --tw-bg-opacity: 1; - background-color: rgb(51 39 42 / var(--tw-bg-opacity)); -} - -.bg-gray-300 { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.bg-gray-50 { - --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); -} - -.bg-indigo-600 { - --tw-bg-opacity: 1; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)); -} - -.bg-darkish-100 { - --tw-bg-opacity: 1; - background-color: rgb(84 78 104 / var(--tw-bg-opacity)); -} - -.bg-main-red { - --tw-bg-opacity: 1; - background-color: rgb(255 139 167 / var(--tw-bg-opacity)); -} - -.bg-lightish-50 { - --tw-bg-opacity: 1; - background-color: rgb(255 236 214 / var(--tw-bg-opacity)); -} - -.bg-darkish-50 { - --tw-bg-opacity: 1; - background-color: rgb(141 105 122 / var(--tw-bg-opacity)); -} - -.bg-darkish-300 { - --tw-bg-opacity: 1; - background-color: rgb(13 43 69 / var(--tw-bg-opacity)); -} - -.bg-darkish-200 { - --tw-bg-opacity: 1; - background-color: rgb(32 60 86 / var(--tw-bg-opacity)); -} - -.bg-black { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - -.bg-yellow-500 { - --tw-bg-opacity: 1; - background-color: rgb(234 179 8 / var(--tw-bg-opacity)); -} - -.bg-purple-500 { - --tw-bg-opacity: 1; - background-color: rgb(168 85 247 / var(--tw-bg-opacity)); -} - -.bg-sky-700 { - --tw-bg-opacity: 1; - background-color: rgb(3 105 161 / var(--tw-bg-opacity)); -} - -.bg-violet-700 { - --tw-bg-opacity: 1; - background-color: rgb(109 40 217 / var(--tw-bg-opacity)); -} - -.bg-purple-700 { - --tw-bg-opacity: 1; - background-color: rgb(126 34 206 / var(--tw-bg-opacity)); -} - -.bg-gray-100 { - --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); -} - -.bg-yellow-50 { - --tw-bg-opacity: 1; - background-color: rgb(254 252 232 / var(--tw-bg-opacity)); -} - -.bg-main-cream-white-1 { - --tw-bg-opacity: 1; - background-color: rgb(255 255 254 / var(--tw-bg-opacity)); -} - -.bg-gray-700 { - --tw-bg-opacity: 1; - background-color: rgb(55 65 81 / var(--tw-bg-opacity)); -} - -.bg-gray-800 { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity)); -} - -.bg-gray-400 { - --tw-bg-opacity: 1; - background-color: rgb(156 163 175 / var(--tw-bg-opacity)); -} - -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); -} - -.bg-blue-600 { - --tw-bg-opacity: 1; - background-color: rgb(37 99 235 / var(--tw-bg-opacity)); -} - -.bg-blue-500 { - --tw-bg-opacity: 1; - background-color: rgb(59 130 246 / var(--tw-bg-opacity)); -} - -.bg-red-500 { - --tw-bg-opacity: 1; - background-color: rgb(239 68 68 / var(--tw-bg-opacity)); -} - -.object-cover { - -o-object-fit: cover; - object-fit: cover; -} - -.p-3 { - padding: 0.75rem; -} - -.p-2 { - padding: 0.5rem; -} - -.p-6 { - padding: 1.5rem; -} - -.p-8 { - padding: 2rem; -} - -.p-10 { - padding: 2.5rem; -} - -.p-5 { - padding: 1.25rem; -} - -.px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} - -.py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.py-5 { - padding-top: 1.25rem; - padding-bottom: 1.25rem; -} - -.px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; -} - -.py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.py-12 { - padding-top: 3rem; - padding-bottom: 3rem; -} - -.px-8 { - padding-left: 2rem; - padding-right: 2rem; -} - -.pt-3 { - padding-top: 0.75rem; -} - -.pt-2 { - padding-top: 0.5rem; -} - -.pb-5 { - padding-bottom: 1.25rem; -} - -.pt-5 { - padding-top: 1.25rem; -} - -.pl-2 { - padding-left: 0.5rem; -} - -.pb-6 { - padding-bottom: 1.5rem; -} - -.pl-1 { - padding-left: 0.25rem; -} - -.pr-2 { - padding-right: 0.5rem; -} - -.text-left { - text-align: left; -} - -.text-center { - text-align: center; -} - -.text-right { - text-align: right; -} - -.text-justify { - text-align: justify; -} - -.indent-8 { - text-indent: 2rem; -} - -.font-supply-regular { - font-family: supplyRegular, sans-serif; -} - -.font-supply-light { - font-family: supplyLight, sans-serif; -} - -.font-mono { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; -} - -.text-lg { - font-size: 1.125rem; - line-height: 1.75rem; -} - -.text-2xl { - font-size: 1.5rem; - line-height: 2rem; -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - -.text-xl { - font-size: 1.25rem; - line-height: 1.75rem; -} - -.text-xs { - font-size: 0.75rem; - line-height: 1rem; -} - -.text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; -} - -.text-base { - font-size: 1rem; - line-height: 1.5rem; -} - -.font-bold { - font-weight: 700; -} - -.font-thin { - font-weight: 100; -} - -.font-extrabold { - font-weight: 800; -} - -.font-semibold { - font-weight: 600; -} - -.font-medium { - font-weight: 500; -} - -.font-light { - font-weight: 300; -} - -.uppercase { - text-transform: uppercase; -} - -.italic { - font-style: italic; -} - -.leading-4 { - line-height: 1rem; -} - -.text-main-cream-white-1 { - --tw-text-opacity: 1; - color: rgb(255 255 254 / var(--tw-text-opacity)); -} - -.text-main-red { - --tw-text-opacity: 1; - color: rgb(255 139 167 / var(--tw-text-opacity)); -} - -.text-lightish-50 { - --tw-text-opacity: 1; - color: rgb(255 236 214 / var(--tw-text-opacity)); -} - -.text-main-cream-white-2 { - --tw-text-opacity: 1; - color: rgb(250 238 231 / var(--tw-text-opacity)); -} - -.text-main-dark-brown-2 { - --tw-text-opacity: 1; - color: rgb(51 39 42 / var(--tw-text-opacity)); -} - -.text-main-dark-brown { - --tw-text-opacity: 1; - color: rgb(51 39 42 / var(--tw-text-opacity)); -} - -.text-gray-500 { - --tw-text-opacity: 1; - color: rgb(107 114 128 / var(--tw-text-opacity)); -} - -.text-gray-800 { - --tw-text-opacity: 1; - color: rgb(31 41 55 / var(--tw-text-opacity)); -} - -.text-black { - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -.text-gray-700 { - --tw-text-opacity: 1; - color: rgb(55 65 81 / var(--tw-text-opacity)); -} - -.text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.text-gray-900 { - --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); -} - -.text-darkish-300 { - --tw-text-opacity: 1; - color: rgb(13 43 69 / var(--tw-text-opacity)); -} - -.text-lightish-300 { - --tw-text-opacity: 1; - color: rgb(208 129 89 / var(--tw-text-opacity)); -} - -.text-darkish-200 { - --tw-text-opacity: 1; - color: rgb(32 60 86 / var(--tw-text-opacity)); -} - -.text-darkish-100 { - --tw-text-opacity: 1; - color: rgb(84 78 104 / var(--tw-text-opacity)); -} - -.text-lightish-200 { - --tw-text-opacity: 1; - color: rgb(255 170 94 / var(--tw-text-opacity)); -} - -.text-yellow-500 { - --tw-text-opacity: 1; - color: rgb(234 179 8 / var(--tw-text-opacity)); -} - -.text-red-600 { - --tw-text-opacity: 1; - color: rgb(220 38 38 / var(--tw-text-opacity)); -} - -.text-red-700 { - --tw-text-opacity: 1; - color: rgb(185 28 28 / var(--tw-text-opacity)); -} - -.text-gray-300 { - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); -} - -.text-gray-400 { - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); -} - -.text-gray-600 { - --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); -} - -.text-indigo-600 { - --tw-text-opacity: 1; - color: rgb(79 70 229 / var(--tw-text-opacity)); -} - -.text-cyan-800 { - --tw-text-opacity: 1; - color: rgb(21 94 117 / var(--tw-text-opacity)); -} - -.text-main-normal-brown { - --tw-text-opacity: 1; - color: rgb(89 74 78 / var(--tw-text-opacity)); -} - -.text-blue-100 { - --tw-text-opacity: 1; - color: rgb(219 234 254 / var(--tw-text-opacity)); -} - -.text-blue-50 { - --tw-text-opacity: 1; - color: rgb(239 246 255 / var(--tw-text-opacity)); -} - -.underline { - -webkit-text-decoration-line: underline; - text-decoration-line: underline; -} - -.shadow-\[5px_5px_0px_0px_rgba\(0\2c 0\2c 0\2c 255\)\] { - --tw-shadow: 5px 5px 0px 0px rgba(0,0,0,255); - --tw-shadow-colored: 5px 5px 0px 0px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow { - --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-sm { - --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-md { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.outline { - outline-style: solid; -} - -.filter { - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.line-clamp-1 { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 1; -} - -@font-face { - font-family: supplyRegular; - - src: url(./fonts/PPSupplyMono-Regular.otf); -} - -@font-face { - font-family: supplyLight; - - src: url(./fonts/PPSupplyMono-Ultralight.otf); -} - -code[class*="language-"], -pre[class*="language-"] { - color: #657b83; - /* base00 */ - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - 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; - hyphens: none; -} - -pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, -code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { - background: #073642; - /* base02 */ -} - -pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { - background: #073642; - /* base02 */ -} - -pre[class*="language-"]::selection, pre[class*="language-"] ::selection, -code[class*="language-"]::selection, code[class*="language-"] ::selection { - background: #073642; - /* base02 */ -} - -/* Code blocks */ - -pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; - border-radius: 0.3em; -} - -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background-color: #fdf6e3; - /* base3 */ -} - -/* Inline code */ - -:not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; -} - -.token.comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: #93a1a1; - /* base1 */ -} - -.token.punctuation { - color: #586e75; - /* base01 */ -} - -.token.namespace { - opacity: .7; -} - -.token.property, -.token.tag, -.token.boolean, -.token.number, -.token.constant, -.token.symbol, -.token.deleted { - color: #268bd2; - /* blue */ -} - -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.url, -.token.inserted { - color: #2aa198; - /* cyan */ -} - -.token.entity { - color: #657b83; - /* base00 */ - background: #eee8d5; - /* base2 */ -} - -.token.atrule, -.token.attr-value, -.token.keyword { - color: #859900; - /* green */ -} - -.token.function, -.token.class-name { - color: #b58900; - /* yellow */ -} - -.token.regex, -.token.important, -.token.variable { - color: #cb4b16; - /* orange */ -} - -.token.important, -.token.bold { - font-weight: bold; -} - -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.article-intro::first-letter { - font-size: 2rem; - font-weight: bold; -} - -svg { - display: unset; -} - -.hover\:bg-indigo-700:hover { - --tw-bg-opacity: 1; - background-color: rgb(67 56 202 / var(--tw-bg-opacity)); -} - -.hover\:text-lightish-50:hover { - --tw-text-opacity: 1; - color: rgb(255 236 214 / var(--tw-text-opacity)); -} - -.hover\:text-darkish-300:hover { - --tw-text-opacity: 1; - color: rgb(13 43 69 / var(--tw-text-opacity)); -} - -.focus\:border-indigo-500:focus { - --tw-border-opacity: 1; - border-color: rgb(99 102 241 / var(--tw-border-opacity)); -} - -.focus\:outline-none:focus { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.focus\:ring-2:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.focus\:ring-indigo-500:focus { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity)); -} - -.focus\:ring-offset-2:focus { - --tw-ring-offset-width: 2px; -} - -@media (min-width: 640px) { - .sm\:col-span-2 { - grid-column: span 2 / span 2; - } - - .sm\:overflow-hidden { - overflow: hidden; - } - - .sm\:rounded-md { - border-radius: 0.375rem; - } - - .sm\:p-6 { - padding: 1.5rem; - } - - .sm\:px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - - .sm\:text-sm { - font-size: 0.875rem; - line-height: 1.25rem; - } -} - -@media (min-width: 768px) { - .md\:col-span-2 { - grid-column: span 2 / span 2; - } - - .md\:ml-0 { - margin-left: 0px; - } - - .md\:mr-0 { - margin-right: 0px; - } - - .md\:mt-0 { - margin-top: 0px; - } - - .md\:mt-auto { - margin-top: auto; - } - - .md\:flex { - display: flex; - } - - .md\:hidden { - display: none; - } - - .md\:flex-row { - flex-direction: row; - } - - .md\:flex-col { - flex-direction: column; - } - - .md\:gap-10 { - gap: 2.5rem; - } - - .md\:p-10 { - padding: 2.5rem; - } - - .md\:text-center { - text-align: center; - } - - .md\:text-justify { - text-align: justify; - } - - .md\:text-xl { - font-size: 1.25rem; - line-height: 1.75rem; - } - - .md\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; - } - - .md\:text-2xl { - font-size: 1.5rem; - line-height: 2rem; - } -} diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 8aa77c8..f5f5df6 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -3,13 +3,14 @@ <head> {% include "./partials/head.njk" %} </head> -<body class="flex h-screen flex-col font-supply-regular bg-main-cream-white-2"> +<body> {% include "./partials/header.njk" %} - <main class="container mx-auto max-w-5xl p-8"> - <section class="w-full flex flex-col items-center px-3"> - <article class="flex flex-col my-2"> - <div class="flex flex-col justify-start p-6 pt-2"> - <div class="mt-3 text-sm md:text-xl font-supply-regular text-justify"> + <hr> + <main> + <section> + <article> + <div> + <div> {{content | safe}} </div> </div> diff --git a/src/_includes/intro.njk b/src/_includes/intro.njk index 5112d97..456c68a 100644 --- a/src/_includes/intro.njk +++ b/src/_includes/intro.njk @@ -3,9 +3,10 @@ <head> {% include "./partials/head.njk" %} </head> -<body class="flex h-screen flex-col bg-main-cream-white-2"> +<body> {% include "./partials/header.njk" %} - <main class="container mx-auto"> + <hr> + <main> <article > {{content | safe}} </article> diff --git a/src/_includes/partials/footer.njk b/src/_includes/partials/footer.njk index 479681d..6a11145 100644 --- a/src/_includes/partials/footer.njk +++ b/src/_includes/partials/footer.njk @@ -1,14 +1,6 @@ -<footer class="items-center px-6 py-2 mt-auto bg-main-dark-brown-2 text-main-cream-white-2"> - <ul class="w-full flex md:hidden gap-5 font-supply-regular ml-auto justify-center mt-5 md:mt-0"> - <li class="hover:text-lightish-50 inline-block"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li> - <li class="hover:text-lightish-50 inline-block"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li> - <li class="hover:text-lightish-50 inline-block"><a title="Personal - GIT" target="_blank" href="https://git.indrajith.dev/" class="links">{% feather "git-branch" %}</a></li> - <li class="hover:text-lightish-50 inline-block"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li> - <li class="hover:text-lightish-50 inline-block"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li> - <li class="hover:text-lightish-50 inline-block"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li> - </ul> - <ul class="flex w-full gap-10 font-supply-regular justify-center mt-5 md:mt-auto"> - <li class="mt-1"> +<footer> + <ul> + <li> <p>© 2022 Indrajith K L </p> </li> </ul> diff --git a/src/_includes/partials/head.njk b/src/_includes/partials/head.njk index 34f6c42..cb231d4 100644 --- a/src/_includes/partials/head.njk +++ b/src/_includes/partials/head.njk @@ -28,7 +28,7 @@ <meta property="og:description" content="Frontend Web Developer, Game Dev Hobbyist, Night Owl, Synthwave & Vaporwave Lover"> {%- endif -%} <meta property="og:image" content="https://indrajith.dev/images/me.png"> -<link rel="stylesheet" href="/global.css"> +<link rel="stylesheet" href="/styles.css"> {% favicon './favicon.svg' %} <title>{{title}} | { indrajith.dev } </title> <script src="https://unpkg.com/website-carbon-badges@1.1.3/b.min.js" defer></script>
\ No newline at end of file diff --git a/src/_includes/partials/header.njk b/src/_includes/partials/header.njk index 5ee2cf2..0f27845 100644 --- a/src/_includes/partials/header.njk +++ b/src/_includes/partials/header.njk @@ -1,21 +1,18 @@ -<header class="w-full bg-main-normal-brown text-main-cream-white-1 font-bold flex flex-row md:flex-col justify-between items-center px-6 py-4"> - <nav class="w-full"> - <ul class="flex flex-col md:flex-row gap-3 md:gap-10 font-supply-regular w-full items-center text-lg md:text-xl"> - <li> - <a href="/" class="text-lg md:text-3xl text-main-red">{ indrajith.dev } </a> - </li> - <li class="hover:text-lightish-50"><a href="/about" id="about" class="links">About</a></li> - <li class="hover:text-lightish-50"><a href="/posts" id="posts" class="links">Posts</a></li> - <li class="hover:text-lightish-50"><a href="/cv" id="cv" class="links">Timeline</a></li> - </ul> - <ul class="hidden md:flex flex-row gap-2 font-supply-regular font-bold right-0 -my-8 mx-6 absolute"> - <li class="hover:text-lightish-50"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li> - <li class="hover:text-lightish-50"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li> - <li class="hover:text-lightish-50"><a title="Personal - GIT" target="_blank" href="https://git.indrajith.dev/" class="links">{% feather "git-branch" %}</a></li> - <li class="hover:text-lightish-50"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li> - <li class="hover:text-lightish-50"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li> - <li class="hover:text-lightish-50"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li> +<header class="header"> + <h1><a class="logo" href="/">indrajith.dev</a></h1> + <nav> + <ul> + <li><a href="/about" id="about" class="links">About</a></li> + | + <li><a href="/posts" id="posts" class="links">Posts</a></li> + | + <li><a href="/timeline" id="cv" class="links">Timeline</a></li> + | + <li><a href="https://git.indrajith.dev" id="cv" class="links">git</a></li> + | + <li><a href="/contact" id="cv" class="links">Contact</a></li> </ul> + </nav> </header> diff --git a/src/_includes/posts.njk b/src/_includes/posts.njk index 99eb681..f463047 100644 --- a/src/_includes/posts.njk +++ b/src/_includes/posts.njk @@ -3,34 +3,35 @@ <head> {% include "./partials/head.njk" %} </head> - <body class="flex h-screen flex-col font-supply-regular bg-main-cream-white-2"> + <body> {% include "./partials/header.njk" %} - <main class="container mx-auto w-full p-8"> - <section class="flex-col items-center px-3"> - <article class="flex flex-col my-4"> - <div class="flex flex-col justify-start p-6 "> + <hr> + <main> + <section> + <article> + <div> <div> - <p class="text-3xl bg-rose font-medium text-center text-darkish-200">{{title}}</p> - <p class="text-lg text-darkish-100 text-center">{{page.date.toUTCString() | dateFilter}}</p> + <h2>{{title}}</h2> + <p class="post-date">(published on {{page.date.toUTCString() | dateFilter}})</p> </div> - <div class="mt-10 text-xl font-supply-regular text-justify text-darkish-300"> + <div> {{content | safe}} </div> </div> </article> - <div class="flex flex-col text-xs text-center mb-4"> + <div class="mt-10"> <span>If you found this article useful, spread the word by sharing this link 👉 - <span class="w-1 absolute ml-2 my-0"> + <span> <a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-via="indrajithKLIS" data-hashtags="gamedev #indiegamedev #gametools" data-show-count="false">Tweet</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> </span> </span> </div> - <div class="pt-5 text-xs md:text-justify text-left"> - <span class="text-center">Post Last Modified: {{modified() | dateFilter}}</span></span> + <div class="mt-10"> + <span class="font-italics">Post Last Modified: <span class="font-bold">{{modified() | dateFilter}}</span></span> </div> - <div class="my-5"> - <a class="justify-start bg-main-red rounded-md p-3 text-main-cream-white-1" href="/posts"><span class="absolute md:text-center text-left">{% feather "arrow-left" %}</span> <span class="ml-7">back to posts</span></a> + <div class="mt-10"> + <a href="/posts">back to posts</a> </div> </section> diff --git a/src/about.njk b/src/about.njk index bab19e5..5b0195f 100644 --- a/src/about.njk +++ b/src/about.njk @@ -2,16 +2,23 @@ layout: base.njk title: About --- -<h2 class="text-2xl font-bold text-main-dark-brown-2 p-2 text-center">About Me</h2> -<div class="mt-2 text-justify"> - <div class="flex justify-center items-center"> - <img class="object-cover h-48 rounded-full" src="/images/me.jpg" alt="me"/> +<h2>About Me</h2> +<div> + <div> + <img height="100px" src="/images/me.jpg" alt="me"/> </div> - <p class="mt-3 text-main-dark-brown"> + <p > My Name is Indrajith K L, a Web Developer currently working as a Systems Analyst with 9+ years of experience in various frontend frameworks and libraries like Angular 2+, React, AngularJS (v1.x), JQuery, RequireJS etc. </p> - <p class="mt-2 text-main-dark-brown"> + <p > Fluent in ES6, Typescript, & NodeJS. Started out as an Android Developer in 2012, and then switched to Web Development and now focusing on frontend & other web technologies. </p> + + <ul> + <li><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">Twitter</a></li> + <li><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">Github</a></li> + <li><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">LinkedIn</a></li> + <li><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">Buy Me a Coffee</a></li> + </ul> </div>
\ No newline at end of file diff --git a/src/contact.njk b/src/contact.njk new file mode 100644 index 0000000..666f55f --- /dev/null +++ b/src/contact.njk @@ -0,0 +1,10 @@ +--- +layout: base.njk +title: Contact +--- +<h2>Want to talk with me?</h2> +<ul> + <li> + Email: indrajith @ indrajith.dev + </li> +</ul>
\ No newline at end of file diff --git a/src/css/fonts/Cotory-rgwd9.ttf b/src/css/fonts/Cotory-rgwd9.ttf Binary files differnew file mode 100644 index 0000000..b792e61 --- /dev/null +++ b/src/css/fonts/Cotory-rgwd9.ttf diff --git a/src/css/fonts/VCR_OSD_MONO_1.001.ttf b/src/css/fonts/VCR_OSD_MONO_1.001.ttf Binary files differnew file mode 100644 index 0000000..dcca687 --- /dev/null +++ b/src/css/fonts/VCR_OSD_MONO_1.001.ttf diff --git a/src/css/styles.css b/src/css/styles.css index 11ffa9e..73aeb0c 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -1,145 +1,126 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap'); @font-face { - font-family: supplyRegular; - src: url(./fonts/PPSupplyMono-Regular.otf); + font-family: 'MarioWorld'; + src: url("./fonts/Cotory-rgwd9.ttf"); } -@font-face { - font-family: supplyLight; - src: url(./fonts/PPSupplyMono-Ultralight.otf); +html,body { + margin: 0; + padding: 0; } -code[class*="language-"], -pre[class*="language-"] { - color: #657b83; /* base00 */ - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - - line-height: 1.5; +body { + font-family: 'IBM Plex Mono', monospace; + max-width: 900px; + margin: auto; + background: #ffffd6; +} - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; +footer { + bottom: 0px; + left: 0; + text-align: center; + width: 100%; +} - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; +* { + box-sizing: border-box; } -pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, -code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { - background: #073642; /* base02 */ +.header { + text-align: center; +} +.header nav { + display: block; } -pre[class*="language-"]::selection, pre[class*="language-"] ::selection, -code[class*="language-"]::selection, code[class*="language-"] ::selection { - background: #073642; /* base02 */ +.header ul, footer ul { + padding: 0px; } -/* Code blocks */ -pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; - border-radius: 0.3em; +.header ul>li { + display: inline-block; + padding: 10px; + text-align: center; } -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background-color: #fdf6e3; /* base3 */ +.header ul>li a { + text-decoration: none; + font-size: 15px; + color: #000000; + font-weight: bold; } -/* Inline code */ -:not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; +.text-center { + /* text-align: center; */ } -.token.comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: #93a1a1; /* base1 */ +footer ul>li { + display: inline-block; } -.token.punctuation { - color: #586e75; /* base01 */ +footer ul>li>p { + margin-block-end: unset; } -.token.namespace { - opacity: .7; + +.logo { + text-decoration: none; + font-family: 'MarioWorld', sans-serif; + font-size: 150%; + color: #000000; } -.token.property, -.token.tag, -.token.boolean, -.token.number, -.token.constant, -.token.symbol, -.token.deleted { - color: #268bd2; /* blue */ +.mt-10 { + margin-top: 10px; } -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.url, -.token.inserted { - color: #2aa198; /* cyan */ +.font-bold { + font-weight: bold; } -.token.entity { - color: #657b83; /* base00 */ - background: #eee8d5; /* base2 */ +.font-italics { + font-style: italic; } -.token.atrule, -.token.attr-value, -.token.keyword { - color: #859900; /* green */ +table { + border-collapse: collapse; } -.token.function, -.token.class-name { - color: #b58900; /* yellow */ +th, tr, td { + border: 1px solid; } -.token.regex, -.token.important, -.token.variable { - color: #cb4b16; /* orange */ +table tr { + padding-bottom: 10px; } -.token.important, -.token.bold { - font-weight: bold; +table th { + padding-right: 20px; } -.token.italic { - font-style: italic; + +table td { + padding: 10px; } -.token.entity { - cursor: help; +.post-date { + font-size: 15px; + font-style: italic; } -.article-intro::first-letter { - font-size: 2rem; - font-weight: bold; +.post-lists li { + list-style-type: 'â—† '; + margin-bottom: 5px; } -svg { - display: unset; +@media (max-width:1000px) { + body { + font-size: 80%; + padding: 3%; + } + #blog img{ + max-width: 80%; + } } diff --git a/src/cv.njk b/src/cv.njk deleted file mode 100644 index 49134d9..0000000 --- a/src/cv.njk +++ /dev/null @@ -1,74 +0,0 @@ ---- -layout: base.njk -title: Career Timeline ---- -<div class="flex flex-start justify-center items-center underline text-2xl mb-10"><h1>Career Timeline</h1></div> - -<ol class="border-l border-gray-300"> - <li> - <div class="flex flex-start items-center pt-3"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Jan 2020 - Till Present</p> - </div> - <div class="mt-0.5 ml-4 mb-6"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Systems Analyst</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">InApp</h2> - {# <p class="text-gray-500 mb-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque scelerisque diam non nisi semper, et elementum lorem ornare. Maecenas placerat facilisis mollis. Duis sagittis ligula in sodales vehicula.</p> #} - </div> - </li> - <li> - <div class="flex flex-start items-center pt-2"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Jul 2017 - Jan 2020</p> - </div> - <div class="mt-0.5 ml-4 mb-6"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Senior Software Engineer</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">InApp</h2> - <p class="text-gray-500 mb-3"></p> - </div> - </li> - <li> - <div class="flex flex-start items-center pt-2"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Jan 2016 - Jul 2017</p> - </div> - <div class="mt-0.5 ml-4 pb-5"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Software Engineer</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">InApp</h2> - <p class="text-gray-500 mb-3"></p> - </div> - </li> - <li> - <div class="flex flex-start items-center pt-2"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Jun 2014 - Jan 2016</p> - </div> - <div class="mt-0.5 ml-4 pb-5"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Software Engineer</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">Naga Info Solutions</h2> - <p class="text-gray-500 mb-3"></p> - </div> - </li> - <li> - <div class="flex flex-start items-center pt-2"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Nov 2013 - Jun 2014</p> - </div> - <div class="mt-0.5 ml-4 pb-5"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Software Engineer</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">SQube</h2> - <p class="text-gray-500 mb-3"></p> - </div> - </li> - <li> - <div class="flex flex-start items-center pt-2"> - <div class="bg-gray-300 w-2 h-2 rounded-full -ml-1 mr-3"></div> - <p class="text-gray-500 text-sm">Oct 2012 - Nov 2013</p> - </div> - <div class="mt-0.5 ml-4 pb-5"> - <h4 class="text-gray-800 font-semibold text-xl mb-1.5">Freelance Developer</h4> - <h2 class="text-gray-500 font-semibold text-xl mb-1.5">Simple Graphics</h2> - <p class="text-gray-500 mb-3"></p> - </div> - </li> -</ol>
\ No newline at end of file diff --git a/src/hire-me.njk b/src/hire-me.njk index 6c2f50a..c29c875 100644 --- a/src/hire-me.njk +++ b/src/hire-me.njk @@ -2,58 +2,49 @@ layout: base.njk title: Hire Me --- -<h2 class="text-2xl font-bold text-black p-2 text-center">Hire Me</h2> -<form action="https://getform.io/f/8fc9e444-7a4f-4f36-98b6-840a8ce7cb94" method="POST"> - <div class="mt-5 md:col-span-2 md:mt-0 shadow"> - <form action="https://getform.io/f/8fc9e444-7a4f-4f36-98b6-840a8ce7cb94" method="POST"> - <div class="sm:overflow-hidden sm:rounded-md"> - <div class="space-y-6 bg-white px-4 py-5 sm:p-6"> - <div class="grid grid-cols-3 gap-6"> - <div class="col-span-3 sm:col-span-2"> - <label for="client-name" class="block text-sm font-medium text-gray-700">Your Name*</label> - <div class="mt-1 flex rounded-md shadow-sm"> - <input type="text" name="client-name" id="client-name" required - class="block w-full flex-1 rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"> - </div> - </div> - </div> - <div class="grid grid-cols-3 gap-6"> - <div class="col-span-3 sm:col-span-2"> - <label for="client-email" class="block text-sm font-medium text-gray-700">Email*</label> - <div class="mt-1 flex rounded-md shadow-sm"> - <input type="email" name="client-email" id="client-email" required - class="block w-full flex-1 rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"> - </div> +<h2>Hire Me</h2> +<div> + <form action="https://getform.io/f/8fc9e444-7a4f-4f36-98b6-840a8ce7cb94" method="POST"> + <div> + <div> + <div> + <div> + <label for="client-name">Your Name*</label> + <div > + <input type="text" name="client-name" id="client-name" required> </div> </div> - <div class="grid grid-cols-3 gap-6"> - <div class="col-span-3 sm:col-span-2"> - <label for="company-website" class="block text-sm font-medium text-gray-700">Website</label> - <div class="mt-1 flex rounded-md shadow-sm"> - <span - class="inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-50 px-3 text-sm text-gray-500">http://</span> - <input type="text" name="company-website" id="company-website" - class="block w-full flex-1 rounded-none rounded-r-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" - placeholder="www.yourwebsite.com"> - </div> + </div> + <div> + <div> + <label for="client-email">Email*</label> + <div> + <input type="email" name="client-email" id="client-email" required> </div> </div> - + </div> + <div> <div> - <label for="project-req" class="block text-sm font-medium text-gray-700">Requirement*</label> - <div class="mt-1"> - <textarea id="project-req" name="project-req" rows="3" required - class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm resize-none"></textarea> + <label for="company-website">Website</label> + <div> + <span>http://</span> + <input type="text" name="company-website" id="company-website" placeholder="www.yourwebsite.com"> </div> - <p class="mt-2 text-sm text-gray-500">A short description of the project and requirements - </p> </div> </div> - <div class="px-4 py-3 text-right sm:px-6"> - <button type="submit" - class="inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">Submit</button> + + <div> + <label for="project-req">Requirement*</label> + <div class="mt-1"> + <textarea id="project-req" name="project-req" rows="3" required></textarea> + </div> + <p>A short description of the project and requirements + </p> </div> </div> - </form> - </div> -</form>
\ No newline at end of file + <div> + <button type="submit">Submit</button> + </div> + </div> + </form> +</div>
\ No newline at end of file diff --git a/src/images/me.jpg b/src/images/me.jpg Binary files differindex 1422fbd..961d2de 100644 --- a/src/images/me.jpg +++ b/src/images/me.jpg diff --git a/src/index.njk b/src/index.njk index 19443ef..36138e0 100644 --- a/src/index.njk +++ b/src/index.njk @@ -3,29 +3,28 @@ layout: intro.njk title: Home alternatetitle: "Hello Friend!! My name is Indrajith K L." --- -<div class="flex w-full"> - <div class="bg-main-normal-brown text-md md:text-xl text-main-cream-white-1 font-supply-regular shadow-[5px_5px_0px_0px_rgba(0,0,0,255)] p-3 mt-10 ml-5 mr-5 md:p-10 md:ml-0 md:mr-0 rounded-lg"> - <p class="text-lg md:text-2xl font-thin">{{alternatetitle}}</p> - <p class="mt-3 text-justify font-thin"> - I'm a web developer, hobbyist game developer from India, working as a front-end developer. +<div class="text-center"> + <div> + <p> + {{alternatetitle}} I'm a web developer, hobbyist game developer from India, working as a front-end developer. This site is where I write about my fun side projects, R&D's, random thoughts, game development etc. Since you here why don't you read some <a href="/posts" class="text-main-cardheading font-bold">posts</a>. </p> </div> </div> -<div class="mt-10 mb-10 font-supply-light"> - <h2 class="text-lg font-bold bg-main-dark-brown text-lightish-50 p-2 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)]">Recent Posts</h2> - <div class="posts flex flex-col mt-10 md:flex-row"> +<div> + <h3>Recent Posts</h3> + <div> {% for post in collections.posts | reverse %} {% if (loop.index <= 4) %} - <div class="p-6 bg-main-normal-brown text-lightish-50 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)] mr-10 mb-5"> - <p class="text-md font-extrabold line-clamp-1">{{post.data.title}}</p> - <div class="justify-end float-right mt-5 underline font-supply-light"><a href="{{post.url}}">Read more</span></a></div> + <div> + <p>{{post.data.title}}</p> + <div><a href="{{post.url}}">Read more</span></a></div> </div> {% endif %} {% else %} - <div class="p-6 bg-main-normal-brown text-lightish-50 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)] mr-10 mb-5"> - <p class="text-md font-extrabold line-clamp-1">No Posts</p> + <div> + <p>No Posts</p> </div> {% endfor %} </div> diff --git a/src/posts/big-list-game-dev.njk b/src/posts/big-list-game-dev.njk index e609bad..ac97cb3 100644 --- a/src/posts/big-list-game-dev.njk +++ b/src/posts/big-list-game-dev.njk @@ -3,47 +3,47 @@ layout: "posts.njk", title: "Big List of Open Source Game Development Tools", description: "Big List of Open Source Game Development Tools", - date: "Created", + date: new Date("27 October 2022"), modified: function() { - return (new Date().toUTCString()) + return (new Date("20 November 2022").toUTCString()) } } --- -<p class="mt-5">Welcome to the big list (eventually it will be) of always updating bucket of <span class="font-bold">Open Source Game Development Tools</span>. +<p>Welcome to the big list (eventually it will be) of always updating bucket of <span class="font-bold">Open Source Game Development Tools</span>. Here you find not only Game Engines but other open source tools and utilities that will help you in developing your dream game/prototypes. </p> -<div class="mt-5"> - <div class="overflow-auto"> - <table class="min-w-full"> - <thead class="border-b uppercase"> +<div> + <div> + <table> + <thead> <tr> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"></th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"></th> + <th scope="col"> Tool Type </th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"> Supported Graphics </th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"> Development Environment </th> </tr> </thead> <tbody> {% for tool in gtools.gameTools%} - <tr class="border-b"> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap underline"> + <tr> + <td> <a href={{tool.link}}>{{tool.toolName}}</a> </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.type}} </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.graphics}} </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.os}} </td> </tr> @@ -52,6 +52,6 @@ </table> </div> </div> -<div class="pt-5 text-xs md:text-justify text-left"> - <span class="text-center">If you want to add a tool or engine to this list or if you have any complaint with this article feel free to drop a mail @ <span class="font-bold">indrajith(at)indrajith(dot)dev</span></span> +<div class="mt-10"> + <span>If you want to add a tool or engine to this list or if you have any complaint with this article feel free to drop a mail @ <span class="font-bold">indrajith(at)indrajith(dot)dev</span></span> </div>
\ No newline at end of file diff --git a/src/posts/index.njk b/src/posts/index.njk index 1525a26..9e80d84 100644 --- a/src/posts/index.njk +++ b/src/posts/index.njk @@ -3,22 +3,15 @@ layout: base.njk eleventyExcludeFromCollections: true title: Posts --- -<h2 class="text-2xl font-bold text-darkish-300 p-2">Published Posts</h2> -<div class="post-lists mt-2"> - {% for post in collections.posts | reverse %} - <div class="post-data"> - <div class="post-date p-2 bg-darkish-100 text-lightish-50 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)]"> - {{post.date | dateFilter}} - </div> - <div class="post-title m-4 text-lightish-300 hover:text-darkish-300"> - <a href="{{post.url}}"> {{post.data.title}}</a> - </div> - </div> - {% else %} - <div class="text-center flex justify-center text-lightish-300"> - <span>No Posts </span> - <span class="pl-2">¯\_(ツ)_/¯</span> - </div> - {% endfor %} - -</div>
\ No newline at end of file +<h2>Published Posts</h2> + +{% for dateP, yearPosts in collections.postsByYear %} + <div class="date-based"> + <h3>{{ dateP }}</h3> + <ul class="post-lists"> + {% for post in yearPosts | reverse %} + <li><a href="{{post.url}}">{{ post.data.title }}</a></li> + {% endfor %} + </ul> + </div> +{% endfor %}
\ No newline at end of file diff --git a/src/timeline.njk b/src/timeline.njk new file mode 100644 index 0000000..e1ae40c --- /dev/null +++ b/src/timeline.njk @@ -0,0 +1,74 @@ +--- +layout: base.njk +title: Career Timeline +--- +<div><h1>Career Timeline</h1></div> + +<ol> + <li> + <div> + <div></div> + <p>Jan 2020 - Till Present</p> + </div> + <div> + <h4>Systems Analyst</h4> + <h3>InApp</h3> + {# <p class="text-gray-500 mb-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque scelerisque diam non nisi semper, et elementum lorem ornare. Maecenas placerat facilisis mollis. Duis sagittis ligula in sodales vehicula.</p> #} + </div> + </li> + <li> + <div> + <div></div> + <p>Jul 2017 - Jan 2020</p> + </div> + <div> + <h4>Senior Software Engineer</h4> + <h3>InApp</h3> + <p></p> + </div> + </li> + <li> + <div> + <div></div> + <p>Jan 2016 - Jul 2017</p> + </div> + <div> + <h4>Software Engineer</h4> + <h3>InApp</h3> + <p></p> + </div> + </li> + <li> + <div> + <div></div> + <p>Jun 2014 - Jan 2016</p> + </div> + <div> + <h4>Software Engineer</h4> + <h3>Naga Info Solutions</h3> + <p></p> + </div> + </li> + <li> + <div> + <div></div> + <p>Nov 2013 - Jun 2014</p> + </div> + <div> + <h4>Software Engineer</h4> + <h3>SQube</h3> + <p></p> + </div> + </li> + <li> + <div> + <div></div> + <p>Oct 2012 - Nov 2013</p> + </div> + <div> + <h4>Freelance Developer</h4> + <h3>Simple Graphics</h3> + <p></p> + </div> + </li> +</ol>
\ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index 416c76e..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,43 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - content: [ - "./src/**/*.{njk,md,html}", - "./src/**/*.svg", - "./src/_includes/assets/css/*.css", - "./public/index.html" - ], - theme: { - extend: { - fontFamily: { - "supply-regular": ["supplyRegular", "sans-serif"], - "supply-light": ["supplyLight", "sans-serif"], - }, - colors: { - darkish: { - 50: '#8d697a', - 100: '#544e68', - 200: '#203c56', - 300: '#0d2b45' - }, - lightish: { - 50: '#ffecd6', - 100: '#ffd4a3', - 200: '#ffaa5e', - 300: '#d08159' - }, - main: { - 'cream-white-1': "#fffffe", - 'dark-brown': "#33272a", - 'normal-brown': "#594a4e", - 'cream-white-2': "#faeee7", - 'dark-brown-2': "#33272a", - 'red': "#ff8ba7" - } - } - }, - }, - plugins: [ - require('@tailwindcss/line-clamp'), - require('@tailwindcss/forms'), - ], -}; |