mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-15 02:42:01 -05:00
Compare commits
5
Commits
3.0.0
...
blendify/icons
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d43d717f1b | ||
|
|
e298785e16 | ||
|
|
c45353420b | ||
|
|
abde3783f6 | ||
|
|
e232393687 |
No files matched your search
@@ -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> »</li>
|
||||
<li><a href="{{ pathto(master_doc) }}" class="fa fa-home"></a> »</li>
|
||||
{%- for doc in parents %}
|
||||
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> »</li>
|
||||
{%- endfor %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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
|
||||
@@ -66,9 +64,6 @@
|
||||
border: none
|
||||
max-width: $nav-desktop-width
|
||||
max-height: 90%
|
||||
.icon-book
|
||||
float: none
|
||||
line-height: 30px
|
||||
.fa-book
|
||||
float: none
|
||||
line-height: 30px
|
||||
@@ -76,8 +71,6 @@
|
||||
text-align: right
|
||||
.fa-book
|
||||
float: left
|
||||
.icon-book
|
||||
float: left
|
||||
> .rst-current-version
|
||||
width: auto
|
||||
height: 30px
|
||||
|
||||
@@ -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"
|
||||
@@ -1,24 +0,0 @@
|
||||
.icon
|
||||
@extend .fa
|
||||
.icon-home
|
||||
@extend .fa-home
|
||||
.icon-search
|
||||
@extend .fa-search
|
||||
.icon-book
|
||||
@extend .fa-book
|
||||
.icon-caret-down
|
||||
@extend .fa-caret-down
|
||||
.icon-github
|
||||
@extend .fa-github
|
||||
.icon-bitbucket
|
||||
@extend .fa-bitbucket
|
||||
.icon-gitlab
|
||||
@extend .fa-gitlab
|
||||
.icon-fire
|
||||
@extend .fa-fire
|
||||
.icon-circle-arrow-right
|
||||
@extend .fa-arrow-circle-right
|
||||
.icon-circle-arrow-left
|
||||
@extend .fa-arrow-circle-left
|
||||
.icon-link
|
||||
@extend .fa-link
|
||||
@@ -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
|
||||
|
||||
@@ -46,5 +46,4 @@
|
||||
@import theme_badge
|
||||
@import theme_rst
|
||||
@import theme_mathjax
|
||||
@import theme_font_awesome_compatibility
|
||||
@import theme_font_local
|
||||
Reference in new issue
Block a user