Skip to content

Instantly share code, notes, and snippets.

@JasonY1
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonY1/10942598 to your computer and use it in GitHub Desktop.
Save JasonY1/10942598 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Gastro</title>
<%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="row">
<div class="navbar navbar-static-top navbar-inverse">
<div class="container">
<div class="navbar-header">
<button class = "navbar-toggle" data-toggle = "collapse"
data-target = ".navbar-collapse">
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
</button>
</div>
<a class="navbar-brand logo-nav">
<%= link_to image_tag('nblogo.jpg'), '#', id: "logo" %>
</a>
<div class = "navbar-collapse collapse ">
<ul class="nav navbar-nav pull-right">
<li>
<%= link_to "Home", '#' %>
</li>
<li>
<%= link_to "Menu", '#' %>
</li>
<li>
<%= link_to "About", '#' %>
</li>
<li>
<%= link_to "VIP", '#' %>
</li>
</ul>
</div>
</div>
</div>
</div>
</body>
<!-- My Carousel
============================================================= -->
<%= yield %>
</html>
@import "bootstrap";
.nav {
margin-top: -55px;
width: auto;
}
#logo {
height: auto;
}
.navbar .brand {
max-height: 40px;
overflow: visible;
padding-top: 0;
padding-bottom: 0;
}
Image dimentions
169 × 60 pixels
Screenshots of the issue
http://imgur.com/qdwwLoi,566NcFk#0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment