Skip to content

Instantly share code, notes, and snippets.

View kaelig's full-sized avatar

Kaelig Deloumeau-Prigent kaelig

View GitHub Profile
@kaelig
kaelig / SassMeister-input.scss
Created May 7, 2015 11:23
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
el {
@if (& + '' == 'el') {
content: "It works!";
}
}
@kaelig
kaelig / SassMeister-input.scss
Created May 7, 2015 11:13
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
////
/// @group o-grid
/// @link http://registry.origami.ft.com/components/o-grid
////
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:20
Generated by SassMeister.com.
// ----
// libsass (v3.2.0-beta.6)
// ----
$colors: (
"transparent": transparent,
// transparent: transparent // Uncomment this line and it fails to compile
);
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:20
Generated by SassMeister.com.
// ----
// libsass (v3.2.0-beta.6)
// ----
$colors: (
"transparent": #000000,
// transparent: #000000 // Uncomment this line and it fails to compile
);
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:20
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$colors: (
"black": #000000, // Output is fine (black)
black: #000000 // Class name gets minified to c-#000
);
<!DOCTYPE html>
<html class="core o-hoverable-on">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Origami template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--
Perform your cuts the mustard test.
@kaelig
kaelig / SassMeister-input.scss
Created April 1, 2015 12:57
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
%link-base {
color: green;
&:hover {
color: white;
@kaelig
kaelig / theguardian.com.css
Created March 16, 2015 10:49
Guardian user styles
/* Adjust to your favourite zoom level for more content on the page */
html { zoom: 92.5%; }
/* Make section links look like links, not bubbly buttons */
.treats__treat { border: 0; padding-left: 0; padding-right: 0; border-radius: 0; display: block; max-width: 100%; }
/* remove lines between stories and sections */
.fc-container .fc-container__inner, .fc-container .facia-container__inner { border: 0; }
.fc-item:before, .fc-slice__item:before { border-left: 0 !important; }
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:17
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
////
/// @group o-grid
/// @link http://registry.origami.ft.com/components/o-grid
////
@kaelig
kaelig / SassMeister-input.scss
Created March 4, 2015 12:54
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$o-ft-icons-is-silent: false;
$o-assets-global-path: '/bower_components/' !default;
$o-assets-paths-map: () !default;