This file contains hidden or 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
| .sap-green { | |
| background-color: #0A3410; | |
| } | |
| .sap-green-text { | |
| color: #0A3410; | |
| } | |
| .sap-green-border { | |
| border-color: #0A3410; | |
| } |
This file contains hidden or 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
| // Involves some hacky manually-coded pixel values, but a lifesaver for debugging grids | |
| @if $debug { | |
| .debug--cols { | |
| @each $group in $col-groups { | |
| .grid--debug-#{$group}-cols:before { | |
| content: ''; | |
| position: absolute; | |
| margin: 0 auto; | |
| top: 0; | |
| right: 0; |
This file contains hidden or 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 | |
| /** | |
| * Instructions: | |
| * | |
| * 1. Put this into the document root of your Kirby site | |
| * 2. Make sure to setup the base url for your site correctly | |
| * 3. Run this script with `php statify.php` or open it in your browser | |
| * 4. Upload all files and folders from static to your server | |
| * 5. Test your site |
This file contains hidden or 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.3.4) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| // Capitalize string | |
| // -------------------------------------------------------------------------------- | |
| // @param [string] $string | |
| // -------------------------------------------------------------------------------- | |
| // @return [string] |
This file contains hidden or 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
| # A Grunt config for Jekyll | |
| # ========================= | |
| # The goal here is to enhance the Jekyll dev process, but allow falling-back | |
| # to vanilla Jekyll tasks. All directories are named per Jekyll defaults. | |
| module.exports = (grunt) -> | |
| require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks) | |
| # loads: | |
| # grunt-contrib-clean | |
| # grunt-contrib-connect | |
| # grunt-contrib-copy |
This file contains hidden or 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
| @import "compass/css3/shared"; | |
| // NOTE: | |
| // All mixins for the 2009 spec have been written assuming they'll be fed property values that | |
| // correspond to the standard spec. Some mixins can be fed values from the 2009 spec, but don't | |
| // rely on it. The `legacy-order` mixin will increment the value fed to it because the 2009 | |
| // `box-ordinal-group` property begins indexing at 1, while the modern `order` property begins | |
| // indexing at 0. | |
| // if `true`, the 2009 properties will be emitted as part of the normal mixin call |
This file contains hidden or 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
| // _decimal.scss | MIT License | gist.github.com/terkel/4373420 | |
| // Round a number to specified digits. | |
| // | |
| // @param {Number} $number A number to round | |
| // @param {Number} [$digits:0] Digits to output | |
| // @param {String} [$mode:round] (round|ceil|floor) How to round a number | |
| // @return {Number} A rounded number | |
| // @example | |
| // decimal-round(0.333) => 0 |
This file contains hidden or 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
| /* ----------------------------------------------------------------------- */ | |
| /* */ | |
| /* Improved upon a mixin from 37signals and combined */ | |
| /* with these numbers from marc. */ | |
| /* */ | |
| /* 37signals-version: */ | |
| /* http://37signals.com/svn/posts/3271-easy-retina-ready-images-using-scss */ | |
| /* */ | |
| /* @kimroen */ | |
| /* */ |
This file contains hidden or 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
| /** | |
| * How to have floating scrollbars in Firefox (Linux, Windows & Mac). | |
| * Screenshot: http://i.imgur.com/bn44L.png | |
| * You need Firefox > 18. Just run this code in a browser-scratchpad: | |
| * | |
| * Ping me on Twitter (@paulrouget) if you run into problems. | |
| * | |
| * 1. Go to about:config - Set devtools.chrome.enabled to true | |
| * 2. Starts Scratchpad (Shift-F4) | |
| * 3. In Scratchpad's menubar, check "Environment > Browser" |
This file contains hidden or 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 image-2x($image1, $image2) { | |
| background-image: url($image); | |
| @media (min--moz-device-pixel-ratio: 1.3), | |
| (-o-min-device-pixel-ratio: 2.6/2), | |
| (-webkit-min-device-pixel-ratio: 1.3), | |
| (min-device-pixel-ratio: 1.3), | |
| (min-resolution: 1.3dppx) { | |
| background-image: url($image2); | |
| background-size: image-width($image1) image-height($image1); | |
| } |
NewerOlder