From 2bc04d23fbc302e6dd52ab80a621aa264548d9e3 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 Conflicts: docs/src/templates/css/docs.css docs/src/templates/index.html --- docs/src/templates/css/docs.css | 13 +++++++++++-- docs/src/templates/index.html | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'docs/src/templates') diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css index 7f86de9e..bbfae500 100644 --- a/docs/src/templates/css/docs.css +++ b/docs/src/templates/css/docs.css @@ -1,8 +1,17 @@ -img.AngularJS-small { - width: 95px; +/* Logo */ + +.header .brand { + padding-top: 6px; + padding-bottom: 0px; +} + +.header .brand img { height: 25px; + width: 92px; } +/* end: Logo */ + .clear-navbar { margin-top: 60px; diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 0fdebb74..1ff0312f 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -114,8 +114,8 @@