diff options
author | Canop <cano.petrole@gmail.com> | 2021-10-19 18:08:25 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-10-19 18:08:25 +0200 |
commit | c408506f28d6eff4b877780c30dd0d9e08869baf (patch) | |
tree | 8d5f78c8a5b74580fd84c5a3188a1dbaf6c8d88c | |
parent | 27b43a2ac03958f8923f8946540a01ae9f7951c6 (diff) |
dystroy branding on broot website
-rw-r--r-- | website/docs/community.md | 3 | ||||
-rw-r--r-- | website/docs/css/link-to-dystroy.css | 17 | ||||
-rw-r--r-- | website/docs/img/dystroy-rust-white.svg | 1 | ||||
-rw-r--r-- | website/docs/img/dystroy-rust.svg | 1 | ||||
-rw-r--r-- | website/docs/js/link-to-dystroy.js | 17 | ||||
-rw-r--r-- | website/mkdocs.yml | 2 |
6 files changed, 41 insertions, 0 deletions
diff --git a/website/docs/community.md b/website/docs/community.md index c4d86b8..05fd44b 100644 --- a/website/docs/community.md +++ b/website/docs/community.md @@ -1,6 +1,9 @@ **broot** is developed by [Denys Séguret](https://twitter.com/DenysSeguret), also known as [Canop](https://github.com/Canop) or [dystroy](https://dystroy.org). +**broot** is free for all uses. +If it helps your company make money, consider [helping me](https://github.com/sponsors/Canop) find time to add features and to develop new free open-source software. + # Discuss Broot in a chat room The best place to chat about broot, to talk about features or bugs, is the Miaou chat. diff --git a/website/docs/css/link-to-dystroy.css b/website/docs/css/link-to-dystroy.css new file mode 100644 index 0000000..bfe255b --- /dev/null +++ b/website/docs/css/link-to-dystroy.css @@ -0,0 +1,17 @@ + +.link-to-dystroy { + position: absolute; + left: 4px; + top: 0; + height: 100%; + width: 50px; + background: url(../img/dystroy-rust-white.svg) no-repeat; + background-position: left center; + background-size: 40px 40px; + opacity: .3; + transition: opacity .5s; +} +.link-to-dystroy:hover { + opacity: 1; + transition: opacity .5s; +} diff --git a/website/docs/img/dystroy-rust-white.svg b/website/docs/img/dystroy-rust-white.svg new file mode 100644 index 0000000..46f2400 --- /dev/null +++ b/website/docs/img/dystroy-rust-white.svg @@ -0,0 +1 @@ +<svg version="1" xmlns="http://www.w3.org/2000/svg" width="560" height="560" viewBox="0 0 420.000000 420.000000"><path fill="white" d="M205.3 3.2c-1.1 1.3-4.3 5.8-7.2 10-3.8 5.7-5.7 7.8-7.3 7.8-1.4 0-5.3-3-10.4-8-4.7-4.6-9-8-10.2-8-3.4 0-5.8 3.1-9.7 13-2.1 5.2-3.9 9.6-3.9 9.6-.1.1-1 .4-2.2.8-1.5.5-4.6-1.1-11.7-5.8-7.5-4.9-10.3-6.2-12.3-5.8-2.8.5-4.8 4.1-5.7 10.2-.2 1.9-1 6-1.7 9.2-1.8 7.9-3.3 8.3-13.5 4.1-4.4-1.9-8.8-3.8-9.7-4.3-.9-.5-2.7-.7-3.9-.5-4.5.9-5.1 2.5-5.1 14.8 0 10-.3 11.8-1.8 13.2-1 .9-2.3 1.4-2.8 1.1-.5-.3-2.8-.8-5.2-1.1-2.3-.3-4.6-.7-5-1-.4-.3-2.5-.7-4.6-1.1-2.2-.3-4.1-.7-4.2-.9-.2-.2-1.7.1-3.3.7-4.1 1.4-4.4 3.8-1.9 16.3 2.7 14 2.9 13.7-12.3 13.9-13.3.2-15.1 1-14.4 6.5.2 2 2.1 7.5 4.1 12.3 4.8 11.4 4.5 12-7.8 14.3-11.6 2.1-12.3 2.3-14.1 4.1-2.6 2.6-1.7 5.6 4.5 14.9 3.3 4.9 6 9.7 6 10.6 0 2.4-1.4 3.3-11.5 7.4-10 4.1-11.3 5-12 8.5-.4 1.8 1.2 4 8.1 11 10.4 10.6 10.3 11.2-1.5 18.9C2.6 205.4 0 208.1.5 210.8c.2.9.4 2 .4 2.3.1.4 4.3 3.5 9.5 7s9.7 7.2 10 8.3c.4 1.6-1.5 4.1-7.9 10.7-7.5 7.6-8.4 8.9-7.9 11.5.6 3.4 1 3.7 12.9 8.7 4.9 2 9.3 4.3 9.7 5 1.2 1.8 1 4.4-.4 5.9-3.1 3.2-10.8 16-10.8 17.8 0 3.9 3.4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7 23.2 1.3 6.7 1.8 7.4 4.2 7.5 26l.1 18.5-9 .2c-4.9.1-23.2.4-40.5.7-17.3.3-33.1.8-35 1.1-20.5 3.4-41.2 18.1-49.9 35.4-2.2 4.5-4.3 9.7-4.7 11.6-.7 4-.9 4.1-4.9 1.7-1.6-1-7-4-12-6.6-4.9-2.7-9.7-5.4-10.6-6.2-3.6-3.2-2.7-34.8 1.6-52.9 5.5-23.3 19-50 33.4-65.7l5-5.4 8.3 1.2c4.6.6 10.6 1.5 13.3 1.8 2.8.4 6.2.9 7.7 1.2 6.3 1.3 10.9-2.2 12.2-9.1.2-1.1 1.4-8 2.7-15.4 2.2-12 2.6-13.4 4.9-14.6 2.3-1.2 19.1-7.4 21.5-7.9 17.6-4.1 28.1-5.3 43.5-5 7.4.1 16.4.7 20 1.3zM123.6 70.5c5.5 3.6 7.1 10.3 4 16.3-4.7 9-18 8.9-22.4-.2-5.7-11.5 7.6-23.2 18.4-16.1zm188 0c5.5 3.6 7.3 10.2 4.3 16.2-2.2 4.4-4.5 6.1-9.4 6.9-7.2 1.1-14.5-5.2-14.5-12.6 0-10 11.2-16 19.6-10.5zm38.7 77.5c3 5.8 8.8 23.7 10.1 31.5.3 1.6.8 4.1 1.1 5.5.9 4.4 1.9 18.3 1.8 25-.1 14.2-.6 18.2-2.4 19.9-1 .9-6.6 4.1-12.5 7.1s-12.2 6.9-14 8.6c-4.2 3.9-4 6.3 1.6 17.3 3.4 6.9 3.8 8.1 2.3 8.2-5.7.3-31.4-.2-34.6-.7-4.6-.7-6.5-3.4-7.4-10-1.5-11.2-.5-106.2 1.2-110.4 1.4-3.8 4.5-4.5 23.5-5 29.6-.8 27.2-1 29.3 3zm-125.5 98.9c.1 22.2 0 24.1-1.6 24.2-4.8.2-33.5-.2-38.6-.6-12.2-1-19.3-4.9-21.7-12.3-2.5-7.5-.4-21.6 3.9-26.7 2.4-2.8 7.1-6 10.7-7.2 1.7-.5 12.9-1.1 25.1-1.2l22.1-.2.1 24zm-159.8.5c4.9 2.1 7.5 11.7 4.6 17.1-6 11.1-23.7 7.2-23.8-5.3 0-5.1 1.6-8.6 4.9-11 4.3-3 8.5-3.3 14.3-.8zm303.6.2c6.2 3 8.7 12.2 4.9 18.1-7.3 11.2-25 4.6-23.2-8.7 1.2-9 9.8-13.4 18.3-9.4zM85.4 268.4c.4 1.9 2.3 6.7 4.3 10.7 3.9 7.9 14.3 19.2 22.3 24.5 10 6.5 25.3 12 39 13.9 2.5.3 41.4.6 86.5.6h82l-6 5.5c-16.7 15.4-39.8 28.4-61.3 34.5-13.7 3.9-12.3 4.3-24.3-7.5-5.9-5.7-11.8-11.2-13.3-12.1-4.5-3-7.5-1.3-20.7 11.4l-12.3 11.8-6.5-1.5c-23.3-5.3-46-16.8-65.7-33.2-11.6-9.8-26.2-27.1-32.3-38.4l-2.5-4.4 4.2-8.7c2.3-4.7 4.2-9 4.2-9.6 0-2.4 1.9-.5 2.4 2.5zm131 90.1c8.3 4 9 16.9 1.1 22.1-5.8 3.8-16.2.8-18.6-5.3-4.4-11.7 6.3-22.1 17.5-16.8z"/></svg> diff --git a/website/docs/img/dystroy-rust.svg b/website/docs/img/dystroy-rust.svg new file mode 100644 index 0000000..3fd523f --- /dev/null +++ b/website/docs/img/dystroy-rust.svg @@ -0,0 +1 @@ +<svg version="1" xmlns="http://www.w3.org/2000/svg" width="560" height="560" viewBox="0 0 420.000000 420.000000"><path d="M205.3 3.2c-1.1 1.3-4.3 5.8-7.2 10-3.8 5.7-5.7 7.8-7.3 7.8-1.4 0-5.3-3-10.4-8-4.7-4.6-9-8-10.2-8-3.4 0-5.8 3.1-9.7 13-2.1 5.2-3.9 9.6-3.9 9.6-.1.1-1 .4-2.2.8-1.5.5-4.6-1.1-11.7-5.8-7.5-4.9-10.3-6.2-12.3-5.8-2.8.5-4.8 4.1-5.7 10.2-.2 1.9-1 6-1.7 9.2-1.8 7.9-3.3 8.3-13.5 4.1-4.4-1.9-8.8-3.8-9.7-4.3-.9-.5-2.7-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28.1-5.3 43.5-5 7.4.1 16.4.7 20 1.3zM123.6 70.5c5.5 3.6 7.1 10.3 4 16.3-4.7 9-18 8.9-22.4-.2-5.7-11.5 7.6-23.2 18.4-16.1zm188 0c5.5 3.6 7.3 10.2 4.3 16.2-2.2 4.4-4.5 6.1-9.4 6.9-7.2 1.1-14.5-5.2-14.5-12.6 0-10 11.2-16 19.6-10.5zm38.7 77.5c3 5.8 8.8 23.7 10.1 31.5.3 1.6.8 4.1 1.1 5.5.9 4.4 1.9 18.3 1.8 25-.1 14.2-.6 18.2-2.4 19.9-1 .9-6.6 4.1-12.5 7.1s-12.2 6.9-14 8.6c-4.2 3.9-4 6.3 1.6 17.3 3.4 6.9 3.8 8.1 2.3 8.2-5.7.3-31.4-.2-34.6-.7-4.6-.7-6.5-3.4-7.4-10-1.5-11.2-.5-106.2 1.2-110.4 1.4-3.8 4.5-4.5 23.5-5 29.6-.8 27.2-1 29.3 3zm-125.5 98.9c.1 22.2 0 24.1-1.6 24.2-4.8.2-33.5-.2-38.6-.6-12.2-1-19.3-4.9-21.7-12.3-2.5-7.5-.4-21.6 3.9-26.7 2.4-2.8 7.1-6 10.7-7.2 1.7-.5 12.9-1.1 25.1-1.2l22.1-.2.1 24zm-159.8.5c4.9 2.1 7.5 11.7 4.6 17.1-6 11.1-23.7 7.2-23.8-5.3 0-5.1 1.6-8.6 4.9-11 4.3-3 8.5-3.3 14.3-.8zm303.6.2c6.2 3 8.7 12.2 4.9 18.1-7.3 11.2-25 4.6-23.2-8.7 1.2-9 9.8-13.4 18.3-9.4zM85.4 268.4c.4 1.9 2.3 6.7 4.3 10.7 3.9 7.9 14.3 19.2 22.3 24.5 10 6.5 25.3 12 39 13.9 2.5.3 41.4.6 86.5.6h82l-6 5.5c-16.7 15.4-39.8 28.4-61.3 34.5-13.7 3.9-12.3 4.3-24.3-7.5-5.9-5.7-11.8-11.2-13.3-12.1-4.5-3-7.5-1.3-20.7 11.4l-12.3 11.8-6.5-1.5c-23.3-5.3-46-16.8-65.7-33.2-11.6-9.8-26.2-27.1-32.3-38.4l-2.5-4.4 4.2-8.7c2.3-4.7 4.2-9 4.2-9.6 0-2.4 1.9-.5 2.4 2.5zm131 90.1c8.3 4 9 16.9 1.1 22.1-5.8 3.8-16.2.8-18.6-5.3-4.4-11.7 6.3-22.1 17.5-16.8z"/></svg>
\ No newline at end of file diff --git a/website/docs/js/link-to-dystroy.js b/website/docs/js/link-to-dystroy.js new file mode 100644 index 0000000..bbcb19c --- /dev/null +++ b/website/docs/js/link-to-dystroy.js @@ -0,0 +1,17 @@ + +(function ltd_main(){ + function updateLink() { + $(".link-to-dystroy").remove(); + let $brand = $(".navbar-brand"); + let available = $brand.offset().left; + if (available < 30) return; + $("<a>") + .attr("href", "https://dystroy.org") + .addClass("link-to-dystroy") + .prependTo(".navbar"); + } + window.addEventListener("resize", updateLink); + updateLink(); +})(); + + diff --git a/website/mkdocs.yml b/website/mkdocs.yml index cbd8596..dca012b 100644 --- a/website/mkdocs.yml +++ b/website/mkdocs.yml @@ -32,9 +32,11 @@ nav: extra_css: - css/extra.css - css/tab-langs.css + - css/link-to-dystroy.css extra_javascript: - js/tab-langs.js + - js/link-to-dystroy.js theme: name: null |