Skip to content

Instantly share code, notes, and snippets.

View klickreflex's full-sized avatar

Daniel Wentsch klickreflex

View GitHub Profile
From 38b6c81fa6cb7cbb1511d6fc54d24d06a52d3fc4 Mon Sep 17 00:00:00 2001
From: Daniel Wentsch <hello@wentsch.me>
Date: Mon, 18 Aug 2014 15:53:23 +0200
Subject: [PATCH] Added missing localization for File Downloads Suite default
values
---
sites/all/modules/contrib/ms_files/ms_files.module | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
// Your custom SCSS should be written here...
@import "fancytilesoutside";
// apply fancytilesoutside to the element containing your tiles (eg the <ul> tag)
ul.fancy {
@include fancytilesoutside(3,2,1);
}
module.exports = function(grunt) {
// 1. All configuration goes here
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// 2. Configuration for concatinating files goes here.
concat: {
dist: {
src: [
'theme/tierpsychologie/bower_components/gumby/js/libs/gumby.js', // All JS in the libs folder
@klickreflex
klickreflex / gist:860ec90553574e4fbb29
Created May 19, 2014 10:15
CSSList Bullet Coloring
li {
list-style: none;
}
li:before {
/* For a round bullet */
content:'\2022';
/* For a square bullet */
/*content:'\25A0';*/
display: block;
<?php
namespace Bolt\Controllers\Esperanto;
use Bolt\Application;
use Bolt\Controllers\Frontend as BoltFrontend;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
# Database setup. The driver can be either sqlite, mysql or postgres. For
# SQLite, only the databasename is required, while MySQL and PostgreSQL also
# require username, password and perhaps a hostname.
# If you're trying out Bolt, just keep it set to SQLite for now.
database:
driver: sqlite
databasename: bolt
# The name of the website
sitename: A sample site
@klickreflex
klickreflex / multi_line_padding.css
Created October 5, 2012 08:15
How to add horizontal padding to every line in one multi-line wrapped sentence
span {
background:#ff0;color:#000;
box-shadow:0.2em 0 0 #ff0,-0.2em 0 0 #ff0;
-moz-box-shadow:0.2em 0 0 #ff0,-0.2em 0 0 #ff0;
-webkit-box-shadow:0.2em 0 0 #ff0,-0.2em 0 0 #ff0;
}