1 #permalink Globals
Various global classes which can be used on any element
globals.css, line 1
1.1 #permalink .first / .last
Remove the prepending or appending margin of a element. Declarative form of using :first-child and :last-child in CSS
- Item
- Item
- Item
Markup
<ul class="list">
<li class="first">Item</li>
<li>Item</li>
<li class="last">Item</li>
</ul>
globals.css, line 11
1.2 #permalink .floatl / .floatr / .clear
Savely use floats on any element and clear before and after the wrapping container
Markup
<div class="clear">
<div class="floatl">Left</div>
<div class="floatr">Right</div>
</div>
globals.css, line 34
1.3 #permalink .alignl / .alignr / .alignc
Align the text contents of a container to the left, to the right or center them
Left aligned
Right aligned
Centered
Markup
<p class="alignl">
Left aligned
</p>
<p class="alignr">
Right aligned
</p>
<p class="alignc">
Centered
</p>
globals.css, line 65
1.4 #permalink .pagesize
Restricts the maximum width a element can have and centers it if the surrounding space is big enough to do so. The example shows a common use case, where you want the section to span the whole surface area while the content should not exceed a certain width
Markup
<div class="section">
<div class="pagesize {modifiers}">
Content
</div>
</div>
globals.css, line 97
1.5 #permalink .hide
Sets the display property of a element to "hidden" and therefor changes the elements state to invisible. Various modifier classes allow to hide the element at different screen dimensions from 500px through to 1200px in 100px steps.
Markup
<span class="hide {modifiers}">Element</span>
globals.css, line 124
1.6 #permalink .block
Sets the display property of a element to "block" and therefor changes the elements state to a block level. Various modifier classes allow alter the element at different screen dimensions from 500px through to 1200px in 100px steps.
Markup
<span class="block {modifiers}">Element</span>
globals.css, line 197
1.7 #permalink .iblock
Sets the display property of a element to "inline-block" and therefor changes the elements state to a inline-block level. Various modifier classes allow alter the element at different screen dimensions from 500px through to 1200px in 100px steps.
Markup
<span class="iblock {modifiers}">Element</span>
globals.css, line 270