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
/* starts the vcard injected tags */ | |
div.vcard {} | |
span.org {display: inline;} | |
/* by adding a margin right of 4 pixels, we fake a space in between inline items that are all in a line */ | |
span.fn {display: inline;margin-right:4px;} | |
/* hide the br tag that gets injected */ | |
div.vcard br {} |
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
/* | |
Here are all of the styles that I could find for MailChimp Opt-In forms. | |
Your usage may vary. | |
*/ | |
a:hover, a:active {color:#bb2e02;text-decoration:none} | |
a:link {color:#9c2703;text-decoration:underline} | |
a:link, a:active, a:visited, a {color:#18f} | |
a:visited {color:#791d01;text-decoration:underline} |
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
html,body{/* moz */-moz-box-sizing: border-box;-moz-font-smoothing: antialiased;-moz-margin-before: 0px;-moz-margin-after: 0px;-moz-margin-start: 0;-moz-margin-end: 0;/* moz */-ms-box-sizing: border-box;-ms-margin-before: 0px;-ms-margin-after: 0px;-ms-margin-before: 0px;-ms-margin-after: 0px;/* opera */-o-box-sizing: border-box;-o-font-smoothing: antialiased;-o-margin-before: 0px;-o-margin-after: 0px;-o-margin-start: 0;-o-margin-end: 0;/* webkit */-webkit-font-smoothing: antialiased;-webkit-box-sizing: border-box;-webkit-margin-before: 0px;-webkit-margin-after: 0px;-webkit-margin-start: 0;-webkit-margin-end: 0;box-sizing: border-box;text-rendering: optimizeLegibility;} | |
html{background-color:#191919;background-clip:border-box;background-origin:border-box;background-image:none;background-position:left top;background-repeat:repeat;background-size:contain;color:#e7e7e7;height:100%;margin:0;min-height:100%;min-width:100%;text-align:center;} | |
body{font-family:'Helvetica Neue','HelveticaNeue',Helvetica,Arial,sans-ser |
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
/* | |
--------------------------------------------------------------------------------------------- | |
--------------------------------------------------------------------------------------------- | |
1. Normalize CSS | |
2. Formalize CSS | |
3. WordPress CSS | |
4. Your CSS | |
4a. Advanced Normalize Styles | |
4b. Global Classes | |
4b.1 Readability |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); | |
remove_action('wp_head', 'feed_links_extra', 3); | |
remove_action('wp_head', 'feed_links', 2); | |
remove_action('wp_head', 'index_rel_link'); | |
remove_action('wp_head', 'locale_stylesheet'); | |
remove_action('wp_head', 'noindex'); | |
remove_action('wp_head', 'parent_post_rel_link', 10, 0); | |
remove_action('wp_head', 'rel_canonical'); | |
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'start_post_rel_link', 10, 0); |
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
{% case page.layout %} | |
{% when 'page' %} | |
{% for page in site.pages %} | |
{% if page.layout == 'page' %} | |
{% if page.title != 'Home' %} | |
<a href="{{ page.url }}">{{ page.title }}</a> | |
{% endif %} | |
{% endif %} | |
{% endfor %} | |
{% when 'app' %} |
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
## My default SASS watch command | |
sass --watch --scss --style expanded sass:css | |
## Direct file watch command | |
sass --watch --scss --style expanded style.scss:style.css | |
## Suppress warnings and errors using --quiet | |
sass --quiet --watch --scss --style expanded sass:assets |
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
@font-face { | |
font-family: 'EntypoRegular'; | |
src: url('font/entypo.eot'); | |
src: url('font/entypo.eot?#iefix') format('embedded-opentype'), | |
url('font/entypo.woff') format('woff'), | |
url('font/entypo.ttf') format('truetype'), | |
url('font/entypo.svg#EntypoRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |