Skip to content

Instantly share code, notes, and snippets.

View danielgolden's full-sized avatar

Daniel Golden danielgolden

View GitHub Profile
@danielgolden
danielgolden / cure-taleo-job-board.css
Created November 11, 2014 20:59
Don't delete me! I'm being directly referenced by taleo.
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
@danielgolden
danielgolden / GOH-banner.html
Created November 18, 2014 22:26
GOH Banner Markup
<div class="page-top-banner-container">
<a href="#">
<div class="page-top-banner">
<a href="#" class="page-top-banner-close close-modal-trigger">Close</a>
<h3>Give the gift of healing</h3>
</div>
</a>
</div>
@danielgolden
danielgolden / community-homepage-stats-markup.html
Created December 3, 2014 21:13
Community Homepage Stats Markup
<div class="community-homepage-stats-container">
<ul class="community-homepage-stats">
<li class="community-homepage-stat">Members: <strong>2,185</strong></li>
<li class="community-homepage-stat">Get Wells: <strong>66</strong></li>
<li class="community-homepage-stat">Kids Impacted: <strong>578</strong></li>
</ul>
</div>
@danielgolden
danielgolden / CKC Job Banner Markup.html
Created February 6, 2015 19:11
CKC Job Banner Markup
<a href="#" class="page-top-banner-container">
<div class="page-top-banner">
<span class="page-top-banner-close close-modal-trigger"></span>
<h3>You could be telling these kid’s stories!</h3>
</div>
</a>
<div class="page-top-banner-container tomlin-banner">
<div class="page-top-banner">
<span class="page-top-banner-close close-modal-trigger"></span>
<h3 class="tomlin-homepage-mod-header">Chris Tomlin - Love Ran Red</h3>
<img src="/img/curekids2014/tomlin-homepage-mod-photo.png" class="tomlin-photo" alt="Photo of Chris tomlin">
<div class="cta-container">
<a href="#" class="btn-primary">Join Team Tomlin</a>
<a href="#" class="info-link">What's this about?</a>
</div>
@danielgolden
danielgolden / Tomln-ck-profile-thankyou-page.html
Created February 21, 2015 05:05
CUREkids Profile on Thank you Page
<div class="giving-mini-profile-alt-container">
<hr>
<div class="giving-mini-profile-alt">
<div class="giving-mini-profile-photo-container">
<img src="https://0515f2af61d5e3d37aec-a1d11e7882f6a6aa49a62729309b6434.ssl.cf2.rackcdn.com/curekids/img/10/10714/Malawi_TiloneGilbert_624.13-3.jpg" alt="Tilone's Cover photo" class="giving-mini-profile-photo">
</div>
<h4 class="giving-mini-profile-name">Tilone</h4>
<span class="giving-mini-profile-country">From Malawi</span>
</div>
</div>
@danielgolden
danielgolden / page-brand.php
Created June 26, 2015 15:13
Template for the online version of the CURE brand guildelines
<?php
/*
* Template Name: Brand Guidelines
*/
function brand_guidelines_scripts () {
wp_dequeue_style('main-css');
wp_enqueue_style('brand', '/css/brand.min.css');
wp_enqueue_script('bootstrap-js', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js', array('jquery'), '3.3.1', $in_footer = true);
}
@danielgolden
danielgolden / placefill.js
Last active December 17, 2015 20:59
A polyfill for the input placeholder attribute.
/**
* placefill.js - A polyfill for the placeholder attribute.
* @author Daniel Golden <danielgolden90@gmail.com>
*/
var $place_holder_inputs = $('input[placeholder]');
var place_holder_text = $('input').attr('placeholder');
// make value attribute of all inputs with placeholder attribute equal to
// value of placeholder attribute
@danielgolden
danielgolden / CUREMoms Aside Photo.html
Created June 12, 2013 20:04
Code for text section of blog posts in Wordpress for cure.org. Code extracted and reformatted so that posters to the blog can add images themseleves by replacing the alt and src attributes.
<aside class="featured_aside">
[caption id="attachment_80262" align="alignleft" width="175"]
<img class="wp-image-80262 featured_aside_img" alt="SHORT IMAGE DESCRIPTION HERE" src="LINK TO IMAGE HERE" width="175" />
<br /><br />
<p class="featured_aside_caption">Caroline's joy is evident as she comforts Johanser after surgery.</p>
[/caption]
</aside>
@danielgolden
danielgolden / welcome-email.html
Last active August 9, 2018 18:02
Epiphany - Welcome Email
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="utf-8"> <!-- utf-8 works for most cases -->
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine -->
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely -->
<title>Epiphany - Welcome!</title> <!-- The title tag shows in email notifications, like Android 4.4. -->
<!-- Web Font / @font-face : BEGIN -->