Skip to content

Commit e834e62

Browse files
committed
Move vultr logo style to css file
1 parent 73f40a1 commit e834e62

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/static/a/main-mobile.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ header.main-page {
5858
-ms-user-select: none;
5959
user-select: none;
6060
}
61+
header.main-page img#vultr-campaign {
62+
float: right;
63+
margin-right: 16px;
64+
height: 32px;
65+
}
6166
header.main-page #mobile-nav {
6267
cursor: pointer;
6368
display: block;

src/static/a/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ header.main-page {
5858
-ms-user-select: none;
5959
user-select: none;
6060
}
61+
header.main-page img#vultr-campaign {
62+
float: right;
63+
height: 32px;
64+
}
6165
header.main-page #mobile-nav {
6266
display: none;
6367
}

src/templates/header.inc.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ $_campaign_vultr = (
2929
!empty( Common::$config->bnetdocs->campaigns->vultr ) ?
3030
'<a href="' . Common::relativeUrlToAbsolute(
3131
Common::$config->bnetdocs->campaigns->vultr
32-
) . '"><img src="' . Common::relativeUrlToAbsolute(
32+
) . '"><img id="vultr-campaign" src="' . Common::relativeUrlToAbsolute(
3333
'/a/vultr_badge_ondark.svg'
34-
) . '" style="float:right;margin-right:16px;height:32px;"/></a>' : ''
34+
) . '"/></a>' : ''
3535
);
3636

3737
?><!DOCTYPE html>

0 commit comments

Comments
 (0)