Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Commit

Permalink
Update CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed May 19, 2017
1 parent 23b5456 commit c4aa54a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/repositories/show.html.erb
Expand Up @@ -57,13 +57,13 @@
<div class="header clearfix">
<%= render "repositories/navigation", repository: repository %>

<h3 class="text-muted" style="display: inline-block">
<h3 class="text-muted inline-block">
<a href="<%= repositories_path %>"><%= repository.owner.login %></a>
/
<a href="<%= repository_path(repository.id) %>"><%= repository.name %></a>
</h3>

<div style="display: inline-block; margin-top: 3px; margin-left: 10px;">
<div class="inline-block star-badge-header">
<%= render "repositories/star", repository: repository %>
</div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions public/application.css
Expand Up @@ -3,6 +3,10 @@ body {
padding-bottom: 20px;
}

.inline-block {
display: inline-block;
}

.header {
margin-top: 0;
margin-bottom: 0;
Expand All @@ -27,6 +31,11 @@ body {
color: #777;
}

.star-badge-header {
margin-left: 10px;
vertical-align: text-bottom;
}

.star-badge .octicon {
color: #777;
}
Expand All @@ -42,6 +51,8 @@ body {
.star-form button {
background: transparent;
border: none;
margin: 0;
padding: 0;
}

.nav-pills .badge {
Expand Down

0 comments on commit c4aa54a

Please sign in to comment.