Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 2bc04d2

Browse files
appsforartistsIgorMinar
authored andcommitted
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
1 parent 7f6da76 commit 2bc04d2

File tree

3 files changed

+54
-4
lines changed

3 files changed

+54
-4
lines changed
+41
Loading

docs/src/templates/css/docs.css

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
img.AngularJS-small {
2-
width: 95px;
1+
/* Logo */
2+
3+
.header .brand {
4+
padding-top: 6px;
5+
padding-bottom: 0px;
6+
}
7+
8+
.header .brand img {
39
height: 25px;
10+
width: 92px;
411
}
512

13+
/* end: Logo */
14+
615

716
.clear-navbar {
817
margin-top: 60px;

docs/src/templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
<div class="navbar navbar-fixed-top">
115115
<div class="navbar-inner">
116116
<div class="container">
117-
<a class="brand" href="http://angularjs.org" style="padding-top: 6px; padding-bottom: 0px;">
118-
<img class="AngularJS-small" src="http://angularjs.org/img/AngularJS-small.png">
117+
<a class="brand" href="http://angularjs.org">
118+
<img class="logo" src="img/angularjs-for-header-only.svg">
119119
</a>
120120
<ul class="nav">
121121
<li class="divider-vertical"></li>

0 commit comments

Comments
 (0)