Add CSS style for th.

This commit is contained in:
takezoe
2013-06-29 16:01:57 +09:00
parent 414c455662
commit c823b8df08
3 changed files with 12 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
} else { } else {
<table class="table table-bordered"> <table class="table table-bordered">
<tr> <tr>
<th>Your repositories (@userRepositories.size)</th> <th class="metal">Your repositories (@userRepositories.size)</th>
</tr> </tr>
@userRepositories.map { repositoryName => @userRepositories.map { repositoryName =>
<tr> <tr>

View File

@@ -2,7 +2,7 @@
@import context._ @import context._
<table class="table table-bordered"> <table class="table table-bordered">
<tr> <tr>
<th>Sign in</th> <th class="metal">Sign in</th>
</tr> </tr>
<tr> <tr>
<td> <td>

View File

@@ -158,6 +158,16 @@ th.box-header {
text-shadow: 0 1px 0 #fff text-shadow: 0 1px 0 #fff
} }
th.metal {
background-color: #e0e0e0;
background-image: -moz-linear-gradient(#fafafa, #e8e8e8);
background-image: -webkit-linear-gradient(#fafafa, #e8e8e8);
background-image: linear-gradient(#fafafa, #e8e8e8);
background-repeat: repeat-x;
margin: 0;
border-top-left-radius: 1px;
border-top-right-radius: 1px;
}
dl { dl {
margin: 0px; margin: 0px;