Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div role="navigation" aria-label="{{ _('Breadcrumbs') }}">
<ul class="wy-breadcrumbs">
{%- block breadcrumbs %}
<li><a href="{{ pathto(master_doc) }}" class="icon icon-home"></a> &raquo;</li>
<li><a href="{{ pathto(master_doc) }}" class="fa fa-home"></a> &raquo;</li>
{%- for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{%- endfor %}
Expand Down
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
{%- if logo and theme_logo_only %}
<a href="{{ pathto(master_doc) }}">
{%- else %}
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }}
<a href="{{ pathto(master_doc) }}" class="fa fa-home"> {{ project }}
{%- endif %}

{%- if logo %}
Expand Down
7 changes: 0 additions & 7 deletions src/sass/_theme_badge.sass
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
color: $section-background-color
.fa-book
float: left
.icon-book
float: left
&.rst-out-of-date
background-color: $red
color: $white
Expand Down Expand Up @@ -66,18 +64,13 @@
border: none
max-width: $nav-desktop-width
max-height: 90%
.icon-book
float: none
line-height: 30px
.fa-book
float: none
line-height: 30px
&.shift-up .rst-current-version
text-align: right
.fa-book
float: left
.icon-book
float: left
> .rst-current-version
width: auto
height: 30px
Expand Down
15 changes: 0 additions & 15 deletions src/sass/_theme_badge_fa.sass
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,14 @@ ul.fas
.fa-book:before
content: "\f02d"

.icon-book:before
content: "\f02d"

.fa-caret-down:before
content: "\f0d7"

.icon-caret-down:before
content: "\f0d7"

.fa-caret-up:before
content: "\f0d8"

.icon-caret-up:before
content: "\f0d8"

.fa-caret-left:before
content: "\f0d9"

.icon-caret-left:before
content: "\f0d9"

.fa-caret-right:before
content: "\f0da"

.icon-caret-right:before
content: "\f0da"
24 changes: 0 additions & 24 deletions src/sass/_theme_font_awesome_compatibility.sass

This file was deleted.

2 changes: 1 addition & 1 deletion src/sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ html
border-radius: 0
max-width: 100% // shrink on mobile, if appropriate
background: rgba(0, 0, 0, 0) // make hover background of parent show up properly
&.icon
&.fa
img.logo
margin-top: 0.85em // space it away from the title text
> div.version
Expand Down
1 change: 0 additions & 1 deletion src/sass/theme.sass
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@
@import theme_badge
@import theme_rst
@import theme_mathjax
@import theme_font_awesome_compatibility
@import theme_font_local