This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Donations</title> | |
</head> | |
<body> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ |
This file contains 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
set nocompatible " be iMproved, required | |
filetype off " required | |
" highlighting | |
set relativenumber | |
syntax on | |
set background=dark | |
set cursorline | |
" tabbing |
This file contains 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
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/wentsch/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="avit" | |
# Uncomment the following line to use case-sensitive completion. |
This file contains 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
[General] | |
Description=Afterglow | |
Opacity=1 | |
Wallpaper= | |
[Background] | |
Color=34,34,34 | |
[BackgroundIntense] | |
Color=34,34,34 |
This file contains 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
<?php | |
function THEMENAME_preprocess_html(&$vars, $hook) { | |
// Make tabs available on html tpl | |
$vars['tabs'] = menu_local_tabs(); | |
// if we have primary tabs, add an accoring body class | |
if (!empty($vars['tabs']['#primary'])) { | |
$vars['classes_array'][] = 'has-tabs'; | |
} | |
} |
This file contains 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
// Get Breakpoints from CSS and store in `breakpoint` object | |
var breakpoint = {}; | |
breakpoint.refreshValue = function () { | |
this.value = window.getComputedStyle(document.querySelector('head'), ':before').getPropertyValue('content').replace(/\"/g, ''); | |
}; | |
// Put it inside a function | |
var currentBreakFn = function() { | |
breakpoint.refreshValue(); | |
}; |
This file contains 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
AddType image/svg+xml .svg | |
AddOutputFilterByType DEFLATE image/svg+xml text/html text/xml text/css text/javascript |
This file contains 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
<?php | |
/** | |
* @file | |
* adds a formatter for commerce file fields that shows an add to cart button OR | |
* a file download link, depending on whether the current user has a license for the file | |
* | |
*/ | |
/** | |
* Implements hook_field_formatter_info(). |
This file contains 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
// Flexbox Grid Sass Adpatation, forked ot remove external dependency | |
// Source: https://github.com/klickreflex/flexboxgrid-sass | |
// Set the number of columns you want to use on your layout. | |
$grid-columns: 12 !default; | |
// Set the gutter between columns. | |
$gutter-width: 1rem !default; | |
// Set a margin for the container sides. | |
$outer-margin: 2rem !default; | |
// Create or remove breakpoints for your project |