Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/style-website-v4.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ body .book.font-family-1, .book-summary {
box-shadow: inset 0 0 0 2px #008cff;
}

/* make the sidebar wider, and adjust the content to match it */
.book-summary {
left: -470px;
width: 470px;
}
@media (min-width: 600px) {
.book.with-summary .book-body {
left: 470px;
}
/* make the sidebar wider, and adjust the content to match it */
.book-summary {
left: -470px;
width: 470px;
}
}

.book-header {
Expand Down
2 changes: 1 addition & 1 deletion etc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func webbookPostAdjustment() {

// ==== inject github stars button
buttonToFind := `</body>`
buttonReplacement := `<div style="position: fixed; top: 5px; right: 30px; padding: 10px; background-color: rgba(255, 255, 255, 0.7);">
buttonReplacement := `<div style="margin-left: 50px; margin-right: 20px; position: fixed; top: 5px; right: 30px; padding: 10px; background-color: rgba(255, 255, 255, 0.7);">
<a class="github-button" href="https://github.com/sponsors/novalagung" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-heart" data-size="large" aria-label="Sponsor @novalagung on GitHub">Sponsor</a>&nbsp;
<a class="github-button" href="https://github.com/novalagung/dasarpemrogramangolang" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star novalagung/dasarpemrogramangolang on GitHub">Star</a>&nbsp;
<a class="github-button" href="https://github.com/novalagung" data-size="large" aria-label="Follow @novalagung on GitHub">Follow @novalagung</a>
Expand Down