From 4933e26b07363c6d7d89c51aa6a9d6446d4b15e2 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Fri, 15 Nov 2019 21:57:42 -0500 Subject: [PATCH] doc: Adds new logo to generated output --- doc/_support/styles/layout.less | 16 +++ doc/_support/styles/logo.svg | 223 ++++++++++++++++++++++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 doc/_support/styles/logo.svg diff --git a/doc/_support/styles/layout.less b/doc/_support/styles/layout.less index 6d66bbe6..899323a4 100644 --- a/doc/_support/styles/layout.less +++ b/doc/_support/styles/layout.less @@ -45,6 +45,19 @@ body.index > header { } } +body > header h1 { + a { + display: block; + #svg-logo(); + background-repeat: no-repeat; + background-position: left center; + background-size: contain; + text-indent: -99999px; + position: relative; + min-height: 1em; + } +} + body.index { .lead > .paragraph:first-child p { font-size: 1.5rem; @@ -148,6 +161,9 @@ header nav { h1 { text-align: center; font-size: 1.2rem; + a { + background-position: center center; + } } ul { display: block; diff --git a/doc/_support/styles/logo.svg b/doc/_support/styles/logo.svg new file mode 100644 index 00000000..29815380 --- /dev/null +++ b/doc/_support/styles/logo.svg @@ -0,0 +1,223 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +