Skip to content
Permalink
Browse files
Remove the h1..h6 anchor hack in bootstrap(3).
The hack was breaking more than it was fixing.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 7, 2015
1 parent 7b24dc7 commit 44286362eca9a74539b4abb38ffd66687be2ce36
@@ -91,23 +91,6 @@ article.post-micro {
font-size: 1.5em;
}

/* fix anchors for headers */
h1, h2, h3 {
margin-top: -40px;
padding-top: 60px;
}

h4, h5, h6 {
margin-top: -50px;
padding-top: 60px;
}

h1.panel-title, h2.panel-title, h3.panel-title, h4.panel-title, h5.panel-title, h6.panel-title {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
}

.image-block {
display: inline-block;
}
@@ -92,25 +92,6 @@ article.post-micro {
font-size: 1.5em;
}

/* fix anchors for headers */
h1, h2, h3 {
margin-top: -40px;
padding-top: 60px;
}

h4, h5, h6 {
margin-top: -50px;
padding-top: 60px;
}

h1.panel-title, h2.panel-title, h3.panel-title, h4.panel-title, h5.panel-title, h6.panel-title,
h1.list-group-item-heading, h2.list-group-item-heading, h3.list-group-item-heading, h4.list-group-item-heading, h5.list-group-item-heading, h6.list-group-item-heading,
h1.media-heading, h2.media-heading, h3.media-heading, h4.media-heading, h5.media-heading, h6.media-heading,
h1.modal-title, h2.modal-title, h3.modal-title, h4.modal-title, h5.modal-title, h6.modal-title {
margin-top: 0;
padding-top: 0;
}

.image-block {
display: inline-block;
}

0 comments on commit 4428636

Please sign in to comment.