Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
34 changes: 0 additions & 34 deletions src/sass/_theme_breadcrumbs.sass

This file was deleted.

68 changes: 19 additions & 49 deletions src/sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,10 @@
html
font-size: $base-font-size

.wy-affix
position: fixed
top: $gutter

.wy-menu
a:hover
text-decoration: none

.wy-menu-horiz
+clearfix
ul, li
display: inline-block
li:hover
background: rgba(255,255,255,.1)
li
&.divide-left
border-left: solid 1px hsl(0, 0%, 25%)
&.divide-right
border-right: solid 1px hsl(0, 0%, 25%)
a
height: $base-font-size * 2
display: inline-block
line-height: $base-font-size * 2
padding: 0 $base-font-size

.wy-menu-vertical
width: $nav-desktop-width

Expand Down Expand Up @@ -244,25 +223,6 @@ html
background-color: $link-color
color: $white

[data-menu-wrap]
+transition(all .2s ease-in)
position: absolute
opacity: 1
width: 100%
opacity: 0
&.move-center
left: 0
right: auto
opacity: 1
&.move-left
right: auto
left: -100%
opacity: 0
&.move-right
right: -100%
left: auto
opacity: 0

.wy-body-for-nav
background: $section-background-color

Expand Down Expand Up @@ -319,6 +279,19 @@ html
cursor: pointer
padding-top: inherit

.wy-breadcrumbs
+clearfix

.wy-breadcrumbs li
display: inline-block
&.wy-breadcrumbs-aside
float: right
a
display: inline-block
padding: 5px
&:first-child
padding-left: 0

.wy-nav-content-wrap
margin-left: $nav-desktop-width
background: $section-background-color
Expand All @@ -330,15 +303,6 @@ html
max-width: $nav-content-width
margin: auto

.wy-body-mask
position: fixed
width: 100%
height: 100%
background: rgba(0,0,0,.2)
display: none
z-index: $z-index-modal - 1
&.on
display: block
footer
color: $footer-color
p
Expand Down Expand Up @@ -379,6 +343,10 @@ footer
.genindextable li > ul
margin-left: $base-line-height

+media($mobile)
.wy-breadcrumbs li.wy-breadcrumbs-aside
display: none

+media($tablet)
.wy-body-for-nav
background: $section-background-color
Expand Down Expand Up @@ -420,5 +388,7 @@ footer
@media print
.rst-versions, footer, .wy-nav-side
display: none
.wy-breadcrumbs li.wy-breadcrumbs-aside
display: none
.wy-nav-content-wrap
margin-left: 0
1 change: 0 additions & 1 deletion src/sass/theme.sass
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
@import wyrm_core/type

// Theme specific styles. These are likely the files you want to edit.
@import theme_breadcrumbs
@import theme_layout
@import theme_badge
@import theme_rst
Expand Down