- @
- @
This file contains 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
@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 file contains 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
// 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 |
This file contains 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
.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) */ | |
} |
This file contains 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
<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> |
This file contains 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>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 |
This file contains 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
// ---- | |
// Sass (v3.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
.module { | |
font-size: 2em; | |
@media (min-width: 43.75em) { | |
font-size: 3em; |
This file contains 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 (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); |
This file contains 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 (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); |
OlderNewer