Skip to content

Instantly share code, notes, and snippets.

View smeranda's full-sized avatar

Seth Meranda smeranda

View GitHub Profile
/**
* Append the form data from a HubSpot form automatically
* to the redirect URL query parameters. These values can
* then be used on the form to modify the user experience
* of the Thank You page
*
* LICENSE
* Form redirect
* Written in 2015 by Mike Axiak <[email protected]>
* Updated in 2016 by Seth Meranda <[email protected]>
@smeranda
smeranda / facebook_like-box_responsive.css
Created May 1, 2012 20:37
Flexible width layout for Facebook Like Box/Activity Stream to use in Responsive Designs
/*
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/
*/
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
display: none;
}
@smeranda
smeranda / UNL WDN Templates v3.1 CSS Media Queries
Created March 13, 2012 04:16
UNL WDN Templates v3.1 CSS Media Queries
/* UNL WDN Templates
v3.1 CSS Media Queries */
@media (min-width: 320px) {
}
@media (min-width: 480px) {
}
@media (min-width: 600px) {
@smeranda
smeranda / unl_mq.less
Last active September 29, 2015 09:58
Use similar breakpoints to new WDN grid variables. Streamline so dependency is only on the set variable.
/*
*
* !DO NOT EDIT THE CSS FILES, THEY ARE BUILT WITH THE LESS CSS!
* less/dir/file.less
*
* ---------------------------
* Styles associated with the XYZ
* ---------------------------
*/
@import "../_mixins/all.less";