1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 14:49:42 +02:00

responsive tweaks to github section

This commit is contained in:
Harvey Kandola 2016-09-11 10:24:20 -07:00
parent 545b1cba71
commit 2154d01dcc
4 changed files with 6 additions and 7 deletions

View file

@ -62,7 +62,6 @@ a.alt {
} }
} }
$i: 150; $i: 150;
@while $i > 0 { @while $i > 0 {
.margin-#{$i} { margin: #{$i}px; } .margin-#{$i} { margin: #{$i}px; }

View file

@ -25,7 +25,7 @@ const commitsTemplate = `
</p> </p>
<div class="margin-top-20"></div> <div class="margin-top-20"></div>
<table class="github-table no-width"> <table class="github-table">
<tbody> <tbody>
{{range $stats := .AuthorStats}} {{range $stats := .AuthorStats}}
<tr> <tr>
@ -65,7 +65,7 @@ const commitsTemplate = `
{{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}} {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}
</p> </p>
<div class="margin-top-20"></div> <div class="margin-top-20"></div>
<table class="github-table no-width"> <table class="github-table">
<tbody> <tbody>
{{range $commit := .BranchCommits}} {{range $commit := .BranchCommits}}
<tr> <tr>

View file

@ -40,7 +40,7 @@ const (
</p> </p>
<div class="margin-top-20"></div> <div class="margin-top-20"></div>
<table class="github-table no-width"> <table class="github-table">
<tbody> <tbody>
{{range $data := .Issues}} {{range $data := .Issues}}
<tr> <tr>
@ -54,7 +54,7 @@ const (
</div> </div>
</td> </td>
<td><div class="margin-left-10"></div></td> <td><div class="margin-left-10"></div></td>
<td class="no-width"> <td>
<div class="issue-name"><a href="{{$data.URL}}">{{$data.Message}} <span class="dataid"></span></a></div> <div class="issue-name"><a href="{{$data.URL}}">{{$data.Message}} <span class="dataid"></span></a></div>
<span class="milestone-meta">#{{$data.ID}} &middot; {{$data.Repo}} &middot; {{$data.Milestone}} &middot; {{$data.Creator}} opened on {{$data.Date}}</span> <span class="milestone-meta">#{{$data.ID}} &middot; {{$data.Repo}} &middot; {{$data.Milestone}} &middot; {{$data.Creator}} opened on {{$data.Date}}</span>
<div>{{$data.Labels}}</div> <div>{{$data.Labels}}</div>

View file

@ -41,7 +41,7 @@ const (
{{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}} {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}
</p> </p>
<div class="margin-top-20"></div> <div class="margin-top-20"></div>
<table class="github-table no-width"> <table class="github-table">
<tbody> <tbody>
{{range $data := .Milestones}} {{range $data := .Milestones}}
<tr> <tr>
@ -57,7 +57,7 @@ const (
</div> </div>
</td> </td>
<td><div class="margin-left-10"></div></td> <td><div class="margin-left-10"></div></td>
<td class="no-width"> <td>
<div class="milestone-name"><a class="link" href="{{$data.URL}}">{{$data.Name}}</a></div> <div class="milestone-name"><a class="link" href="{{$data.URL}}">{{$data.Name}}</a></div>
<span class="milestone-meta">{{$data.Repo}}</span> <span class="milestone-meta">{{$data.Repo}}</span>
{{if $data.IsMilestone}} {{if $data.IsMilestone}}