break type into its own scss file

This commit is contained in:
connors 2014-02-08 12:31:47 -08:00
Родитель a9618771aa
Коммит dfbe38ffd5
4 изменённых файлов: 48 добавлений и 20 удалений

Просмотреть файл

@ -289,14 +289,24 @@ base_url: "../"
<p class="component-description">Use headings and paragraphs to title and describe sections of your app.</p> <p class="component-description">Use headings and paragraphs to title and describe sections of your app.</p>
<div class="component-example component-example-fullbleed"> <div class="component-example component-example-fullbleed">
<h1>Heading</h1> <h1>h1. Heading</h1>
<h2>h2. Heading</h2>
<h3>h3. Heading</h3>
<h4>h4. Heading</h4>
<h5>h5. Heading</h5>
<h6>h6. Heading</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco.</p> quis nostrud exercitation ullamco.</p>
</div> </div>
{% highlight html %} {% highlight html %}
<h1>Heading</h1> <h1>h1. Heading</h1>
<h2>h2. Heading</h2>
<h3>h3. Heading</h3>
<h4>h4. Heading</h4>
<h5>h5. Heading</h5>
<h6>h6. Heading</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco.</p> quis nostrud exercitation ullamco.</p>

44
dist/ratchet.css поставляемый
Просмотреть файл

@ -257,15 +257,6 @@ strong {
font-weight: 500; font-weight: 500;
} }
h1, h2, h3, h4, h5, h6, p {
margin: 10px 15px;
font-size: 14px;
}
p {
color: #777;
}
.content { .content {
position: fixed; position: fixed;
top: 0; top: 0;
@ -302,6 +293,41 @@ p {
float: right; float: right;
} }
h1, h2, h3, h4, h5, h6 {
margin: 10px 15px;
line-height: 1;
}
h1, .h1 {
font-size: 36px;
}
h2, .h2 {
font-size: 30px;
}
h3, .h3 {
font-size: 24px;
}
h4, .h4 {
font-size: 18px;
}
h5, .h5 {
font-size: 14px;
}
h6, .h6 {
font-size: 12px;
}
p {
margin: 10px 15px;
font-size: 14px;
color: #777;
}
.bar { .bar {
position: fixed; position: fixed;
right: 0; right: 0;

Просмотреть файл

@ -28,15 +28,6 @@ strong {
font-weight: $font-weight; font-weight: $font-weight;
} }
// Typography
h1, h2, h3, h4, h5, h6, p {
margin: 10px 15px;
font-size: 14px;
}
p {
color: #777;
}
// Wrapper to be used around all content not in .bar-title and .bar-tab // Wrapper to be used around all content not in .bar-title and .bar-tab
.content { .content {
position: fixed; position: fixed;

Просмотреть файл

@ -8,6 +8,7 @@
// Normalize & Base CSS // Normalize & Base CSS
@import "normalize.scss"; @import "normalize.scss";
@import "base.scss"; @import "base.scss";
@import "type.scss";
// Components // Components
@import "bars.scss"; @import "bars.scss";