Skip to content

Instantly share code, notes, and snippets.

View michsch's full-sized avatar

Michael Schulze michsch

View GitHub Profile
tt_content.menu.20 {
# "Menu of subpages to these pages"
1 {
special = directory
stdWrap {
outerWrap = <nav class="sitemap" role="navigation">|</nav>
}
1 {
@michsch
michsch / dabblet.css
Created January 16, 2013 10:07
CSS MacBook
/**
* CSS MacBook
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
###jshint devel:true
###
###global require, define, _, module
###
###*
* Some new useful underscore mixins
* originally by echong: https://gist.github.com/echong/3861963#file-underscore-mixin-deepextend-coffee
###
( ( root, factory ) ->
@michsch
michsch / dabblet.css
Created February 14, 2013 02:04
YAML 4.0.2 Live Coding
/**
* YAML 4.0.2 Live Coding
*/
@import "https://s3.amazonaws.com/elsignores/yaml/4.0.2/core/base.css";
body {
background-color: #1a1a1a;
padding: 20px;
}
@michsch
michsch / dabblet.css
Last active January 4, 2016 16:15
CSS nested selectors
/**
* CSS nested selectors
*/
body {
font-family: Arial, verdana, sans-serif;
font-size: 20px;
color: black;
}
.content .rot {
/**
* original found here: http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr
*/
var featureDetection = ( function( exports, root, document ) {
"use strict";
exports.transition = function() {
var body, bodyStyle, feature, prefix;
body = document.body || document.documentElement;
@michsch
michsch / Gruntfile.js
Last active December 18, 2015 04:59
Sass Source Maps in Google Chrome 27 (stable) or Chrome Canary (29)
module.exports = function(grunt) {
"use strict";
grunt.initConfig({
sass : {
dev : {
options : {
sassFolder : 'sass',
cssFolder : 'dev',
sourcemap : true,
@michsch
michsch / baseurl.ts
Last active December 18, 2015 19:09
#### Aktivierung RealURL ####
config {
baseURL = http://domain.com/
tx_realurl_enable = 1
prefixLocalAnchors = all
notification_email_urlmode = all
}
#### Aktivierung RealURL ####
#Base-URL-Fix für IE6 Fehler "Vorgang abgebrochen"
# A class-based template for jQuery plugins in Coffeescript
#
# $('.target').myPlugin({ paramA: 'not-foo' });
# $('.target').myPlugin('myMethod', 'Hello, world');
#
# Check out Alan Hogan's original jQuery plugin template:
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template
#
(($, window) ->
@michsch
michsch / YAML Emmet
Last active August 29, 2015 13:56 — forked from jensgro/gist:7719515
/*========= Columns =================== */
/* col1 / col2 / col3 */
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col2>.ym-cbox)+(.ym-col3>.ym-cbox-right>.ym-ie-clearing)
/* col1 / col3 / col2 */
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col2>.ym-cbox-right)
/* col2 / col3 / col1 */
.ym-column>(.ym-col2>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col1>.ym-cbox-right)