Skip to content

Commit f135b2d

Browse files
committed
Update theme
1 parent 47d1ed9 commit f135b2d

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1 class="post-title">{{ page.title }}</h1>
1111
</div>
1212
<div class="post-date">Published on {{ page.date | date_to_string }}</div>
1313
{% if page.description != null %}
14-
<div class="post-description">{{ page.description }}</div>
14+
<div class="post-description"><span class="color-blue">> </span>{{ page.description }}</div>
1515
{% endif %}
1616
{{ content }}
1717
</div>

_posts/2019-04-16-welcome-to-jekyll2.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: post
33
title: "Welcome to Jekyll!"
4+
description: this article explains something and gives a brief introduction.
45
tags: welcome introduction
56
---
67
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
@@ -17,6 +18,10 @@ print_hi('Tom')
1718
#=> prints 'Hi, Tom' to STDOUT.
1819
{% endhighlight %}
1920

21+
Pictures look like this:
22+
23+
![image](https://picsum.photos/200)
24+
2025
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
2126

2227
[jekyll-docs]: https://jekyllrb.com/docs/home

_sass/dash/_layout.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
margin-right: 1em;
5454
width: 72px;
5555
height: 72px;
56+
border-radius: 0.3em;
5657
}
5758
}
5859

@@ -63,12 +64,27 @@
6364

6465
.post-title {
6566
color: $color-foreground;
67+
text-align: left;
68+
}
69+
70+
.post-description {
71+
margin-top: 1em;
72+
color: $color-pink;
73+
font-style: italic;
6674
}
6775

6876
.post {
6977
.post-date {
70-
margin-top: 0.5em;
78+
margin-top: 1em;
7179
color: $color-foreground-dark;
80+
font-size: 12px;
81+
margin-top: 1em;
82+
margin-left: 0.5em;
83+
}
84+
85+
img {
86+
border-radius: 0.3em;
87+
width: 100%;
7288
}
7389
}
7490

@@ -153,3 +169,7 @@
153169
font-size: $post-link-font-size * 1.25;
154170
}
155171
}
172+
173+
blockquote {
174+
color: $color-orange;
175+
}

0 commit comments

Comments
 (0)