Skip to content

Instantly share code, notes, and snippets.

@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);
@ianrose
ianrose / SassMeister-input.scss
Created May 12, 2014 18:02
Generated by SassMeister.com.
// ----
// libsass (v0.7.0)
// ----
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
// Extra small screen / phone
//** Deprecated `$screen-xs` as of v3.0.1
@ianrose
ianrose / gist:517123be3b8216bad36d
Last active August 29, 2015 14:01
cta center horizontally
.cta-wrapper {
position: absolute;
width: 100%;
top: /*what ever is lower thirds"*/;
text-align: center;
}
.cta {
display: inline-block;
}
@ianrose
ianrose / typesettings-ms-example.scss
Created June 4, 2014 03:16
typesettings-ms-example.scss
$ms-ratio: 1.125; // This ratio, for example, will give you smaller variations between modular scale values.
$ms-down1: $base-em-font-size / $ms-ratio;
$ms-down2: $ms-down1 /$ms-ratio;
$ms-down3: $ms-down2 / $ms-ratio;
$ms-up1: $base-em-font-size * $ms-ratio;
$ms-up2: $ms-up1 * $ms-ratio;
$ms-up3: $ms-up2 * $ms-ratio;
$ms-up4: $ms-up3 * $ms-ratio;
@ianrose
ianrose / SassMeister-input-HTML.html
Created June 13, 2014 19:45
Generated by SassMeister.com.
<div class='grid_panel-ad'>
<div class='container'>
grid_panel-ad
<div class='row'>
<div class='col-md-7'>
<div class='content'>Top Story</div>
</div>
<div class='col-md-4'>
<div class='content'>Headlines</div>
</div>
@ianrose
ianrose / SassMeister-input-HTML.html
Created July 21, 2014 19:43
Generated by SassMeister.com.
<div class="grid_default">
<div class="container-gutter">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="content">content</div>
</div>
<div class="col-md-6">
<div class="content">content</div>
</div>
@ianrose
ianrose / SassMeister-input.scss
Created October 27, 2014 16:39
Generated by SassMeister.com.
// ----
// Sass (v3.4.6)
// Compass (v1.0.1)
// ----
$breakpoint: 480px, 768px, 992px;
// Sets background color when the screen's width is
// the 2nd list item $breapoints, 768px
div {