From e2995884e034349c930b4edfa55e1996b65aa439 Mon Sep 17 00:00:00 2001 From: choj Date: Thu, 18 Jun 2020 16:57:01 +0200 Subject: [PATCH] essais pour nouvelle proposition graphique du site. --- 0-services.markdown | 2 +- 1-ressources.markdown | 2 +- 2-blog.markdown | 2 +- _includes/header.html | 2 +- _layouts/home.html | 59 +++++++++------------------ assets/images/allella-logogramme.png | Bin 0 -> 994 bytes assets/main.scss | 32 +++++++++++++-- index.markdown | 2 +- 8 files changed, 53 insertions(+), 48 deletions(-) create mode 100644 assets/images/allella-logogramme.png diff --git a/0-services.markdown b/0-services.markdown index aebc186..410fba4 100644 --- a/0-services.markdown +++ b/0-services.markdown @@ -1,5 +1,5 @@ --- layout: services -title: Services +title: services permalink: /services/ --- diff --git a/1-ressources.markdown b/1-ressources.markdown index 2f877a6..be3fa21 100644 --- a/1-ressources.markdown +++ b/1-ressources.markdown @@ -1,6 +1,6 @@ --- layout: page -title: Ressources +title: ressources permalink: /ressources/ --- diff --git a/2-blog.markdown b/2-blog.markdown index cb56f52..9754727 100644 --- a/2-blog.markdown +++ b/2-blog.markdown @@ -1,6 +1,6 @@ --- layout: blog -title: Blog +title: blog permalink: /blog/ --- diff --git a/_includes/header.html b/_includes/header.html index 19b2e0b..707af1a 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -5,7 +5,7 @@ {%- assign page_paths = site.header_pages | default: default_paths -%}
- + {%- include header.html -%} + +
+ +
-

subscribe via RSS

- {%- endif -%} +
+
+ {{ content }} +
+
-
+ {%- include footer.html -%} + + + + diff --git a/assets/images/allella-logogramme.png b/assets/images/allella-logogramme.png new file mode 100644 index 0000000000000000000000000000000000000000..95f37b495f3d539f2086d22151fcdbafbb4ece55 GIT binary patch literal 994 zcmc(edq`7Z6u@td9-7M#YGI|3J+!s7B5$=&Do9$I)Ipd@Xw$ zHLG}_HV7tc*?!|>Ueq*Ov3Ky|+0~Q$V|eWHi}5vaQKj~|ubz)Y2Jva-fqAZ|dl~8`^dhJ%0e1k@Jc9L7C2hX$Lv{dHgPfenp0hGk6RaR8 zxq!O@22GMf0uIBq@B0+6@>Q<2yOgs2s55t)$4q^2TK z11BS)2RbxdY?Zt~A_ouUFb%9$@{++N)W{-vh8xrHkpEUBAHX{eI|rJss)wTKn$Fs= zWU%|4IOBvXPA+s$tkBW^+&z1rDka!CG5o3VDXGle*X2J-K z^_U0a#&f<%-K=5wbx(1TyKnXR_AXsGL%!S;CiM(zv&;Kc$yJB9PBi4!kKyU(j_sHA zfKjxA?Y=&midMcc%|Q+_(E%UwG@MX@m; qLtT32@|r&@|99d4^-Au>AIG{wBG=#W4a-JHi^Xn@k8a$YqW%F&%lj|@ literal 0 HcmV?d00001 diff --git a/assets/main.scss b/assets/main.scss index 80aa5cd..46fa183 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -11,13 +11,26 @@ $border-color: #e8e8e8; $header-height: 20vh; -header.site-header{ +.fullscreen{ + width: 100vw; + background-color: black; + min-height: calc(100vh - #{$header-height}); + margin-top: $header-height; + display: flex; + justify-content: center; + align-item:center; +} +header.site-header{ + position: fixed; + width: 100vw; border-top: none; min-height: $header-height; display: flex; align-items: center; + background-color: $bg-color; + border-bottom: 2px solid $txt-color; a, a:visited { color : $txt-color; } @@ -42,11 +55,15 @@ header.site-header{ } .site-nav .page-link{ - color: $bg-color; - background-color: $txt-color; + //color: $bg-color; + //background-color: $txt-color; padding: 5px; font-variant: small-caps; @include relative-font-size(1); + &:hover{ + text-decoration: none; + background-color: #2a7ae2; + } } } @@ -100,6 +117,15 @@ body{ } } +.page-content{ + margin-top: $header-height; +} + +.home-page-content{ + margin-top: 10px; + @include relative-font-size(1.1); +} + .post-list{ @include relative-font-size(1.1); p{ diff --git a/index.markdown b/index.markdown index db1f928..55274aa 100644 --- a/index.markdown +++ b/index.markdown @@ -1,5 +1,5 @@ --- -layout: page +layout: home ---