Warning
This topic is a draft and may contain wrong information.
| body{ | |
| padding: 50px 10px; | |
| } | |
| img{ | |
| border: 10px solid #ccc; | |
| box-shadow: 0px 0px 1px #555; | |
| } | |
| img.grayscale{ | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */ | |
| filter: gray; /* IE6-9 */ |
| <?php | |
| /** | |
| * Change Upload Directory for one Custom Post-Type | |
| * | |
| * This will change the upload directory for a custom post-type. Attachments for this custom post type will | |
| * now be uploaded to a seperate "uploads" directory. Make | |
| * sure you swap out "post-type" and the "my-dir" with the appropriate values... | |
| * credits to: http://wordpress.stackexchange.com/users/4044/jhdenham | |
| * and http://yoast.com/smarter-upload-handling-wp-plugins/ | |
| */ |
| $(function(){ | |
| var formUrl = '/* ex: https://docs.google.com/a/developmentseed.org/spreadsheet/formResponse?formkey=... */'; | |
| // Set up map | |
| var m = mapbox.map('map').addLayer(mapbox.layer().id(' /* mapbox-account.id */ ')); | |
| // Set up map ui features with point selector | |
| var ui = mapbox.ui().map(m).auto().pointselector(function(d) { | |
| // Remove all points except the most recent |
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
| /*Solution 1 (Recommended)*/ | |
| ol { | |
| counter-reset: item; | |
| list-style-type: none; | |
| } | |
| li { | |
| display: block; | |
| } |
| <?php | |
| /* | |
| * Plugin Name: Disable wpautop | |
| * Plugin URI: http://masterscene.com | |
| * Author: Mahmoud Yasseen | |
| * Author URI: http://masterscene.com | |
| * Version: 1.1 | |
| * Description: Disable wpautop on posts/pages with custom field 'wpautop' == false. | |
| */ |
| .tableCol{ | |
| width:100%; | |
| border-collapse:collapse; | |
| } | |
| .tableCol td{ | |
| padding:7px; border:#4e95f4 1px solid; | |
| } | |
| /* improve visual readability for IE8 and below */ | |
| .tableCol tr{ | |
| background: #b8d1f3; |
| function countCSSRules() { | |
| var results = '', | |
| log = ''; | |
| if (!document.styleSheets) { | |
| return; | |
| } | |
| for (var i = 0; i < document.styleSheets.length; i++) { | |
| countSheet(document.styleSheets[i]); | |
| } | |
| function countSheet(sheet) { |