Skip to content

Instantly share code, notes, and snippets.

View argyleink's full-sized avatar
💀
calc(dev*design)

Adam Argyle argyleink

💀
calc(dev*design)
View GitHub Profile
@argyleink
argyleink / flexbox-grid.styl
Created May 17, 2014 17:29
CSS Flexbox Grid
// as seen here: https://github.com/zemirco/flexbox-grid/blob/master/flexbox-grid.styl
@import 'nib'
// variables
var-columns = 12
var-gutter-width = 1rem
// some styles that apply to all columns - makes final css nicer
$common-column-styles
box-sizing(border-box)
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
@argyleink
argyleink / gzip.conf
Created July 17, 2014 21:17
Nginx gzip
# save to /etc/nginx/conf.d/gzip.conf
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
@argyleink
argyleink / dabblet.css
Created February 10, 2012 07:29
Checkbox Hack for button with what could be a faux :selected
.transparent { opacity:0; }
.absolute { position:absolute; }
/* Toggled State */
label {
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background-color:#ededed;
border-radius:6px;
border:1px solid #dcdcdc;
@argyleink
argyleink / settings.json
Created February 10, 2012 07:54
Untitled
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
@argyleink
argyleink / dabblet.css
Created February 13, 2012 03:22
Pure CSS Tab System using :target
/**
* Pure CSS Tab System using :target
*/
body {
font-family: sans-serif;
}
.tabrow {
text-align: center;
@argyleink
argyleink / dabblet.css
Created April 4, 2012 22:50
Dot indicators inside of a circle,
/**
* Dot indicators inside of a circle,
which rotate around the center of the parent circle
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
}
.circle {
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
@argyleink
argyleink / dabblet.css
Created April 27, 2012 17:04
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.triangle {