This file contains hidden or 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
// Grid Settings | |
jeet = { | |
gutter: 3, | |
parent-first: false, | |
layout-direction: LTR | |
} | |
g = jeet.gutter | |
-get_span(ratio = 1) |
This file contains hidden or 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
// Reset | |
html | |
color: _c12 | |
font-weight: 100 | |
font-size: 70% | |
line-height: 1.5 | |
+above(_mobile) | |
font-size: 80% | |
+above(_tablet) | |
font-size: 90% |
This file contains hidden or 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
let didResize = false | |
window.addEventListener(`resize`, () => { | |
didResize = true | |
}) | |
setInterval(() => { | |
if (didResize) { | |
// Do stuff | |
didResize = false |
This file contains hidden or 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
.foo | |
position: fixed | |
&.active | |
animation: repaint 1ms | |
@keyframes repaint | |
from | |
width: 99.999% | |
to | |
width: 100% |
This file contains hidden or 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
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
This file contains hidden or 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
/* Iconic theme rules. Don't delete! */ | |
iconic-color(color) | |
fill: color | |
stroke: color | |
color-primary = #DA3A35 | |
color-secondary = lighten(#DA3A35, 30%) | |
/* Hide all icons that are waiting to be injected */ |
This file contains hidden or 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
/*! | |
* jquery.addrule.js 0.0.15 - https://gist.github.com/yckart/5563717/ | |
* Add css-rules to an existing stylesheet. | |
* | |
* @see http://stackoverflow.com/a/16507264/1250044 | |
* | |
* Copyright (c) 2013 Yannick Albert (http://yckart.com) | |
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php). | |
* 2013/05/12 | |
**/ |
This file contains hidden or 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
<div class="box">Hello</div> |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Jeet 5 - http://jeet.gs | |
/* Syntax Quick Reference | |
-------------------------- | |
column($ratios: 1, $offset: 0, $cycle: 0, $uncycle: 0, $gutter: jeet(gutter)) |
This file contains hidden or 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
@mixin retina-background-image($file-sm, $file-lg, $retina-width: auto, $retina-height: auto, $breakpoint: 0px) { | |
background: url("#{$file-sm}") no-repeat; | |
background-size: cover; | |
@media | |
(-webkit-min-device-pixel-ratio: 2) and (min-width: #{$breakpoint}), | |
( min--moz-device-pixel-ratio: 2) and (min-width: #{$breakpoint}), | |
( -o-min-device-pixel-ratio: 2/1) and (min-width: #{$breakpoint}), | |
( min-device-pixel-ratio: 1.5) and (min-width: #{$breakpoint}), | |
( min-resolution: 192dpi) and (min-width: #{$breakpoint}), |