diff --git a/app/assets/fonts/OFL.txt b/app/assets/fonts/OFL.txt new file mode 100644 index 0000000..ee5a6b3 --- /dev/null +++ b/app/assets/fonts/OFL.txt @@ -0,0 +1,97 @@ +Young Serif +Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif) + +Atkinson Hyperlegible Next +Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/app/assets/fonts/atkinson-hyperlegible-next-400-italic.woff2 b/app/assets/fonts/atkinson-hyperlegible-next-400-italic.woff2 new file mode 100644 index 0000000..2060f6b Binary files /dev/null and b/app/assets/fonts/atkinson-hyperlegible-next-400-italic.woff2 differ diff --git a/app/assets/fonts/atkinson-hyperlegible-next-400.woff2 b/app/assets/fonts/atkinson-hyperlegible-next-400.woff2 new file mode 100644 index 0000000..a9ca4bd Binary files /dev/null and b/app/assets/fonts/atkinson-hyperlegible-next-400.woff2 differ diff --git a/app/assets/fonts/young-serif-400.woff2 b/app/assets/fonts/young-serif-400.woff2 new file mode 100644 index 0000000..af60123 Binary files /dev/null and b/app/assets/fonts/young-serif-400.woff2 differ diff --git a/app/assets/images/charte/favicon.svg b/app/assets/images/charte/favicon.svg new file mode 100644 index 0000000..c5e1810 --- /dev/null +++ b/app/assets/images/charte/favicon.svg @@ -0,0 +1 @@ + diff --git a/app/assets/images/charte/illustration-tasses.svg b/app/assets/images/charte/illustration-tasses.svg new file mode 100644 index 0000000..37162e4 --- /dev/null +++ b/app/assets/images/charte/illustration-tasses.svg @@ -0,0 +1,48 @@ + + Trois tasses de couleur alignées sur la table, et une quatrième posée sur la Kluk, fumante. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/assets/images/charte/photo-attente.svg b/app/assets/images/charte/photo-attente.svg new file mode 100644 index 0000000..85f0b3d --- /dev/null +++ b/app/assets/images/charte/photo-attente.svg @@ -0,0 +1 @@ + diff --git a/app/assets/images/charte/tasse-gris.svg b/app/assets/images/charte/tasse-gris.svg new file mode 100644 index 0000000..c297b35 --- /dev/null +++ b/app/assets/images/charte/tasse-gris.svg @@ -0,0 +1 @@ + diff --git a/app/assets/images/charte/tasse-orange.svg b/app/assets/images/charte/tasse-orange.svg new file mode 100644 index 0000000..7aa9989 --- /dev/null +++ b/app/assets/images/charte/tasse-orange.svg @@ -0,0 +1 @@ + diff --git a/app/assets/images/charte/tasse-rouge.svg b/app/assets/images/charte/tasse-rouge.svg new file mode 100644 index 0000000..f00d7b9 --- /dev/null +++ b/app/assets/images/charte/tasse-rouge.svg @@ -0,0 +1 @@ + diff --git a/app/assets/images/charte/tasse-vert.svg b/app/assets/images/charte/tasse-vert.svg new file mode 100644 index 0000000..ac92ab9 --- /dev/null +++ b/app/assets/images/charte/tasse-vert.svg @@ -0,0 +1 @@ + diff --git a/app/assets/stylesheets/_charte-bulma.scss b/app/assets/stylesheets/_charte-bulma.scss new file mode 100644 index 0000000..2ff5737 --- /dev/null +++ b/app/assets/stylesheets/_charte-bulma.scss @@ -0,0 +1,62 @@ +// Raccords entre Bulma et la charte : ce que ni l'un ni l'autre ne règle seul. + +// Les titres Bulma suivent ceux de la charte : Young Serif en 400. +.title, +.subtitle { + font-family: var(--serif); + font-weight: 400; + letter-spacing: -0.005em; +} + +// La charte souligne tous les liens ; pas les liens habillés en bouton ou en étiquette. +a.button, +a.tag, +a.navbar-item, +a.dropdown-item { + text-decoration: none; +} + +// La charte ne prépare les +``` + +Pilule encre, texte porcelaine en 700. Un bouton seul dans son paragraphe prend une marge de 2 rem. Dans un `.formulaire`, un ` + + + +``` + +- Libellés en 700 au-dessus des champs, précisions en 400 encre douce entre parenthèses. +- Champs : fond blanc, bordure 2 px `--bordure-champ`, arrondi 0,5 rem ; au focus, contour vert 3 px et bordure encre. +- Les styles ne visent que `input[type="email"]` et `textarea` : ajouter les autres types au sélecteur si besoin. +- Cases à cocher agrandies (1,35 rem), teintées `--vert-lien`. +- Message d'erreur : trait rouge à gauche sur fond rosé. + +### Pied de page + +```html + +``` + +C'est « la table en bois » : fond chêne, trait d'encre de 3 px en haut, comme le plateau de l'illustration. + +--- + +## 6. Impression + +La navigation, le pied de page, l'illustration et le calendrier sont masqués ; le fond devient blanc. + +## 7. Icône + +`img/favicon.svg` : une tasse verte (`--vert`) cernée d'encre. `theme-color` : `#F5F6F0`. diff --git a/charte/css/kluk.css b/charte/css/kluk.css new file mode 100644 index 0000000..a8947b4 --- /dev/null +++ b/charte/css/kluk.css @@ -0,0 +1,528 @@ +/* + * Kluk — charte graphique, feuille de style réutilisable. + * Extraite de assets/css/style.scss (site kluk.fr), en CSS pur, sans Sass. + * + * Palette : la porcelaine du matin, l'encre du thé, le chêne de la table, + * et les quatre couleurs des tasses en accent. + * + * Sommaire + * 1. Polices + * 2. Variables (couleurs, typographies, mise en page) + * 3. Base + * 4. Liens, focus, lien d'évitement + * 5. Boutons + * 6. En-tête et navigation + * 7. Colonne de texte et titres + * 8. Illustration « tasses » + * 9. Calendrier d'humeurs + * 10. Photos + * 11. Formulaire + * 12. Pied de page + * 13. Impression + */ + +/* ---------- 1. Polices ---------- */ + +@font-face { + font-family: "Young Serif"; + src: url("../fonts/young-serif-400.woff2") format("woff2"); + font-weight: 400; + font-style: normal; + font-display: swap; +} +/* Fichier variable : couvre toutes les graisses de 200 à 800 */ +@font-face { + font-family: "Atkinson Hyperlegible Next"; + src: url("../fonts/atkinson-hyperlegible-next-400.woff2") format("woff2"); + font-weight: 200 800; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Atkinson Hyperlegible Next"; + src: url("../fonts/atkinson-hyperlegible-next-400-italic.woff2") format("woff2"); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +/* ---------- 2. Variables ---------- */ + +:root { + /* Fonds et texte */ + --porcelaine: #F5F6F0; + --porcelaine-fonce: #E9ECE2; + --encre: #2E2A26; + --encre-douce: #5A534C; + --chene: #D9BC94; + --chene-fonce: #B48D5F; + + /* Humeurs (les quatre tasses) */ + --gris: #8D97A8; + --orange: #EDA33D; + --vert: #5F9B59; + --rouge: #D8573F; + --vert-lien: #3F7A3B; + + /* Teintes utilitaires (écrites en dur dans le site d'origine) */ + --encre-survol: #45403A; + --surface: #FBFCF8; + --bordure-champ: #8A8279; + --erreur-fond: #FBE9E5; + --blanc: #fff; + + /* Typographies */ + --serif: "Young Serif", Georgia, serif; + --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif; + + /* Mise en page */ + --colonne: 36rem; + --gouttiere: 1.25rem; + --largeur-entete: 64rem; + + /* Arrondis */ + --arrondi-petit: 0.5rem; + --arrondi: 0.75rem; + --arrondi-pilule: 999px; +} + +/* ---------- 3. Base ---------- */ + +*, +*::before, +*::after { box-sizing: border-box; } + +html { + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +body { + margin: 0; + min-height: 100vh; + display: flex; + flex-direction: column; + background: var(--porcelaine); + color: var(--encre); + font-family: var(--sans); + font-size: 1.1875rem; + line-height: 1.65; + font-kerning: normal; + hyphens: manual; +} + +main { flex: 1; outline: none; } + +img, svg { display: block; max-width: 100%; } + +/* ---------- 4. Liens, focus, lien d'évitement ---------- */ + +a { + color: var(--encre); + text-decoration-line: underline; + text-decoration-color: var(--vert); + text-decoration-thickness: 0.12em; + text-underline-offset: 0.2em; +} +a:hover { text-decoration-color: var(--encre); } + +:focus-visible { + outline: 3px solid var(--encre); + outline-offset: 3px; + border-radius: 4px; +} + +.evitement { + position: absolute; + left: var(--gouttiere); + top: -4rem; + padding: 0.5rem 1rem; + background: var(--encre); + color: var(--porcelaine); + z-index: 10; +} +.evitement:focus { top: 0.75rem; } + +/* ---------- 5. Boutons ---------- */ + +.bouton { + display: inline-block; + padding: 0.8rem 1.6rem; + border-radius: var(--arrondi-pilule); + background: var(--encre); + color: var(--porcelaine); + font-weight: 700; + line-height: 1.3; + text-decoration: none; + transition: background-color 0.15s ease; +} +.bouton:hover { background: var(--encre-survol); color: var(--porcelaine); } +.bouton:focus-visible { outline-offset: 4px; border-radius: var(--arrondi-pilule); } + +.bouton-petit { + padding: 0.45rem 1rem; + font-size: 1rem; +} + +/* Un bouton seul dans son paragraphe respire davantage */ +p:has(> .bouton:only-child) { margin: 2rem 0; } + +/* ---------- 6. En-tête et navigation ---------- */ + +.entete { + max-width: var(--largeur-entete); + margin: 0 auto; + padding: 1.25rem var(--gouttiere); + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: 1rem 2rem; + width: 100%; +} + +.logo { + display: inline-block; + padding: 0.05rem 0.55rem 0.15rem; + border: 2.5px solid var(--encre); + border-radius: var(--arrondi-petit); + font-family: var(--sans); + font-weight: 800; + font-size: 1.35rem; + line-height: 1.2; + letter-spacing: 0.01em; + text-decoration: none; +} + +.nav ul { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 0.35rem 1.35rem; + font-size: 1rem; +} +.nav a:not(.bouton) { + text-decoration-color: transparent; +} +.nav a:not(.bouton):hover, +.nav a[aria-current="page"]:not(.bouton) { + text-decoration-color: var(--vert); +} +.nav a.bouton[aria-current="page"] { + background: var(--porcelaine); + color: var(--encre); + box-shadow: inset 0 0 0 2px var(--encre); +} + +/* ---------- 7. Colonne de texte et titres ---------- */ + +.texte { + max-width: calc(var(--colonne) + 2 * var(--gouttiere)); + margin: 0 auto; + padding: 2rem var(--gouttiere) 5rem; +} + +h1, h2, h3 { + font-family: var(--serif); + font-weight: 400; + line-height: 1.15; + letter-spacing: -0.005em; + text-wrap: balance; +} + +h1 { + font-size: clamp(2.35rem, 1.6rem + 3.6vw, 3.75rem); + margin: 1.5rem 0 1.5rem; +} + +h2 { + font-size: clamp(1.6rem, 1.35rem + 1vw, 2rem); + margin: 4.5rem 0 1.25rem; +} + +p { margin: 0 0 1.15rem; } + +/* Le chapeau : paragraphe entièrement en italique juste sous le titre */ +h1 + p:has(> em:only-child) { + font-size: 1.3rem; + line-height: 1.55; + color: var(--encre-douce); +} + +.note { + margin-top: 2.5rem; + color: var(--encre-douce); + font-size: 1.0625rem; +} + +.exergue { + margin: 2.25rem 0; + padding-left: 1.25rem; + border-left: 4px solid var(--orange); + font-family: var(--serif); + font-size: 1.45rem; + line-height: 1.4; +} + +code { + font-size: 0.9em; + background: var(--porcelaine-fonce); + padding: 0.05em 0.3em; + border-radius: 3px; +} + +/* ---------- 8. Illustration « tasses » ---------- */ + +.tasses { + margin: 1.5rem 0 0; +} +/* L'illustration déborde légèrement de la colonne sur grand écran */ +@media (min-width: 48rem) { + .tasses { margin-inline: -4rem; } +} +.tasses svg { width: 100%; height: auto; overflow: visible; } + +.table { fill: var(--chene); } +.table-fil, +.tasse-corps, +.tasse-anse, +.kluk-socle, +.vapeur path { + stroke: var(--encre); + stroke-width: 3; + stroke-linecap: round; + stroke-linejoin: round; +} +.tasse-anse { fill: none; stroke-width: 6; } +.tasse-corps { fill: currentColor; } +.tasse-reflet { fill: none; stroke: var(--blanc); stroke-opacity: 0.45; stroke-width: 4; stroke-linecap: round; } +.kluk-socle { fill: var(--chene-fonce); } +.kluk-voyant { fill: var(--porcelaine); } +.vapeur path { fill: none; stroke-width: 2.5; stroke: var(--encre-douce); } + +.humeur-gris { color: var(--gris); } +.humeur-orange { color: var(--orange); } +.humeur-rouge { color: var(--rouge); } +.humeur-vert { color: var(--vert); } + +@media (prefers-reduced-motion: no-preference) { + .vapeur path { + animation: vapeur 5s ease-in-out infinite; + } + .vapeur path + path { animation-delay: 2.5s; } +} +@keyframes vapeur { + 0%, 100% { opacity: 0.25; transform: translateY(6px); } + 50% { opacity: 0.9; transform: translateY(-6px); } +} + +/* ---------- 9. Calendrier d'humeurs (décoratif) ---------- */ + +.calendrier { + display: grid; + grid-template-rows: repeat(7, auto); + grid-auto-flow: column; + grid-auto-columns: 1fr; + gap: 4px; + margin: 2.25rem 0 1rem; + padding: 1.25rem; + background: var(--surface); + border-radius: var(--arrondi); + box-shadow: inset 0 0 0 1px var(--porcelaine-fonce); +} +.jour { + aspect-ratio: 1; + border-radius: 2px; +} +.jour-g { background: var(--gris); } +.jour-o { background: var(--orange); } +.jour-v { background: var(--vert); } +.jour-r { background: var(--rouge); } + +@media (max-width: 30rem) { + .calendrier { gap: 3px; padding: 0.9rem; } +} + +/* ---------- 10. Photos ---------- */ + +.photo { + margin: 2rem 0; +} +.photo img { + width: 100%; + height: auto; + border-radius: var(--arrondi); +} +.photo figcaption { + margin-top: 0.6rem; + font-size: 0.95rem; + color: var(--encre-douce); +} + +.photo-attente { + display: flex; + align-items: center; + gap: 1.25rem; + aspect-ratio: 3 / 2; + padding: 1.5rem; + border: 2px dashed var(--chene-fonce); + border-radius: var(--arrondi); + background: var(--porcelaine-fonce); + color: var(--encre-douce); + font-size: 1rem; + line-height: 1.5; +} +.photo-attente svg { + flex: none; + width: 2.75rem; + fill: none; + stroke: var(--chene-fonce); + stroke-width: 2.5; + stroke-linejoin: round; + stroke-linecap: round; +} +.photo-attente p { margin: 0; } +.photo-attente strong { color: var(--encre); } + +/* ---------- 11. Formulaire ---------- */ + +.formulaire { + margin: 2.5rem 0 1rem; + padding: 1.75rem 1.25rem; + background: var(--surface); + border-radius: var(--arrondi); + box-shadow: inset 0 0 0 1px var(--porcelaine-fonce); +} +@media (min-width: 40rem) { + .formulaire { padding: 2.25rem 2.5rem; } +} + +.champ { + margin: 0 0 1.75rem; + padding: 0; + border: 0; + min-width: 0; +} + +.champ > label, +.champ > legend { + display: block; + padding: 0; + margin-bottom: 0.5rem; + font-weight: 700; +} + +.precision { + font-weight: 400; + color: var(--encre-douce); +} + +.formulaire input[type="email"], +.formulaire textarea { + display: block; + width: 100%; + padding: 0.7rem 0.85rem; + border: 2px solid var(--bordure-champ); + border-radius: var(--arrondi-petit); + background: var(--blanc); + color: var(--encre); + font: inherit; + line-height: 1.4; +} +.formulaire textarea { resize: vertical; min-height: 8rem; } + +.formulaire input[type="email"]:focus-visible, +.formulaire textarea:focus-visible { + outline: 3px solid var(--vert); + outline-offset: 1px; + border-color: var(--encre); +} + +.choix { + list-style: none; + margin: 0; + padding: 0; +} +.choix li { + display: flex; + align-items: flex-start; + gap: 0.75rem; + padding: 0.35rem 0; +} +.choix input { + flex: none; + width: 1.35rem; + height: 1.35rem; + margin: 0.2rem 0 0; + accent-color: var(--vert-lien); + cursor: pointer; +} +.choix label { cursor: pointer; } + +/* Champ piège anti-robots, invisible */ +.piege { + position: absolute; + left: -9999px; + width: 1px; + height: 1px; + overflow: hidden; +} + +.formulaire-erreur { + padding: 0.75rem 1rem; + border-left: 4px solid var(--rouge); + background: var(--erreur-fond); + font-size: 1rem; +} + +.formulaire .bouton { + border: 0; + font: inherit; + font-weight: 700; + cursor: pointer; +} +.formulaire .bouton:disabled { opacity: 0.6; cursor: progress; } + +.formulaire-secours { + margin: 1rem 0 0; + font-size: 1rem; + color: var(--encre-douce); +} + +/* ---------- 12. Pied de page : la table en bois ---------- */ + +.pied { + background: var(--chene); + border-top: 3px solid var(--encre); + font-size: 1rem; +} +.pied-interieur { + max-width: calc(var(--colonne) + 2 * var(--gouttiere)); + margin: 0 auto; + padding: 2rem var(--gouttiere) 2.5rem; +} +.pied-phrase { + font-family: var(--serif); + font-size: 1.15rem; + margin: 0 0 1rem; +} +.pied-liens { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-wrap: wrap; + gap: 0.5rem 2rem; +} +.pied a { text-decoration-color: var(--encre); text-decoration-thickness: 1px; } +.pied a:hover { text-decoration-thickness: 2px; } + +/* ---------- 13. Impression ---------- */ + +@media print { + .entete .nav, .pied, .tasses, .calendrier { display: none; } + body { background: var(--blanc); } +} diff --git a/charte/exemple.html b/charte/exemple.html new file mode 100644 index 0000000..c40bb50 --- /dev/null +++ b/charte/exemple.html @@ -0,0 +1,122 @@ + + + + + + + Charte Kluk — exemple + + + + + + + Aller au contenu + +
+ + +
+ +
+
+

Titre de page en Young Serif

+

Le chapeau : un paragraphe entièrement en italique, juste sous le titre.

+ +

Texte courant en Atkinson Hyperlegible Next, avec un lien souligné de vert, du gras, de l’italique et du code.

+ +

Bouton principal

+ +
+ + Illustration : trois tasses de couleur alignées sur la table, et une quatrième posée sur la Kluk, fumante. + + + + + + + + + + + + + + + + + + + +
+ +

Intertitre de section

+

Les intertitres ménagent un grand espace au-dessus d’eux (4,5 rem) pour découper la page en respirations.

+ +

Une phrase mise en exergue, en serif, soulignée d’un trait orange.

+ +
+
+ +

Photo à venir
Description de la photo attendue.

+
+
Légende facultative sous la photo.
+
+ + + +
+
+ + +
+
+ Ce que vous aimeriez faire (cochez tout ce qui vous ressemble) +
    +
  • +
  • +
+
+
+ + +
+ + +

Texte de secours, affiché dans un <noscript>.

+
+ +

Une note discrète en fin de page.

+
+
+ + + + + + diff --git a/charte/fonts/OFL.txt b/charte/fonts/OFL.txt new file mode 100644 index 0000000..ee5a6b3 --- /dev/null +++ b/charte/fonts/OFL.txt @@ -0,0 +1,97 @@ +Young Serif +Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif) + +Atkinson Hyperlegible Next +Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/charte/fonts/atkinson-hyperlegible-next-400-italic.woff2 b/charte/fonts/atkinson-hyperlegible-next-400-italic.woff2 new file mode 100644 index 0000000..2060f6b Binary files /dev/null and b/charte/fonts/atkinson-hyperlegible-next-400-italic.woff2 differ diff --git a/charte/fonts/atkinson-hyperlegible-next-400.woff2 b/charte/fonts/atkinson-hyperlegible-next-400.woff2 new file mode 100644 index 0000000..a9ca4bd Binary files /dev/null and b/charte/fonts/atkinson-hyperlegible-next-400.woff2 differ diff --git a/charte/fonts/young-serif-400.woff2 b/charte/fonts/young-serif-400.woff2 new file mode 100644 index 0000000..af60123 Binary files /dev/null and b/charte/fonts/young-serif-400.woff2 differ diff --git a/charte/img/favicon.svg b/charte/img/favicon.svg new file mode 100644 index 0000000..c5e1810 --- /dev/null +++ b/charte/img/favicon.svg @@ -0,0 +1 @@ + diff --git a/charte/img/illustration-tasses.svg b/charte/img/illustration-tasses.svg new file mode 100644 index 0000000..37162e4 --- /dev/null +++ b/charte/img/illustration-tasses.svg @@ -0,0 +1,48 @@ + + Trois tasses de couleur alignées sur la table, et une quatrième posée sur la Kluk, fumante. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/charte/img/photo-attente.svg b/charte/img/photo-attente.svg new file mode 100644 index 0000000..85f0b3d --- /dev/null +++ b/charte/img/photo-attente.svg @@ -0,0 +1 @@ + diff --git a/charte/img/tasse-gris.svg b/charte/img/tasse-gris.svg new file mode 100644 index 0000000..c297b35 --- /dev/null +++ b/charte/img/tasse-gris.svg @@ -0,0 +1 @@ + diff --git a/charte/img/tasse-orange.svg b/charte/img/tasse-orange.svg new file mode 100644 index 0000000..7aa9989 --- /dev/null +++ b/charte/img/tasse-orange.svg @@ -0,0 +1 @@ + diff --git a/charte/img/tasse-rouge.svg b/charte/img/tasse-rouge.svg new file mode 100644 index 0000000..f00d7b9 --- /dev/null +++ b/charte/img/tasse-rouge.svg @@ -0,0 +1 @@ + diff --git a/charte/img/tasse-vert.svg b/charte/img/tasse-vert.svg new file mode 100644 index 0000000..ac92ab9 --- /dev/null +++ b/charte/img/tasse-vert.svg @@ -0,0 +1 @@ + diff --git a/config/routes.rb b/config/routes.rb index ffc80b7..9fee81e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,6 +13,7 @@ Rails.application.routes.draw do # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development? + get "/charte", to: "charte#show" if Rails.env.development? # Defines the root path route ("/") root "home#index"