mirror of
https://github.com/gnu4cn/ts-learnings.git
synced 2024-12-25 20:30:28 +08:00
Updated.
This commit is contained in:
parent
b9a9278133
commit
341142b8a5
@ -1,5 +1,15 @@
|
||||
var honkit_link = $('a[class=gitbook-link]');
|
||||
require(['gitbook', 'jQuery'], function(gitbook, $) {
|
||||
var honkit_link = $('a[class=gitbook-link]');
|
||||
|
||||
var text = honkit_link.text();
|
||||
honkit_link.parent().html(`<span style="align: center;">${text}</span>`);
|
||||
var text = honkit_link.text();
|
||||
honkit_link.parent().html(`<span style="align: center;">${text}</span>`);
|
||||
|
||||
//
|
||||
gitbook.events.bind('page.change', function() {
|
||||
|
||||
setTimeout(() => {
|
||||
var el = $('div.book-body');
|
||||
el.attr('style', '');
|
||||
}, 300);
|
||||
});
|
||||
});
|
||||
|
@ -31,9 +31,6 @@ i.fa {
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
div.book-header {
|
||||
top: 30px;
|
||||
}
|
||||
.nav-list .nav-item a {
|
||||
font-size: small !important;
|
||||
}
|
||||
@ -50,4 +47,8 @@ i.fa {
|
||||
div.book-headr {
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
a.navigation {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user