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
// For example, use "no-cssanimations" for a browser that lacks CSS3 animation support | |
@mixin modernizr($test) { | |
html.#{$test} & { | |
@content; | |
} | |
} |
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
@mixin hover-state { | |
&:hover, &:active, &:focus { | |
@content; | |
} | |
} | |
a { | |
text-decoration: none; | |
@include hover-state { |
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
/** | |
* Formulae and mixins to create any kind of evenly-spaced flexible grid | |
* you can possibly imagine. | |
*/ | |
/** | |
* Our grid settings. Change as desired for your project | |
*/ | |
$columns: 12; // Desired number of columns |
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
*, | |
*:before, | |
*:after { | |
box-sizing: border-box; | |
} | |
body.demo-6 { | |
background-color: #195f80; | |
.wrapper { |
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
@mixin highlight($adjustment: 0) { | |
$color-test: rgba(255, 0, 255, 0.2); | |
background-color: adjust-hue($color-test, $adjustment * 1deg); | |
} |
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
<div class="leadership__container"> | |
<div class="leadership__person"> | |
<div class="leadership__photo"> | |
<img src="http://placekitten.com/g/150/150"> | |
</div> | |
<div class="leadership__content"> | |
<h2 class="leadership__name">Beth Johnson</h2> |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// Breakpoint (v2.5.0) | |
// ---- | |
@import "breakpoint"; | |
/** Breakpoint settings */ |
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
#!/bin/sh | |
# | |
# Prepend the Branch Name to the commit | |
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD | sed 's/.*\///') | |
if [ -n "$BRANCH_NAME" ] && [ "$BRANCH_NAME" != "master" ] && [ "$BRANCH_NAME" != "develop" ]; then | |
echo "[#$BRANCH_NAME] $(cat $1)" > $1 | |
fi |
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
// Color names come from https://www.color-blindness.com/color-name-hue/ | |
// The color values can be any valid color format: hex, rgb, hsl, CSS color names, | |
// etc. But probably best _not_ to use CSS color names. | |
$palette: ( | |
'black': #000, | |
'cornflower-blue': #55abf2, | |
'grey': #808080, | |
'fire-engine-red': #d12118, | |
'forest-green': #20a037, | |
'limeade': #56b02c, |
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
function replaceFileNames() { | |
let c = document.getElementById('included-files-fie-on-wp-footer').innerHTML; | |
const includedFilesList = document.getElementById('included-files-list'); | |
if ( null === includedFilesList ) return; | |
includedFilesList.innerHTML = c; | |
} | |
jQuery( function() { | |
replaceFileNames(); | |
}); |
OlderNewer