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

github.com/leonhe/hugo_eiio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuanfei He <lhe868@gmail.com>2020-03-26 18:36:24 +0300
committerYuanfei He <lhe868@gmail.com>2020-07-10 18:12:19 +0300
commite1492db737a63c035df3cafaf271513bc6759521 (patch)
tree4a3b654d34b01394fc8460b9c6e115cb6a7f555b
parentab048df07a201abc58448fb54af4ad09ba8ae7bc (diff)
update style
-rw-r--r--layouts/index.html6
-rw-r--r--static/css/style.css6
2 files changed, 8 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5888784..c4859f9 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -42,9 +42,11 @@
{{ end }}
<div class="media-body">
- <h3 class="media-heading"><a href="{{$url}}">{{ .Title }}</a></h3>
+ <h3 class="media-heading"><a class="title_a" href="{{$url}}">{{ .Title }}</a></h3>
<p> <span class="badge" content="{{.Date.Format "Jan 02, 2006"}}" > {{.Date.Format "Jan 02, 2006"}}</span></p>
- <p> {{ .Summary | markdownify }}....</p>
+ <p><span><ion-icon name="ios-podium"></ion-icon>Word Count: {{ .WordCount }}&nbsp;&nbsp; |
+ <ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute&nbsp;&nbsp;</span></p>
+ <p><a href="{{$url}}" class="title_a"> {{ .Summary | markdownify }}....</a></p>
{{ partial "post/tag/list" . }}
</div>
diff --git a/static/css/style.css b/static/css/style.css
index dd76b89..d4242c2 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -245,8 +245,10 @@ td {
padding-left: 10px;
color: #888;
}
-a{
- color: #888;
+.title_a {
+ /* color: rgb(111,111,111); */
+ color: #000;
+
}
a:hover {
color: #ed8143;