2 changed files with 86 additions and 0 deletions
@ -0,0 +1,10 @@
|
||||
<?php |
||||
if (!isset($GLOBALS['z_blocs'])) { |
||||
$GLOBALS['z_blocs'] = array('prive'); |
||||
} |
||||
|
||||
// Liste des rubriques specialisees standard du squelette |
||||
// Pour ajouter des rubriques perso, definir de la meme facon les constantes _PERSO_XXX |
||||
// dans le fichier mes_options.php |
||||
if (!defined('_SQUELPRIV_FOND_SECTEURS_SPECIALISES')) define('_SQUELPRIV_FOND_SECTEURS_SPECIALISES', 'squelpriv/accueil'); |
||||
?> |
@ -0,0 +1,76 @@
|
||||
<?php |
||||
/** |
||||
* Squelette squelpriv |
||||
* (c) 2023 Licence GPL 3 |
||||
*/ |
||||
|
||||
if (!defined("_ECRIRE_INC_VERSION")) return; |
||||
|
||||
function squelpriv_header_prive($flux){ |
||||
$flux .= "<!--squelpriv css et script--> |
||||
<link href=\"https://fonts.cdnfonts.com/css/graphik\" rel=\"stylesheet\"> |
||||
<link href=\"https://fonts.cdnfonts.com/css/merriweather\" rel=\"stylesheet\"> |
||||
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.4/flowbite.min.css\" rel=\"stylesheet\" /> |
||||
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.css\"> |
||||
<link href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap\" rel=\"stylesheet\" /> |
||||
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/tw-elements/dist/css/index.min.css\" /> |
||||
<script src=\"https://cdn.tailwindcss.com\"></script> |
||||
<script src=\"https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp\"></script> |
||||
<script> |
||||
tailwind.config = { |
||||
darkMode: \'class\', |
||||
plugins: [ |
||||
require(\'flowbite/plugin\'), |
||||
], |
||||
corePlugins: { |
||||
preflight: false, |
||||
}, |
||||
theme: { |
||||
fontFamily: { |
||||
sans: [\'Graphik\', \'sans-serif\'], |
||||
serif: [\'Merriweather\', \'serif\'], |
||||
}, |
||||
extend: { |
||||
colors: { |
||||
coolmax: \'#000000\', |
||||
clifford: \'#da373d\', |
||||
}, |
||||
}, |
||||
}, |
||||
} |
||||
</script> |
||||
<style type=\"text/tailwindcss\"> |
||||
@layer utilities { |
||||
.content-auto { |
||||
content-visibility: auto; |
||||
} |
||||
} |
||||
</style> |
||||
<style> |
||||
@media (min-width:1024px){ |
||||
body { |
||||
padding-top:120px !important; |
||||
} |
||||
#page h1{ |
||||
padding-bottom:1em; |
||||
} |
||||
} |
||||
@media (max-width:1024px){ |
||||
body { |
||||
padding-top:60px !important; |
||||
} |
||||
} |
||||
#page h1{ |
||||
font-weight:bold; |
||||
font-variant: small-caps; |
||||
font-size:1.3em; |
||||
} |
||||
</style> |
||||
<!--fin insertion squelpriv--> |
||||
" |
||||
|
||||
; |
||||
return $flux; |
||||
} |
||||
|
||||
?> |
Loading…
Reference in new issue