From 24a4450f2b4bcc5b616fae34b6815252896d1756 Mon Sep 17 00:00:00 2001 From: Brenton Date: Mon, 15 Jul 2013 16:00:51 -0700 Subject: docs(header): replace logo.png with logo.svg The current logo looks awful on high-density displays. SVG is a better choice because it can scale to any resolution without increasing file size. Amending #2775 to add support for IE 8 by falling back to existing PNG with img.onerror Using relative URLs as directed by @btford and @petebacondarwin. (commit by Brenton Simpson - @appsforartists) Closes #2874 --- docs/src/templates/css/docs.css | 17 ++++++++++++++++- docs/src/templates/index.html | 6 +++--- 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'docs/src') diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css index 9a4ccfb0..354bb918 100644 --- a/docs/src/templates/css/docs.css +++ b/docs/src/templates/css/docs.css @@ -1,3 +1,18 @@ +/* Logo */ + +.header .brand { + padding-top: 6px; + padding-bottom: 0px; +} + +.header .brand img { + height: 25px; + width: 92px; +} + +/* end: Logo */ + + /* this is here to avoid the display=block shuffling of ngShow */ .breadcrumb li > * { float:left; @@ -356,7 +371,7 @@ ul.events > li > h3 { opacity:1; } -.popover-incode code, +.popover-incode code, .popover-incode pre { white-space:nowrap; } diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 3f3e83c8..2cfd6c9d 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -122,8 +122,8 @@