From eee03c4ed45ad57e629d5183a7f574563d42b0cb Mon Sep 17 00:00:00 2001 From: erciccione Date: Sat, 15 May 2021 10:55:52 +0200 Subject: [PATCH] roadmap: replace unicode emojis with svgs from openmoji - add a license section in the README where we link to our and openmoji's license - refactor css - add img/emojis/ which will store the emojis we intend to use --- README.md | 5 +++ css/custom.css | 75 ++++++++++---------------------------- img/emojis/1F6A7.svg | 36 ++++++++++++++++++ img/emojis/1F9ED.svg | 20 ++++++++++ img/emojis/2714.svg | 8 ++++ resources/roadmap/index.md | 6 +-- 6 files changed, 91 insertions(+), 59 deletions(-) create mode 100644 img/emojis/1F6A7.svg create mode 100644 img/emojis/1F9ED.svg create mode 100644 img/emojis/2714.svg diff --git a/README.md b/README.md index 82c20d27..84802379 100644 --- a/README.md +++ b/README.md @@ -384,3 +384,8 @@ Where `LINK-TO-PUBLICATION` is the URL of the actual publication. If it's a reso After you found the `library` category, add your placeholder and value after the last entry of the list. For example: `mypublication: "This is the description of my publication"`. In this example `mypublication` is the placeholder and needs to be also added to the entry in `index.md`, the result will be `

{% t library.mypublication %}

` and the value contained in the placeholder will be correctly displayed. Save the changes. + +## License +This repository is licensed under the [BSD 3-Clause "New" or "Revised" License](LICENSE). + +All emojis designed by [OpenMoji](https://openmoji.org/) – the open-source emoji and icon project. License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/#) \ No newline at end of file diff --git a/css/custom.css b/css/custom.css index 24350b2e..27c0af13 100644 --- a/css/custom.css +++ b/css/custom.css @@ -1495,38 +1495,6 @@ h2#main-h2 { border-bottom: 2px solid #a1aabb; } -.pre-roadmap { - margin-bottom: 2rem; -} - -.pre-roadmap p { - margin-bottom: 2.5rem; - display: inline; - padding: 0; -} - -.pre-roadmap p.pre-completed:before { - content: "\02714"; - color: green; - font-size: 2.5rem; - padding-right: 4%; - vertical-align: middle; -} - -.pre-roadmap p.pre-ongoing:before { - content: "\01F6A7"; - font-size: 2rem; - padding-right: 4%; - vertical-align: middle; -} - -.pre-roadmap p.pre-upcoming:before { - content: "\01F9ED"; - font-size: 2rem; - padding-right: 4%; - vertical-align: middle; -} - .hangouts ul { margin-bottom: 2.5rem; } @@ -1566,10 +1534,6 @@ h1 { margin: 1rem 0 0.7rem 0; } -.pre-roadmap p, .container.description p { - margin-bottom: 1.5rem; -} - .container.description p { padding: 0 1rem; } @@ -1629,11 +1593,6 @@ h1 { padding: 0 1rem; } -.pre-roadmap p, .container.description p { - margin-bottom: 1rem; - margin-top: -0.5rem; -} - .about-main h3, .about-monero h3 { font-size: 1.1rem; } @@ -3600,34 +3559,38 @@ h3.months { margin-bottom: 0.5rem } +.pre-roadmap { + margin-bottom: 2rem; +} + +img.emoji { + width: 2.5rem; + vertical-align: middle; + padding-right: 0.5rem; +} + .roadmap ul { list-style: none ; margin-left: 2rem; line-height: 1.3; } +.roadmap li:before { + display: inline-block; + vertical-align: middle; + width: 3rem; +} + .roadmap li.completed:before { - content: "\02714"; - color: green; - font-size: 2rem; - padding-right: 2%; - vertical-align: -8%; + content: url("/img/emojis/2714.svg"); } .roadmap li.ongoing:before { - content: "\01F6A7"; - font-size:2rem; - padding-right: 2%; - vertical-align: middle; - line-height: 1.6; + content: url("/img/emojis/1F6A7.svg"); } .roadmap li.upcoming:before { - content: "\01F9ED"; - font-size:2rem; - padding-right: 2%; - vertical-align: middle; - line-height: 1.6; + content: url("/img/emojis/1F9ED.svg"); } .roadmap .tabPanel-content span, .roadmap .ms-completed, .roadmap .ms-upcoming { diff --git a/img/emojis/1F6A7.svg b/img/emojis/1F6A7.svg new file mode 100644 index 00000000..9f3f9b8b --- /dev/null +++ b/img/emojis/1F6A7.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/emojis/1F9ED.svg b/img/emojis/1F9ED.svg new file mode 100644 index 00000000..277c3d5c --- /dev/null +++ b/img/emojis/1F9ED.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/img/emojis/2714.svg b/img/emojis/2714.svg new file mode 100644 index 00000000..631b6ab9 --- /dev/null +++ b/img/emojis/2714.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/roadmap/index.md b/resources/roadmap/index.md index 28f97fcc..73daefc5 100644 --- a/resources/roadmap/index.md +++ b/resources/roadmap/index.md @@ -8,13 +8,13 @@ permalink: /resources/roadmap/index.html
-

{% t roadmap.completed %}

+

{% t roadmap.completed %}

-

{% t roadmap.ongoing %}

+

{% t roadmap.ongoing %}

-

{% t roadmap.upcoming %}

+

{% t roadmap.upcoming %}