Skip to content

Commit cb21e39

Browse files
committed
Logo: nginx 20 years.
1 parent d878b73 commit cb21e39

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

binary/nginx.png

-2.05 KB
Binary file not shown.

css/style_en.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,12 @@ sup {
455455
background:#0c1622;
456456
color: #ddd!important;
457457
}
458+
.lightimage {
459+
display: none!important;
460+
}
461+
.darkimageWrapper, .darkimage {
462+
display: block!important;
463+
}
458464
.dropbtn {background-color: #202020;}
459465
.dropdown-content {
460466
background-color: #404040;

css/style_ru.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,12 @@ sup {
455455
background:#0c1622;
456456
color: #ddd!important;
457457
}
458+
.lightimage {
459+
display: none!important;
460+
}
461+
.darkimageWrapper, .darkimage {
462+
display: block!important;
463+
}
458464
.dropbtn {background-color: #202020;}
459465
.dropdown-content {
460466
background-color: #404040;

img/nginx_logo.png

25.7 KB
Loading

img/nginx_logo_dark.png

25.3 KB
Loading

xsls/body.xsls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ X:template body (lang) {
3131
<h1>
3232
X:if "@lang = 'he'" { X:attribute "align" { X:text{left} } }
3333
<a href="/">
34-
<img src="/nginx.png" alt="nginx"/>
34+
<img src="/img/nginx_logo.png" alt="NGINX" class="lightimage" style="display: block; height: auto;" />
35+
<div class="darkimageWrapper" style="mso-hide: all; display: none">
36+
<img src="/img/nginx_logo_dark.png" alt="NGINX" class="darkimage" style="display: none;" />
37+
</div>
3538
</a>
3639
</h1>
3740
<div>

0 commit comments

Comments
 (0)