You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/03/30 21:31:14 UTC
[libcloud-site] 03/05: Improve some styles.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git
commit ef36cda33dce30533da50515c3b2b9e2672f9775
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Mar 30 23:23:02 2022 +0200
Improve some styles.
---
source/_assets/css/main.css | 9 +++++++++
source/_includes/post.html | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/source/_assets/css/main.css b/source/_assets/css/main.css
index d166d6e..703e8df 100644
--- a/source/_assets/css/main.css
+++ b/source/_assets/css/main.css
@@ -304,6 +304,10 @@ img.center {
/* Blog styles */
div.post h2 {
+ margin-bottom: 20px;
+}
+
+div.post h2.post-title {
margin-bottom: 10px;
}
@@ -317,6 +321,11 @@ pre {
color: var(--main-text-color);
}
+div.post ul {
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+
.popover {
background-color: var(--main-background-color);
border: 1px solid var(--main-border-color);
diff --git a/source/_includes/post.html b/source/_includes/post.html
index 38db0a6..b0daabc 100644
--- a/source/_includes/post.html
+++ b/source/_includes/post.html
@@ -1,8 +1,8 @@
<div class="post">
{% if show_post_link %}
- <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+ <h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
{% else %}
- <h2>{{ post.title }}</h2>
+ <h2 class="post-title">{{ post.title }}</h2>
{% endif %}
<span class="post-date-author">By {{ post.author }} on {{ post.date | date: "%b %d, %Y" }}</span>