diff --git a/README.md b/README.md
index 34a56f9..ad97c73 100644
--- a/README.md
+++ b/README.md
@@ -2,10 +2,25 @@
Hugo theme for ad5001.eu
-## Licenses
+## Licenses acknowledgments.
-- static/font/metropolis/* is licensed under the SIL Open Font License, a copy being available in said folder.
-- static/font/omegicons/\* fonts, static/icons/\*.svg, static/icons/platform/\* , static/icons/social/\* include custom icons as well as icons from [Iconmonstr](https://iconmonstr.com) under it's [permissive license](https://iconmonstr.com/license/)
-- static/icons/flag/\* are flags from the [Wikimedia Commons](https://commons.wikimedia.org/wiki/Flag) under Public Domain.
-- layouts/, assets/ aswell as static/js are under the [GNU AGPL v3](https://www.gnu.org/licenses/agpl-3.0.html), for which a copy is available in the LICENSE file.
-- static/img/*, icon.svg are under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)
+- `static/font/metropolis/*` is licensed under the SIL Open Font License, a copy being available in said folder.
+- `static/font/omegicons/\*` fonts, `static/icons/\*.svg`, `static/icons/platform/\*` , `static/icons/social/\*` include custom icons as well as icons from [Iconmonstr](https://iconmonstr.com) under it's [permissive license](https://iconmonstr.com/license/)
+- `static/icons/flag/\*` are flags from the [Wikimedia Commons](https://commons.wikimedia.org/wiki/Flag) under Public Domain.
+- `layouts/` and `assets/` are under the [GNU AGPL v3](https://www.gnu.org/licenses/agpl-3.0.html), for which a copy is available in the LICENSE file.
+- `static/img/badges/\*` icons are owned by their respective owners, and are only used to represent product to which they refer:
+ - `amo.svg`, `amo-text.svg`: Firefox icon used to refer to [addons.mozilla.org].
+ The Firefox logo is a trademark of the Mozilla Foundation in the U.S. and other countries.
+ This badge is the translated and updated form of [the old badge](https://blog.mozilla.org/addons/2015/11/10/promote-your-add-ons-with-the-get-the-add-on-button/) with the new AMO colors and branding.
+ - `snapcraft.svg`, `snapcraft-text.svg`: Snapcraft icon used to refer to [snapcraft.io].
+ The Snapcraft logo is licensed under [CC BY-ND 2.0 UK](https://creativecommons.org/licenses/by-nd/2.0/uk/legalcode), a registered trademark of Canonical Limited, 2018.
+ These icons are adapted versions of [the official snapcraft badges](https://github.com/snapcore/snap-store-badges).
+ - `flathub.svg`, `flathub-text.svg`: Flathub icon used to refer to [flathub.org]
+ These icons are modified and translated versions of [the official flathub badges](https://flathub.org/badges), the official ones being under [CC0](http://creativecommons.org/publicdomain/zero/1.0/).
+- `static/icons/distribution/\*` icons are owned by their respective owners, and are only used to represent product to which they refer:
+ - `firefox.svg`: Firefox icon used to refer to [addons.mozilla.org].
+ The Firefox logo is a trademark of the Mozilla Foundation in the U.S. and other countries.
+ - `snapcraft.svg`: Snapcraft icon used to refer to [snapcraft.io].
+ The Snapcraft logo is licensed under [CC BY-ND 2.0 UK](https://creativecommons.org/licenses/by-nd/2.0/uk/legalcode), a registered trademark of Canonical Limited, 2018.
+ - `flathub.svg`: Flathub icon used to refer to [flathub.org]
+- `static/img/*`, `icon.svg` are under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)
diff --git a/assets/scss/apps.scss b/assets/scss/apps.scss
index 6336b2e..b22e655 100644
--- a/assets/scss/apps.scss
+++ b/assets/scss/apps.scss
@@ -72,26 +72,16 @@
.app-os-sources {
hr {
- color: var(--primary-color);
+ border: 0;
+ height: 1px;
+ background: var(--primary-color);
+
&:last-of-type {
opacity: 0;
height: 0.1em;
}
}
-
- a img {
- width: Min(300px, calc(100% - 2em));
- box-shadow: 0px 0px 0px 0px #000000;
- transition: box-shadow 0.15s ease-in-out, filter 0.15s ease-in-out;
- border-radius: 0.5em;
- filter: brightness(100%);
-
- &:hover {
- box-shadow: 0px 0px 8px 0px #000000;
- filter: brightness(90%);
- }
- }
}
}
diff --git a/assets/scss/blocks.scss b/assets/scss/blocks.scss
index 2e29715..10e37f4 100644
--- a/assets/scss/blocks.scss
+++ b/assets/scss/blocks.scss
@@ -18,3 +18,4 @@
@import "components/blocks/preview";
@import "components/blocks/card";
+@import "components/blocks/badge";
diff --git a/assets/scss/common.scss b/assets/scss/common.scss
index 361fda5..48cd825 100644
--- a/assets/scss/common.scss
+++ b/assets/scss/common.scss
@@ -40,6 +40,13 @@ body {
max-width: 75em;
}
+.fit-content {
+ width: -moz-fit-content;
+ height: -moz-fit-content;
+ width: fit-content;
+ height: fit-content;
+}
+
hr {
opacity: 0.5;
}
diff --git a/assets/scss/components/blocks/badge.scss b/assets/scss/components/blocks/badge.scss
new file mode 100644
index 0000000..6066b16
--- /dev/null
+++ b/assets/scss/components/blocks/badge.scss
@@ -0,0 +1,29 @@
+/**
+ * Omegamma - Hugo theme for ad5001.eu and related websites.
+ * Copyright (C) 2021 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see
{{ .Params.Download.Footnote | markdownify }}
+ + {{ if ($disclaimers.Get "snapcraft") }} +{{ i18n "disclaimerSnapcraft" | markdownify }}
+ {{ end }} + {{ if ($disclaimers.Get "firefox") }} +{{ i18n "disclaimerFirefox" | markdownify }}
+ {{ end }} {{ end }} diff --git a/layouts/_default/distribution-platforms.html b/layouts/_default/default.html similarity index 100% rename from layouts/_default/distribution-platforms.html rename to layouts/_default/default.html diff --git a/layouts/main-index.html b/layouts/main-index.html index ddb9660..93dc4e8 100644 --- a/layouts/main-index.html +++ b/layouts/main-index.html @@ -25,6 +25,7 @@