Skip to content

Instantly share code, notes, and snippets.

View ffoodd's full-sized avatar
🎯
Focusing

Gaël Poupard ffoodd

🎯
Focusing
View GitHub Profile
@ffoodd
ffoodd / dabblet.css
Last active December 10, 2015 19:39
Chorégraphie de contenu
/**
* Chorégraphie de contenu
*/
body {
font: 3em Lucida Sans Unicode, Lucida Sans, sans-serif;
color: #333;
background: #F2F2E2;
}
ul {
@ffoodd
ffoodd / dabblet.css
Created August 21, 2013 10:28
Liste à puce horizontale avec centrage verticale et hauteur variable
/**
* Liste à puce horizontale avec centrage verticale et hauteur variable
*/
ul {
margin: 0;
padding: 0;
list-style-type: none;
display: table;
}
ul li {
@ffoodd
ffoodd / dabblet.css
Created August 30, 2013 16:50
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
font-family: calibri;
font-size: 3em;
text-rendering: optimizeLegibility;
-webkit-font-feature-settings: "liga","dlig","swsh","clig","calt";
-ms-font-feature-settings: "liga","dlig","swsh","clig","calt";
-moz-font-feature-settings: "liga","dlig","swsh","clig","calt";
-o-font-feature-settings: "liga","dlig","swsh","clig","calt";
@ffoodd
ffoodd / functions.php
Last active December 24, 2015 03:49 — forked from JoostKiens/functions.php
<?php
/**
* @note : Caption content is filtered to use html5 semantic elements figure & figcaption. First found on Zhen Huang's "Reverie".
* @author : @milohuang
* @see : http://themefortress.com/reverie/
* @see : https://github.com/milohuang/reverie/blob/master/lib/clean.php
* @note : Then we add microdata. Found on Joost Kiens' Gists.
* @author : @joostkiens
* @see : https://gist.github.com/JoostKiens/4477366
* @note : And in the end I add all ARIA role and attributes we need (group, aria-labelledby, aria-describedby). Group role is due to a lack of support of figure semantic.
jamais en fr :
ŠšŽžŸÿÁáÃãÐðÑñÒòÓóÕõØøÖöÅåÝýÞþÚúÌìÍíˇ˘˙˚˜˝˛ˆ¸¨´`^¦ı†‡¬∂∆∑∫◊Ωª¢¿¡fiflfiflffiffl¯∏√∞ƒ⁄·¤
à voir en fonction de la nature du projet :
‰ º µ ¼ ½ ¾ § ¶ • © ® ™ ± ≈ ≠ ¹ £ ¥ ‹ › ‘ ’ “ ” „ ≤ ≥ π ß ~
toujours en fr :
@ffoodd
ffoodd / dabblet.css
Created December 16, 2013 15:38
Démo d’une interception de position qui parasite la position fixe d’un pseudo-élément
/**
* Démo d’une interception de position qui parasite la position fixe d’un pseudo-élément
*/
body {
font-family: Arial, sans-serif;
background: #eee;
padding: 2em;
}
@ffoodd
ffoodd / functions.php
Last active August 29, 2015 13:56
Inclure un template différent selon la taxonomie ou le terme affiché
<?php
/* == @section Chargement du bon template pour les sous-filtres ====================
/**
* @note On charge le même template pour tous les termes de la taxonomie « filtres », à l’exception d’un terme.
* @note Merci à Julio Potier et Willy Bahuaud pour l’astuce
* @see https://twitter.com/BoiteAWeb
* @see https://twitter.com/willybahuaud
* @author Gaël Poupard
* @see https://twitter.com/ffoodd_fr
* @see http://codex.wordpress.org/Plugin_API/Filter_Reference/template_include
@ffoodd
ffoodd / ffeeeedd__onglets
Last active August 29, 2015 14:04
ffeeeedd__onglets
<div data-function="tabs" class="ffeeeedd__onglets">
<h3 data-role="tab" id="onglet_1-titre">
<a href="#onglet_1">Onglet 1</a>
</h3>
<div data-role="panel" data-label="onglet_1-titre" id="onglet_1">
<div>Lorem ipsum dolor sit amet</div>
</div>
<h3 data-role="tab" id="onglet_2-titre">
<a href="#onglet_2">Onglet 2</a>