From 5703e30a28e1b3b02a1554b408081d16ce500a0e Mon Sep 17 00:00:00 2001 From: William Daniau Date: Tue, 15 Oct 2019 21:55:36 +0200 Subject: [PATCH] =?UTF-8?q?On=20s=C3=A9pare=20les=20variables=20sp=C3=A9ci?= =?UTF-8?q?fiques=20au=20S5=20dans=20un=20autre=20fichier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/html/Wize_S5.html | 3 +++ templates/html/common-blue/zim-pres-variables.css | 12 ++++++++++++ templates/html/common-blue/zim-variables.css | 6 ------ templates/html/common-wize/zim-pres-variables.css | 12 ++++++++++++ templates/html/common-wize/zim-variables.css | 6 ------ 5 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 templates/html/common-blue/zim-pres-variables.css create mode 100644 templates/html/common-wize/zim-pres-variables.css diff --git a/templates/html/Wize_S5.html b/templates/html/Wize_S5.html index d060f50..4f1d501 100644 --- a/templates/html/Wize_S5.html +++ b/templates/html/Wize_S5.html @@ -18,6 +18,9 @@ + + diff --git a/templates/html/common-blue/zim-pres-variables.css b/templates/html/common-blue/zim-pres-variables.css new file mode 100644 index 0000000..14aa85b --- /dev/null +++ b/templates/html/common-blue/zim-pres-variables.css @@ -0,0 +1,12 @@ + + /* Variables for S5 Presentation */ + + :root { + + /* S5 Presentation variables */ + --main-pres-banner-foreground: #437484; /* Foreground color on header and footer */ + --main-pres-banner-background: #ccdddd77; /* Background color on header and fooetr */ + --main-pres-background-color: white; /* Body background color */ + --main-pres-background-repeat: no-repeat; /* Body background repeat property */ + --main-pres-background-size: 100%; /* Body background size property */ + } diff --git a/templates/html/common-blue/zim-variables.css b/templates/html/common-blue/zim-variables.css index 4f1724c..439e2cc 100644 --- a/templates/html/common-blue/zim-variables.css +++ b/templates/html/common-blue/zim-variables.css @@ -45,10 +45,4 @@ --main-tr-hover-background-color: #ddd; /* Row background color when hover */ --main-td-th-border-color: #ddd; /* Cell's Border color */ - /* S5 Presentation variables */ - --main-pres-banner-foreground: #437484; /* Foreground color on header and footer */ - --main-pres-banner-background: #ccdddd77; /* Background color on header and fooetr */ - --main-pres-background-color: white; /* Body background color */ - --main-pres-background-repeat: no-repeat; /* Body background repeat property */ - --main-pres-background-size: 100%; /* Body background size property */ } diff --git a/templates/html/common-wize/zim-pres-variables.css b/templates/html/common-wize/zim-pres-variables.css new file mode 100644 index 0000000..32b415d --- /dev/null +++ b/templates/html/common-wize/zim-pres-variables.css @@ -0,0 +1,12 @@ + + /* Variables for S5 Presentation */ + + :root { + + /* S5 Presentation variables */ + --main-pres-banner-foreground: #4e9a06; /* Foreground color on header and footer */ + --main-pres-banner-background: #ccddbb77; /* Background color on header and fooetr */ + --main-pres-background-color: white; /* Body background color */ + --main-pres-background-repeat: no-repeat; /* Body background repeat property */ + --main-pres-background-size: 100%; /* Body background size property */ + } diff --git a/templates/html/common-wize/zim-variables.css b/templates/html/common-wize/zim-variables.css index 29a30a8..f47d12e 100644 --- a/templates/html/common-wize/zim-variables.css +++ b/templates/html/common-wize/zim-variables.css @@ -44,10 +44,4 @@ --main-tr-hover-background-color: #ddd; /* Row background color when hover */ --main-td-th-border-color: #ddd; /* Cell's Border color */ - /* S5 Presentation variables */ - --main-pres-banner-foreground: #4e9a06; /* Foreground color on header and footer */ - --main-pres-banner-background: #ccdddd77; /* Background color on header and fooetr */ - --main-pres-background-color: white; /* Body background color */ - --main-pres-background-repeat: no-repeat; /* Body background repeat property */ - --main-pres-background-size: 100%; /* Body background size property */ } -- 2.16.4