Skip to content

Instantly share code, notes, and snippets.

UnaiYecora

Block or report user

Report or block UnaiYecora

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@1forh
1forh / index.html
Last active May 4, 2016
Prevent map zoom on scroll
View index.html
<div id="map-wrapper">
<iframe id="map-canvas"></iframe>
</div>
@gefangenimnetz
gefangenimnetz / materialDesignShadowHelper.less
Last active May 11, 2019
Less css box-shadow helper for cards & modals according to Googles Material Design spec.
View materialDesignShadowHelper.less
/**
* A mixin which helps you to add depth to elements according to the Google Material Design spec:
* http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality
*
* Please note that the values given in the specification cannot be used as is. To create the same visual experience
* the blur parameter has to be doubled.
*
* Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp)
*
* Example usage:
@jeherve
jeherve / functions.php
Last active Oct 10, 2016
[Jetpack] Customize the contents of the "Older Posts" text appearing when activating Infinite Scroll.
View functions.php
<?php
function jeherve_custom_infinite_more() {
if ( is_home() || is_archive() ) {
?>
<script type="text/javascript">
//<![CDATA[
infiniteScroll.settings.text = "Custom Text";
//]]>
</script>
You can’t perform that action at this time.