0
Fork 0
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:
John O'Nolan 2014-05-25 14:40:08 +02:00
parent 85420d39ff
commit c73030f366

View file

@ -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