File tree Expand file tree Collapse file tree 6 files changed +5
-10
lines changed Expand file tree Collapse file tree 6 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 163
163
})
164
164
165
165
window .addEventListener (' scroll' , function () {
166
- var offset = 20
167
- if (window .pageYOffset > offset && ! topScrolled) {
166
+ if (window .pageYOffset > 165 && ! topScrolled) {
168
167
topScrolled = true
169
168
document .getElementById (' mobile-bar' ).classList .remove (' top' )
170
- } else if (window .pageYOffset <= offset && topScrolled) {
169
+ } else if (window .pageYOffset <= 165 && topScrolled) {
171
170
topScrolled = false
172
171
document .getElementById (' mobile-bar' ).classList .add (' top' )
173
172
}
Original file line number Diff line number Diff line change 1
1
<% var isIndex = page .path === ' index.html' %>
2
2
<% var isThemes = page .path === ' resources/themes.html' %>
3
- <% var hasVueSchoolBanner = true %>
3
+ <% var hasVueSchoolBanner = false %>
4
4
5
5
<!DOCTYPE html>
6
6
<html lang =" en" class =" with-v3-banner" >
55
55
<link href =" https://fonts.gstatic.com" rel =" preconnect" crossorigin >
56
56
<link href =" https://maxcdn.bootstrapcdn.com" rel =" preconnect" crossorigin >
57
57
58
- <link href =" https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto|Roboto Mono&display=swap" rel =" stylesheet" >
58
+ <link href =" https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono&display=swap" rel =" stylesheet" >
59
59
<link href =" https://fonts.googleapis.com/css?family=Dosis:500&text=Vue.js&display=swap" rel =" stylesheet" >
60
60
61
61
<link href =" https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel =" stylesheet" >
Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ body.docs
143
143
display : none
144
144
box-shadow : 0 0 2px rgba (0 ,0 ,0 ,.25 )
145
145
pointer-events : none
146
- transition : background-color 0.25s ease-in
147
146
> *
148
147
pointer-events : auto
149
148
.menu-button
Original file line number Diff line number Diff line change 4
4
@import "_sponsors-index"
5
5
@import "_modal"
6
6
@import "_themes"
7
- @import "_vueschool.styl"
8
7
9
8
$width = 900px
10
9
$space = 40px
Original file line number Diff line number Diff line change 16
16
@import "_scrimba"
17
17
@import "_vue-mastery"
18
18
@import "_themes"
19
- @import "_vueschool.styl"
20
19
21
20
#header
22
21
box-shadow : 0 0 1px rgba (0 ,0 ,0 ,.25 )
Original file line number Diff line number Diff line change 3
3
initMobileMenu ( )
4
4
initVideoModal ( )
5
5
initNewNavLinks ( )
6
- initVueSchoolBanner ( )
7
6
if ( PAGE_TYPE ) {
8
7
initVersionSelect ( )
9
8
initApiSpecLinks ( )
441
440
if ( dataTypeAttr && dataTypeAttr . nodeValue === 'theme-product-title' ) {
442
441
return 300
443
442
}
444
- return localStorage . getItem ( 'VS_SUMMER_BANNER_CLOSED' ) ? 0 : 80
443
+ return 0
445
444
}
446
445
} )
447
446
}
You can’t perform that action at this time.
0 commit comments