Skip to content

Commit

Permalink
Website improvements (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxbykov authored May 3, 2017
1 parent 48125cc commit 91e20cd
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*.gif binary
*.jpg binary
*.png binary
*.svg binary
*.ico binary

# fonts
*.eot binary
Expand Down
3 changes: 2 additions & 1 deletion site/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@


<link rel="prefetch" href="{{site.baseurl}}/fonts/OpenSansCondensedBold.woff">
<link rel="shortcut icon" type="image/png" href="{{ "/favicon.ico" | prepend: site.baseurl }}" >
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<link rel="stylesheet" href="{{site.baseurl}}/css/syntax.css">
<link rel="stylesheet" href="{{site.baseurl}}/css/site.css">
Expand All @@ -29,7 +30,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{site.baseurl}}/react/datagrid/">
<img src="{{site.baseurl}}/img/react-datagrid-logo.png" alt="{{ site.title }}">
<img src="{{site.baseurl}}/img/react-datagrid-logo.svg" alt="{{ site.title }}">
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
Expand Down
11 changes: 7 additions & 4 deletions site/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,15 @@ section {
}

.main-menu ul li {
color: #000;
color: #f05b41;
margin-bottom: 5px;
}

.main-menu ul li > a {
color: #337ab7;
color: #1b4461;
}
.main-menu ul li > a.active {
color: #f05b41;
}

.lead {
Expand Down Expand Up @@ -212,7 +215,7 @@ ul.banner-action-buttons .btn.demos:hover {

@media(max-width: 767px) {
.intro-message {
padding-bottom: 15%;
padding-bottom: 0;
}

.intro-message > h1 {
Expand Down Expand Up @@ -415,7 +418,7 @@ footer ul > li.active > a {
}

.intro-header {
background-image: none;
background: #173952 url({{site.baseurl}}/img/banner-bg-mobile.jpg) no-repeat center center;
}

footer {
Expand Down
Binary file added site/favicon.ico
Binary file not shown.
Binary file added site/img/banner-bg-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed site/img/react-datagrid-logo.png
Binary file not shown.
80 changes: 80 additions & 0 deletions site/img/react-datagrid-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 91e20cd

Please sign in to comment.