commit 447192dfdc285bbd6201e33719137711600d467d Author: ZettaScript Date: Mon Sep 26 07:46:56 2022 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c75eecc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/public diff --git a/README.md b/README.md new file mode 100644 index 0000000..d44b26b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +Proposition de design pour Librezo. + +[voir le rendu](http://librezo.txmn.tk) diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..5ce1daf --- /dev/null +++ b/config.toml @@ -0,0 +1,19 @@ +base_url = "/" + +compile_sass = true + +build_search_index = false + +default_language = "fr" + +minify_html = false + +[slugify] +paths = "off" +taxonomies = "off" + +[markdown] +highlight_code = false + +[extra] +sitename = "Librezo" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..5a741c3 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,11 @@ ++++ +title = "Librezo" ++++ + + + +

Aix – Cambrai – Grasse – Marseille – Montreuil – Pau – Rennes – Toulouse

+ +Made in Chez Vous + +

Gardez le contrôle de vos données

\ No newline at end of file diff --git a/sass/css/base.scss b/sass/css/base.scss new file mode 100644 index 0000000..ab7df3c --- /dev/null +++ b/sass/css/base.scss @@ -0,0 +1,79 @@ +@font-face { + font-family: Amatic; + src: url("/fonts/AmaticSC-Bold.woff2"); +} + +@font-face { + font-family: LunaSans; + src: url("/fonts/LunaSans-Regular.ttf"); +} + +html, body { + margin: 0; + padding: 0; + font-family: LunaSans; +} + +header { + height: 48px; + max-width: 1100px; + margin: 0 auto 16px auto; + font-size: 24px; +} + +#header-logo { + float: left; + height: 48px; +} + +#header-menu ul { + float: right; + list-style-type: none; + margin: 9px 0 0 0; +} + +#header-menu li { + display: inline-block; + margin: 0 8px; +} + +#header-menu a { + padding: 8px 8px; + color: black; +} + +#header-menu a:hover, #header-menu a:focus { + border-bottom: 2px solid #ac44ff; +} + +main { + width: 100%; + text-align: center; +} + +a, a:visited { + text-decoration: none; +} + +.sr-only { + position: absolute; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +.cities { + font-size: 18px; +} + +.madein { + width: 256px; +} + +.slogan1 { + font-size: 400%; + font-family: Amatic; +} diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..1b4a1d8 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/fonts/AmaticSC-Bold.woff2 b/static/fonts/AmaticSC-Bold.woff2 new file mode 100644 index 0000000..0e31566 Binary files /dev/null and b/static/fonts/AmaticSC-Bold.woff2 differ diff --git a/static/fonts/LunaSans-Regular.ttf b/static/fonts/LunaSans-Regular.ttf new file mode 100644 index 0000000..f2800c7 Binary files /dev/null and b/static/fonts/LunaSans-Regular.ttf differ diff --git a/static/img/librezo-little-black.png b/static/img/librezo-little-black.png new file mode 100644 index 0000000..2c63418 Binary files /dev/null and b/static/img/librezo-little-black.png differ diff --git a/static/img/logo-color-light.png b/static/img/logo-color-light.png new file mode 100644 index 0000000..89b5546 Binary files /dev/null and b/static/img/logo-color-light.png differ diff --git a/static/img/madein.png b/static/img/madein.png new file mode 100644 index 0000000..9aad710 Binary files /dev/null and b/static/img/madein.png differ diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..02cf58c --- /dev/null +++ b/templates/base.html @@ -0,0 +1,26 @@ +{% import "macros.html" as macros %} + + + + + {% block title %}{% endblock title %} + + + + {% block head %}{% endblock head %} + + +
+

Librezo

+ +
+ {% block body %}{% endblock body %} + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..49a4d66 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ config.extra.sitename|safe }}{% endblock title %} + +{% block head %} +{% endblock head %} + +{% block body %} +
+ {{section.content | safe}} +
+{% endblock body %} diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..e69de29