diff --git a/js/ditto.js b/js/ditto.js
index e11931f..c7ede6c 100644
--- a/js/ditto.js
+++ b/js/ditto.js
@@ -95,7 +95,7 @@ function init_sidebar_section() {
}
location.hash = menu[i + 1];
});
- create_banner($(ditto.sidebar_id).find('p:nth-child(3)').first());
+ // create_banner($(ditto.sidebar_id).find('p:nth-child(3)').first());
}, "text").fail(function() {
alert("Opps! can't find the sidebar file to display!");
@@ -219,14 +219,15 @@ function create_banner(element) {
'padding: 1em',
'background-color: #c4e0e1',
'border-radius: 5px',
- 'font-size: 75%',
- 'width: 210px',
+ 'font-size: 90%',
+ // 'font-size: 75%',
+ // 'width: 210px',
'color: #333333'
].join(';');
- var text = 'ES6 实战教程 ' +
+ var text = '《ES6 实战教程》 ' +
'深入学习一线大厂必备 ES6 技能。VIP 教程限时免费领取。' +
- '⇐ 立即查看';
+ ' ⇐ 立即查看';
var banner = $('