Intégrations graphiques
Go to file
Serghei Mihai bda925e404 fontenay-sous-bois-2018: update site logo (#58061) 2021-10-21 16:28:00 +02:00
debian debian: switch to debhelper-compat 12 (#57538) 2021-10-10 12:06:49 +02:00
help/fr scss: introduce $form-sidebar-width & $form-sidebar-gutter sass vars (#57853) 2021-10-19 17:12:30 +02:00
src trivial: apply black 2021-01-11 19:11:21 +01:00
static fontenay-sous-bois-2018: update site logo (#58061) 2021-10-21 16:28:00 +02:00
templates fontenay-sous-bois-2018: update site logo (#58061) 2021-10-21 16:28:00 +02:00
.git-blame-ignore-revs misc: add black files/notes 2021-01-11 19:17:08 +01:00
.gitignore trivial: git ignore agent portal builded css files & map (#36587) 2019-10-08 11:22:26 +02:00
.pre-commit-config.yaml misc: add black files/notes 2021-01-11 19:17:08 +01:00
Jenkinsfile build: update to use origin/main 2020-12-26 15:22:14 +01:00
Makefile hautes-alpes-2018: remove theme (#50361) 2021-01-29 11:48:18 +01:00
README fonts: add orkney (#54644) 2021-06-16 16:22:21 +02:00
create_themes_json.py build: allow COMBO_CELL_TEMPLATES.update settings (#55792) 2021-07-26 16:01:25 +02:00
desc.xml misc: simply use "Publik" as theme label in w.c.s. 2016-11-07 10:23:21 +01:00
get_themes.py general: add support for theme specific backoffice extra css (#49139) 2020-12-11 14:49:34 +01:00
make_data_uris.py trivial: apply black 2021-01-11 19:11:21 +01:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Base theme for Publik
=====================

Variables
---------

 - css_variant: this is the main variable, it is used to build the path to the
   CSS file. (/static/{{css_variant}}/style.css)

 - favicon: path to favicon file, relative to /static/ directory.

 - logo_link_url: link to be used for the top logo, defaults to the site root.


Code Style
----------

black is used to format the Python code, using thoses parameters:

    black --target-version py37 --skip-string-normalization --line-length 110

There is .pre-commit-config.yaml to use pre-commit to automatically run black
before commits. (execute `pre-commit install` to install the git hook.)


License
-------

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.

This program incorporates independent elements, with their own authors and
copyright notices:

* Yanone Kaffeesatz font
  # https://www.fontsquirrel.com/fonts/yanone-kaffeesatz
  #
  # Licensed under the SIL Open Font License, Version 1.1.
  # https://www.fontsquirrel.com/license/yanone-kaffeesatz

* Ubuntu font
  # https://www.fontsquirrel.com/fonts/ubuntu
  #
  # Licensed under the Ubuntu Font License, Version 1.0.
  # https://www.fontsquirrel.com/license/ubuntu

* D-Din font
  # https://www.fontsquirrel.com/fonts/d-din
  #
  # Licensed under the SIL Open Font License v1.10
  # https://www.fontsquirrel.com/license/d-din

* Source Sans Pro
  # https://www.fontsquirrel.com/fonts/source-sans-pro
  #
  # Licensed under the SIL Open Font License v1.10
  # https://www.fontsquirrel.com/license/source-sans-pro

* Asap fonts
  # Copyright (c) 2019, Omnibus-Type (www.omnibus-type.com | omnibus.type@gmail.com).
  # https://github.com/Omnibus-Type/Asap/
  #
  # Licensed under the SIL Open Font License v1.10
  # https://github.com/Omnibus-Type/Asap/blob/master/LICENSE.md

* Raleway font
  # Copyright (c) 2010, Matt McInerney (matt@pixelspread.com),
  # Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
  # Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com),
  # with Reserved Font Name Raleway
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/raleway

* Oswald font
  # Copyright (c) 2012, Vernon Adams (vern@newtypography.co.uk),
  # with Reserved Font Name Oswald
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/oswald

* Bitter font
  # Copyright (c) 2011, Sol Matas (www.huertatipografica.com.ar),
  # with Reserved Font Name “Bitter”
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/bitter

* Cantarell font
  # Copyright © 2009-2011, Understanding Limited <dave@understandinglimited.com>
  # Copyright © 2010-2011, Jakub Steiner <jimmac@gmail.com>
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://gitlab.gnome.org/GNOME/cantarell-fonts/blob/master/COPYING

* Barlow font
  # Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/barlow

* Titillium font
  # Copyright (c) 2008-2010, Accademia di Belle Arti di Urbino
  # (www.campivisivi.net|direzione@accademiadiurbino.it),
  # with Reserved Font Name Titillium.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/Titillium

* Montserrat font
  # Copyright 2011 The Montserrat Project Authors
  # (https://github.com/JulietaUla/Montserrat)
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/montserrat

* Khand font
  # Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/khand

* Archivo Narrow
  # Copyright (c) 2012, Omnibus-Type (omnibus.type@gmail.com),
  # with Reserved Font Name "Archivo";
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/archivo-narrow

* Roboto Slab
  # Font data copyright Google 2013
  #
  # Apache License
  #
  # https://www.fontsquirrel.com/license/roboto-slab

* Lato font
  # Copyright (c) 2014, Typoland
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # http://www.latofonts.com/

* Cabin
  # Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
  # Copyright (c) 2011, Igino Marini. (www.ikern.com|mail@iginomarini.com),
  # with Reserved Font Name Cabin.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1
  #
  # https://www.fontsquirrel.com/license/cabin

* Poppins
  # Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1
  #
  # https://www.fontsquirrel.com/license/poppins

* Now Alt
  # Copyright (c) 2015, Alfredo Marco Pradil
  # (<http://behance.net/pradil | ammpradil@gmail.com>),
  # with Reserved Font Name Now Alt.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1

* Abel
  # Copyright (c) 2011, Matthew Desmond (http://www.madtype.com | mattdesmond@gmail.com),
  # with Reserved Font Name Abel.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/abel

* Work Sans
  # Copyright (c) 2014-2015 Wei Huang (wweeiihhuuaanngg@gmail.com)
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/work-sans

* Exo 2
  # Copyright (c) 2013, Natanael Gama (www.ndiscovered.com . info(at)ndiscovered.com), with Reserved Font Name Exo.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/exo-2

* Droid Sans
  # Copyright © 2006, 2007, 2008, 2009, 2010 Google Corp.
  # Droid is a trademark of Google Corp.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  # http://www.apache.org/licenses/LICENSE-2.0

* Carme
  # Copyright (c) 2010-2011, Rubén Prol (ipanemagrafica@gmail.com|www.ipanemagrafica.com), with Reserved Font Name Carme.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # This license is available with a FAQ at: http://scripts.sil.org/OFL

* PT Sans
  # Copyright © 2009 ParaType Ltd.
  # with Reserved Names "PT Sans" and "ParaType".
  #
  # Paratype PT Sans Free Font License v1.00.
  #
  # https://www.fontsquirrel.com/license/pt-sans

* Catamaran
  # Copyright 2014 Pria Ravichandran (pria.ravichandran@gmail.com)
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/catamaran

* Quattrocento Sans
  # Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
  # Copyright (c) 2011, Igino Marini. (www.ikern.com|mail@iginomarini.com),
  # with Reserved Font Name Quattrocento Sans.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/quattrocento-sans

* Muli
  # Copyright (c) 2011 by vernon adams (vern@newtypography.co.uk),
  # with Reserved Font Name “Muli”.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/muli

* Open Sans Condensed
  # Copyright Ascender Corp.
  #
  # Apache License
  #
  # https://www.fontsquirrel.com/license/open-sans-condensed

* Noto Sans
  # Copyright 2012 Google Inc. All Rights Reserved.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/noto-sans

* Abril Fatface
  # Copyright (c) 2011, Copyright (c) 2011, TypeTogether
  # (www.type-together.com info@type-together.com),
  # with Reserved Font Names “Abril” and “Abril Fatface”
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/abril-fatface

* Yantramanav
  # Copyright 2014, Erin McLaughlin (hello@erinmclaughlin.com).
  # Copyright 2010, Google Inc. All Rights Reserved.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/yantramanav

* Fira Sans
  # Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
  # with Reserved Font Name Fira Sans.
  # Copyright (c) 2014, Telefonica S.A.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/fira-sans

* Josefin Sans
  # Copyright (c) 2010 by Typemade (hi@typemade.mx). All rights reserved.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://www.fontsquirrel.com/license/josefin-sans

* Dancing Script
  # Copyright 2016 The Dancing Script Project Authors (impallari@gmail.com)
  # with Reserved Font Name 'Dancing Script.
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://github.com/impallari/DancingScript

* Baloo 2
  # Baloo 2 is Copyright (c) 2019 Ek Type (www.ektype.in)
  # Licensed under the SIL Open Font License 1.1 (http://scripts.sil.org/OFL).
  #
  # https://github.com/EkType/Baloo2

* Krub
  # Copyright 2018 The Krub Project Authors (https://github.com/cadsondemak/Krub)
  #
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://github.com/cadsondemak/Krub/

* Orkney
  # Concept Sketches: Samuel Oakes, font development: Alfredo Marco Pradil
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
  #
  # https://fontlibrary.org/en/font/orkney

~~~~

Some theme variant files have their own specific licenses; refer to
static/$theme/README for details.