Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Update comments format
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkozal committed Jan 2, 2015
1 parent aa11366 commit 10938a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 28 deletions.
12 changes: 2 additions & 10 deletions core/_base.sass
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/*
* Remove margin and padding on base elements
*/

h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, hr,
blockquote, pre, table, th, td,
form, fieldset, caption, legend
margin: 0
padding: 0

/*
* Remove margin and padding on base elements
*/

body
@include hp-font-size($hp-base-font-size)

Expand All @@ -28,12 +20,12 @@ h3
h4, h5, h6
@include hp-font-size-step(0)

p, ul, ol, dl, blockquote, pre, table
p, ul, ol, dl, hr,
blockquote, pre, table
margin-bottom: $hp-spacing-unit

hr
margin-top: -1px
margin-bottom: $hp-spacing-unit
border: 1px solid

ul ul, ol ol, ul ol, ol ul
Expand Down
5 changes: 1 addition & 4 deletions core/_functions.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* Private
*/

// private
@function hp-vertical-rhythm-exponent($base, $exponent)
@if pow(2, 2) == 4
@return pow($base, $exponent)
Expand Down
5 changes: 1 addition & 4 deletions core/_settings.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ $hp-base-font-size: 16 !default
$hp-base-line-height: 1.4 !default
$hp-vertical-align-factor: 1.5 !default

/*
* Constants - don't change
*/

// Constants - don't change
$hp-font-size-factor: 16
$hp-spacing-unit: round($hp-base-font-size * $hp-base-line-height) / $hp-font-size-factor * 1rem
12 changes: 2 additions & 10 deletions test/hocus-pocus.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* Constants - don't change
*/
/* Private
*/
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
Expand Down Expand Up @@ -374,17 +370,13 @@ img {
* http://www.gridlover.net
* https://github.com/hiulit/Sassy-Gridlover
*/
/* Remove margin and padding on base elements
*/
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, hr,
blockquote, pre, table, th, td,
form, fieldset, caption, legend {
margin: 0;
padding: 0; }

/* Remove margin and padding on base elements
*/
body {
font-size: 1rem;
line-height: 1.375rem; }
Expand Down Expand Up @@ -413,12 +405,12 @@ h4, h5, h6 {
margin-bottom: 1.375rem;
margin-top: 1.375rem; }

p, ul, ol, dl, blockquote, pre, table {
p, ul, ol, dl, hr,
blockquote, pre, table {
margin-bottom: 1.375rem; }

hr {
margin-top: -1px;
margin-bottom: 1.375rem;
border: 1px solid; }

ul ul, ol ol, ul ol, ol ul {
Expand Down

0 comments on commit 10938a9

Please sign in to comment.