Compare commits

...
Author SHA1 Message Date
Aaron Carlisle f2cdcecea9 Merge branch 'master' into blendify/cleanup-sass 2021-03-01 09:53:37 -05:00
Aaron Carlisle 51b5fe20f0 Cleanup: Move Breadcrumbs to layout and clean up unused rules
I moved breadcrumbs to the rest of the layout as it seems to belong 
better here.
I also went through and removed some unused rules.

These changes can be split up into two patchs if needed.
2021-02-26 00:32:57 -05:00
3 changed files with 19 additions and 84 deletions

No files matched your search

-34
View File
@@ -1,34 +0,0 @@
.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
code
padding: 5px
border: none
background: none
&.literal
color: $text-color
.wy-breadcrumbs-extra
margin-bottom: 0
color: $text-light
font-size: 80%
display: inline-block
+media($mobile)
.wy-breadcrumbs-extra
display: none
.wy-breadcrumbs li.wy-breadcrumbs-aside
display: none
@media print
.wy-breadcrumbs li.wy-breadcrumbs-aside
display: none
+19 -49
View File
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
View File
@@ -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