From 3bb53572c2ac6b3b74c4e753ebff21ad6f8e6a68 Mon Sep 17 00:00:00 2001 From: Nick Shine Date: Mon, 3 Dec 2018 01:21:05 -0600 Subject: add flex for edit-this-page div --- assets/book.scss | 12 ++++++++++++ layouts/docs/baseof.html | 1 + static/svg/code-fork.svg | 1 + 3 files changed, 14 insertions(+) create mode 100644 static/svg/code-fork.svg 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 @@
{{ partial "docs/mobile-header" . }} {{ template "main" . }} + {{ partial "docs/git-footer" . }}
{{ 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 @@ + \ No newline at end of file -- cgit v1.2.3