Skip to content

Instantly share code, notes, and snippets.

View mrmrs's full-sized avatar

Adam Morse mrmrs

View GitHub Profile
@mrmrs
mrmrs / shopify-display-none.css
Created May 26, 2015 07:17
Single purpose rulesets that set display none on an element
.marketing-input-focus+.marketing-form__messages .error+.suggest,
.marketing-input:focus+.marketing-form__messages .error+.suggest,
.marketing-input.focus+.marketing-form__messages .error+.suggest,
.marketing-textarea:focus+.marketing-form__messages .error+.suggest,
.marketing-textarea.focus+.marketing-form__messages .error+.suggest {
display: none;
}
.marketing-nav-wrapper.js-is-active .icon-caret-down {
display: none;
}
@mrmrs
mrmrs / yahoo-display-none.css
Created May 26, 2015 07:22
Single purpose rulesets to set an element to display none
/* YAHOO */
.BreakPoint .Bp-1 .Box2,
.BreakPoint .Bp-1 .Box3,
.BreakPoint .Bp-1 .Box4,
.BreakPoint .Bp-1 .BoxLast,
.BreakPoint .Bp-2 .Box3,
.BreakPoint .Bp-2 .Box4,
.BreakPoint .Bp-2 .BoxLast,
.BreakPoint .Bp-3 .Box4,
@mrmrs
mrmrs / apple-display-none.css
Created May 26, 2015 07:29
single purpose rulests from apple.com to set display: none on elements
/* APPLE */
#globalheader .gh-tab-search.enhance .gh-search,
#globalheader .gh-tab-search.enhance.active .gh-search {
display: none;
}
.directorynav>.column input {
display: none;
}
#globalheader {
@mrmrs
mrmrs / stackoverflow-display-none.css
Last active August 29, 2015 14:21
Single purpose rulesets from stackoverflow.com to set display: none on elements
/* STACKOVERFLOW */
.edit-block {
display: none;
}
#feed-link-text {
display: none;
}
.faq-page .col-section>.col-detail {
display: none;
@mrmrs
mrmrs / adobe-display-none.css
Created May 26, 2015 07:41
Single purpose rulesets from adobe.com that set elements to display none
/* ADOBE */
footer [class*=resp-navwr-] nav>a {
display: none;
}
footer .region-footer .resp-navwr-region nav.region-list>ul i {
display: none;
}
.vjs-default-skin.vjs-controls-disabled .vjs-control-bar {
display: none;
This file has been truncated, but you can view the full file.
{
"averages": {
"specificity": 10.647272727272727,
"ruleSize": 1.1894988066825776
},
"size": 72608,
"gzipSize": 12722,
"selectors": [
{
"selector": "article",
@mrmrs
mrmrs / unchanged-file-names
Created July 17, 2015 01:50
Shows files that have not been changed over the last two weeks in a git repo
git diff --name-only --stat @{2.weeks.ago} >> changed.txt && git ls-files >> all.txt && comm -23 all.txt changed.txt >> unchanged.txt

In visual perception a color is almost never seen as it really is - as it physically is. THis fact makes color the most relative medium in art.

In order to use color effectively it is necessary to recognize that color deceives continually. To this end, the beginning is not a study of color systems.

What counts here - first and last - is not so-called knowledge of so-called facts, but vision --seeing.


@mrmrs
mrmrs / Social Nav
Created June 18, 2012 22:24
Boilerplate for Social Nav
<ul class="social">
<li class="twitter">
<a href="http://twitter.com/" title="Follow on Twitter">@handle_</a>
</li>
<li class="dribbble">
<a href="http://dribbble.com" title="Follow on Dribbble">Dribbble</a>
</li>
<li class="cargo">
<a href="http://cargocollective.com/" title="Cargo Collective Portfolio">Cargo Collective</a>
</li>
@mrmrs
mrmrs / sharable-IP
Created October 22, 2012 20:20
Any computer that hits this IP from the same wifi network will have access to your localhost
ifconfig en0 | grep 'inet ' | cut -d " " -f2