From c886a0aa920665743a75e6e843384c8d142d9f67 Mon Sep 17 00:00:00 2001 From: suremotoo Date: Mon, 22 Apr 2019 19:46:58 +0800 Subject: [PATCH] fixed timeline.css --- assets/styles/lib/timelime.less | 2 +- exampleSite/gridea-nederburg/assets/styles/lib/timelime.less | 2 +- .../gridea-nederburg/templates/includes/post-list-archives.ejs | 2 +- styles/main.css | 2 +- templates/includes/post-list-archives.ejs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/styles/lib/timelime.less b/assets/styles/lib/timelime.less index 8d83d2d..f3f523c 100644 --- a/assets/styles/lib/timelime.less +++ b/assets/styles/lib/timelime.less @@ -88,7 +88,7 @@ transition: all 0.3s ease; width: 90%; float: right; - h3 { + h3.timeline-title { padding: 15px; background: @primary-color; color: #fff; diff --git a/exampleSite/gridea-nederburg/assets/styles/lib/timelime.less b/exampleSite/gridea-nederburg/assets/styles/lib/timelime.less index 8d83d2d..f3f523c 100644 --- a/exampleSite/gridea-nederburg/assets/styles/lib/timelime.less +++ b/exampleSite/gridea-nederburg/assets/styles/lib/timelime.less @@ -88,7 +88,7 @@ transition: all 0.3s ease; width: 90%; float: right; - h3 { + h3.timeline-title { padding: 15px; background: @primary-color; color: #fff; diff --git a/exampleSite/gridea-nederburg/templates/includes/post-list-archives.ejs b/exampleSite/gridea-nederburg/templates/includes/post-list-archives.ejs index 3ba4406..9da231c 100644 --- a/exampleSite/gridea-nederburg/templates/includes/post-list-archives.ejs +++ b/exampleSite/gridea-nederburg/templates/includes/post-list-archives.ejs @@ -13,7 +13,7 @@ <% posts.forEach(function(post) { %> <%if (post.date.indexOf(year) !== -1) { %>
-

<%= post.title %>

+

<%= post.title %>

<%- post.abstract %>

diff --git a/styles/main.css b/styles/main.css index 66ce498..2f53f52 100644 --- a/styles/main.css +++ b/styles/main.css @@ -2826,7 +2826,7 @@ li.pingback:first-child { width: 90%; float: right; } -#timeline .timeline-item .timeline-content h3 { +#timeline .timeline-item .timeline-content h3.timeline-title { padding: 15px; background: #e44d4d; color: #fff; diff --git a/templates/includes/post-list-archives.ejs b/templates/includes/post-list-archives.ejs index 3ba4406..9da231c 100644 --- a/templates/includes/post-list-archives.ejs +++ b/templates/includes/post-list-archives.ejs @@ -13,7 +13,7 @@ <% posts.forEach(function(post) { %> <%if (post.date.indexOf(year) !== -1) { %>
-

<%= post.title %>

+

<%= post.title %>

<%- post.abstract %>