From ce43bb9a6aab445286afac54e5048b1547efa63d Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Fri, 20 Sep 2019 12:40:14 +0800 Subject: update: header transparent, animation, banner, etc --- _includes/extensions/trianglify.html | 13 +++++--- _includes/views/banner.html | 15 +++++---- _includes/views/header.html | 59 +++++++++++++++++++++++++++++++++++- 3 files changed, 75 insertions(+), 12 deletions(-) (limited to '_includes') diff --git a/_includes/extensions/trianglify.html b/_includes/extensions/trianglify.html index 22003dc..c11458e 100644 --- a/_includes/extensions/trianglify.html +++ b/_includes/extensions/trianglify.html @@ -8,16 +8,19 @@ diff --git a/_includes/views/banner.html b/_includes/views/banner.html index baa8465..45ea62c 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -44,12 +44,14 @@ {%- else -%} -

- {{ heading | default: page.title | escape }} -

-

- {{ subheading | default: page.subtitle | escape }} -

+
+

+ {{ heading | default: page.title | escape }} +

+

+ {{ subheading | default: page.subtitle | escape }} +

+
{%- endif -%}
@@ -72,6 +74,7 @@ {%- endif -%} + {%- assign zoom = 1.5 -%} {%- include extensions/trianglify.html -%} {%- endif -%} diff --git a/_includes/views/header.html b/_includes/views/header.html index 06a20ed..10637c2 100644 --- a/_includes/views/header.html +++ b/_includes/views/header.html @@ -1,4 +1,19 @@ -