diff --git a/app/app/styles/section/github.scss b/app/app/styles/section/github.scss index ea361f73..5defbaec 100644 --- a/app/app/styles/section/github.scss +++ b/app/app/styles/section/github.scss @@ -99,10 +99,10 @@ table.milestone-table { progress[value] { - background-color: #eeeeee; - border-radius: 3px; - height: 10px; - width: 50%; + background-color: #eeeeee; + border-radius: 3px; + height: 15px; + width: 50%; } } @@ -143,97 +143,3 @@ } } - -/* - - - - - - table.milestone-table td a.link { - font-size: 18px; - } - - td span.milestone { - color: #3c3c3c; - font-size: 18px; - } - - td span.date-meta { - margin-right: 10px; - font-size: 14px; - color: #767676; - } - td span.date-meta img { - height: 14px; - margin-right: 10px; - } - - - table.contributor-table { - margin-top: 30px !important; - } - - table.issue-table td a.link { - font-size: 18px; - } - - td span.milestone { - color: #3c3c3c; - font-size: 15px; - } - - li.github-commit-item { - display: block; - width: 95%; - font-size: 12px; - color: #999; - - > .link { - color: #999; - - > .github-avatar { - float: left; - margin-right: 15px; - margin-top: 2px; - } - - > .issue-avatar { - float: left; - margin-right: 15px; - margin-top: 10px; - } - - > .github-commit-body { - margin: 0px; - padding: 0px; - - > .github-commit-title { - color: #4e575b; - text-decoration: none; - font-size: 13px; - font-weight: 600; - line-height: 22px; - margin: 0; - padding: 0px; - overflow: hidden; - text-overflow: ellipsis; - width: 90%; - - .label-name { - font-size: 16px; - margin: 0 10px 0 0; - } - } - - > .github-commit-meta { - font-weight: normal; - color: #767676; - font-size: 14px; - margin: 0px; - padding: 0px; - width: 90%; - } - } - } -*/ diff --git a/app/app/styles/view/document/wysiwyg.scss b/app/app/styles/view/document/wysiwyg.scss index 5963084e..d1d1af52 100644 --- a/app/app/styles/view/document/wysiwyg.scss +++ b/app/app/styles/view/document/wysiwyg.scss @@ -45,7 +45,7 @@ h1 { - font-size: 2.3em; + font-size: 2em; font-weight: bold; color:$color-off-black; margin: 30px 0 20px 0; diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go index d82366e0..42a2948b 100644 --- a/core/section/github/commits_template.go +++ b/core/section/github/commits_template.go @@ -13,10 +13,9 @@ package github const commitsTemplate = `
- {{if .HasAuthorStats}} -

Contributors

+

There {{if eq 1 (len .AuthorStats)}}is{{else}}are{{end}} @@ -25,8 +24,8 @@ const commitsTemplate = ` across {{.RepoCount}} {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}

- +
{{range $stats := .AuthorStats}} @@ -62,31 +61,31 @@ const commitsTemplate = ` {{if .HasCommits}}

Commits

-

There are 24 commits by 3 contributors across 6 repositories.

- +

There are {{len .BranchCommits}} commits by {{len .AuthorStats}} contributors + across {{.RepoCount}} + {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}} +

- {{range $commit := .BranchCommits}} - - - - + {{end}}
- @{{$commit.Name}} - - {{if $commit.ShowUser}} -
{{$commit.Name}}
- {{end}} +
+ @{{$commit.Name}} + + {{if $commit.ShowUser}} +
{{$commit.Name}}
+ {{end}} {{$commit.Message}}
{{if $commit.ShowDate}}{{$commit.Date}}{{end}}
{{if $commit.ShowBranch}}{{$commit.Repo}}:{{$commit.Branch}}{{end}} + {{if $commit.ShowBranch}}{{$commit.Repo}}:{{$commit.Branch}}{{end}} +
- {{end}}
diff --git a/core/section/github/issues_template.go b/core/section/github/issues_template.go index 2cf5f40e..e4f5e59d 100644 --- a/core/section/github/issues_template.go +++ b/core/section/github/issues_template.go @@ -13,19 +13,19 @@ package github const ( openIsvg = ` - - - - - -` - closedIsvg = ` - - - - - + + + + + ` + closedIsvg = ` + + + + + + ` issuesTemplate = `
{{if .HasIssues}} @@ -50,8 +50,6 @@ const (

- - {{range $data := .Issues}} diff --git a/core/section/github/milestones_template.go b/core/section/github/milestones_template.go index 693da3a3..272b45dc 100644 --- a/core/section/github/milestones_template.go +++ b/core/section/github/milestones_template.go @@ -14,22 +14,22 @@ package github const ( rawMSsvg = `` openMSsvg = ` - - - ` + rawMSsvg + ` - - -` + + + ` + rawMSsvg + ` + + + ` closedMSsvg = ` - - - -` + + + + ` milestonesTemplate = ` -
+
{{if .HasMilestones}}

Milestones

diff --git a/core/section/github/summary_template.go b/core/section/github/summary_template.go index fc0aa2fa..13d72597 100644 --- a/core/section/github/summary_template.go +++ b/core/section/github/summary_template.go @@ -15,12 +15,12 @@ const summaryTemplate = `

- Activity since {{.Config.Since}}{{.Config.DateMessage}} for {{.Config.Owner}} repositories: + Activity since {{.Config.Since}}{{.Config.DateMessage}} for {{.Config.Owner}} repositories: {{range $data := .Config.Lists}} {{if $data.Included}} - - {{$data.Repo}}{{if $data.Comma}},{{end}} - + + {{$data.Repo}}{{if $data.Comma}},{{end}} + {{end}} {{end}}

@@ -45,7 +45,5 @@ const summaryTemplate = `
{{end}} - -
`