Skip to content

Commit

Permalink
feat(website): updated logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Mar 9, 2016
1 parent c1d90d2 commit fa413d9
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 15 deletions.
7 changes: 5 additions & 2 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a id="logo-community" href="https://community.algolia.com/">
<a class="logo-community" href="https://community.algolia.com/">
<img src="{{site.baseurl}}/img/logo-community-sm.svg" alt="Algolia Community" />
Community
</a>
<a id="logo-algolia" href="{{ site.baseurl }}/">
<a class="logo-algolia" href="https://www.algolia.com">
<img src="{{site.baseurl}}/img/algolia-logo.svg" alt="Algolia" />
</a>
<a class="project-title" href="{{ site.baseurl }}/">
DocSearch
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/searchbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</svg>

<form role="search" novalidate="novalidate" class="searchbox sbx-custom">
<input onkeyup="updateReset()" type="search" name="search" placeholder="Search in the documentation" autocomplete="off" required="required" class="sbx-custom__input">
<input onkeyup="updateReset()" type="search" name="search" placeholder="Search in the doc ..." autocomplete="off" required="required" class="sbx-custom__input">
<button type="submit" class="sbx-custom__submit">
<svg role="img" aria-label="Search">
<title>Icon Search</title>
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="icon" href="{{ "/img/favicon.png" | prepend: site.baseurl }}">

<!-- Fonts -->
<link rel="stylesheet" media="screen" href="//fonts.googleapis.com/css?family=Raleway:300,600" />
<link rel="stylesheet" media="screen" href="//fonts.googleapis.com/css?family=Raleway:100,300,600" />
<link rel="stylesheet" media="screen" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600" />

<link rel="stylesheet" media="screen" href="{{ "/css/main.css" | prepend: site.baseurl }}" />
Expand Down
45 changes: 37 additions & 8 deletions docs/css/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,46 @@ html, body {

/* HEADER
// ------------------------- */
#logo-algolia img {
height: 24px;
top: -2px;
position: relative;
margin-right: 12px;
.logo-algolia {
position: absolute;
left: 72px;
top: 5px;
display: block;
line-height: 1;
img {
height: 18px;
position: relative;
margin-right: 12px;
}
}

#logo-community {
font-size: 1.6em;
.logo-community {
color: white;
font-size: 1.8em;
font-weight: 100 !important;
margin-right: 8px;
position: relative;
top: 6px;
img {
position: relative;
top: -8px;
height: 46px;
width: 46px;
}
&:hover, &:active, &:focus {
color: white;
}
}

.project-title {
color: white;
font-size: 1.2em;
font-weight: bold;
position: relative;
top: -4px;
&:hover, &:active, &:focus {
color: white;
}
}

.site-header {
Expand All @@ -53,7 +78,7 @@ html, body {
}
}
.navbar-nav > li {
padding: 14px 15px;
padding: 14px 8px;
}
.navbar-nav > li > a {
padding: 0 0 4px 0;
Expand All @@ -74,9 +99,13 @@ html, body {
// ------------------------- */
.jumbotron {
padding-top: 60px;
padding-bottom: 32px;
background: #091724 url(../img/header-bg.jpg) no-repeat center center;
background-size: cover;
margin-bottom: 0;
.join-form {
border-radius: 5px 5px 0 0;
}
.jumbotron-header {
text-align: center;
color: #FFF;
Expand Down
6 changes: 3 additions & 3 deletions docs/css/_searchbar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$custom:(
input-width: 240px,
input-width: 190px,
input-height: 36px,
border-width: 2px,
border-radius: 18px,
Expand Down Expand Up @@ -179,8 +179,8 @@ $custom:(
}

.site-header .navbar .navbar-nav > li.searchbar-wrapper {
padding-top: 0;
padding-bottom: 0;
margin: 0;
padding: 0
}

.algolia-autocomplete {
Expand Down

0 comments on commit fa413d9

Please sign in to comment.