summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOfer Lehr <ofer@oferlehr.com>2014-12-04 00:44:10 +0200
committerOfer Lehr <ofer@oferlehr.com>2014-12-04 00:44:10 +0200
commit33cb1088c2040c9a8dee5903b5940760d4197c99 (patch)
tree4ad4eb5ca5c1b592ccf375a904fa9440c7452c3d
parentde6f766ec27040f402af5c2b16cb298181e622c1 (diff)
moved organization logo to css instead of inline HTML
-rw-r--r--index.html2
-rw-r--r--res/css/partials/top-bar.scss3
-rw-r--r--res/css/style.css5
3 files changed, 8 insertions, 2 deletions
diff --git a/index.html b/index.html
index 7bb10284..39ee3be6 100644
--- a/index.html
+++ b/index.html
@@ -25,7 +25,7 @@
</form>
</div>
</div>
- <img class="organization-logo" src="res/img/CRI-logo.png">
+ <div class="organization-logo"></div>
</div>
</div>
<div class="search-bar">
diff --git a/res/css/partials/top-bar.scss b/res/css/partials/top-bar.scss
index a04fdb77..cffd200a 100644
--- a/res/css/partials/top-bar.scss
+++ b/res/css/partials/top-bar.scss
@@ -54,4 +54,7 @@
.organization-logo {
display: inline-block;
margin-left: 12px;
+ background: url(../img/CRI-logo.png);
+ min-height: 30px;
+ min-width: 30px;
} \ No newline at end of file
diff --git a/res/css/style.css b/res/css/style.css
index f5a2985a..3e8374e7 100644
--- a/res/css/style.css
+++ b/res/css/style.css
@@ -482,7 +482,10 @@ input {
.organization-logo {
display: inline-block;
- margin-left: 12px; }
+ margin-left: 12px;
+ background: url(../img/CRI-logo.png);
+ min-height: 30px;
+ min-width: 30px; }
/* Headings */
h1 {