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
/** | |
* Just for fun™: Flickr spinner in pure CSS | |
*/ | |
@keyframes move { | |
to { left: 50%; } | |
} | |
@keyframes cover { | |
from,49.9% { z-index: 1 } |
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 | |
/** | |
* Implements hook_page_alter(). | |
*/ | |
function mytheme_page_alter(&$page) { | |
// Remove all the region wrappers. | |
foreach (element_children($page) as $key => $region) { | |
if (!empty($page[$region]['#theme_wrappers'])) { | |
$page[$region]['#theme_wrappers'] = array_diff($page[$region]['#theme_wrappers'], array('region')); |
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
/** | |
* Generates our CSS files using libsass. | |
* Wrapper for the `sass` task, make sure you have installed all the dependencies of the repo. | |
* | |
* Example: $: grunt libsass | |
* $: grunt libsass:dev | |
* | |
* @param env | |
*/ | |
grunt.registerTask('libsass', 'Builds our CSS', function(env) { |