The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| @import "bourbon/bourbon"; | |
| //////////////////////////////////////////// | |
| // Variables | |
| //////////////////////////////////////////// | |
| $main: #8e9eab; | 
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| @import "bourbon/bourbon"; | |
| //////////////////////////////////////////// | |
| // Variables | |
| //////////////////////////////////////////// | 
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| body { | |
| background-color: #ddd; | |
| } | |
| .silver, .premium { | |
| position: relative; | 
| // ---- | |
| // Sass (v3.4.21) | |
| // Compass (v1.0.3) | |
| // ---- | |
| body { | |
| background: #e1e1e1; | |
| } | |
| $social: | 
| function asanaRequest($methodPath, $httpMethod = 'GET', $body = null) | |
| { | |
| $apiKey = 'ASANA_API_KEY_HERE'; /// Get it from http://app.asana.com/-/account_api | |
| $url = "https://app.asana.com/api/1.0/$methodPath"; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ; | |
| curl_setopt($ch, CURLOPT_USERPWD, $apiKey); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | 
| /** | |
| Squarespace essentially doesn't really document their breakpoints. | |
| This can be quite annoying to not have when doing custom CSS. | |
| Most themes use essentially one breakpoint. Mobile and not mobile; anything 750 and below is considered mobile. | |
| You can use these to write your own CSS and simply use the "Style Editor" to inject your compiled CSS in the event | |
| you are not using "Developer Mode" in your site. | |
| Enjoy! |