Skip to content

Commit

Permalink
Don't underline sidebar badges/buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Sep 6, 2018
1 parent 33cbf7d commit 9c1fdac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alabaster/about.html
Expand Up @@ -31,7 +31,7 @@ <h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1>
{% set path = theme_travis_button %}
{% endif %}
<p>
<a href="https://travis-ci.org/{{ path }}">
<a class="badge" href="https://travis-ci.org/{{ path }}">
<img
alt="https://secure.travis-ci.org/{{ path }}.svg?branch={{ theme_badge_branch }}"
src="https://secure.travis-ci.org/{{ path }}.svg?branch={{ theme_badge_branch }}"
Expand All @@ -47,7 +47,7 @@ <h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1>
{% set path = theme_codecov_button %}
{% endif %}
<p>
<a href="https://codecov.io/github/{{ path }}">
<a class="badge" href="https://codecov.io/github/{{ path }}">
<img
alt="https://codecov.io/github/{{ path }}/coverage.svg?branch={{ theme_badge_branch }}"
src="https://codecov.io/github/{{ path }}/coverage.svg?branch={{ theme_badge_branch }}"
Expand Down
8 changes: 8 additions & 0 deletions alabaster/static/alabaster.css_t
Expand Up @@ -221,6 +221,14 @@ div.sphinxsidebar hr {
width: 50%;
}

div.sphinxsidebar .badge {
border-bottom: none;
}

div.sphinxsidebar .badge:hover {
border-bottom: none;
}

/* -- body styles ----------------------------------------------------------- */

a {
Expand Down

0 comments on commit 9c1fdac

Please sign in to comment.