Skip to content

Instantly share code, notes, and snippets.

View alienresident's full-sized avatar

Mark Reilly alienresident

View GitHub Profile
@alienresident
alienresident / SassMeister-input.scss
Created July 14, 2014 18:01
Generated by SassMeister.com.
// ----
// Sass (v3.4.0.rc.1)
// Compass (v1.0.0.alpha.20)
// ----
@import "compass";
$tool-icons: (
sakai-help: "\f059",
@alienresident
alienresident / SassMeister-input.scss
Created July 10, 2014 20:43
Generated by SassMeister.com.
// ----
// Sass (v3.3.9)
// Compass (v1.0.0.alpha.20)
// ----
@import "compass";
//$supported-browsers: browsers() !default;
$graceful-usage-threshold: 0.1;
$critical-usage-threshold: 0.01;
$debug-browser-support: true;
@alienresident
alienresident / SassMeister-input-HTML.html
Created May 21, 2014 15:07
Generated by SassMeister.com.
<h1>Color Swatches</h1>
<ul class="sg__colours">
<li class="sg__colour sg__colour--brand"></li>
<li class="sg__colour sg__colour--copy"></li>
<li class="sg__colour sg__colour--link"></li>
<li class="sg__colour sg__colour--hover"></li>
<li class="sg__colour sg__colour--highlight"></li>
<li class="sg__colour sg__colour--error"></li>
</ul>
@alienresident
alienresident / SassMeister-input.scss
Created May 9, 2014 20:00
Generated by SassMeister.com.
// ----
// Sass (v3.2.19)
// Compass (v)
// ----
@import "compass";
$repeating-linear-gradient: repeating-linear-gradient(#ededed, #ededed 33px, #d4d4d4 33px, #d4d4d4 38px);
.foo {
body {
margin: 10px;
background-color: darkgray;
}
h1 {
text-align: center;
}
.shelf-wrapper {
@alienresident
alienresident / SassMeister-input.scss
Created April 12, 2014 20:36
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
.block {
padding: 0;
&__element {
margin: 0;
}
@alienresident
alienresident / SassMeister-input.scss
Created February 27, 2014 19:56
Generated by SassMeister.com.
// ----
// Sass (v3.2.14)
// Compass (v0.12.2)
// ----
$icon: (help '\e003');
@mixin generate-icon($icon, $pseudo: before, $prefix: '') {
#{$prefix}#{nth($icon, 1)}:#{$pseudo} {
content: nth($icon, 2);
@alienresident
alienresident / drush-shortcuts.md
Last active July 1, 2021 23:28
Useful Drush Commands

Drush Shortcuts

A list of Drush shortcuts I find useful for Drupal development.

Dealing with Users

Creating a one-time login link

drush uli
@alienresident
alienresident / SassMeister-input.scss
Created February 26, 2014 19:09
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
$icons: ((help '\e003'), (close '\e005') ,(clos '\e004'));
//$icons: ((help '\e003'));
@mixin foo($list...){
//@debug length($list);
@alienresident
alienresident / SassMeister-input.scss
Created February 21, 2014 20:48
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.4)
// Compass (v1.0.0.alpha.18)
// ----
@mixin adjust-each-header($start, $finish, $startingFontSize: 30px, $adjustFont: 3px, $lineHeight: 1.618) {
@for $i from $start through $finish {
h#{$i} {
font-size: $startingFontSize;
line-height: getValue(($startingFontSize * $lineHeight));