mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
New hgroup utility class
This commit is contained in:
parent
85420d39ff
commit
c73030f366
1 changed files with 9 additions and 0 deletions
|
@ -61,11 +61,20 @@
|
|||
.clearfix:after { clear: both; }
|
||||
.clearfix { *zoom: 1; }
|
||||
|
||||
// to vertically center elements whose parent element is display: table
|
||||
.vertical {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// for <p> tags under <h> tags which should cuddle like lovers
|
||||
.hgroup {
|
||||
margin-bottom: 1.6em;
|
||||
|
||||
h1, h2, h3,
|
||||
h4, h5, h6, p { margin: 0; }
|
||||
}
|
||||
|
||||
|
||||
/* ==========================================================================
|
||||
Global Styles
|
||||
|
|
Loading…
Reference in a new issue