Skip to content

Commit 29c623a

Browse files
フォント指定
1 parent 35b3822 commit 29c623a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/pages/index.astro

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,15 @@ import Layout from '../layouts/Layout.astro';
7878

7979
<style>
8080
body {
81+
font-family: "Noto Sans CJK JP", sans-serif;
8182
font-feature-settings: "palt";
8283
}
8384
header, footer {
8485
text-align: center;
8586
}
87+
footer {
88+
padding: 2em;
89+
}
8690
.background {
8791
border-style: solid none;
8892
border-width: 1px;
@@ -91,7 +95,7 @@ import Layout from '../layouts/Layout.astro';
9195
}
9296
main {
9397
margin: 0 auto;
94-
padding: 8px;
98+
padding: .5em;
9599
}
96100
@media (min-width: 640px) {
97101
main {
@@ -115,18 +119,15 @@ import Layout from '../layouts/Layout.astro';
115119
}
116120

117121
.card-outer {
118-
padding: 8px;
122+
padding: .5em;
119123
}
120124
.card-inner {
121125
background-color: white;
122-
padding: 8px 16px;
126+
padding: .5em 1em;
123127
border-radius: 16px;
124128
}
125-
h2 {
126-
margin: 8px 8px;
127-
}
128-
p {
129-
margin: 8px 8px;
129+
h2, p {
130+
margin: .3em;
130131
}
131132
.underline {
132133
border-bottom: 1px solid;

0 commit comments

Comments
 (0)