Sha256: 69e70b9aa02831d0a41c090b2a4d40b2bb6d9a1a3ee94d81418140fdf59a4bb7

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

@import "typography-config";

/******************************************************
* Typography
******************************************************/

$text-color-primary: rgba(#000000, 0.9);
$text-color-secondary: rgba(#000000, 0.5);
$text-color-tertiary: rgba(#000000, 0.35);
$normal-margin: 12px;

body {
	@include ss-set-responsive-font-size($font-copy, 0);
	font-weight: $font-copy-weight;
	color: $text-color-primary;
}

.h1, .h2, .h3, .h4, .h5, .h6 { 
	font-weight: $font-heading-weight;
}

.h1 { 
	@include ss-set-responsive-font-size($font-heading, 4);
} 
  
.h2 { 
	@include ss-set-responsive-font-size($font-heading, 3);
} 

.h3 { 
	@include ss-set-responsive-font-size($font-heading, 2);
}

.h4 { 
	@include ss-set-responsive-font-size($font-heading, 1);
}

.h5 { 
	@include ss-set-responsive-font-size($font-heading, 0);
}
 
.h6 { 
	@include ss-set-responsive-font-size($font-heading, -1);
}

.h1, .h2, .h3, .h4, .h5, .h6, p, ul, ol, li, small { 
	margin-top: 0; 
	margin-bottom: $normal-margin; 
}

.lead {
	@include ss-set-responsive-font-size($font-copy, 1);
}

p {
	font-size: inherit;
	line-height: inherit;
}

small, .footnote {
	@include ss-set-responsive-font-size($font-copy, -1); 
}

a {
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

a:hover {
	color: red;
}

a:active {
	color: red;
}


em {
	font-style: italic; 
}

.text-secondary { color: $text-color-secondary; }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sane-scale-0.9 templates/project/sass/_typography.scss
sane-scale-0.7 templates/project/sass/_typography.scss
sane-scale-0.6 templates/project/sass/_typography.scss
sane-scale-0.5.1 templates/project/sass/_typography.scss