From 2cc87625336d4e0f58dc21a3948f71e5f9df52bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2019 19:21:55 +0000 Subject: [PATCH 1/8] chore(deps): bump npm from 6.13.1 to 6.13.4 Bumps [npm](https://github.com/npm/cli) from 6.13.1 to 6.13.4. - [Release notes](https://github.com/npm/cli/releases) - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md) - [Commits](https://github.com/npm/cli/compare/v6.13.1...v6.13.4) Signed-off-by: dependabot[bot] --- yarn.lock | 163 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 115 insertions(+), 48 deletions(-) diff --git a/yarn.lock b/yarn.lock index f109d3af..fdda29ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1211,15 +1211,16 @@ better-assert@~1.0.0: dependencies: callsite "1.0.0" -bin-links@^1.1.2, bin-links@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-1.1.3.tgz#702fd59552703727313bc624bdbc4c0d3431c2ca" - integrity sha512-TEwmH4PHU/D009stP+fkkazMJgkBNCv60z01lQ/Mn8E6+ThHoD03svMnBVuCowwXo2nP2qKyKZxKxp58OHRzxw== +bin-links@^1.1.2, bin-links@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-1.1.6.tgz#30d33e810829305e5e61b90cfcb9a3a4f65eb516" + integrity sha512-b5rV3uVyrlrJWLI3mawUUf5t2f9mCEQm/TqT5zNj6DPYhYDZaNp0AYaYd/CVASkSEklayNDLliZHVdo2J3niPw== dependencies: bluebird "^3.5.3" cmd-shim "^3.0.0" - gentle-fs "^2.0.1" + gentle-fs "^2.3.0" graceful-fs "^4.1.15" + npm-normalize-package-bin "^1.0.0" write-file-atomic "^2.3.0" binary-extensions@^1.0.0: @@ -2340,7 +2341,7 @@ debug@^3.1.0, debug@^3.2.6: dependencies: ms "^2.1.1" -debuglog@^1.0.1: +debuglog@*, debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -2739,7 +2740,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.12.0, es-abstract@^1.5.1: +es-abstract@^1.12.0: version "1.16.2" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.16.2.tgz#4e874331645e9925edef141e74fc4bd144669d34" integrity sha512-jYo/J8XU2emLXl3OLwfwtuFfuF2w6DYPs+xy9ZfVyPkDcrauu6LYrw/q2TyCtrbc/KUdCiC5e9UajRhgNkVopA== @@ -2755,6 +2756,23 @@ es-abstract@^1.12.0, es-abstract@^1.5.1: string.prototype.trimleft "^2.1.0" string.prototype.trimright "^2.1.0" +es-abstract@^1.17.0-next.1: + version "1.17.0-next.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.0-next.1.tgz#94acc93e20b05a6e96dacb5ab2f1cb3a81fc2172" + integrity sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw== + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.1.4" + is-regex "^1.0.4" + object-inspect "^1.7.0" + object-keys "^1.1.1" + object.assign "^4.1.0" + string.prototype.trimleft "^2.1.0" + string.prototype.trimright "^2.1.0" + es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -3305,13 +3323,14 @@ genfun@^5.0.0: resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== -gentle-fs@^2.0.1, gentle-fs@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/gentle-fs/-/gentle-fs-2.2.1.tgz#1f38df4b4ead685566257201fd526de401ebb215" - integrity sha512-e7dRgUM5fsS+7wm2oggZpgcRx6sEvJHXujPH5RzgQ1ziQY4+HuVBYsnUzJwJ+C7mjOJN27DjiFy1TaL+TNltow== +gentle-fs@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/gentle-fs/-/gentle-fs-2.3.0.tgz#13538db5029400f98684be4894e8a7d8f0d1ea7f" + integrity sha512-3k2CgAmPxuz7S6nKK+AqFE2AdM1QuwqKLPKzIET3VRwK++3q96MsNFobScDjlCrq97ZJ8y5R725MOlm6ffUCjg== dependencies: aproba "^1.1.2" chownr "^1.1.2" + cmd-shim "^3.0.3" fs-vacuum "^1.2.10" graceful-fs "^4.1.11" iferr "^0.1.5" @@ -3885,7 +3904,7 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -imurmurhash@^0.1.4: +imurmurhash@*, imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -4817,6 +4836,11 @@ lockfile@^1.0.4: dependencies: signal-exit "^3.0.2" +lodash._baseindexof@*: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" + integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= + lodash._baseuniq@~4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" @@ -4825,11 +4849,33 @@ lodash._baseuniq@~4.6.0: lodash._createset "~4.0.0" lodash._root "~3.0.0" +lodash._bindcallback@*: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" + integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= + +lodash._cacheindexof@*: + version "3.0.2" + resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" + integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= + +lodash._createcache@*: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" + integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= + dependencies: + lodash._getnative "^3.0.0" + lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= +lodash._getnative@*, lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= + lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -4890,6 +4936,11 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.restparam@*: + version "3.6.1" + resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" + integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= + lodash.set@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" @@ -5493,9 +5544,11 @@ npm-audit-report@^1.3.2: console-control-strings "^1.1.0" npm-bundled@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" - integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== + version "1.1.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" + integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== + dependencies: + npm-normalize-package-bin "^1.0.1" npm-cache-filename@~1.0.2: version "1.0.2" @@ -5528,6 +5581,11 @@ npm-logical-tree@^1.2.1: resolved "https://registry.yarnpkg.com/npm-logical-tree/-/npm-logical-tree-1.2.1.tgz#44610141ca24664cad35d1e607176193fd8f5b88" integrity sha512-AJI/qxDB2PWI4LG1CYN579AY1vCiNyWfkiquCsJWqntRu/WwimVrC8yXeILBFHDwxfOejxewlmnvW9XXjMlYIg== +npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0, npm-package-arg@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" @@ -5538,10 +5596,10 @@ npm-logical-tree@^1.2.1: semver "^5.6.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.12, npm-packlist@^1.1.6, npm-packlist@^1.4.6: - version "1.4.6" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.6.tgz#53ba3ed11f8523079f1457376dd379ee4ea42ff4" - integrity sha512-u65uQdb+qwtGvEJh/DgQgW1Xg7sqeNbmxYyrvlNznaVTjV3E5P6F/EFjM+BVHXl7JJlsdG8A64M0XI8FI/IOlg== +npm-packlist@^1.1.12, npm-packlist@^1.1.6, npm-packlist@^1.4.7: + version "1.4.7" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848" + integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -5597,9 +5655,9 @@ npm-user-validate@~1.0.0: integrity sha1-jOyg9c6gTU6TUZ73LQVXp1Ei6VE= npm@^6.10.3: - version "6.13.1" - resolved "https://registry.yarnpkg.com/npm/-/npm-6.13.1.tgz#6a2658392b70aa1266ddfe256ef21d0de2f4d8dc" - integrity sha512-2awiDZ9JuV/UoF4oXGhekCURC2X+eLLRz9/e58AGrPDlpzyn7e4oCaZmkzyEaisxM7jSoFKNnZhzB4xbmbM0Yw== + version "6.13.4" + resolved "https://registry.yarnpkg.com/npm/-/npm-6.13.4.tgz#1e95b0f311999cf682384c38865dfeb3127203bb" + integrity sha512-vTcUL4SCg3AzwInWTbqg1OIaOXlzKSS8Mb8kc5avwrJpcvevDA5J9BhYSuei+fNs3pwOp4lzA5x2FVDXACvoXA== dependencies: JSONStream "^1.3.5" abbrev "~1.1.1" @@ -5607,7 +5665,7 @@ npm@^6.10.3: ansistyles "~0.1.3" aproba "^2.0.0" archy "~1.0.0" - bin-links "^1.1.3" + bin-links "^1.1.6" bluebird "^3.5.5" byte-size "^5.0.1" cacache "^12.0.3" @@ -5619,6 +5677,7 @@ npm@^6.10.3: cmd-shim "^3.0.3" columnify "~1.5.4" config-chain "^1.1.12" + debuglog "*" detect-indent "~5.0.0" detect-newline "^2.1.0" dezalgo "~1.0.3" @@ -5627,12 +5686,13 @@ npm@^6.10.3: find-npm-prefix "^1.0.2" fs-vacuum "~1.2.10" fs-write-stream-atomic "~1.0.10" - gentle-fs "^2.2.1" + gentle-fs "^2.3.0" glob "^7.1.4" graceful-fs "^4.2.3" has-unicode "~2.0.1" hosted-git-info "^2.8.5" iferr "^1.0.2" + imurmurhash "*" infer-owner "^1.0.4" inflight "~1.0.6" inherits "^2.0.4" @@ -5651,8 +5711,14 @@ npm@^6.10.3: libnpx "^10.2.0" lock-verify "^2.1.0" lockfile "^1.0.4" + lodash._baseindexof "*" lodash._baseuniq "~4.6.0" + lodash._bindcallback "*" + lodash._cacheindexof "*" + lodash._createcache "*" + lodash._getnative "*" lodash.clonedeep "~4.5.0" + lodash.restparam "*" lodash.union "~4.6.0" lodash.uniq "~4.5.0" lodash.without "~4.4.0" @@ -5669,7 +5735,7 @@ npm@^6.10.3: npm-install-checks "^3.0.2" npm-lifecycle "^3.1.4" npm-package-arg "^6.1.1" - npm-packlist "^1.4.6" + npm-packlist "^1.4.7" npm-pick-manifest "^3.0.2" npm-profile "^4.0.2" npm-registry-fetch "^4.0.2" @@ -5678,7 +5744,7 @@ npm@^6.10.3: once "~1.4.0" opener "^1.5.1" osenv "^0.1.5" - pacote "^9.5.9" + pacote "^9.5.11" path-is-inside "~1.0.2" promise-inflight "~1.0.1" qrcode-terminal "^0.12.0" @@ -5687,7 +5753,7 @@ npm@^6.10.3: read "~1.0.7" read-cmd-shim "^1.0.5" read-installed "~4.0.3" - read-package-json "^2.1.0" + read-package-json "^2.1.1" read-package-tree "^5.3.1" readable-stream "^3.4.0" readdir-scoped-modules "^1.1.0" @@ -5790,7 +5856,7 @@ object-visit@^1.0.0: dependencies: isobject "^3.0.0" -object.assign@^4.0.4: +object.assign@^4.0.4, object.assign@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== @@ -5811,12 +5877,12 @@ object.defaults@^1.0.0, object.defaults@^1.1.0: isobject "^3.0.0" object.getownpropertydescriptors@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" - integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY= + version "2.1.0" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" + integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== dependencies: - define-properties "^1.1.2" - es-abstract "^1.5.1" + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" object.map@^1.0.0: version "1.0.1" @@ -6063,10 +6129,10 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -pacote@^9.1.0, pacote@^9.5.3, pacote@^9.5.9: - version "9.5.9" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-9.5.9.tgz#fa3a08629c9390b2b99769c55b2cc137e1a24df3" - integrity sha512-S1nYW9ly+3btn3VmwRAk2LG3TEh8mkrFdY+psbnHSk8oPODbZ28uG0Z0d3yI0EpqcpLR6BukoVRf3H4IbGCkPQ== +pacote@^9.1.0, pacote@^9.5.11, pacote@^9.5.3: + version "9.5.11" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-9.5.11.tgz#524152077cb392c47b1fbe198aa28f778bef7ee1" + integrity sha512-DMDPvFKCjCg6zMS4IfzZyvT57O/bX8XGG00eEoy4K/S4Wj+qiN8KbnmKpsTvfS6OL9r5TAicxMKWbj1yV2Yh4g== dependencies: bluebird "^3.5.3" cacache "^12.0.2" @@ -6082,6 +6148,7 @@ pacote@^9.1.0, pacote@^9.5.3, pacote@^9.5.9: mississippi "^3.0.0" mkdirp "^0.5.1" normalize-package-data "^2.4.0" + npm-normalize-package-bin "^1.0.0" npm-package-arg "^6.1.0" npm-packlist "^1.1.12" npm-pick-manifest "^3.0.0" @@ -6957,9 +7024,9 @@ pseudomap@^1.0.2: integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= psl@^1.1.24: - version "1.5.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.5.0.tgz#47fd1292def7fdb1e138cd78afa8814cebcf7b13" - integrity sha512-4vqUjKi2huMu1OJiLhi3jN6jeeKvMZdI1tYgi/njW5zV52jNLgSAZSdN16m9bJFe61/cT8ulmw4qFitV9QRsEA== + version "1.6.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.6.0.tgz#60557582ee23b6c43719d9890fb4170ecd91e110" + integrity sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA== pump@^2.0.0: version "2.0.1" @@ -7081,15 +7148,15 @@ read-installed@~4.0.3: optionalDependencies: graceful-fs "^4.1.2" -"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13, read-package-json@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5" - integrity sha512-KLhu8M1ZZNkMcrq1+0UJbR8Dii8KZUqB0Sha4mOx/bknfKI/fyrQVrG/YIt2UOtG667sD8+ee4EXMM91W9dC+A== +"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13, read-package-json@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" + integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== dependencies: glob "^7.1.1" json-parse-better-errors "^1.0.1" normalize-package-data "^2.0.0" - slash "^1.0.0" + npm-normalize-package-bin "^1.0.0" optionalDependencies: graceful-fs "^4.1.2" @@ -8127,9 +8194,9 @@ stream-iterate@^1.1.0: stream-shift "^1.0.0" stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= + version "1.0.1" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" + integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== stream-throttle@^0.1.3: version "0.1.3" From f6c5864f2b5bcb0312af47e1b18029d1c282c2b9 Mon Sep 17 00:00:00 2001 From: frangipane Date: Thu, 2 Jan 2020 01:19:43 -0800 Subject: [PATCH 2/8] Add google fonts to base.html --- templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/base.html b/templates/base.html index 887965e5..e722d652 100644 --- a/templates/base.html +++ b/templates/base.html @@ -37,6 +37,8 @@ {% if 'assets' in PLUGINS %} {% include '_includes/minify_css.html' with context %} {% else %} + + {% endif %} From 9af54051443c851a7f35ad5e917c99144a3bfc15 Mon Sep 17 00:00:00 2001 From: frangipane Date: Thu, 2 Jan 2020 01:21:03 -0800 Subject: [PATCH 3/8] Add modified custom.css this would preferably be modified from the pelican source dir rather than in the theme itself, but changes to custom.css via the recommended workflow (in content/) were not being picked up in the devserver --- static/css/custom.css | 577 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 577 insertions(+) diff --git a/static/css/custom.css b/static/css/custom.css index e69de29b..d4ff6e52 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -0,0 +1,577 @@ +/* /\* Base *\/ */ +/* :root { */ +/* --border-radius: 4px; */ +/* } */ +/* html, */ +/* body { */ +/* height: 100%; */ +/* } */ +/* body { */ +/* display: flex; */ +/* flex-direction: column; */ +/* } */ +/* div#content { */ +/* flex: 1 0 auto; */ +/* } */ +/* footer { */ +/* align-content: center; */ +/* align-items: center; */ +/* border-top: 1px solid rgba(0, 0, 0, 0.2); */ +/* display: flex; */ +/* flex-direction: row; */ +/* flex-shrink: 0; */ +/* flex-wrap: wrap; */ +/* font: 0.8em Calibri, Tahoma, Arial, Sans-Serif; */ +/* justify-content: flex-end; */ +/* margin: 15px 0 0 0; */ +/* min-height: 40px; */ +/* padding: 0 3px; */ +/* } */ +/* footer div { */ +/* margin: 3px 0; */ +/* } */ +/* footer div:first-child { */ +/* margin-right: auto; */ +/* } */ +/* footer div#fpowered { */ +/* margin-left: auto; */ +/* margin-right: unset; */ +/* } */ +/* :lang(zh) { */ +/* font-family: "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", */ +/* Helvetica, Arial, sans-serif; */ +/* } */ +/* a { */ +/* color: #3875d7; */ +/* } */ +/* hr { */ +/* border-width: 3px; */ +/* } */ +/* /\* site title *\/ */ +.site-name { + font-family: "Fira Sans", sans-serif; +} +/* /\* Top navigation menu *\/ */ +/* .top-menu li a { */ +/* font-weight: bold; */ +/* } */ +/* /\* comment *\/ */ +/* #comment-message, */ +/* #post-share-links:not(a) { */ +/* color: #6f6f6f; */ +/* text-shadow: 1px 1px 3px rgba(50, 50, 50, 0.15); */ +/* } */ +/* #post-share-links a { */ +/* text-shadow: 0 0; */ +/* } */ +/* .comment-count { */ +/* font-family: "Trebuchet MS", Trebuchet, "Lucida Sans Unicode", "Lucida Grande", */ +/* "Lucida Sans", Arial, Sans-Serif; */ +/* font-size: 0.9em; */ +/* } */ +/* #comment_thread { */ +/* padding-left: 10px; */ +/* padding-right: 10px; */ +/* } */ +/* /\* Syntax Highlight *\/ */ +/* table { */ +/* table-layout: fixed; */ +/* width: 100%; */ +/* } */ +/* td { */ +/* vertical-align: top; */ +/* } */ +/* @media (max-width: 979px) { */ +/* .linenos { */ +/* display: none !important; */ +/* } */ +/* } */ +/* .linenos { */ +/* width: 30px; */ +/* } */ +/* .linenos div pre { */ +/* text-align: right; */ +/* overflow: hidden; */ +/* } */ +/* pre { */ +/* overflow: auto; */ +/* white-space: pre; */ +/* word-break: normal; */ +/* word-wrap: normal; */ +/* } */ +/* td.code .highlight pre { */ +/* border-radius: 0 var(--border-radius) var(--border-radius) 0; */ +/* } */ +/* td.code { */ +/* width: 100%; */ +/* } */ +/* .linenodiv pre { */ +/* background-color: #eee8d5; */ +/* border-radius: var(--border-radius) 0 0 var(--border-radius); */ +/* color: #657b83; */ +/* } */ +/* div.highlight { */ +/* margin-bottom: 20px; */ +/* } */ +/* table.highlighttable { */ +/* border: none; */ +/* } */ +/* table.highlighttable td { */ +/* border: none; */ +/* } */ +/* table.highlighttable tbody > tr:nth-child(odd) > td { */ +/* background-color: transparent; */ +/* } */ +/* Tags */ +.list-of-tags { + font-family: "Fira Sans", sans-serif; + font-size: 1.2em; + list-style: none; + margin: 0; + overflow: hidden; +} +/* .list-of-tags li { */ +/* float: left; */ +/* line-height: 28px; */ +/* margin: 0; */ +/* } */ +.list-of-tags a { + background: #eee; + border-radius: var(--border-radius); + color: #222; + margin: 5px; + padding: 3px 6px; + text-decoration: none; +} +.list-of-tags a span { + font-size: 0.8em; + vertical-align: super; +} +/* .tags-in-article li { */ +/* float: none; */ +/* line-height: 28px; */ +/* } */ +.tag-title { + font-family: "Fira Sans", sans-serif; +} +.articles-in-tag li { + font: 1.4em/1.6 "Fira Sans", sans-serif; +} +/* Article */ +.article-content, +div.recent-posts p { + font-weight: 400; + font-size: 1.5em; + line-height: 1.5em; + font-family: "Cardo", serif; + text-align: left; +} +/* .article-content, */ +/* div.recent-posts p { */ +/* font: 1.3em/1.6 "Cardo", serif; */ +/* text-align: left; */ +/* } */ +/* .article-content { */ +/* max-width: 50em; */ +/* } */ +.article-content p, +div.recent-posts p { + font-size: inherit; + font-variant: normal; + text-rendering: optimizeLegibility; + color: #45484d; +} +/* .article-content p { */ +/* margin: 20px 0; */ +/* } */ +/* .article-content ul:not(.related-posts-list):not(.articles-timeline) { */ +/* font-size: inherit; */ +/* list-style-type: disc; */ +/* } */ +/* .article-content ul.related-posts-list { */ +/* list-style-type: square; */ +/* } */ +/* .article-content ol { */ +/* font-size: inherit; */ +/* list-style-type: decimal; */ +/* } */ +/* .article-content li { */ +/* line-height: 1.7em; */ +/* list-style-position: outside; */ +/* margin: 1px 0 1px 20px; */ +/* } */ +/* .article-content dl { */ +/* font-size: inherit; */ +/* list-style-position: outside; */ +/* list-style-type: decimal; */ +/* margin: 20px 0 20px 20px; */ +/* } */ +/* .article-content dd { */ +/* line-height: 1.7em; */ +/* margin: 1px 0 1px 20px; */ +/* padding: 3px 0; */ +/* } */ +/* .article-content dt { */ +/* font-size: inherit; */ +/* } */ +h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 +{ + font-family: "Fira Sans", sans-serif; + font-weight: bold; + padding-top: 25px; + padding-bottom: 2px; + border: none; + } +.page-header { + font: "Fira Sans", sans-serif; + border-bottom: 0px solid; + color: black; + margin: 10px 10px 20px; + padding: 10px; +} +.page-header h1 { + font: "Fira Sans", sans-serif; + border: none; + font-weight: 700; + line-height: 1.1em; + text-indent: -1px; +} +/* ul.articles-timeline { */ +/* list-style: none; */ +/* margin: 0; */ +/* padding-bottom: 30px; */ +/* } */ +/* ul.articles-timeline .next-article { */ +/* float: right; */ +/* margin: 0; */ +/* } */ +/* ul.articles-timeline .previous-article { */ +/* float: left; */ +/* margin: 0; */ +/* } */ +/* ul.multi-parts-list a { */ +/* color: black; */ +/* } */ +/* ul.multi-parts-list a:hover { */ +/* text-decoration: none; */ +/* } */ +/* ul.multi-parts-list li.active-part { */ +/* font-style: italic; */ +/* } */ +/* .table-of-content .toc { */ +/* font-size: 0.7em; */ +/* } */ +/* .last-updated a { */ +/* color: #333; */ +/* } */ +/* .last-updated a:hover { */ +/* text-decoration: none; */ +/* } */ +.article-content img { + border: 0px solid #eee; + padding: 10px; +} +/* p#post-share-links { */ +/* text-align: right; */ +/* } */ +/* Categories */ +/* .list-of-categories span { */ +/* font-size: 0.7em; */ +/* vertical-align: super; */ +/* } */ +/* a.list-of-categories { */ +/* text-decoration: none; */ +/* } */ +/* ul.list-articles-category { */ +/* list-style: none outside none; */ +/* margin: 0 0 0 5px; */ +/* } */ +ul.list-articles-category li time { + color: #8f8f8f; + display: inline-block; + font: 1.2em "Helvetica", sans-serif; + width: 7em; +} +a.category-link { + color: #333; + font: 1.2em "Helvetica", sans-serif; +} +/* a.category-link:hover { */ +/* text-decoration: none; */ +/* } */ +a.list-of-categories { + font-family: "Helvetica", sans-serif; + font-size: 1.2em; +} +/* a.list-of-categories:hover { */ +/* background-color: #08c; */ +/* border-radius: var(--border-radius); */ +/* color: #fff; */ +/* } */ +/* /\* Archives *\/ */ +/* ul.list-all-articles { */ +/* list-style: none; */ +/* margin: 0; */ +/* } */ +ul.list-all-articles li { + border-bottom: 1px dotted #000; + font-family: "Fira Sans", sans-serif; + font-size: 1.3em; + padding: 0.5em 0.3em 0.8em 0.5em; + overflow: auto; +} +ul.list-all-articles li time { + color: #aaa; + float: right; + font-family: "Fira Sans", sans-serif; + font-size: 0.9em; +} +/* div.blog-archives h2 { */ +/* float: left; */ +/* position: relative; */ +/* margin: 0; */ +/* } */ +div.blog-archives div, +div.recent-posts-article { + border-bottom: 0px none #aaa; + font: 1em "Fira Sans", sans-serif; +} +div.blog-archives div, +div.recent-posts-article { + font-size: 1.5em; + padding: 0.5em 0.2em; + position: relative; + overflow: auto; +} +/* div.blog-archives div { */ +/* margin-left: 6em; */ +/* } */ +/* div.blog-archives div.last-entry-of-year { */ +/* margin-bottom: 1em; */ +/* } */ +/* div.blog-archives time, */ +/* div.recent-posts time { */ +/* float: right; */ +/* text-align: right; */ +/* } */ +div.blog-archives time, +div.recent-posts time, +div.recent-posts-posted { + color: #8f8f8f; + font: 0.8em "Fira Sans", sans-serif; +} +/* div.recent-posts time { */ +/* font-size: inherit; */ +/* } */ +/* div.recent-posts-time { */ +/* display: inline; */ +/* } */ +/* @media (max-width: 767px) { */ +/* div.blog-archives h2 { */ +/* float: none; */ +/* } */ +/* div.blog-archives article { */ +/* margin-left: 0; */ +/* padding-left: 0; */ +/* } */ +/* div.recent-posts time { */ +/* float: none; */ +/* } */ +/* div.recent-posts-time { */ +/* display: block; */ +/* } */ +/* ul.list-articles-category li time { */ +/* width: 100%; */ +/* } */ +/* } */ +/* /\* MailChimp *\/ */ +/* #mc-embed-signup { */ +/* font-family: inherit; */ +/* font-size: inherit; */ +/* margin: 10px 0; */ +/* } */ +/* #mc-embed-signup form { */ +/* display: block; */ +/* padding: 0; */ +/* position: relative; */ +/* text-align: left; */ +/* } */ +/* #mc-embed-signup input { */ +/* -moz-appearance: none; */ +/* -webkit-appearance: none; */ +/* border: 1px solid #999; */ +/* } */ +/* #mc-embed-signup input:focus { */ +/* border-color: #333; */ +/* } */ +/* #mc-embed-signup input.email { */ +/* display: block; */ +/* font-size: 0.9em; */ +/* margin: 0 4% 10px 0; */ +/* min-width: 130px; */ +/* padding: 8px 0; */ +/* text-indent: 5px; */ +/* width: 100%; */ +/* } */ +/* #mc-embed-signup input.button { */ +/* display: block; */ +/* margin: 0 0 10px 0; */ +/* min-width: 130px; */ +/* width: 100%; */ +/* } */ +/* #mc-embed-signup input[type="email"] { */ +/* height: 100%; */ +/* } */ +/* #mc-embed-signup .button { */ +/* background-color: #eee; */ +/* border-radius: var(--border-radius); */ +/* border: 1px solid #d3d3d3; */ +/* clear: both; */ +/* color: #000; */ +/* cursor: pointer; */ +/* display: inline-block; */ +/* font-size: 1em; */ +/* font-weight: normal; */ +/* height: 32px; */ +/* line-height: 32px; */ +/* margin: 0 5px 10px 0; */ +/* padding: 0; */ +/* text-align: center; */ +/* text-decoration: none; */ +/* vertical-align: top; */ +/* white-space: nowrap; */ +/* width: auto; */ +/* } */ +/* #mc-embed-signup.button:hover { */ +/* background-color: #dfdfdf; */ +/* } */ +/* #mc-embed-signup .clear { */ +/* clear: none; */ +/* display: inline; */ +/* } */ +/* /\* Index page *\/ */ +/* #allposts { */ +/* color: #999; */ +/* float: right; */ +/* font-size: 75%; */ +/* font-weight: normal; */ +/* } */ +/* a#allposts:hover { */ +/* color: #333; */ +/* } */ +.proj-desc { + color: #999; + font: 1em "Fira Sans", sans-serif; +} +/* /\* reST specific rules*\/ */ +/* .literal { */ +/* background-color: #f7f7f9; */ +/* border-radius: var(--border-radius); */ +/* border: 1px solid #e1e1e8; */ +/* color: #d14; */ +/* font-family: Monaco, Menlo, Consolas, "Courier New", monospace; */ +/* font-size: 12px; */ +/* padding: 2px 4px; */ +/* white-space: nowrap; */ +/* } */ +/* div.line-block div.line-block { */ +/* margin-left: 1.5em; */ +/* } */ +/* /\* Helper CSS classes *\/ */ +/* .amp { */ +/* font-family: "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", */ +/* Serif; */ +/* font-style: italic; */ +/* } */ +/* /\* Use following classes to add floating images to your post *\/ */ +/* div.figure, */ +/* .article-content img { */ +/* text-align: center; */ +/* } */ +/* div.figure img { */ +/* width: 100%; */ +/* } */ +/* div.figure p.caption { */ +/* color: gray; */ +/* font-size: 0.6em; */ +/* margin: 0; */ +/* } */ +/* div.figure p.caption a { */ +/* border: none; */ +/* color: gray; */ +/* } */ +/* div.figure.align-right, */ +/* .article-content img.align-right { */ +/* float: right; */ +/* margin-left: 1.5em; */ +/* } */ +/* div.figure.align-left, */ +/* .article-content img.align-left { */ +/* float: left; */ +/* margin-right: 1.5em; */ +/* } */ +/* Author blurb */ +.author_blurb { + color: #8f8f8f; + font: 1em "Fira Sans", sans-serif; + font-weight: 300; + padding: 25px 0; +} +.author_blurb img { + padding: 10px 10px 5px 0px; + width: 80px; + height: 80px; + float: left; +} +.author_name { + font-family: "Fira Sans", sans-serif; + font-weight: bold; + font-variant: small-caps; +} +/* /\* Github Gist *\/ */ +/* .gist table { */ +/* table-layout: initial; */ +/* } */ +/* /\* Table *\/ */ +/* table { */ +/* max-width: 100%; */ +/* background-color: transparent; */ +/* border-collapse: collapse; */ +/* border-spacing: 0; */ +/* border: 1px solid #bfbfbf; */ +/* border-collapse: separate; */ +/* *border-collapse: collapse; */ +/* border-left: 0; */ +/* border-radius: var(--border-radius); */ +/* } */ + +/* table th, */ +/* table td { */ +/* border-left: 1px solid #bfbfbf; */ +/* padding-left: 2px; */ +/* padding-right: 2px; */ +/* } */ + +/* table thead:first-child tr:first-child th { */ +/* border-top: 0; */ +/* } */ + +/* table thead:first-child tr:first-child > th:first-child { */ +/* border-top-left-radius: var(--border-radius); */ +/* } */ + +/* table thead:first-child tr:first-child > th:last-child { */ +/* border-top-right-radius: var(--border-radius); */ +/* } */ + +/* table tbody:last-child tr:last-child > td:first-child { */ +/* border-bottom-left-radius: var(--border-radius); */ +/* } */ + +/* table tbody:last-child tr:last-child > td:last-child { */ +/* border-bottom-right-radius: var(--border-radius); */ +/* } */ + +/* table tbody > tr:nth-child(odd) > td { */ +/* background-color: #ebebeb; */ +/* } */ From 11a3500227b94d27bbe5935af279727a4f59dbe4 Mon Sep 17 00:00:00 2001 From: frangipane Date: Thu, 2 Jan 2020 01:21:56 -0800 Subject: [PATCH 4/8] Add compiled css Generated via gulp css in the theme directory --- static/css/elegant.prod.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/elegant.prod.css b/static/css/elegant.prod.css index b0dfdb10..658ad00e 100644 --- a/static/css/elegant.prod.css +++ b/static/css/elegant.prod.css @@ -3,7 +3,7 @@ applause-button{position:relative;cursor:pointer}applause-button .style-root,app div.admonition{padding:0;margin-bottom:20px;background-color:#fcf8e3;border:1px solid;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}div.admonition p{margin:.5em 1em;padding:0}div.admonition p a{color:inherit!important}div.admonition div.highlight{margin-left:1em;margin-right:1em}div.admonition table.highlighttable{padding-left:1em;padding-right:1em}div.admonition table.highlighttable div.highlight{margin-left:0;margin-right:0}div.admonition p.admonition-title{color:#fff;margin:0;padding:.1em 0 .1em .5em;font-weight:700}div.admonition ol,div.admonition ul{margin:.1em .5em .5em 3em;padding:0}div.danger,div.error{color:#b94a48;background-color:#f2dede}div.danger p.admonition-title,div.error p.admonition-title{background-color:#b94a48}div.attention,div.caution,div.warning{color:#c09853}div.attention p.admonition-title,div.caution p.admonition-title,div.warning p.admonition-title{background-color:#c09853}div.important,div.note{color:#468847;background-color:#dff0d8}div.important p.admonition-title,div.note p.admonition-title{background-color:#468847}div.hint,div.tip{color:#3a87ad;background-color:#d9edf7}div.hint p.admonition-title,div.tip p.admonition-title{background-color:#3a87ad}div.attention p.admonition-title:before,div.caution p.admonition-title:before,div.danger p.admonition-title:before,div.error p.admonition-title:before,div.hint p.admonition-title:before,div.important p.admonition-title:before,div.note p.admonition-title:before,div.tip p.admonition-title:before,div.warning p.admonition-title:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}div.danger p.admonition-title:before,div.error p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.attention p.admonition-title:before,div.caution p.admonition-title:before,div.warning p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.important p.admonition-title:before,div.note p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.hint p.admonition-title:before,div.tip p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%} div.applause_button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}div.applause_button applause-button{height:50px;width:50px}div.applause_button applause-button div.style-root{fill:maroon!important;stroke:maroon!important;color:maroon!important} blockquote{--quotes-margin:13px;background:#fff8dc;border-left:5px solid #daa520;border-radius:var(--border-radius);box-sizing:border-box;margin:1rem auto 2rem;padding:.1rem 1.2rem;position:relative;width:80%}blockquote p{font-family:Helvetica Neue,Helvetica,Arial,Sans-Serif;font-weight:400}blockquote:after,blockquote:before{color:#696969;font-size:4rem;line-height:0;margin:0;padding:0;position:absolute}blockquote:before{content:open-quote;margin-right:var(--quotes-margin);right:100%;top:30px}blockquote:after{bottom:0;content:close-quote;left:100%;margin-left:var(--quotes-margin);top:auto} - +.list-of-tags,.site-name{font-family:Fira Sans,sans-serif}.list-of-tags{font-size:1.2em;list-style:none;margin:0;overflow:hidden}.list-of-tags a{background:#eee;border-radius:var(--border-radius);color:#222;margin:5px;padding:3px 6px;text-decoration:none}.list-of-tags a span{font-size:.8em;vertical-align:super}.tag-title{font-family:Fira Sans,sans-serif}.articles-in-tag li{font:1.4em/1.6 Fira Sans,sans-serif}.article-content,div.recent-posts p{font-weight:400;font-size:1.5em;line-height:1.5em;font-family:Cardo,serif;text-align:left}.article-content p,div.recent-posts p{font-size:inherit;font-feature-settings:normal;font-variant:normal;text-rendering:optimizeLegibility;color:#45484d}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Fira Sans,sans-serif;font-weight:700;padding-top:25px;padding-bottom:2px;border:none}.page-header{font:Fira Sans,sans-serif;border-bottom:0 solid;color:#000;margin:10px 10px 20px;padding:10px}.page-header h1{font:Fira Sans,sans-serif;border:none;font-weight:700;line-height:1.1em;text-indent:-1px}.article-content img{border:0 solid #eee;padding:10px}ul.list-articles-category li time{color:#8f8f8f;display:inline-block;font:1.2em Helvetica,sans-serif;width:7em}a.category-link{color:#333;font:1.2em Helvetica,sans-serif}a.list-of-categories{font-family:Helvetica,sans-serif;font-size:1.2em}ul.list-all-articles li{border-bottom:1px dotted #000;font-family:Fira Sans,sans-serif;font-size:1.3em;padding:.5em .3em .8em .5em;overflow:auto}ul.list-all-articles li time{color:#aaa;float:right;font-family:Fira Sans,sans-serif;font-size:.9em}div.blog-archives div,div.recent-posts-article{border-bottom:0 #aaa;font:1em Fira Sans,sans-serif;font-size:1.5em;padding:.5em .2em;position:relative;overflow:auto}div.blog-archives time,div.recent-posts-posted,div.recent-posts time{color:#8f8f8f;font:.8em Fira Sans,sans-serif}.proj-desc{color:#999}.author_blurb,.proj-desc{font:1em Fira Sans,sans-serif}.author_blurb{color:#8f8f8f;font-weight:300;padding:25px 0}.author_blurb img{padding:10px 10px 5px 0;width:80px;height:80px;float:left}.author_name{font-family:Fira Sans,sans-serif;font-weight:700;font-feature-settings:"c2sc";font-variant:small-caps} :root{--border-radius:4px}body,html{height:100%}body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}div#content{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}footer{-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;font:.8em Calibri,Tahoma,Arial,Sans-Serif;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin:15px 0 0;min-height:40px;padding:0 3px}footer div{margin:3px 0}footer div:first-child{margin-right:auto}footer div#fpowered{margin-left:auto;margin-right:unset}:lang(zh){font-family:Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,Helvetica,Arial,sans-serif}a{color:#3875d7}hr{border-width:3px}.site-name{font-family:Monaco,Inconsolata,Andale Mono,Lucida Console,Bitstream Vera Sans Mono,Courier New,Courier,Monospace}.top-menu li a{font-weight:700}#comment-message,#post-share-links:not(a){color:#6f6f6f;text-shadow:1px 1px 3px rgba(50,50,50,.15)}#post-share-links a{text-shadow:0 0}.comment-count{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:.9em}#comment_thread{padding-left:10px;padding-right:10px}table{table-layout:fixed;width:100%}td{vertical-align:top}@media (max-width:979px){.linenos{display:none!important}}.linenos{width:30px}.linenos div pre{text-align:right;overflow:hidden}pre{overflow:auto;white-space:pre;word-break:normal;word-wrap:normal}td.code .highlight pre{border-radius:0 4px 4px 0;border-radius:0 var(--border-radius) var(--border-radius) 0}td.code{width:100%}.linenodiv pre{background-color:#eee8d5;border-radius:4px 0 0 4px;border-radius:var(--border-radius) 0 0 var(--border-radius);color:#657b83}div.highlight{margin-bottom:20px}table.highlighttable,table.highlighttable td{border:none}table.highlighttable tbody>tr:nth-child(odd)>td{background-color:transparent}.list-of-tags{font-family:Helvetica Neue,Helvetica,Arial,Sans-Serif;list-style:none;margin:0;overflow:hidden}.list-of-tags li{float:left;line-height:28px;margin:0}.list-of-tags a{background:#eee;border-radius:4px;border-radius:var(--border-radius);color:#222;margin:2px;padding:3px 6px;text-decoration:none}.list-of-tags a span{font-size:.8em;vertical-align:super}.tags-in-article li{float:none;line-height:28px}.tag-title{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif}.articles-in-tag li{font:1.1em/1.6 Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif}.article-content,div.recent-posts p{font:1.2em/1.6 "PT Serif",Georgia,Times New Roman,Times,Serif;text-align:justify}.article-content{max-width:50em}.article-content p,div.recent-posts p{font-size:inherit;font-feature-settings:normal;font-variant:normal;line-height:1.6;text-transform:none}.article-content p{margin:20px 0}.article-content ul:not(.related-posts-list):not(.articles-timeline){font-size:inherit;list-style-type:disc}.article-content ul.related-posts-list{list-style-type:square}.article-content ol{font-size:inherit;list-style-type:decimal}.article-content li{line-height:1.7em;list-style-position:outside;margin:1px 0 1px 20px}.article-content dl{font-size:inherit;list-style-position:outside;list-style-type:decimal;margin:20px 0 20px 20px}.article-content dd{line-height:1.7em;margin:1px 0 1px 20px;padding:3px 0}.article-content dt{font-size:inherit}.page-header{border-bottom:2px solid maroon;color:maroon;margin:10px 10px 20px;padding:5px}.page-header h1{border:none;line-height:1em}ul.articles-timeline{list-style:none;margin:0;padding-bottom:30px}ul.articles-timeline .next-article{float:right;margin:0}ul.articles-timeline .previous-article{float:left;margin:0}ul.multi-parts-list a{color:#000}ul.multi-parts-list a:hover{text-decoration:none}ul.multi-parts-list li.active-part{font-style:italic}.table-of-content .toc{font-size:.7em}.last-updated a{color:#333}.last-updated a:hover{text-decoration:none}.article-content img{border:2px solid #eee;padding:5px}p#post-share-links{text-align:right}.list-of-categories span{font-size:.7em;vertical-align:super}a.list-of-categories{text-decoration:none}ul.list-articles-category{list-style:none outside none;margin:0 0 0 5px}ul.list-articles-category li time{color:#8f8f8f;display:inline-block;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif;width:7em}a.category-link{color:#333}a.category-link:hover{text-decoration:none}a.list-of-categories{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:1.1em}a.list-of-categories:hover{background-color:#08c;border-radius:4px;border-radius:var(--border-radius);color:#fff}ul.list-all-articles{list-style:none;margin:0}ul.list-all-articles li{border-bottom:1px dotted #000;font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:1.1em;padding:.3em 0;overflow:auto}ul.list-all-articles li time{color:#aaa;float:right;font-family:PT Sans,Helvetica Neue,Arial,Sans-Serif;font-size:.9em}div.blog-archives h2{float:left;position:relative;margin:0}div.blog-archives div,div.recent-posts-article{border-bottom:1px dotted #aaa;font-size:1.1em;padding:.3em .2em;position:relative;overflow:auto}div.blog-archives div{margin-left:6em}div.blog-archives div.last-entry-of-year{margin-bottom:1em}div.blog-archives time,div.recent-posts time{float:right;text-align:right}div.blog-archives time,div.recent-posts-posted,div.recent-posts time{color:#8f8f8f;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif}div.recent-posts time{font-size:inherit}div.recent-posts-time{display:inline}@media (max-width:767px){div.blog-archives h2{float:none}div.blog-archives article{margin-left:0;padding-left:0}div.recent-posts time{float:none}div.recent-posts-time{display:block}ul.list-articles-category li time{width:100%}}#mc-embed-signup{font-family:inherit;font-size:inherit;margin:10px 0}#mc-embed-signup form{display:block;padding:0;position:relative;text-align:left}#mc-embed-signup input{-moz-appearance:none;-webkit-appearance:none;border:1px solid #999}#mc-embed-signup input:focus{border-color:#333}#mc-embed-signup input.email{display:block;font-size:.9em;margin:0 4% 10px 0;min-width:130px;padding:8px 0;text-indent:5px;width:100%}#mc-embed-signup input.button{display:block;margin:0 0 10px;min-width:130px;width:100%}#mc-embed-signup input[type=email]{height:100%}#mc-embed-signup .button{background-color:#eee;border-radius:4px;border-radius:var(--border-radius);border:1px solid #d3d3d3;clear:both;color:#000;cursor:pointer;display:inline-block;font-size:1em;font-weight:400;height:32px;line-height:32px;margin:0 5px 10px 0;padding:0;text-align:center;text-decoration:none;vertical-align:top;white-space:nowrap;width:auto}#mc-embed-signup.button:hover{background-color:#dfdfdf}#mc-embed-signup .clear{clear:none;display:inline}#allposts{color:#999;float:right;font-size:75%;font-weight:400}a#allposts:hover{color:#333}.proj-desc{color:#999;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif}.literal{background-color:#f7f7f9;border-radius:4px;border-radius:var(--border-radius);border:1px solid #e1e1e8;color:#d14;font-family:Monaco,Menlo,Consolas,Courier New,monospace;font-size:12px;padding:2px 4px;white-space:nowrap}div.line-block div.line-block{margin-left:1.5em}.amp{font-family:Warnock Pro,Goudy Old Style,Palatino,Book Antiqua,Serif;font-style:italic}.article-content img,div.figure{text-align:center}div.figure img{width:100%}div.figure p.caption{color:grey;font-size:.6em;margin:0}div.figure p.caption a{border:none;color:grey}.article-content img.align-right,div.figure.align-right{float:right;margin-left:1.5em}.article-content img.align-left,div.figure.align-left{float:left;margin-right:1.5em}.author_blurb{font-style:italic;padding:5px 0}.author_blurb img{padding:0;width:32px;height:32px}.author_name{font-weight:700;font-feature-settings:"c2sc";font-variant:small-caps}.gist table{table-layout:auto}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;border:1px solid #bfbfbf;border-collapse:separate;*border-collapse:collapse;border-left:0;border-radius:4px;border-radius:var(--border-radius)}table td,table th{border-left:1px solid #bfbfbf;padding-left:2px;padding-right:2px}table thead:first-child tr:first-child th{border-top:0}table thead:first-child tr:first-child>th:first-child{border-top-left-radius:4px;border-top-left-radius:var(--border-radius)}table thead:first-child tr:first-child>th:last-child{border-top-right-radius:4px;border-top-right-radius:var(--border-radius)}table tbody:last-child tr:last-child>td:first-child{border-bottom-left-radius:4px;border-bottom-left-radius:var(--border-radius)}table tbody:last-child tr:last-child>td:last-child{border-bottom-right-radius:4px;border-bottom-right-radius:var(--border-radius)}table tbody>tr:nth-child(odd)>td{background-color:#ebebeb} article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a,article ol a:not(.ampl),article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl),blockquote a:not(.ampl){color:#000;display:inline-block;position:relative}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:after,article ol a:not(.ampl):after,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):after,blockquote a:not(.ampl):after{position:absolute;top:100%;left:0;width:100%;height:1px;background:silver;content:"";opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translateY(0);transform:translateY(0)}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:hover,article ol a:not(.ampl):hover,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):hover,blockquote a:not(.ampl):hover{color:#4169e1;text-decoration:none;-webkit-transition:color .1s;transition:color .1s}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:hover:after,article ol a:not(.ampl):hover:after,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):hover:after,blockquote a:not(.ampl):hover:after{opacity:0;-webkit-transform:translateY(5px);transform:translateY(5px)}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:focus,article ol a:not(.ampl):focus,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):focus,blockquote a:not(.ampl):focus{text-decoration:none}div.recent-posts-posted a{color:inherit;padding-left:.3em}div.recent-posts-posted a:hover{border-bottom:1px dashed;text-decoration:none}div.recent-posts-posted a:focus{text-decoration:none}a.ampl{color:#4169e1;display:inline-block;position:relative}a.ampl:focus,a.ampl:hover{text-decoration:none}a.ampl:hover{color:#1e90ff;-webkit-transition:color .1s;transition:color .1s}a.ampl:hover:after{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}a.ampl:after{position:absolute;top:100%;left:0;width:100%;height:2px;background:#1e90ff;content:"";opacity:0;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translateY(5px);transform:translateY(5px)} dt:hover>a.headerlink,h1:hover>a.headerlink,h2:hover>a.headerlink,h3:hover>a.headerlink,h4:hover>a.headerlink,h5:hover>a.headerlink,h6:hover>a.headerlink{opacity:1;text-decoration:none;visibility:visible}a.headerlink{content:url('data:image/svg+xml;utf8,');display:inline-block;margin-left:5px;opacity:0;-webkit-transition:visibility 0s,opacity .2s ease-in;transition:visibility 0s,opacity .2s ease-in;visibility:hidden;width:20px} From 8a27e38232f7c4c2f054ff8bc11e5d3a6f962c20 Mon Sep 17 00:00:00 2001 From: frangipane Date: Sat, 4 Jan 2020 23:27:53 -0800 Subject: [PATCH 5/8] Add scroll to top button --- templates/base.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/templates/base.html b/templates/base.html index e722d652..e8df6454 100644 --- a/templates/base.html +++ b/templates/base.html @@ -92,6 +92,7 @@
{% block content %} {% endblock content %} +
@@ -110,6 +111,28 @@ return (query.length > 0); } + {% endblock script %} {% include '_includes/stat_counter.html' %} From 4b8f81bbe497a483bae36ed1fb083ef8236d6ac0 Mon Sep 17 00:00:00 2001 From: frangipane Date: Sat, 4 Jan 2020 23:29:32 -0800 Subject: [PATCH 6/8] Finetune appearance --- static/css/blockquote.css | 4 +-- static/css/custom.css | 44 +++++++++++++++++++++++++++------ static/css/elegant.prod.css | 6 ++--- static/css/sidebar.css | 2 +- templates/_includes/footer.html | 28 ++++++++++----------- templates/article.html | 3 ++- 6 files changed, 59 insertions(+), 28 deletions(-) diff --git a/static/css/blockquote.css b/static/css/blockquote.css index 7ef9f335..4cbe98f2 100644 --- a/static/css/blockquote.css +++ b/static/css/blockquote.css @@ -1,7 +1,7 @@ blockquote { --quotes-margin: 13px; - background: Cornsilk; - border-left: 5px solid goldenrod; + #background: Cornsilk; + #border-left: 5px solid goldenrod; border-radius: var(--border-radius); box-sizing: border-box; margin: 1rem auto 2rem; diff --git a/static/css/custom.css b/static/css/custom.css index d4ff6e52..e595ecc0 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -236,11 +236,12 @@ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 line-height: 1.1em; text-indent: -1px; } -/* ul.articles-timeline { */ -/* list-style: none; */ -/* margin: 0; */ -/* padding-bottom: 30px; */ -/* } */ +ul.articles-timeline { + list-style: none; + margin: 0; + padding-bottom: 30px; + font-family: "Fira Sans", sans-serif; +} /* ul.articles-timeline .next-article { */ /* float: right; */ /* margin: 0; */ @@ -289,8 +290,8 @@ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 ul.list-articles-category li time { color: #8f8f8f; display: inline-block; - font: 1.2em "Helvetica", sans-serif; - width: 7em; + font: 0.8em "Helvetica", sans-serif; + width: 12em; } a.category-link { color: #333; @@ -575,3 +576,32 @@ div.recent-posts-posted { /* table tbody > tr:nth-child(odd) > td { */ /* background-color: #ebebeb; */ /* } */ + + + +/********************** MY ADDITIONS ****************/ + +/* +"scroll to top button" +https://www.w3schools.com/howto/howto_js_scroll_to_top.asp +*/ +#myBtn { + display: none; /* Hidden by default */ + position: fixed; /* Fixed/sticky position */ + bottom: 20px; /* Place the button at the bottom of the page */ + right: 30px; /* Place the button 30px from the right */ + z-index: 99; /* Make sure it does not overlap */ + border: none; /* Remove borders */ + outline: none; /* Remove outline */ + background-color: #008CBA; /* Set a background color */ + color: white; /* Text color */ + cursor: pointer; /* Add a mouse pointer on hover */ + padding: 15px; /* Some padding */ + border-radius: 10px; /* Rounded corners */ + font-size: 20px; /* Increase font size */ + opacity: 0.8; +} + +#myBtn:hover { + background-color: #555; /* Add a dark-grey background on hover */ +} \ No newline at end of file diff --git a/static/css/elegant.prod.css b/static/css/elegant.prod.css index 658ad00e..f48468cf 100644 --- a/static/css/elegant.prod.css +++ b/static/css/elegant.prod.css @@ -2,12 +2,12 @@ applause-button{position:relative;cursor:pointer}applause-button .style-root,app @import url("https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans|Source+Code+Pro");#tipue_search_input:-webkit-autofill,#tipue_search_input:-webkit-autofill:focus,#tipue_search_input:-webkit-autofill:hover{-webkit-box-shadow:0 0 0 1000px #f3f3f3 inset}.tipue_search_button{position:relative;width:49px;height:56px;margin-left:-3px;background-color:#f3f3f3;border:none;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer}.tipue_search_button,.tipue_search_icon{float:left;box-sizing:border-box;outline:0}.tipue_search_icon{font:24px/1 Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-moz-appearance:none;-webkit-appearance:none;box-shadow:none;margin:-1px 0 0 16px}.tipue_search_group:after{content:"";display:table;clear:both}#tipue_search_content{max-width:100%;margin:0}.tipue_search_content_title{font:300 31.5px/40px Baskerville,Garamond,Georgia,"DejaVu Serif",Times New Roman,Times,Serif;color:#111}.tipue_search_content_title a{color:#111;text-decoration:none}.tipue_search_content_title a:hover{border-bottom:1px solid #333}.tipue_search_result{padding-top:27px}#tipue_search_results_count,.tipue_search_content_debug{font:13px/1.5 Source Code Pro,monospace;text-transform:uppercase;color:#999;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#tipue_search_results_count{padding-top:9px}#tipue_search_error,#tipue_search_replace,.tipue_search_content_url,.tipue_search_note,.tipue_search_related{font:300 16px/1.4 Merriweather,serif;color:#666;padding-top:7px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}#tipue_search_replace a,#tipue_search_replace a:hover,.tipue_search_content_url a,.tipue_search_note a,.tipue_search_related a{text-decoration:none}.tipue_search_content_url a:hover,.tipue_search_note a:hover,.tipue_search_related a:hover{color:#666}#tipue_search_replace,.tipue_search_related{margin-top:7px}#tipue_search_error{color:#333;margin-top:17px}.tipue_search_content_text{font:1.2em/1.6em "PT Serif",Georgia,Times New Roman,Times,Serif;color:#333;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;margin-top:9px}.tipue_search_content_bold{font-weight:400;font-family:Open Sans,sans-serif;color:#333}.tipue_search_content_debug{margin:7px 0 2px}.tipue_search_image{padding:17px 0 6px}.tipue_search_img{width:100%;max-width:330px;height:auto;-webkit-transition:.5s;transition:.5s;border-radius:2px}.tipue_search_img:hover{opacity:.9}#tipue_search_zoom_text{font:12px/1.7 Source Code Pro,monospace;color:#ccc;text-transform:uppercase;letter-spacing:1px;padding-top:9px}#tipue_search_zoom_text a{color:#ccc;text-decoration:none;border-bottom:2px solid #f7f7f7}#tipue_search_zoom_text a:hover{border:0}.tipue_search_image_zoom{cursor:pointer}#tipue_search_image_modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.9)}.tipue_search_image_close{position:absolute;top:0;right:0;font:22px/1 Source Code Pro,monospace;color:#ccc;padding:25px 30px;cursor:pointer}.tipue_search_image_block{margin:0 auto;max-width:900px;padding:73px 30px 30px;box-sizing:border-box;color:#fff}#tipue_search_zoom_img{max-width:100%;height:auto}#tipue_search_zoom_text,.tipue_search_zoom_options{padding-top:9px}#tipue_search_foot{margin:51px 0 21px}#tipue_search_foot_boxes{font:14px Source Code Pro,sans-serif;text-transform:uppercase;color:#333;padding:0;margin:0;cursor:pointer}#tipue_search_foot_boxes li{display:inline;list-style:none;margin:0;padding:0}#tipue_search_foot_boxes li a{background-color:#f7f7f7;color:#666;text-decoration:none;-webkit-transition:.3s;transition:.3s}#tipue_search_foot_boxes li.current,#tipue_search_foot_boxes li a{padding:10px 17px 11px;border-radius:3px;margin-right:7px;text-align:center}#tipue_search_foot_boxes li.current,#tipue_search_foot_boxes li a:hover{background:#252525;color:#ccc} div.admonition{padding:0;margin-bottom:20px;background-color:#fcf8e3;border:1px solid;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}div.admonition p{margin:.5em 1em;padding:0}div.admonition p a{color:inherit!important}div.admonition div.highlight{margin-left:1em;margin-right:1em}div.admonition table.highlighttable{padding-left:1em;padding-right:1em}div.admonition table.highlighttable div.highlight{margin-left:0;margin-right:0}div.admonition p.admonition-title{color:#fff;margin:0;padding:.1em 0 .1em .5em;font-weight:700}div.admonition ol,div.admonition ul{margin:.1em .5em .5em 3em;padding:0}div.danger,div.error{color:#b94a48;background-color:#f2dede}div.danger p.admonition-title,div.error p.admonition-title{background-color:#b94a48}div.attention,div.caution,div.warning{color:#c09853}div.attention p.admonition-title,div.caution p.admonition-title,div.warning p.admonition-title{background-color:#c09853}div.important,div.note{color:#468847;background-color:#dff0d8}div.important p.admonition-title,div.note p.admonition-title{background-color:#468847}div.hint,div.tip{color:#3a87ad;background-color:#d9edf7}div.hint p.admonition-title,div.tip p.admonition-title{background-color:#3a87ad}div.attention p.admonition-title:before,div.caution p.admonition-title:before,div.danger p.admonition-title:before,div.error p.admonition-title:before,div.hint p.admonition-title:before,div.important p.admonition-title:before,div.note p.admonition-title:before,div.tip p.admonition-title:before,div.warning p.admonition-title:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}div.danger p.admonition-title:before,div.error p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.attention p.admonition-title:before,div.caution p.admonition-title:before,div.warning p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.important p.admonition-title:before,div.note p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%}div.hint p.admonition-title:before,div.tip p.admonition-title:before{height:20px;width:23px;background-size:20px 20px;content:"";background-repeat:no-repeat;background-image:url('data:image/svg+xml; utf8, ');vertical-align:-20%} div.applause_button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}div.applause_button applause-button{height:50px;width:50px}div.applause_button applause-button div.style-root{fill:maroon!important;stroke:maroon!important;color:maroon!important} -blockquote{--quotes-margin:13px;background:#fff8dc;border-left:5px solid #daa520;border-radius:var(--border-radius);box-sizing:border-box;margin:1rem auto 2rem;padding:.1rem 1.2rem;position:relative;width:80%}blockquote p{font-family:Helvetica Neue,Helvetica,Arial,Sans-Serif;font-weight:400}blockquote:after,blockquote:before{color:#696969;font-size:4rem;line-height:0;margin:0;padding:0;position:absolute}blockquote:before{content:open-quote;margin-right:var(--quotes-margin);right:100%;top:30px}blockquote:after{bottom:0;content:close-quote;left:100%;margin-left:var(--quotes-margin);top:auto} -.list-of-tags,.site-name{font-family:Fira Sans,sans-serif}.list-of-tags{font-size:1.2em;list-style:none;margin:0;overflow:hidden}.list-of-tags a{background:#eee;border-radius:var(--border-radius);color:#222;margin:5px;padding:3px 6px;text-decoration:none}.list-of-tags a span{font-size:.8em;vertical-align:super}.tag-title{font-family:Fira Sans,sans-serif}.articles-in-tag li{font:1.4em/1.6 Fira Sans,sans-serif}.article-content,div.recent-posts p{font-weight:400;font-size:1.5em;line-height:1.5em;font-family:Cardo,serif;text-align:left}.article-content p,div.recent-posts p{font-size:inherit;font-feature-settings:normal;font-variant:normal;text-rendering:optimizeLegibility;color:#45484d}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Fira Sans,sans-serif;font-weight:700;padding-top:25px;padding-bottom:2px;border:none}.page-header{font:Fira Sans,sans-serif;border-bottom:0 solid;color:#000;margin:10px 10px 20px;padding:10px}.page-header h1{font:Fira Sans,sans-serif;border:none;font-weight:700;line-height:1.1em;text-indent:-1px}.article-content img{border:0 solid #eee;padding:10px}ul.list-articles-category li time{color:#8f8f8f;display:inline-block;font:1.2em Helvetica,sans-serif;width:7em}a.category-link{color:#333;font:1.2em Helvetica,sans-serif}a.list-of-categories{font-family:Helvetica,sans-serif;font-size:1.2em}ul.list-all-articles li{border-bottom:1px dotted #000;font-family:Fira Sans,sans-serif;font-size:1.3em;padding:.5em .3em .8em .5em;overflow:auto}ul.list-all-articles li time{color:#aaa;float:right;font-family:Fira Sans,sans-serif;font-size:.9em}div.blog-archives div,div.recent-posts-article{border-bottom:0 #aaa;font:1em Fira Sans,sans-serif;font-size:1.5em;padding:.5em .2em;position:relative;overflow:auto}div.blog-archives time,div.recent-posts-posted,div.recent-posts time{color:#8f8f8f;font:.8em Fira Sans,sans-serif}.proj-desc{color:#999}.author_blurb,.proj-desc{font:1em Fira Sans,sans-serif}.author_blurb{color:#8f8f8f;font-weight:300;padding:25px 0}.author_blurb img{padding:10px 10px 5px 0;width:80px;height:80px;float:left}.author_name{font-family:Fira Sans,sans-serif;font-weight:700;font-feature-settings:"c2sc";font-variant:small-caps} +blockquote{--quotes-margin:13px;#background:#fff8dc;#border-left:5px solid #daa520;border-radius:var(--border-radius);box-sizing:border-box;margin:1rem auto 2rem;padding:.1rem 1.2rem;position:relative;width:80%}blockquote p{font-family:Helvetica Neue,Helvetica,Arial,Sans-Serif;font-weight:400}blockquote:after,blockquote:before{color:#696969;font-size:4rem;line-height:0;margin:0;padding:0;position:absolute}blockquote:before{content:open-quote;margin-right:var(--quotes-margin);right:100%;top:30px}blockquote:after{bottom:0;content:close-quote;left:100%;margin-left:var(--quotes-margin);top:auto} +.list-of-tags,.site-name{font-family:Fira Sans,sans-serif}.list-of-tags{font-size:1.2em;list-style:none;margin:0;overflow:hidden}.list-of-tags a{background:#eee;border-radius:var(--border-radius);color:#222;margin:5px;padding:3px 6px;text-decoration:none}.list-of-tags a span{font-size:.8em;vertical-align:super}.tag-title{font-family:Fira Sans,sans-serif}.articles-in-tag li{font:1.4em/1.6 Fira Sans,sans-serif}.article-content,div.recent-posts p{font-weight:400;font-size:1.5em;line-height:1.5em;font-family:Cardo,serif;text-align:left}.article-content p,div.recent-posts p{font-size:inherit;font-feature-settings:normal;font-variant:normal;text-rendering:optimizeLegibility;color:#45484d}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Fira Sans,sans-serif;font-weight:700;padding-top:25px;padding-bottom:2px;border:none}.page-header{font:Fira Sans,sans-serif;border-bottom:0 solid;color:#000;margin:10px 10px 20px;padding:10px}.page-header h1{font:Fira Sans,sans-serif;border:none;font-weight:700;line-height:1.1em;text-indent:-1px}ul.articles-timeline{list-style:none;margin:0;padding-bottom:30px;font-family:Fira Sans,sans-serif}.article-content img{border:0 solid #eee;padding:10px}ul.list-articles-category li time{color:#8f8f8f;display:inline-block;font:.8em Helvetica,sans-serif;width:12em}a.category-link{color:#333;font:1.2em Helvetica,sans-serif}a.list-of-categories{font-family:Helvetica,sans-serif;font-size:1.2em}ul.list-all-articles li{border-bottom:1px dotted #000;font-family:Fira Sans,sans-serif;font-size:1.3em;padding:.5em .3em .8em .5em;overflow:auto}ul.list-all-articles li time{color:#aaa;float:right;font-family:Fira Sans,sans-serif;font-size:.9em}div.blog-archives div,div.recent-posts-article{border-bottom:0 #aaa;font:1em Fira Sans,sans-serif;font-size:1.5em;padding:.5em .2em;position:relative;overflow:auto}div.blog-archives time,div.recent-posts-posted,div.recent-posts time{color:#8f8f8f;font:.8em Fira Sans,sans-serif}.proj-desc{color:#999}.author_blurb,.proj-desc{font:1em Fira Sans,sans-serif}.author_blurb{color:#8f8f8f;font-weight:300;padding:25px 0}.author_blurb img{padding:10px 10px 5px 0;width:80px;height:80px;float:left}.author_name{font-family:Fira Sans,sans-serif;font-weight:700;font-feature-settings:"c2sc";font-variant:small-caps}#myBtn{display:none;position:fixed;bottom:20px;right:30px;z-index:99;border:none;outline:none;background-color:#008cba;color:#fff;cursor:pointer;padding:15px;border-radius:10px;font-size:20px;opacity:.8}#myBtn:hover{background-color:#555} :root{--border-radius:4px}body,html{height:100%}body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}div#content{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}footer{-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;font:.8em Calibri,Tahoma,Arial,Sans-Serif;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin:15px 0 0;min-height:40px;padding:0 3px}footer div{margin:3px 0}footer div:first-child{margin-right:auto}footer div#fpowered{margin-left:auto;margin-right:unset}:lang(zh){font-family:Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,Helvetica,Arial,sans-serif}a{color:#3875d7}hr{border-width:3px}.site-name{font-family:Monaco,Inconsolata,Andale Mono,Lucida Console,Bitstream Vera Sans Mono,Courier New,Courier,Monospace}.top-menu li a{font-weight:700}#comment-message,#post-share-links:not(a){color:#6f6f6f;text-shadow:1px 1px 3px rgba(50,50,50,.15)}#post-share-links a{text-shadow:0 0}.comment-count{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:.9em}#comment_thread{padding-left:10px;padding-right:10px}table{table-layout:fixed;width:100%}td{vertical-align:top}@media (max-width:979px){.linenos{display:none!important}}.linenos{width:30px}.linenos div pre{text-align:right;overflow:hidden}pre{overflow:auto;white-space:pre;word-break:normal;word-wrap:normal}td.code .highlight pre{border-radius:0 4px 4px 0;border-radius:0 var(--border-radius) var(--border-radius) 0}td.code{width:100%}.linenodiv pre{background-color:#eee8d5;border-radius:4px 0 0 4px;border-radius:var(--border-radius) 0 0 var(--border-radius);color:#657b83}div.highlight{margin-bottom:20px}table.highlighttable,table.highlighttable td{border:none}table.highlighttable tbody>tr:nth-child(odd)>td{background-color:transparent}.list-of-tags{font-family:Helvetica Neue,Helvetica,Arial,Sans-Serif;list-style:none;margin:0;overflow:hidden}.list-of-tags li{float:left;line-height:28px;margin:0}.list-of-tags a{background:#eee;border-radius:4px;border-radius:var(--border-radius);color:#222;margin:2px;padding:3px 6px;text-decoration:none}.list-of-tags a span{font-size:.8em;vertical-align:super}.tags-in-article li{float:none;line-height:28px}.tag-title{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif}.articles-in-tag li{font:1.1em/1.6 Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif}.article-content,div.recent-posts p{font:1.2em/1.6 "PT Serif",Georgia,Times New Roman,Times,Serif;text-align:justify}.article-content{max-width:50em}.article-content p,div.recent-posts p{font-size:inherit;font-feature-settings:normal;font-variant:normal;line-height:1.6;text-transform:none}.article-content p{margin:20px 0}.article-content ul:not(.related-posts-list):not(.articles-timeline){font-size:inherit;list-style-type:disc}.article-content ul.related-posts-list{list-style-type:square}.article-content ol{font-size:inherit;list-style-type:decimal}.article-content li{line-height:1.7em;list-style-position:outside;margin:1px 0 1px 20px}.article-content dl{font-size:inherit;list-style-position:outside;list-style-type:decimal;margin:20px 0 20px 20px}.article-content dd{line-height:1.7em;margin:1px 0 1px 20px;padding:3px 0}.article-content dt{font-size:inherit}.page-header{border-bottom:2px solid maroon;color:maroon;margin:10px 10px 20px;padding:5px}.page-header h1{border:none;line-height:1em}ul.articles-timeline{list-style:none;margin:0;padding-bottom:30px}ul.articles-timeline .next-article{float:right;margin:0}ul.articles-timeline .previous-article{float:left;margin:0}ul.multi-parts-list a{color:#000}ul.multi-parts-list a:hover{text-decoration:none}ul.multi-parts-list li.active-part{font-style:italic}.table-of-content .toc{font-size:.7em}.last-updated a{color:#333}.last-updated a:hover{text-decoration:none}.article-content img{border:2px solid #eee;padding:5px}p#post-share-links{text-align:right}.list-of-categories span{font-size:.7em;vertical-align:super}a.list-of-categories{text-decoration:none}ul.list-articles-category{list-style:none outside none;margin:0 0 0 5px}ul.list-articles-category li time{color:#8f8f8f;display:inline-block;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif;width:7em}a.category-link{color:#333}a.category-link:hover{text-decoration:none}a.list-of-categories{font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:1.1em}a.list-of-categories:hover{background-color:#08c;border-radius:4px;border-radius:var(--border-radius);color:#fff}ul.list-all-articles{list-style:none;margin:0}ul.list-all-articles li{border-bottom:1px dotted #000;font-family:Trebuchet MS,Trebuchet,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Arial,Sans-Serif;font-size:1.1em;padding:.3em 0;overflow:auto}ul.list-all-articles li time{color:#aaa;float:right;font-family:PT Sans,Helvetica Neue,Arial,Sans-Serif;font-size:.9em}div.blog-archives h2{float:left;position:relative;margin:0}div.blog-archives div,div.recent-posts-article{border-bottom:1px dotted #aaa;font-size:1.1em;padding:.3em .2em;position:relative;overflow:auto}div.blog-archives div{margin-left:6em}div.blog-archives div.last-entry-of-year{margin-bottom:1em}div.blog-archives time,div.recent-posts time{float:right;text-align:right}div.blog-archives time,div.recent-posts-posted,div.recent-posts time{color:#8f8f8f;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif}div.recent-posts time{font-size:inherit}div.recent-posts-time{display:inline}@media (max-width:767px){div.blog-archives h2{float:none}div.blog-archives article{margin-left:0;padding-left:0}div.recent-posts time{float:none}div.recent-posts-time{display:block}ul.list-articles-category li time{width:100%}}#mc-embed-signup{font-family:inherit;font-size:inherit;margin:10px 0}#mc-embed-signup form{display:block;padding:0;position:relative;text-align:left}#mc-embed-signup input{-moz-appearance:none;-webkit-appearance:none;border:1px solid #999}#mc-embed-signup input:focus{border-color:#333}#mc-embed-signup input.email{display:block;font-size:.9em;margin:0 4% 10px 0;min-width:130px;padding:8px 0;text-indent:5px;width:100%}#mc-embed-signup input.button{display:block;margin:0 0 10px;min-width:130px;width:100%}#mc-embed-signup input[type=email]{height:100%}#mc-embed-signup .button{background-color:#eee;border-radius:4px;border-radius:var(--border-radius);border:1px solid #d3d3d3;clear:both;color:#000;cursor:pointer;display:inline-block;font-size:1em;font-weight:400;height:32px;line-height:32px;margin:0 5px 10px 0;padding:0;text-align:center;text-decoration:none;vertical-align:top;white-space:nowrap;width:auto}#mc-embed-signup.button:hover{background-color:#dfdfdf}#mc-embed-signup .clear{clear:none;display:inline}#allposts{color:#999;float:right;font-size:75%;font-weight:400}a#allposts:hover{color:#333}.proj-desc{color:#999;font:.9em PT Sans,Helvetica Neue,Arial,Sans-Serif}.literal{background-color:#f7f7f9;border-radius:4px;border-radius:var(--border-radius);border:1px solid #e1e1e8;color:#d14;font-family:Monaco,Menlo,Consolas,Courier New,monospace;font-size:12px;padding:2px 4px;white-space:nowrap}div.line-block div.line-block{margin-left:1.5em}.amp{font-family:Warnock Pro,Goudy Old Style,Palatino,Book Antiqua,Serif;font-style:italic}.article-content img,div.figure{text-align:center}div.figure img{width:100%}div.figure p.caption{color:grey;font-size:.6em;margin:0}div.figure p.caption a{border:none;color:grey}.article-content img.align-right,div.figure.align-right{float:right;margin-left:1.5em}.article-content img.align-left,div.figure.align-left{float:left;margin-right:1.5em}.author_blurb{font-style:italic;padding:5px 0}.author_blurb img{padding:0;width:32px;height:32px}.author_name{font-weight:700;font-feature-settings:"c2sc";font-variant:small-caps}.gist table{table-layout:auto}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;border:1px solid #bfbfbf;border-collapse:separate;*border-collapse:collapse;border-left:0;border-radius:4px;border-radius:var(--border-radius)}table td,table th{border-left:1px solid #bfbfbf;padding-left:2px;padding-right:2px}table thead:first-child tr:first-child th{border-top:0}table thead:first-child tr:first-child>th:first-child{border-top-left-radius:4px;border-top-left-radius:var(--border-radius)}table thead:first-child tr:first-child>th:last-child{border-top-right-radius:4px;border-top-right-radius:var(--border-radius)}table tbody:last-child tr:last-child>td:first-child{border-bottom-left-radius:4px;border-bottom-left-radius:var(--border-radius)}table tbody:last-child tr:last-child>td:last-child{border-bottom-right-radius:4px;border-bottom-right-radius:var(--border-radius)}table tbody>tr:nth-child(odd)>td{background-color:#ebebeb} article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a,article ol a:not(.ampl),article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl),blockquote a:not(.ampl){color:#000;display:inline-block;position:relative}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:after,article ol a:not(.ampl):after,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):after,blockquote a:not(.ampl):after{position:absolute;top:100%;left:0;width:100%;height:1px;background:silver;content:"";opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translateY(0);transform:translateY(0)}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:hover,article ol a:not(.ampl):hover,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):hover,blockquote a:not(.ampl):hover{color:#4169e1;text-decoration:none;-webkit-transition:color .1s;transition:color .1s}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:hover:after,article ol a:not(.ampl):hover:after,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):hover:after,blockquote a:not(.ampl):hover:after{opacity:0;-webkit-transform:translateY(5px);transform:translateY(5px)}article div.article-content ul:not(.articles-timeline):not(.related-posts-list) a:focus,article ol a:not(.ampl):focus,article p:not(#list-of-translations):not(#post-share-links) a:not(.ampl):focus,blockquote a:not(.ampl):focus{text-decoration:none}div.recent-posts-posted a{color:inherit;padding-left:.3em}div.recent-posts-posted a:hover{border-bottom:1px dashed;text-decoration:none}div.recent-posts-posted a:focus{text-decoration:none}a.ampl{color:#4169e1;display:inline-block;position:relative}a.ampl:focus,a.ampl:hover{text-decoration:none}a.ampl:hover{color:#1e90ff;-webkit-transition:color .1s;transition:color .1s}a.ampl:hover:after{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}a.ampl:after{position:absolute;top:100%;left:0;width:100%;height:2px;background:#1e90ff;content:"";opacity:0;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translateY(5px);transform:translateY(5px)} dt:hover>a.headerlink,h1:hover>a.headerlink,h2:hover>a.headerlink,h3:hover>a.headerlink,h4:hover>a.headerlink,h5:hover>a.headerlink,h6:hover>a.headerlink{opacity:1;text-decoration:none;visibility:visible}a.headerlink{content:url('data:image/svg+xml;utf8,');display:inline-block;margin-left:5px;opacity:0;-webkit-transition:visibility 0s,opacity .2s ease-in;transition:visibility 0s,opacity .2s ease-in;visibility:hidden;width:20px} .highlight,pre{background-color:#fdf6e3;color:#586e75}.highlight .c{color:#93a1a1}.highlight .err,.highlight .g{color:#586e75}.highlight .k{color:#859900}.highlight .l,.highlight .n{color:#586e75}.highlight .o{color:#859900}.highlight .x{color:#cb4b16}.highlight .p{color:#586e75}.highlight .cm{color:#93a1a1}.highlight .cp{color:#859900}.highlight .c1{color:#93a1a1}.highlight .cs{color:#859900}.highlight .gd{color:#2aa198}.highlight .ge{color:#586e75;font-style:italic}.highlight .gr{color:#dc322f}.highlight .gh{color:#cb4b16}.highlight .gi{color:#859900}.highlight .go,.highlight .gp{color:#586e75}.highlight .gs{color:#586e75;font-weight:700}.highlight .gu{color:#cb4b16}.highlight .gt{color:#586e75}.highlight .kc{color:#cb4b16}.highlight .kd{color:#268bd2}.highlight .kn,.highlight .kp{color:#859900}.highlight .kr{color:#268bd2}.highlight .kt{color:#dc322f}.highlight .ld{color:#586e75}.highlight .m,.highlight .s{color:#2aa198}.highlight .na{color:#586e75}.highlight .nb{color:#b58900}.highlight .nc{color:#268bd2}.highlight .no{color:#cb4b16}.highlight .nd{color:#268bd2}.highlight .ne,.highlight .ni{color:#cb4b16}.highlight .nf{color:#268bd2}.highlight .nl,.highlight .nn,.highlight .nx,.highlight .py{color:#586e75}.highlight .nt,.highlight .nv{color:#268bd2}.highlight .ow{color:#859900}.highlight .w{color:#586e75}.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo{color:#2aa198}.highlight .sb{color:#93a1a1}.highlight .sc{color:#2aa198}.highlight .sd{color:#586e75}.highlight .s2{color:#2aa198}.highlight .se{color:#cb4b16}.highlight .sh{color:#586e75}.highlight .si,.highlight .sx{color:#2aa198}.highlight .sr{color:#dc322f}.highlight .s1,.highlight .ss{color:#2aa198}.highlight .bp,.highlight .vc,.highlight .vg,.highlight .vi{color:#268bd2}.highlight .il{color:#2aa198} div#sidebar-social-link a svg{-webkit-filter:saturate(0) brightness(.7);filter:saturate(0) brightness(.7);height:20px;width:20px;margin-right:3px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:0;position:relative}div#sidebar-social-link a{text-decoration:none}div#sidebar-social-link a svg:hover{-webkit-filter:none;filter:none;-webkit-transform:scale(2.5);transform:scale(2.5);z-index:1} -section#article-sidebar{float:right;font-size:.9em} +section#article-sidebar{float:right;font-size:1.2em} :root{--heading-border-bottom-width:1px;--heading-border-bottom-style:solid;--heading-others-line-height:1.3rem;--heading-others-h4-font-size:1.1rem}h1,h2,h3,h4,h5,h6{font-family:Baskerville,Garamond,Georgia,"DejaVu Serif",Times New Roman,Times,Serif;font-weight:400;margin:10px 0;text-align:left}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-style:italic}h1{font-size:2.5rem}h2{font-size:2.2rem}h3{font-size:2rem}h4{font-size:1.8rem}h5{font-size:1.6rem}h6{font-size:1.4rem}h1,h2,h3{line-height:1.3em;border-bottom:1px solid #d3d3d3;border-bottom:var(--heading-border-bottom-width) var(--heading-border-bottom-style) #d3d3d3}h1 code,h2 code,h3 code{font-size:80%}h1 small,h2 small,h3 small{font-size:70%}h4,h5,h6{line-height:1.1em}h4 code,h4 small,h5 code,h5 small,h6 code,h6 small{font-size:80%}h1 a,h1 a:hover,h1 small,h2 a,h2 a:hover,h2 small,h3 a,h3 a:hover,h3 small,h4 a,h4 a:hover,h4 small,h5 a,h5 a:hover,h5 small,h6 a,h6 a:hover,h6 small{color:inherit;text-decoration:none}small.subtitle{font-style:italic}div.blog-archives h2,h1#my-projects,h1#recent-posts{border:none}h1#my-projects,h1#recent-posts{font-size:2.4rem;line-height:1.3rem;line-height:var(--heading-others-line-height)}nav h4,section#article-sidebar h4{font-size:1.1rem;font-size:var(--heading-others-h4-font-size);line-height:1.3rem;line-height:var(--heading-others-line-height)} \ No newline at end of file diff --git a/static/css/sidebar.css b/static/css/sidebar.css index fbfb83af..e0e354cd 100644 --- a/static/css/sidebar.css +++ b/static/css/sidebar.css @@ -1,4 +1,4 @@ section#article-sidebar { float: right; - font-size: 0.9em; + font-size: 1.2em; } diff --git a/templates/_includes/footer.html b/templates/_includes/footer.html index 57b36955..12eae8ec 100644 --- a/templates/_includes/footer.html +++ b/templates/_includes/footer.html @@ -24,18 +24,18 @@ {% endif %} -
- Powered by: Pelican - Theme: Elegant - {% if HOSTED_ON and HOSTED_ON.name %} - Hosted on: - {% if HOSTED_ON.url %} - - {{HOSTED_ON.name}} - - {% else %} - {{HOSTED_ON.name}} - {% endif %} - {% endif %} -
+ + + + + + + + + + + + + + diff --git a/templates/article.html b/templates/article.html index e4760d82..cb3d9b91 100644 --- a/templates/article.html +++ b/templates/article.html @@ -31,7 +31,7 @@ {% block content %}
From e81f835efc54d7d651da2427eef11692fc9e5ea3 Mon Sep 17 00:00:00 2001 From: frangipane Date: Mon, 20 Jan 2020 10:32:49 -0800 Subject: [PATCH 7/8] Add bold weight for Cardo google font in base template --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index e8df6454..370c9f9f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,7 +38,7 @@ {% include '_includes/minify_css.html' with context %} {% else %} - + {% endif %} From 258a25ed8071e028966b670295ea1c55638b44cd Mon Sep 17 00:00:00 2001 From: dustinmcintosh Date: Fri, 28 Feb 2020 22:30:23 -0800 Subject: [PATCH 8/8] wrap text on archives.html --- templates/archives.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/archives.html b/templates/archives.html index e0e66a2b..dd4a88ec 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -58,7 +58,9 @@

{{ year }}

{% endif %} - {{ article.title }} +

+ {{ article.title }} +

{%if article.subtitle %} {{ article.subtitle }}