This file contains 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 | |
/* | |
CHILD THEME functions.php file | |
*/ | |
if ( !function_exists('child_localization')) { | |
function child_localization() { | |
load_child_theme_textdomain('child_text_domain', get_stylesheet_directory() . '/lang'); | |
} | |
add_action('after_setup_theme', 'child_localization'); | |
} |
This file contains 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
/** | |
* :before & :after on table elements | |
*/ | |
table { border: 1px solid; } | |
td { border: 1px solid; padding: 1em; } | |
td:after, td:before { content: " - "; } | |
This file contains 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
/** | |
* Animation values are strongest ! | |
*/ | |
/* | |
* just hover the white space to stop the animation | |
* and and return the block to its original coordinates | |
*/ | |
html,body { height:100%; } |
This file contains 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
/** | |
* Animation in pseudo-element | |
*/ | |
div { | |
height: 100px; | |
background: #eee; | |
} | |
div:before { | |
content:" "; | |
display:inline-block; |
This file contains 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
/** | |
* Input Search box-sizing | |
*/ | |
[type="search"] { | |
margin: 1em 3em; | |
-webkit-box-sizing: content-box; /* comment this line to see... */ | |
padding: .5em; | |
} |
This file contains 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
/** | |
* Loader : demo of pseudo-element animation | |
*/ | |
a { display:inline-block; margin-top: 3em} | |
span { | |
display:block; | |
position: relative; | |
width: 400px; |
This file contains 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
/** | |
* Curved box Shadow | |
* Alternative : http://www.creativejuiz.fr/blog/tutoriels/ombre-avancees-avec-css3-et-box-shadow | |
*/ | |
div { | |
margin: 3em; | |
width: 500px; | |
height: 240px; | |
background-color: #f6f6f6; | |
/* |
This file contains 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
/** | |
* Drop Down Menu with CSS3 and Max-height animation | |
* an idea inspirated from http://jsfiddle.net/leaverou/zwvNY/ | |
* visit http://www.creativejuiz.fr/blog/ for fun. | |
*/ | |
a { | |
display:block; | |
color: #fff; | |
text-decoration:none; | |
} |
This file contains 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
/** | |
* Feuilles superposées | |
*/ | |
/* Petite mise en page */ | |
body { | |
width: 375px; | |
margin: 20px auto; | |
font-family: helvetica, arial, sans-serif; | |
color: #444; |
This file contains 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
/* | |
* Only first letter in uppercase | |
*/ | |
/* all in lowercase */ | |
.transform li { | |
text-transform: lowercase; | |
} | |
/* first-letter in uppercase */ |
OlderNewer