Skip to content

Instantly share code, notes, and snippets.

View wachilt's full-sized avatar

John Coyne wachilt

View GitHub Profile
@wachilt
wachilt / alt-styles.css
Created May 7, 2021 15:22 — forked from malarkey/alt-styles.css
A simpler approach to CSS styling using just one default style plus one alternative.
/* CSS Custom Properties */
:root {
--font-family-default: 'Merriweather', serif;
--font-family-alt: 'Merriweather Sans', sans-serif;
--font-color-default: #b1a18;
--font-color-alt: #f5f5f3;
--font-link-default: #a62339;
@wachilt
wachilt / config.php
Created August 23, 2019 12:24 — forked from foobartel/config.php
A Kirby 3 plugin to output optimised images in content textarea fields.
<?php
return [
// default values for optimage tag if no values are set
'optimagetag' => [
'width' => '1200',
'height' => null,
'quality' => '55'
]
/* THIS IS THE CLASS THAT IS APPLIED TO THE UNORDERED LIST AND ACTS AS THE FLEX CONTAINER */
.grid-wrap {
display: flex; /* THIS MAKES IT A FLEX CONTAINER */
flex-flow: row wrap; /* THIS MAKES EACH BLOG POST LINE UP HORIZONTALLY AND WRAP TO THE NEXT LINE */
align-items: center; /* YOU CAN CHOOSE DIFFERENT VALUES HERE */
justify-content: center; /* YOU CAN CHOOSE DIFFERENT VALUES HERE */
list-style: none; /* THIS REMOVES THE BULLET POINT FOR EACH LIST ITEM */
}
@wachilt
wachilt / keybase.md
Last active February 2, 2018 13:34
keybase.md

Keybase proof

I hereby claim:

  • I am wachilt on github.
  • I am wachilt (https://keybase.io/wachilt) on keybase.
  • I have a public key whose fingerprint is E45E 25B6 2330 5383 F1DD 430F B28C FCE0 248A 5619

To claim this, I am signing this object:

<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
</figure>
@wachilt
wachilt / codepen.php
Last active August 1, 2017 22:37 — forked from plfstr/readme.md
<?php
kirbytext::$tags['codepen'] = array(
'attr' => array(
'height', 'type', 'class'
),
'html' => function($tag) {
$source = $tag->attr('codepen');

Development Contract Killer

A fork of the popular open-source contract for web designers and developers by Stuff & Nonsense, reworded for developers


Between us [company name] and you [customer name]

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post