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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
$medium-purple: purple; | |
$dark-purple: darken(purple, 20%); |
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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
// Test bourbon linear-gradient null value fail | |
$medium-purple: purple; | |
$dark-purple: darken(purple, 20%); |
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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
// &, & | |
.selector { | |
color:black; | |
&+&{ | |
margin: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
.selector, .extender > .sub { | |
color: black; | |
} | |
.selector + .selector, .extender > .sub + .selector, .extender > .selector + .sub, .extender > .sub + .sub { | |
margin: 0; | |
} | |
.extender { | |
color: blue; |
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
<h1 class="hero-title">Primary Title</h1> | |
<div class="entry-content"> | |
<p>Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non magna.</p> | |
<h1>Content Title</h1> | |
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur blandit tempus porttitor. Donec id elit non mi porta gravida at eget metus.</p> | |
<h2>Content Subtitle</h2> | |
<p>Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Nullam id dolor id nibh ultricies vehicula ut id elit. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean eu leo quam. Pellentesque ornare sem lacinia quam vene |
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
<main class="debug"> | |
<h1>Summary</h1> | |
<div class="block"> | |
<h2>Bloc 1</h2> | |
</div> | |
</main> |
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
//function to get the remote data | |
function url_get_contents ($url) { | |
if (function_exists('curl_exec')){ | |
$conn = curl_init($url); | |
curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, true); | |
curl_setopt($conn, CURLOPT_FRESH_CONNECT, true); | |
curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); | |
$url_get_contents_data = (curl_exec($conn)); | |
curl_close($conn); | |
}elseif(function_exists('file_get_contents')){ |
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 | |
/** | |
* Translate a result array into a HTML table | |
* | |
* @author Aidan Lister <[email protected]> | |
* @version 1.3.2 | |
* @link http://aidanlister.com/2004/04/converting-arrays-to-human-readable-tables/ | |
* @param array $array The result (numericaly keyed, associative inner) array. | |
* @param bool $recursive Recursively generate tables for multi-dimensional arrays | |
* @param string $null String to output for blank cells |
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 landing($base-size){ | |
font-size:$base-size/2.222; | |
h1 {margin:0 auto $base-size auto; height:$base-size*5;} | |
h2, h3 {margin:0 0 ($base-size - ($base-size/3));} | |
h2 {font-size:$base-size - ($base-size/5);} | |
h3 {font-size:$base-size - ($base-size/3);} | |
p {margin-bottom:$base-size/2; | |
&:last-child {margin-bottom: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
$pseudo-phprefix: "::-webkit-input-placeholder" "::-moz-placeholder" ":-ms-input-placeholder" "::placeholder"; | |
$ph-styles: ( | |
font-family: sans-serif, | |
font-size: medium, | |
font-style: normal, | |
font-weight: normal, | |
color: inherit, | |
letter-spacing : normal, | |
line-height: normal, |