Browse Source

adding better support for headings and paragraphs

pull/249/head
connors 11 years ago
parent
commit
ab1afa5c7d
  1. 16
      components.html
  2. 11
      dist/ratchet.css
  3. 5
      docs-assets/css/docs.css
  4. 11
      lib/sass/base.scss
  5. 5
      lib/sass/docs.scss

16
components.html

@ -308,6 +308,10 @@ base_url: "../"
<li class="table-view-divider">Divider</li>
<li class="table-view-cell">Item 3</li>
</ul>
<h1>Heading</h1>
<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,
quis nostrud exercitation ullamco.</p>
{% endhighlight %}
</article>
@ -660,9 +664,9 @@ base_url: "../"
</li>
</ul>
<div class="card">
<p id="item1mobile" class="segmented-control-item active">Item 1</p>
<p id="item2mobile" class="segmented-control-item">Item 2</p>
<p id="item3mobile" class="segmented-control-item">Item 3</p>
<span id="item1mobile" class="segmented-control-item active">Item 1</span>
<span id="item2mobile" class="segmented-control-item">Item 2</span>
<span id="item3mobile" class="segmented-control-item">Item 3</span>
</div>
</div>
@ -679,9 +683,9 @@ base_url: "../"
</li>
</ul>
<div class="card">
<p id="item1mobile" class="segmented-control-item active">Item 1</p>
<p id="item2mobile" class="segmented-control-item">Item 2</p>
<p id="item3mobile" class="segmented-control-item">Item 3</p>
<span id="item1mobile" class="segmented-control-item active">Item 1</span>
<span id="item2mobile" class="segmented-control-item">Item 2</span>
<span id="item3mobile" class="segmented-control-item">Item 3</span>
</div>
</div>
{% endhighlight %}

11
dist/ratchet.css vendored

@ -257,6 +257,17 @@ strong {
font-weight: 500;
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 15px;
font-size: 14px;
}
p {
margin: 10px 15px;
font-size: 14px;
color: #777;
}
.content {
position: fixed;
top: 0;

5
docs-assets/css/docs.css

@ -396,9 +396,8 @@ body {
margin-right: 10px;
margin-left: 10px;
}
#segmentedControllersInDevice .card p {
padding-right: 10px;
padding-left: 10px;
#segmentedControllersInDevice .card span {
padding: 10px;
}
#badgesInDevice {

11
lib/sass/base.scss

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

5
lib/sass/docs.scss

@ -415,9 +415,8 @@ body {
margin-right: 10px;
margin-left: 10px;
}
.card p {
padding-right: 10px;
padding-left: 10px;
.card span {
padding: 10px;
}
}

Loading…
Cancel
Save