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
{ | |
"rules": { | |
"at-rule-empty-line-before": [ "always", { | |
except: [ "blockless-group", "first-nested" ], | |
ignore: ["after-comment"], | |
} ], | |
"block-closing-brace-newline-after": "always", | |
"block-closing-brace-newline-before": "always-multi-line", | |
"block-closing-brace-space-before": "always-single-line", | |
"block-no-empty": true, |
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
{ | |
"rules": { | |
"at-rule-empty-line-before": [ "always", { | |
"except": [ "blockless-group", "first-nested" ], | |
"ignore": ["after-comment"], | |
} ], | |
"block-closing-brace-newline-after": "always", | |
"block-closing-brace-newline-before": "always-multi-line", | |
"block-closing-brace-space-before": "always-single-line", | |
"block-no-empty": true, |
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 init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
<% var last = current.path[current.path.length -1] %> | |
<% function pathURI(currentPath) { | |
var pagePath; | |
for(var i=0; i< currentPath.length; i++) { | |
if(currentPath == 'index'){ | |
pagePath = url+'/'; | |
} else { | |
pagePath = url+'/'+currentPath[i]; | |
if(currentPath[i] !== last){ | |
'/' |
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
@import "path/your-reset.styl" | |
/* 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 is part of the _btn.scss | |
// | |
// Provides two different size buttons set in Ems that have the same amount of | |
// padding with pixel borders. | |
// | |
// [1] & [2] For the small button sets padding to 2 * $base-vertical-unit, | |
// which would be 12px in Ems. The small font size context variable is passed. | |
// | |
// [3] & [4] For the small button sets border top and bottom to 1px with | |
// (1 * $base-vertical-unit) - 1px. Which comes out to 1px border and 5px |
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
<div class="container"> | |
<div class="row"> | |
<div class="col col-xs-4"> | |
<p>content</p> | |
<div class="row"> | |
<div class="col col-xs-4"> | |
<div class="gutter"> | |
<p>content</p> | |
</div> | |
</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
<a href="#" class="article clearfix"> | |
<div class="title">5 Months Since Legalizing Marijuana, Here's What Colorado Looks Like</div> | |
</a> | |
--> | |
<a href="http://mic.com/articles/106182/congress-is-about-to-sneak-through-a-deal-that-would-obliterate-campaign-finance-rules" class="article clearfix"> | |
<img src="http://thumbs.mic.com/y11IfV2EVyXyah26cuPyUAdjobI=/92x369:3908x2217/175x115/s3.amazonaws.com/policymic-images/exkeaxaczqoailk0gowfllmv24ni2qp0cc0caw2awiox0gitt5dtptk5rd3w5cc3.jpg" class="image"> | |
<div class="title">Congress Is About to Sneak Through a Deal That Would Obliterate Campaign Finance Rules</div> | |
</a> |
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.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 { |