Commit 82560defb3c05ed3db4ba5f4afa11ea8691bbe3f
1 parent
3fa08b0f7a
Exists in
master
Remplace le gradient par une coulur fixe dans le thème bleu.
Si on a une couleur fixe et que l'image n'est pas dispo, le browser fallback sur la couleur mais si on a un gradient ça ne marche pas.
Showing 1 changed file with 2 additions and 1 deletions Inline Diff
templates/html/common-blue/zim-variables.css
1 | 1 | |||
/* Variables */ | 2 | 2 | /* Variables */ | |
3 | 3 | |||
:root { | 4 | 4 | :root { | |
/* General */ | 5 | 5 | /* General */ | |
--main-header-color: #437484; /* Headers color */ | 6 | 6 | --main-header-color: #437484; /* Headers color */ | |
--main-link-color: #008ab8; /* Links color */ | 7 | 7 | --main-link-color: #008ab8; /* Links color */ | |
--main-strike-color: grey; /* Strike color */ | 8 | 8 | --main-strike-color: grey; /* Strike color */ | |
--main-pre-color: darkmagenta; /* Verbatim bloc color */ | 9 | 9 | --main-pre-color: darkmagenta; /* Verbatim bloc color */ | |
--main-tt-color: darkmagenta; /* Inline verbatim */ | 10 | 10 | --main-tt-color: darkmagenta; /* Inline verbatim */ | |
--main-code-color: saddlebrown; /* Code color (if hljs not used) */ | 11 | 11 | --main-code-color: saddlebrown; /* Code color (if hljs not used) */ | |
12 | 12 | |||
/* Background | 13 | 13 | /* Background | |
* | 14 | 14 | * | |
* if fond.jpg exists in the resource directory, it will be used as backround | 15 | 15 | * if fond.jpg exists in the resource directory, it will be used as backround | |
* image with position and repetition given by : | 16 | 16 | * image with position and repetition given by : | |
* --main-body-background-position an --main-body-background-repeat | 17 | 17 | * --main-body-background-position an --main-body-background-repeat | |
* | 18 | 18 | * | |
* if the image does not exists the color defined by | 19 | 19 | * if the image does not exists the color defined by | |
* --main-body-background-color | 20 | 20 | * --main-body-background-color | |
* will be used | 21 | 21 | * will be used | |
*/ | 22 | 22 | */ | |
--main-body-background-color: linear-gradient(to right,#8eb7c2,white,white,#8eb7c2); /* Color of the background body */ | 23 | 23 | /*--main-body-background-color: linear-gradient(to right,#8eb7c2,white,white,#8eb7c2); */ | |
24 | --main-body-background-color: #8eb7c2; /* Color of the background body */ | |||
--main-body-background-position: center; | 24 | 25 | --main-body-background-position: center; | |
--main-body-background-repeat: repeat-y; | 25 | 26 | --main-body-background-repeat: repeat-y; | |
26 | 27 | |||
--main-menu-background-color: #fafafa; /* Backroung color of side menu */ | 27 | 28 | --main-menu-background-color: #fafafa; /* Backroung color of side menu */ | |
/* Underline really underlined */ | 28 | 29 | /* Underline really underlined */ | |
--main-menu-u-decoration: underline; | 29 | 30 | --main-menu-u-decoration: underline; | |
--main-menu-u-background-color: white; | 30 | 31 | --main-menu-u-background-color: white; | |
/* Underline Stabilo Version */ | 31 | 32 | /* Underline Stabilo Version */ | |
/*--main-menu-u-decoration: none; | 32 | 33 | /*--main-menu-u-decoration: none; | |
--main-menu-u-background-color: yellow;*/ | 33 | 34 | --main-menu-u-background-color: yellow;*/ | |
--main-page-width: 63em; /* Page width */ | 34 | 35 | --main-page-width: 63em; /* Page width */ | |
35 | 36 | |||
36 | 37 | |||
/* Tables */ | 37 | 38 | /* Tables */ | |
/* Table headers */ | 38 | 39 | /* Table headers */ | |
--main-th-color: black; /* Table header text color */ | 39 | 40 | --main-th-color: black; /* Table header text color */ | |
--main-th-background-color: #bbb; /* Table header background */ | 40 | 41 | --main-th-background-color: #bbb; /* Table header background */ | |
/* Table Row and Data */ | 41 | 42 | /* Table Row and Data */ |