Skip to content

Commit 142fcfb

Browse files
committed
Formatting edit: flattened sections to match the style I settled on for Image Values.
1 parent d0a0219 commit 142fcfb

1 file changed

Lines changed: 23 additions & 28 deletions

File tree

css3-flexbox/Overview.new.src.html

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ <h2 class="no-num no-toc" id="table">Table of contents</h2>
6161

6262
<hr>
6363

64-
<div>
65-
<h2 id="overview">Overview</h2>
64+
<!-- ====================================================================== -->
65+
66+
<h2 id="overview">
67+
Overview</h2>
6668

6769
<p>CSS 2.1 defined four layout modes, algorithms which determine the size and
6870
position of boxes based on their relationships with their sibling and ancestor
@@ -110,12 +112,10 @@ <h2 id="overview">Overview</h2>
110112
also be this height plus any margins around the buttons.</p>
111113
</div>
112114

113-
</div>
114-
115115
<!-- ====================================================================== -->
116116

117-
<div>
118-
<h2 id=display-flexbox>New values for 'display' property</h2>
117+
<h2 id=display-flexbox>
118+
New values for 'display' property</h2>
119119

120120
<table class="propdef">
121121
<tbody>
@@ -170,12 +170,11 @@ <h2 id=display-flexbox>New values for 'display' property</h2>
170170
<li>'vertical-align' has no effect on a flexbox child</li>
171171
<li class=issue>[Others?]</li>
172172
</ul>
173-
</div>
174173

175174
<!-- ====================================================================== -->
176175

177-
<div>
178-
<h2 id=flex-direction>Flexbox Direction: the 'flex-direction' property</h2>
176+
<h2 id=flex-direction>
177+
Flexbox Direction: the 'flex-direction' property</h2>
179178

180179
<table class=propdef>
181180
<tbody>
@@ -264,12 +263,11 @@ <h2 id=flex-direction>Flexbox Direction: the 'flex-direction' property</h2>
264263
a horizontal flexbox, or the height in a vertical flexbox. The <dfn>transverse size</dfn>
265264
is the height of the flexbox child in a horizontal flexbox, or the width in a
266265
vertical flexbox.</p>
267-
</div>
268266

269267
<!-- ====================================================================== -->
270268

271-
<div>
272-
<h2 id=flex-order>Display Order: the 'flex-order' property</h2>
269+
<h2 id=flex-order>
270+
Display Order: the 'flex-order' property</h2>
273271

274272
<p>Flexbox children are, by default, displayed and laid out in the same order
275273
as they appear in the source document. The 'flex-order' property may be used
@@ -332,12 +330,11 @@ <h2 id=flex-order>Display Order: the 'flex-order' property</h2>
332330

333331
<pre><code>span2 span4 span1 span3</code></pre>
334332
</div>
335-
</div>
336333

337334
<!-- ====================================================================== -->
338335

339-
<div>
340-
<h2 id=flexibility>Flexibility</h2>
336+
<h2 id=flexibility>
337+
Flexibility</h2>
341338

342339
<p>The defining aspect of Flexbox Layout is the ability to make various lengths
343340
of the flexbox children flexible. Flexible lengths can be used for the 'width',
@@ -417,12 +414,12 @@ <h3 id=flex-function>The ''flex()'' function</h3>
417414
<p class=issue>TODO: Yank some examples from my original blog post and/or
418415
the HTML5ROCKS article.</p>
419416
</div>
420-
</div>
421417

422418
<!-- ====================================================================== -->
423419

424-
<div>
425-
<h2 id=flex-pack>The 'flex-pack' property</h2>
420+
<h2 id=flex-pack>
421+
The 'flex-pack' property</h2>
422+
426423
<table class=propdef>
427424
<tr>
428425
<th>Name:
@@ -485,7 +482,6 @@ <h2 id=flex-pack>The 'flex-pack' property</h2>
485482
<div class=example>
486483
<p class=issue>TODO: Examples showing the four values.</p>
487484
</div>
488-
</div>
489485

490486
<!-- ====================================================================== -->
491487
<!-- Aborted new introduction to flexboxes
@@ -531,8 +527,8 @@ <h2 id=flex-pack>The 'flex-pack' property</h2>
531527
-->
532528
<!-- ====================================================================== -->
533529

534-
<div>
535-
<h2 id=flex-align>The 'flex-align' property</h2>
530+
<h2 id=flex-align>
531+
The 'flex-align' property</h2>
536532

537533
<table class=propdef>
538534
<tr>
@@ -583,22 +579,21 @@ <h2 id=flex-align>The 'flex-align' property</h2>
583579

584580
<p>The precise effects that 'flex-align' has on alignment and free space
585581
distribution are detailed in a later chapter.</p>
586-
</div>
587582

588583
<!-- ====================================================================== -->
589584

590-
<div>
591-
<h2 id=free-space-algorithm>Free Space Calculation and Distribution</h2>
585+
<h2 id=free-space-algorithm>
586+
Free Space Calculation and Distribution</h2>
592587

593588
<p class="issue">TODO: to be completed. I've done it <a href="http://www.xanthir.com/blog/b45o0">once before</a>, I just need
594589
to make the necessary modifications to accomodate the differences here, once we've
595590
decided on what changes to make.</p>
596-
</div>
597591

598592
<!-- ====================================================================== -->
599593

600-
<div>
601-
<h2 id="inlinesAndBlocks">Relationship to Inlines and blocks</h2>
594+
<h2 id="inlinesAndBlocks">
595+
Relationship to Inlines and blocks</h2>
596+
602597
<div class=issue>
603598
<p>This section seems necessary, but not the precise way it's written. I
604599
need to identify precisely what data needs to be exposed both by the containing
@@ -657,7 +652,7 @@ <h2 id="inlinesAndBlocks">Relationship to Inlines and blocks</h2>
657652
box.
658653
</p>
659654
-->
660-
</div>
655+
661656

662657

663658
<hr title="Separator from footer">

0 commit comments

Comments
 (0)