Skip to content

osunyorg/mit-africanfutures

Repository files navigation

MIT African Futures

[FR] Couleurs

Le système se base sur 5 couleurs

  • green
  • red
  • yellow
  • purple
  • orange
  • blue

Bannière (titre + résumé)

Pour ajouter un fond de couleur à la bannière en haut de page (fond blanc par défaut), il faut éditer la page sur le back office, puis remplire le champ "Classe CSS spécifique" (à droite du titre) avec une des couleurs ci-dessus.

Blocs chapitre, pages (cartes) et appels à action

Pour ajouter un fond de couleur à un de ces deux blocs, il faut 2 choses :

  • Chapitre et appels à action : utiliser la mise en forme "forte mise en avant" ;
  • Pages : utiliser la mise en forme "cartes ;
  • Cliquer sur "Réglages avancés" (le rouage) tout en bas à gauche et ajouter la couleur ci-dessus dans le champ "classe spécifique".

[EN] Colors

The system is based on 5 colours:

  • green
  • red
  • yellow
  • purple
  • orange
  • blue

Banner (title + summary)

To add a coloured background to the banner at the top of the page (white background by default), edit the page in the back office, then fill in the ‘Specific CSS class’ field (to the right of the title) with one of the colours above.

Blocks: chapter and calls to action

To add a coloured background to one of these two blocks, you need to do two things:

  • Chapter and call to action: use the "strong" layout;
  • Pages: use "cards" layout;
  • Click on "Advanced settings" (the cogwheel) at the bottom left and add the colour above in the ‘specific class’ field.

Contributors