Comparing the breakpoints in the following frameworks/toolkits:
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
--- | |
layout: none | |
--- | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:http://www.example.com/ | |
METHOD:PUBLISH | |
{% for post in site.posts limit:10 %}BEGIN:VEVENT | |
UID:{{ post.date | date: "%Y%m%d" }}@example.com | |
ORGANIZER;CN="Organizer Name":MAILTO:organizer@example.org |
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
// assets/scripts/customizer.js | |
(function($) { | |
// Primary colour | |
wp.customize('primary_colour', function(value) { | |
value.bind(function(to) { | |
$('head').append('<style>.Primary-bg-c{background-color:'+ to +' !important;}</style>'); | |
$('head').append('<style>.Primary-c{color:'+ to +' !important;}</style>'); | |
$('head').append('<style>.Primary-c--hover:hover{color:'+ to +' !important;}</style>'); |
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
// WordPress Generated Classes | |
// http://codex.wordpress.org/CSS#WordPress_Generated_Classes | |
// Media alignment | |
.alignnone { | |
margin-left: 0; | |
margin-right: 0; | |
max-width: 100%; | |
height: auto; | |
} |
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 | |
/* | |
ACF custom location rule : Page Ancestor | |
*/ | |
add_filter('acf/location/rule_types', 'acf_location_rules_page_ancestor'); | |
function acf_location_rules_page_ancestor($choices) { | |
$choices['Page']['page_ancestor'] = 'Page Ancestor'; | |
return $choices; | |
} | |
Notes I took whilst going through https://github.com/csswizardry/csswizardry.net/blob/gh-pages/workshops/css-architecture-2016.pdf
we are mass-producing our UIs
web design is more akin to manufacturijng than graphic design
manufacturing has been around longer than web design
- postcss
- precss
- postcss-css-variables with fallbacks
- postcss-map for yml config files
- doiuse (unsure how to use as plugin)
- css-colorguard
- postcss-bem-linter (could get it to work with components but not utilities)
- stylelint (working with very basic rules)
- postcss-inline-svg (needed for work not Cardigan toolkit)
- postcss-font-magician (needed for work not Cardigan toolkit)
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
# Add this to the sudoers file with `sudo visudo` | |
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports | |
Cmnd_Alias VAGRANT_NFSD = /sbin/nfsd restart | |
Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /usr/bin/sed -E -e /*/ d -ibak /etc/exports | |
%admin ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD, VAGRANT_EXPORTS_REMOVE |
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
sudo pip install -I ansible==1.9.0.1 |
NewerOlder