File tree Expand file tree Collapse file tree 4 files changed +22
-11
lines changed Expand file tree Collapse file tree 4 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 55
55
}
56
56
57
57
.navbar-burger span {
58
- background-color : var ( --navbar-font-color ) ;
58
+ background-color : white ;
59
59
height : 1.5px ;
60
60
width : 1rem ;
61
61
}
Original file line number Diff line number Diff line change 1
1
; ( function ( ) {
2
2
'use strict'
3
3
4
- // if (document.querySelector('.sectionPurple')) {
5
- // console.log('sectionPurple exists')
6
- // document.querySelector('.nav-container').style.backgroundColor = 'white'
7
- // }
8
-
9
4
var SECT_CLASS_RX = / ^ s e c t ( \d ) $ /
10
5
11
6
var navContainer = document . querySelector ( '.nav-container' )
Original file line number Diff line number Diff line change 1
1
; ( function ( ) {
2
2
'use strict'
3
+ console . log ( 'mobile navbar' )
3
4
4
5
var navbarBurger = document . querySelector ( '.navbar-burger' )
5
- // var sectionsNavbarBurger = document.querySelector('.sections-navbar-burger')
6
-
7
- // if (!sectionsNavbarBurger) return
8
- // sectionsNavbarBurger.addEventListener('click', toggleNavbarMenu.bind(sectionsNavbarBurger))
9
-
10
6
if ( ! navbarBurger ) return
11
7
navbarBurger . addEventListener ( 'click' , toggleNavbarMenu . bind ( navbarBurger ) )
12
8
22
18
if ( actualMaxHeight !== expectedMaxHeight ) menu . style . maxHeight = expectedMaxHeight + 'px'
23
19
}
24
20
}
21
+
22
+ // window.addEventListener('resize', removePadding)
23
+ // function removePadding () {
24
+ // var sectionBody = document.querySelector('.sections-body')
25
+ // if (sectionBody) {
26
+ // console.log('section-body')
27
+ // if (window.innerWidth < 800) {
28
+ // console.log('below 600')
29
+ // var body = document.querySelector('.sections-body')
30
+ // body.style.paddingTop = ''
31
+ // } else {
32
+ // body.style.paddingTop = '3.5rem'
33
+ // }
34
+ // } else {
35
+ // console.log('section-body not found')
36
+ // }
37
+ // }
25
38
} ) ( )
Original file line number Diff line number Diff line change 4
4
<a href =" {{{ relativize this }}} " class =" home-link{{ #if @root.page.home }} is-current{{ /if }} " ></a >
5
5
{{ /with }}
6
6
{{> breadcrumbs }}
7
+ <span class =" sections-docu-title" >
8
+ {{ site.title }}
9
+ </span >
7
10
{{> page-versions }}
8
11
{{ #if (and page.fileUri (not env.CI ))}}
9
12
<div class =" edit-this-page" ><a href =" {{ page.fileUri }} " >Edit this Page</a ></div >
You can’t perform that action at this time.
0 commit comments