Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 4428636
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
17 changes: 0 additions & 17 deletions nikola/data/themes/bootstrap/assets/css/theme.css
Expand Up @@ -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;
}
Expand Down
19 changes: 0 additions & 19 deletions nikola/data/themes/bootstrap3/assets/css/theme.css
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4428636

Please sign in to comment.