aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorErling Aaby <spa440w@gmail.com>2013-04-23 16:09:55 +0200
committerErling Aaby <spa440w@gmail.com>2013-04-23 16:09:55 +0200
commited6021c5834ec4b24db4dd721cf1f8a55c24fab5 (patch)
tree641becef0ce7c23495cdeb55143a75b7f96d456f
parentAdded 1 more sec to animation and placed logo (diff)
downloadDivid-ed6021c5834ec4b24db4dd721cf1f8a55c24fab5.tar.gz
Added logo to navbar and -padding/margin to it in style.less
-rw-r--r--public/css/styles.less5
-rw-r--r--views/navbar.ejs4
2 files changed, 6 insertions, 3 deletions
diff --git a/public/css/styles.less b/public/css/styles.less
index 576b1d4..16ae5f9 100644
--- a/public/css/styles.less
+++ b/public/css/styles.less
@@ -233,4 +233,7 @@ margin-left: 20px;
-moz-border-radius: 6px;
border-radius: 6px;
}
-
+.brand logo {
+padding: -10px -20px - 10px;
+margin-left: -20px;
+}
diff --git a/views/navbar.ejs b/views/navbar.ejs
index f1899e2..3a9b80f 100644
--- a/views/navbar.ejs
+++ b/views/navbar.ejs
@@ -43,13 +43,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <img class="brand" src="/img/dividlogo.png" href="#">
+ <img class="brand logo" src="/img/dividlogo.png" href="#">
<!--<a class="brand" href="#">Divid</a>--!>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="#signup">signup</a></li>
<li><a href="#dashboard">Dashboard</a></li>
- <li><a href="#kontakt"><kontakt</a></li>
+ <li><a href="#kontakt">kontakt</a></li>
</ul>
</div>
<% if(!loggedin) { %><a class="brand login" data-toggle="collapse" data-target=".login-collapse" href="#login">Logg inn</a>