Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Stieler <mail@hauke-stieler.de>2018-08-24 23:10:46 +0300
committerHauke Stieler <mail@hauke-stieler.de>2018-08-24 23:10:46 +0300
commit6ff014549380448b586306250aff1bfc23cea0ba (patch)
tree5f84c48cdd287c5c70220488acc57f894e2f8ba4
parent8faee7f27d013d0d7ca03117f46cd228c6047f7f (diff)
Simplified layout of author information a bit
-rw-r--r--layouts/_default/single.html16
-rw-r--r--static/css/main.css2
2 files changed, 8 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 589063e..749e7ea 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -46,24 +46,24 @@
{{ $author := index $data.authors .Params.author }}
<div class="delimiter"></div>
<section class="author-info">
- <div class="author-avatar col-md-4">
+ <div class="author-avatar col-md-2">
{{ with $author.avatar }}
<img alt="Author Avatar" src="{{ . }}" />
{{ end }}
</div>
- <div class="author-meta col-md-8">
+ <div class="author-meta col-md-10">
{{ with $author.name }}
- <h1 class="author-name text-primary">{{ . }}</h1>
+ <h2 class="author-name text-primary">{{ . }}</h2>
{{ end }}
{{ with $author.bio }}
- <div class="author-bio">{{ . }}</div>
+ <div class="author-bio">{{ . }}</div>
{{ end }}
{{ with $author.contact }}
<div class="btn btn-primary author-contact">
- <a href="{{ . }}">
- <i class="fa fa-envelope-o" aria-hidden="true"></i>
- &nbsp;{{ i18n "contactMe" }}
- </a>
+ <a href="{{ . }}">
+ <i class="fa fa-envelope-o" aria-hidden="true"></i>
+ &nbsp;{{ i18n "contactMe" }}
+ </a>
</div>
{{ end }}
</div>
diff --git a/static/css/main.css b/static/css/main.css
index 22faa64..3be6e50 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -215,13 +215,11 @@ a.btn-back {
}
.author-info {
- padding: 25px 0;
overflow: auto;
}
.author-name {
margin: 0 0 5px 0;
- font-size: 30px;
}
.author-bio {