Skip to content

Commit 8e7434e

Browse files
committed
padding と ol のスタイルを追加
1 parent 5528dfc commit 8e7434e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
{% include navbar.html %}
55

6-
<h2 class="max-w-4xl mx-auto text-4xl text-center mb-2 mt-30 xl:mt-15">
6+
<h2 class="max-w-4xl mx-auto text-4xl text-center mb-2 mt-30 px-8 xl:mt-15">
77
{{ page.title }}
88
<span class="block mt-5 text-2xl">{{ page.subtitle | upcase }}</span>
99
</h2>

_sass/includes/post.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@
3434
a {
3535
text-decoration: underline;
3636
color: #cc8f2e;
37+
word-break: break-word;
3738
}
3839

3940
ul {
4041
list-style: disc;
4142
padding-left: 1.5rem;
4243
}
44+
45+
ol {
46+
list-style: decimal;
47+
padding-left: 1.5rem;
48+
}
4349
}

0 commit comments

Comments
 (0)