Skip to content

Instantly share code, notes, and snippets.

View methodik's full-sized avatar

Mat Griffiths methodik

View GitHub Profile
@methodik
methodik / gist:7289072
Last active December 27, 2015 07:29
Final Vars for Medal Table & Schedule Widgets

Medal Table Widget

Font-family

.pa-widget {
  font-family: helvetica neue, helvetica, arial, sans-serif;
}

Colours

@methodik
methodik / gist:7486930
Created November 15, 2013 16:13
Config selectors for the Event Day Widget
@min-width
.pa-event-day : min-width
@max-width
.pa-event-day : max-width
@height
.pa-event-day section.table-container : height
@bg-dark
@methodik
methodik / gist:7709293
Created November 29, 2013 17:39
Event Day Vars & Selectors
### Event Day Vars & Selectors
`@bg-dark:`
.pa-widget.pa-event-day div.search select { background }
.pa-widget.pa-event-day div.search input[type=submit]:hover { background }
.pa-widget.pa-event-day div.search span:before { background }
.pa-widget.pa-event-day menu.results { background }
.pa-widget.pa-event-day menu button.selected { background }
.pa-widget.pa-event-day menu button.selected:after { background }
@methodik
methodik / football-widgets-vars.md
Last active December 30, 2015 00:39
Football Widgets (Vars & Selectors)

Football Widget Vars and Selectors

Var Key

@font : arial, sans-serif;

@bg : white;

@bg-dark: #e8e8e8;

@methodik
methodik / cleanslate.css
Created December 3, 2013 13:35
The actual Cleanslate that should be used. There's a couple of version's in different places.
/*!
* CleanSlate
* github.com/premasagar/cleanslate
*
*//*
An extreme CSS reset stylesheet, for normalising the styling of a container element and its children.
by Premasagar Rose
dharmafly.com
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your
module.exports = function(grunt) {
// All configuration goes here
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
connect: {
server: {
options: {
$(document).ready(function() {
$.ajaxSetup({crossDomain : true});
var suContainer = $('.ws-signup'),
suSubmitBtn = suContainer.find('.ws-signup-button'),
suInput = suContainer.find('.ws-signup-input'),
url = 'http://api.hevnly.com/newsletter/subscribers';
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/app.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Welcome to hevnly</title>
</head>
<body style="-moz-box-sizing:border-box;-ms-text-size-adjust:100%;-webkit-box-sizing:border-box;-webkit-text-size-adjust:100%;Margin:0;box-sizing:border-box;color:#231F20;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.5;margin:0;min-width:100%;padding:0;text-align:left;width:100%!important">
<style>
@media only screen {
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/app.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Your Shopfronts weekly activity</title>
</head>