Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/grid.html

Issue 29491561: Issue 5413 - Create basic style guide for website-defaults (Closed)
Patch Set: Formatting fixes Created Aug. 11, 2017, 11:08 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/content.html ('k') | pages/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/grid.html
===================================================================
--- a/pages/grid.html
+++ b/pages/grid.html
@@ -8,69 +8,34 @@
<li><a href="#tablet">Tablet</a></li>
<li><a href="#mobile">Mobile</a></li>
<li><a href="#reverse">Reverse</a></li>
<li><a href="#right-to-left">Right-to-left</a></li>
<li><a href="#reverse-and-right-to-left">Reverse & right-to-left</a></li>
</ol>
<h2 id="desktop">Desktop</h2>
-<div class="row">
- <div class="one-half column"><p class="inverse-text">One half</p></div>
- <div class="one-half column"><p class="inverse-text">One half</p></div>
-</div>
-<div class="row">
- <div class="one-third column"><p class="inverse-text">One third</p></div>
- <div class="two-thirds column"><p class="inverse-text">Two thirds</p></div>
-</div>
-<div class="row">
- <div class="one-fourth column"><p class="inverse-text">One fourth</p></div>
- <div class="three-fourths column"><p class="inverse-text">Three fourths</p></div>
-</div>
+<? include styleguide/grid/all-column-widths ?>
<h2 id="tablet">Tablet</h2>
<div class="tablet">
- <div class="row">
- <div class="one-half column"><p class="inverse-text">One half</p></div>
- </div>
- <div class="row">
- <div class="one-third column"><p class="inverse-text">One third</p></div>
- </div>
- <div class="row">
- <div class="one-fourth column"><p class="inverse-text">One fourth</p></div>
- <div class="one-fourth column"><p class="inverse-text">One fourth</p></div>
- </div>
+ <? include styleguide/grid/all-column-widths ?>
</div>
<h2 id="mobile">Mobile</h2>
<div class="mobile">
- <div class="row">
- <div class="one-half column"><p class="inverse-text">One half</p></div>
- </div>
- <div class="row">
- <div class="one-third column"><p class="inverse-text">One third</p></div>
- </div>
- <div class="row">
- <div class="one-fourth column"><p class="inverse-text">One fourth</p></div>
- </div>
+ <? include styleguide/grid/all-column-widths ?>
</div>
<h2 id="reverse">Reverse</h2>
-<div class="row reverse">
- <div class="one-half column"><p class="inverse-text">First</p></div>
- <div class="one-half column"><p class="inverse-text">Second</p></div>
+<div class="reverse">
+ <? include styleguide/grid/2-column ?>
</div>
<h2 id="right-to-left">Right-to-left</h2>
<div dir="rtl">
- <div class="row">
- <div class="one-half column"><p class="inverse-text">First</p></div>
- <div class="one-half column"><p class="inverse-text">Second</p></div>
- </div>
+ <? include styleguide/grid/2-column ?>
</div>
<h2 id="reverse-and-right-to-left">Reverse & right-to-left</h2>
-<div dir="rtl">
- <div class="row reverse">
- <div class="one-half column"><p class="inverse-text">First</p></div>
- <div class="one-half column"><p class="inverse-text">Second</p></div>
- </div>
+<div class="reverse" dir="rtl">
+ <? include styleguide/grid/2-column ?>
</div>
« no previous file with comments | « pages/content.html ('k') | pages/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld