Structude de départ :
svgs/
fileA.svg
fileB.svg.bkp
spr-A.svg
dir1/
file1A.svg
file1B.svg
spr-dir2/
Structude de départ :
svgs/
fileA.svg
fileB.svg.bkp
spr-A.svg
dir1/
file1A.svg
file1B.svg
spr-dir2/
| <?php | |
| if ( ! function_exists( 'thistle_remove_tiny_mce_colorpicker' ) ) { | |
| /** | |
| * Pulls out the colorpicker plugin from TinyMCE. | |
| * Without this plugin the end user cannot select a custom color. | |
| * | |
| * @link https://www.tinymce.com/docs/plugins/colorpicker/ | |
| * | |
| * @param array $plugins An array of default TinyMCE plugins. |
| .u-cfAlt { | |
| overflow: hidden !important; | |
| } | |
| .u-cfBi:before, | |
| .u-cfBi:after { | |
| clear: both; | |
| display: table; | |
| content: ""; | |
| } |
| /* | |
| * 1. … | |
| * 2. Autorise la cessure à l'intérieur de la chaîne qui sera affichée | |
| * pour éviter son dépassement de la boîte de page. | |
| */ | |
| a::after { | |
| font-size: .83em; /*1 */ | |
| word-wrap: break-word; /* 2 */ | |
| } | |
| a[href^="/"]::after { |
| /* | |
| * | |
| * Styles communs pour la mise en page à l'impression | |
| * === | |
| * | |
| * … | |
| * | |
| * ## Ressources | |
| * |
| <div class="nav"> | |
| <strong class="nav-name">{{ titre }}</strong> | |
| <ul class="nav-list nav-list--inline"> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url }}">{{ lien }}</a> | |
| </li> | |
| <li class="nav-item nav-item--withChildren"> | |
| <a class="nav-link" href="{{ url }}">{{ lien }}</a> | |
| <div class="nav-panel"> |
| <!-- | |
| # Article | |
| * http://schema.org/Article | |
| * https://developers.google.com/structured-data/rich-snippets/articles | |
| * http://coding.smashingmagazine.com/2012/10/23/road-reusable-html-components/ | |
| --> | |
| <div class="Article" itemscope itemtype="http://schema.org/Article"> | |
| <h? class="Article-headline" itemprop="headline">{{title}}</h?> |
| @function adjust_decimal_precision($f, $v, $p: 0) { | |
| $n : if(0>=$p, 1, 10); | |
| @while ($p > 1) { | |
| $n: 10*10; | |
| $p: $p - 1; | |
| } | |
| @if 'percentage' == $f { @return round(percentage($v) * $n) / $n; } | |
| @else if 'round' == $f { @return round($v * $n) / $n; } |