diff options
-rw-r--r-- | assets/book.scss | 12 | ||||
-rw-r--r-- | layouts/docs/baseof.html | 1 | ||||
-rw-r--r-- | static/svg/code-fork.svg | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/assets/book.scss b/assets/book.scss index e817d38..c509c63 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -133,6 +133,18 @@ ul.pagination { } } +.book-git-footer { + display: flex; + margin-top: $padding-16; + font-size: $font-size-12; + align-items: baseline; + + img { + width: $font-size-12; + vertical-align: bottom; + } +} + .book-posts { min-width: $body-min-width; max-width: $sm-breakpoint; diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 9623041..cbcc35a 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -29,6 +29,7 @@ <div class="book-page"> {{ partial "docs/mobile-header" . }} {{ template "main" . }} + {{ partial "docs/git-footer" . }} </div> {{ template "toc" . }} diff --git a/static/svg/code-fork.svg b/static/svg/code-fork.svg new file mode 100644 index 0000000..836e53f --- /dev/null +++ b/static/svg/code-fork.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 3c0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.323.861 2.433 2.05 2.832.168 4.295-2.021 4.764-4.998 5.391-1.709.36-3.642.775-5.052 2.085v-7.492c1.163-.413 2-1.511 2-2.816 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.305.837 2.403 2 2.816v12.367c-1.163.414-2 1.512-2 2.817 0 1.657 1.343 3 3 3s3-1.343 3-3c0-1.295-.824-2.388-1.973-2.808.27-3.922 2.57-4.408 5.437-5.012 3.038-.64 6.774-1.442 6.579-7.377 1.141-.425 1.957-1.514 1.957-2.803zm-16.8 0c0-.993.807-1.8 1.8-1.8s1.8.807 1.8 1.8-.807 1.8-1.8 1.8-1.8-.807-1.8-1.8zm3.6 18c0 .993-.807 1.8-1.8 1.8s-1.8-.807-1.8-1.8.807-1.8 1.8-1.8 1.8.807 1.8 1.8zm10.2-16.2c-.993 0-1.8-.807-1.8-1.8s.807-1.8 1.8-1.8 1.8.807 1.8 1.8-.807 1.8-1.8 1.8z"/></svg>
\ No newline at end of file |