This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------*\ | |
// TRIGONOMETRY FUNCTIONS | |
//----------------------------------*/ | |
// # Trigonometry in CSS | |
// | |
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf | |
// - Useful if you don't want to use JS. | |
// - With CSS Variables. | |
// - `calc()` can't do power (x ^ y) so I used multiplication instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
html::after { background-color: rgba(0, 0, 0, .8); | |
background-image: | |
linear-gradient( | |
to bottom, | |
transparent, | |
transparent 1.4em, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Polka dot pattern | |
*/ | |
background: radial-gradient(circle, white 10%, transparent 10%), | |
radial-gradient(circle, white 10%, black 10%) 150px 50px; | |
background-size:100px 100px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dégradés | |
* Je voudrais que les motifs avec les petits points se répète sur le triangle qui déborde. | |
* Je m'y prends très mal, Help :D | |
*/ | |
:root { | |
font-family: sans-serif; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = '/home/www/7studio/www/assets/stylesheets/'; | |
$cmd = 'find '.$path.' -iname "*.css"'; | |
$out = array(); | |
exec($cmd, $out); | |
echo '<strong>Fichiers CSS explorés</strong>'; | |
echo '<ul>'; | |
foreach($out as $V){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
li { | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
flex-direction: row; | |
} | |
span { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jamais en fr : | |
ŠšŽžŸÿÁáÃãÐðÑñÒòÓóÕõØøÖöÅåÝýÞþÚúÌìÍíˇ˘˙˚˜˝˛ˆ¸¨´`^¦ı†‡¬∂∆∑∫◊Ωª¢¿¡fiflfiflffiffl¯∏√∞ƒ⁄·¤ | |
à voir en fonction de la nature du projet : | |
‰ º µ ¼ ½ ¾ § ¶ • © ® ™ ± ≈ ≠ ¹ £ ¥ ‹ › ‘ ’ “ ” „ ≤ ≥ π ß ~ | |
toujours en fr : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. |