fixed styles
This commit is contained in:
parent
b3d7c758f2
commit
b58fd831e6
11 changed files with 24 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
/* You can add custom styles here. */
|
||||
|
||||
// @import "plugins/numbered";
|
||||
.commit-info {
|
||||
padding: 1rem;
|
||||
background-color: var(--gray-500);
|
||||
}
|
||||
|
|
|
@ -266,6 +266,7 @@ body[dir="rtl"] .book-menu {
|
|||
.book-footer {
|
||||
padding-top: $padding-16;
|
||||
font-size: $font-size-14;
|
||||
margin-left: $padding-16
|
||||
}
|
||||
|
||||
.book-comments {
|
||||
|
|
|
@ -10,14 +10,26 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
{{ if and .GitInfo .Site.Params.BookRepo }}
|
||||
<div>
|
||||
<div class="commit-info">
|
||||
{{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}}
|
||||
{{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
|
||||
<a class="flex align-right" href="{{ .Site.Params.BookRepo }}/{{ $commitPath }}/{{ .GitInfo.Hash }}" title='{{ i18n "Last modified by" }} {{ .GitInfo.AuthorName }} | {{ $date }}' target="_blank" rel="noopener">
|
||||
<img src="{{ "svg/calendar.svg" | relURL }}" class="book-icon" alt="" />
|
||||
<span>{{ i18n "Last modified by" }} {{ .GitInfo.AuthorName }} | {{ $date }}</span>
|
||||
</a>
|
||||
|
||||
<span>Last edited</span>
|
||||
<br />
|
||||
<span>
|
||||
commit <a href="{{ .Site.Params.BookRepo }}/{{ $commitPath }}/{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.Hash }}</a>
|
||||
</span>
|
||||
<br />
|
||||
<span>
|
||||
author: {{ .GitInfo.AuthorName }} <{{ .GitInfo.AuthorEmail }}>
|
||||
</span>
|
||||
<br />
|
||||
<span>
|
||||
date: {{ $date }}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"book.min.23aa44ccda2f898ff54013a9526f8f6d97990b0eaff98511933d50550aa1ae40.css","MediaType":"text/css","Data":{"Integrity":"sha256-I6pEzNoviY/1QBOpUm+PbZeZCw6v+YURkz1QVQqhrkA="}}
|
||||
{"Target":"book.min.26251971e28cc12eaf4e992a2094eab0d26acc9d62d48d4914b1d6ad6da7bed0.css","MediaType":"text/css","Data":{"Integrity":"sha256-JiUZceKMwS6vTpkqIJTqsNJqzJ1i1I1JFLHWrW2nvtA="}}
|
BIN
static/fonts/roboto-mono-v13-latin-regular.woff
Normal file
BIN
static/fonts/roboto-mono-v13-latin-regular.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-mono-v13-latin-regular.woff2
Normal file
BIN
static/fonts/roboto-mono-v13-latin-regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v27-latin-700.woff
Normal file
BIN
static/fonts/roboto-v27-latin-700.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v27-latin-700.woff2
Normal file
BIN
static/fonts/roboto-v27-latin-700.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v27-latin-regular.woff
Normal file
BIN
static/fonts/roboto-v27-latin-regular.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v27-latin-regular.woff2
Normal file
BIN
static/fonts/roboto-v27-latin-regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in a new issue