File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 23
23
24
24
</head >
25
25
<body class =" <%- isIndex ? '' : 'docs' -%>" >
26
- <div id =" mobile-bar" data-bg-text =" 高速上手 C++ 11/14/17/20" <%- isIndex ? ' class="top"' : ' ' % >>
27
- <a class =" menu-button" ></a >
28
- <a class =" logo" href =" /modern-cpp/" ></a >
29
- </div >
26
+ <% if (page .type == ' book-en-us' ) { % >
27
+ < div id= " mobile-bar" data- bg- text= " C++ 11/14/17/20 On the Fly" < %- isIndex ? ' class="top"' : ' ' % >>
28
+ < a class = " menu-button" >< / a>
29
+ < a class = " logo" href= " /modern-cpp/" >< / a>
30
+ < / div>
31
+ < % } else {% >
32
+ < div id= " mobile-bar" data- bg- text= " 高速上手 C++ 11/14/17/20" < %- isIndex ? ' class="top"' : ' ' % >>
33
+ < a class = " menu-button" >< / a>
34
+ < a class = " logo" href= " /modern-cpp/" >< / a>
35
+ < / div>
36
+ < % } %>
30
37
<% - partial (' partials/header' ) %>
31
38
<% if (! isIndex) { % >
32
39
< div id= " main" class = " fix-sidebar" >
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ body.docs
125
125
z-index : 100
126
126
display : none
127
127
box-shadow : 0 0 2px rgba (0 ,0 ,0 ,.25 )
128
+ font-size : 0.9em
128
129
.menu-button
129
130
position : absolute
130
131
width : 24px
@@ -137,7 +138,7 @@ body.docs
137
138
position : absolute
138
139
width : 25px
139
140
height : 30px
140
- background : url (../assets /cover-2nd .png ) center center no-repeat
141
+ background : url (../assets /cover-2nd-en .png ) center center no-repeat
141
142
background-size : auto 100%
142
143
top : 12px
143
144
right : 12px
You can’t perform that action at this time.
0 commit comments