Skip to content

Instantly share code, notes, and snippets.

@ianrose
ianrose / pr-description-template.md
Last active August 29, 2015 13:56
PR Description Template

For: #1, #2, nbcnews/nbcnews.com-redesign-backlog/issues/1

Reviewers:

  • @
  • @

Test steps:

@import "path/your-reset";
// Your settings for Typesettings :)
$font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
$font-serif: Georgia, 'Times New Roman', serif;
$font-mono: 'Lucida Console', Monaco, monospace;
$text-color: #000;
$base-vertical-unit: 6px;
$base-line-multi: 4;
$base-font-size: 16px;
// This example is using Typesettings' default settings
// [1] 3 times the baseline grid value for margin-bottom.
// The second argument is the context font-size. In this case it is 1 step down in
// the modular scale.
//
// [2] Using an optional mixin, a 2px border bottom is set with padding bottom
// set to 3 times the baseline grid with 2px subtracted. By subtracting the 2px from
// the padding bottom, vertical rhythm is maintained.
//
// [3] Using an optional mixin, the line-height is set to 3 * baseline grid. Then
.your-module {
margin-bottom: 1.59075em; /* 18px */
border-color: #000;
border-style: solid;
border-bottom-width: 2px;
padding-bottom: 1.414em; /* 16px */
font-size: 0.70721em;
line-height: 1.59075; /* 18px (Okay, not pixel perfect, 17.9999999999px) */
}
@ianrose
ianrose / A-Pen-by-Ian-Rose.markdown
Created March 8, 2014 15:31
A Pen by Ian Rose.
@ianrose
ianrose / SassMeister-input-HTML.html
Created March 31, 2014 20:21
Generated by SassMeister.com.
<h3>Current Colors</h3>
<div class="current-one">one</div>
<div class="current-two">two</div>
<div class="current-three">three</div>
<div class="current-four">four</div>
<div class=current-five>five</div>
<div class="current-six">six</div>
<div class="current-seven">seven</div>
<div class="current-eight">eight</div>
<div class="current-nine">nine</div>
@ianrose
ianrose / SassMeister-input-HTML.html
Created April 2, 2014 18:00
Generated by SassMeister.com.
<h1>Il Conde</h1>
<p class="h5">By Joseph Conrad</p>
<h2 class="h3"><em>"Vedi Napoli e poi mori."</em></h2>
<p>The first time we got into conversation was in the National Museum in Naples, in the rooms on the ground floor containing the famous collection of bronzes from Herculaneum and Pompeii: that marvellous legacy of antique art whose delicate perfection has been preserved for us by the catastrophic fury of a volcano.</p>
<p>He addressed me first, over the celebrated Resting Hermes which we had been looking at side by side. He said the right things about that wholly admirable piece. Nothing profound. His taste was natural rather than cultivated. He had obviously seen many fine things in his life and appreciated them: but he had no jargon of a dilettante or the connoisseur. A hateful tribe. He spoke like a fairly intelligent man of the world, a perfectly unaffected gentleman.</p>
<p>We had known each other by sight for some few days past. Staying in the same hotel--good, but not extravagantly up to date--I
@ianrose
ianrose / SassMeister-input.scss
Created April 20, 2014 17:26
Generated by SassMeister.com.
// ----
// Sass (v3.2.19)
// Compass (v0.12.6)
// ----
.module {
font-size: 2em;
@media (min-width: 43.75em) {
font-size: 3em;
@ianrose
ianrose / SassMeister-input.scss
Created April 21, 2014 22:02
Generated by SassMeister.com.
// ----
// libsass (v0.7.0)
// ----
$ms-ratio1: 1.250; //major-third
$ms-ratio2: 1.5; //fifth
$base-size: 16px;
$ms-down1: round($base-size / $ms-ratio1);
$ms-down2: round($ms-down1 / $ms-ratio1);
@ianrose
ianrose / SassMeister-input.scss
Created April 21, 2014 22:05
Generated by SassMeister.com.
// ----
// libsass (v0.7.0)
// ----
$ms-ratio1: 1.250; //major-third
$ms-ratio2: 1.5; //fifth
$base-size: 16px;
$ms-down1: round($base-size / $ms-ratio1);
$ms-down2: round($ms-down1 / $ms-ratio1);