diff --git a/Makefile b/Makefile index 6fcf43f..9e2cc04 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ PY?=python3 PELICAN?=pelican PELICANOPTS= +# For global server +PORT=8000 BASEDIR=$(CURDIR) INPUTDIR=$(BASEDIR)/content diff --git a/themes/jean-cloud/static/css/main.css b/themes/jean-cloud/static/css/main.css index bf8f336..6748481 100644 --- a/themes/jean-cloud/static/css/main.css +++ b/themes/jean-cloud/static/css/main.css @@ -15,7 +15,7 @@ a { color: #df7366; } -#header a { +#header a, nav a { color: inherit; } @@ -37,9 +37,8 @@ body { #nav #content { width: 100%; text-align: center; - padding: 1.5em 0 31.5em 0; + padding: 1.5em 0 0 0; z-index: 1; - overflow-x: hidden; } ul, li { @@ -151,7 +150,9 @@ li:hover .dropdown, .dropdown li:hover .submenu, li:focus-within .dropdown, .dro #header { text-align: center; - margin-bottom: 4rem + margin-bottom: -2rem; + height: 100vh; + min-height: 30em; } #header h1 { @@ -233,7 +234,7 @@ hr::after { font-weight: 300; } -#header .background { +body > .background { background: linear-gradient(145deg, #3f2b4e 0%,#7b6b75 23%,#58445d 42%,#56425b 52%,#c7bbbd 81%,#422d4f 100%); filter: blur(50px); width: 100%; @@ -256,6 +257,7 @@ main { border: 2px solid #553f59; margin: auto; color: #fffd; + margin-top:6rem; } main > section { diff --git a/themes/jean-cloud/templates/article.html b/themes/jean-cloud/templates/article.html index 5a1c093..470428c 100644 --- a/themes/jean-cloud/templates/article.html +++ b/themes/jean-cloud/templates/article.html @@ -23,10 +23,12 @@ {% block content %}
+

- {{ article.title }}

+ {{ article.title }} + {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }}
diff --git a/themes/jean-cloud/templates/base.html b/themes/jean-cloud/templates/base.html index d65f9b2..6d49a6b 100644 --- a/themes/jean-cloud/templates/base.html +++ b/themes/jean-cloud/templates/base.html @@ -5,55 +5,63 @@ - + +
+ + + + + + + -
{% block content %} diff --git a/themes/jean-cloud/templates/header.html b/themes/jean-cloud/templates/header.html deleted file mode 100644 index f203cba..0000000 --- a/themes/jean-cloud/templates/header.html +++ /dev/null @@ -1,11 +0,0 @@ - -
-
-

-
-

Le cloud lent, hébergé près de chez vous !

-
- -