From 3c0139a2e7bbb7138c0837bfe62ff87892c31812 Mon Sep 17 00:00:00 2001 From: Matt Gaunt Date: Thu, 13 Jul 2017 09:15:52 -0700 Subject: [PATCH] Adding logo to navigation --- src/styles/examples-index.css | 2 +- src/styles/index.css | 2 +- .../images/workbox-logo-white-small.min.svg | 1 + .../_includes/components/navigation.html | 10 +++- src/themes/styles/components/callout.css | 2 +- src/themes/styles/components/footer.css | 2 +- src/themes/styles/components/navigation.css | 49 ++++++++++++++----- src/themes/styles/components/page-header.css | 2 +- .../styles/components/primary-header.css | 2 +- src/themes/styles/main.css | 2 +- 10 files changed, 53 insertions(+), 21 deletions(-) create mode 100644 src/themes/images/workbox-logo-white-small.min.svg diff --git a/src/styles/examples-index.css b/src/styles/examples-index.css index fde53b6..08ee3fd 100644 --- a/src/styles/examples-index.css +++ b/src/styles/examples-index.css @@ -44,7 +44,7 @@ border-color: var(--btn-bg-color); } -@media (max-width: 700px) { +@media (max-width: 780px) { #content-and-messages { flex-direction: column; } diff --git a/src/styles/index.css b/src/styles/index.css index f7c7b23..66f722f 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -99,7 +99,7 @@ margin-left: calc(-2 * var(--horizontal-spacing)); } -@media (min-width: 700px) { +@media (min-width: 780px) { .index__install-options { flex-direction: row; } diff --git a/src/themes/images/workbox-logo-white-small.min.svg b/src/themes/images/workbox-logo-white-small.min.svg new file mode 100644 index 0000000..bfe28af --- /dev/null +++ b/src/themes/images/workbox-logo-white-small.min.svg @@ -0,0 +1 @@ +> \ No newline at end of file diff --git a/src/themes/jekyll/_includes/components/navigation.html b/src/themes/jekyll/_includes/components/navigation.html index d4e0466..e536900 100644 --- a/src/themes/jekyll/_includes/components/navigation.html +++ b/src/themes/jekyll/_includes/components/navigation.html @@ -10,8 +10,14 @@