Skip to content

Commit 9e9f4b3

Browse files
author
christopheschwyzer
committed
add png fallback for logo
1 parent bd5b1a7 commit 9e9f4b3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ strong {
204204
height: 100%;
205205
background: url(/img/logo.svg) no-repeat center;
206206
}
207+
html.no-svg #header .logo-wrapper .logo {
208+
background: url(/img/logo.png) no-repeat center;
209+
}
207210
#header .logo-wrapper .slogan {
208211
display: block;
209212
font-style: italic;

css/main.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ strong {
241241
max-width: 100%;
242242
height: 100%;
243243
background: url(/img/logo.svg) no-repeat center;
244+
245+
html.no-svg & {
246+
background: url(/img/logo.png) no-repeat center;
247+
}
244248
}
245249

246250
.slogan {

img/logo.png

8.16 KB
Loading

0 commit comments

Comments
 (0)