Skip to content

Instantly share code, notes, and snippets.

View thierryk's full-sized avatar

Thierry Koblentz thierryk

View GitHub Profile
@thierryk
thierryk / SassMeister-input.scss
Last active August 29, 2015 14:09
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$UH-height: 84px;
/**
* These 2 must match
@thierryk
thierryk / SassMeister-input.scss
Last active August 29, 2015 14:09
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$UH-height: 84px;
/**
* we need to qualify #Stencil below (html#Stencil) *only* if we need
* the extra weight/specificity
@thierryk
thierryk / SassMeister-input.scss
Created November 24, 2014 18:09
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
/**
* Parsing error in v3.4.7 (works as expected in v3.3.14)
*/
.\!foo {
color: teal;
@thierryk
thierryk / SassMeister-input.scss
Created November 24, 2014 18:10
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
/**
* Parsing error in v3.4.7 (works as expected in v3.3.14)
*/
.\!foo {
color: teal;
@thierryk
thierryk / base.css
Created November 26, 2011 23:19
Base styles sheet for WebKit based browsers. It uses "rem" unit and RTL/LTR-friendly values like "start", "end", etc.
/**
* See: http://www.css-101.org/articles/base-styles-sheet-for-webkit-based-browsers/styles-sheets-optimization.php
* 30px is an arbitrary value used to create space on each side of block-level elements
* .8em is an arbitrary value used to create space above and below most block-level elements (except headings which are styled with different values)
*/
/* setting line-height and family while leaving default font-size using *rem* */
html {
font: 62.5%/1.3 sans-serif;
@thierryk
thierryk / prototype.css
Created November 26, 2011 23:33
Styles sheet for rapid prototyping (WebKit only)
/**
* This is a simple trick to overlay a grid or a mock-up over a page you're styling.
* It will also allow you to edit content directly in the browser to see how your layout behaves depending on various lines of text.
* To use data-uri or gradients in lieu of an image, check: http://www.css-101.org/articles/trick-for-rapid-prototyping/
*/
/**
* This is to overlay your image (grid.png) over the page. You may want to change the position value (from fixed to absolute) if you use a mock-up rather than a grid like in this demo page: http://www.css-101.org/articles/trick-for-rapid-prototyping/demo.html
* You can also change the opacity value as you see fit.
*/
@thierryk
thierryk / embed-6.css
Created May 27, 2016 13:10
For reuse article on Medium
.Bgc\(\#0280ae\)\:h:hover {
background-color: #0280ae;
}
@thierryk
thierryk / embed-1.html
Last active May 27, 2016 13:15
For reuse article on Medium
<div class="grid">
<div class="col pd50 pd20 fs3 fs2">Column 1</div>
<div class="col pd50 pd20 fs3 fs2">Column 2</div>
</div>
@thierryk
thierryk / embed-2.html
Last active May 27, 2016 13:17
For reuse article on Medium
<div class="overflow-hidden">
<div class="float-left width-50% width-100%__small-screen padding-50px padding-20px__small-screen font-size-3em font-size-2em__small-screen">Column 1</div>
<div class="float-left width-50% width-100%__small-screen pd50 pd20 fs3 fs2">Column 2</div>
</div>
@thierryk
thierryk / embed-3.html
Last active May 27, 2016 13:18
For reuse article on Medium
<div class="pull-sm-left">Float left on viewports sized SM (small) or wider</div>
<div class="pull-md-left">Float left on viewports sized MD (medium) or wider</div>
<div class="pull-lg-left">Float left on viewports sized LG (large) or wider</div>
<div class="pull-xl-left">Float left on viewports sized XL (extra-large) or wider</div>