mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
Digest styling improvements.
This commit is contained in:
parent
816ea1d94a
commit
1f31fe8cca
3 changed files with 18 additions and 11 deletions
|
|
@ -3,13 +3,16 @@
|
|||
"font-family": "Helvetica, Arial, sans-serif",
|
||||
"font-size": "10pt",
|
||||
"color": "#000",
|
||||
"max-width": "1104px",
|
||||
"max-width": "1102px",
|
||||
"margin": "0"
|
||||
},
|
||||
"link": {
|
||||
"text-decoration": "none",
|
||||
"color": "#e73b31"
|
||||
},
|
||||
"monospace": {
|
||||
"font-family": "Consolas,\"Liberation Mono\",Menlo,Courier,monospace"
|
||||
},
|
||||
"intro-paragraph": {
|
||||
"font-size": "12pt",
|
||||
"user-link": {
|
||||
|
|
@ -22,15 +25,18 @@
|
|||
}
|
||||
},
|
||||
"interval-header": {
|
||||
"font-size": "24pt",
|
||||
"font-size": "20pt",
|
||||
"font-weight": "bold",
|
||||
"margin": ".75em 0 .5em 0",
|
||||
"border-bottom": "solid 1px #ddd"
|
||||
"border-bottom": "dashed 1px #ccc"
|
||||
},
|
||||
"repository-header": {
|
||||
"font-size": "18pt",
|
||||
"font-size": "16pt",
|
||||
"font-weight": "bold",
|
||||
"margin": ".5em 0"
|
||||
"margin": ".5em 0",
|
||||
"link": {
|
||||
"color": "#b52e26"
|
||||
}
|
||||
},
|
||||
"commit": {
|
||||
"background": "#fefcef",
|
||||
|
|
|
|||
|
|
@ -44,12 +44,13 @@ a {
|
|||
|
||||
.body {
|
||||
padding: 10px;
|
||||
max-width: 1104px;
|
||||
max-width: 1102px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.body h1 {
|
||||
margin-top: 0;
|
||||
color: #756344;
|
||||
}
|
||||
|
||||
#sign-in-form {
|
||||
|
|
@ -135,7 +136,7 @@ a {
|
|||
}
|
||||
|
||||
#delete-account-form {
|
||||
border-top: solid 1px #ccc;
|
||||
border-top: dashed 1px #ccc;
|
||||
margin-top: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
{{range .IntervalDigests }}
|
||||
{{$interval := .}}
|
||||
<h1 style="{{style "interval-header"}}">{{.Header}}</h1>
|
||||
<h1 style="{{style "monospace" "interval-header"}}">{{.Header}}</h1>
|
||||
|
||||
<p>{{.Description}}</p>
|
||||
|
||||
{{range .RepoDigests}}
|
||||
<h2 style="{{style "repository-header"}}">
|
||||
<a href="{{.Repo.HTMLURL}}" style="{{style "link"}}">{{.Repo.FullName}}</a>
|
||||
<h2 style="{{style "monospace" "repository-header"}}">
|
||||
<a href="{{.Repo.HTMLURL}}" style="{{style "link" "repository-header.link"}}">{{.Repo.FullName}}</a>
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
<div style="{{style "commit"}}">
|
||||
<h3 style="{{style "commit.title"}}">{{.Title}}</h3>
|
||||
{{if .Message}}
|
||||
<pre style="{{style "commit.message"}}">{{.Message}}</pre>
|
||||
<pre style="{{style "monospace" "commit.message"}}">{{.Message}}</pre>
|
||||
{{end}}
|
||||
<div style="{{style "commit.footer"}}">
|
||||
<a href="{{.URL}}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue