Skip to content

Commit 8a5080f

Browse files
author
SetoAira
committed
日本語フォント指定
1 parent 51543b2 commit 8a5080f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_includes/top.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link rel="preload" href="{{ "/css/screen.css" | relative_url }}" as="style">
1313
<link rel="stylesheet" href="/css/screen.css">
1414
<link rel="icon" type="image/x-icon" href="/favicon.ico">
15+
<link href="https://fonts.googleapis.com/css?family=M+PLUS+1p:300,400,500,700,900" rel="stylesheet"><!--追加-->
1516
{% seo %}
1617
<!--[if lt IE 9]>
1718
<script src="/js/html5shiv.min.js"></script>

_sass/_style.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
}
1212

1313
body {
14-
font: 300 21px Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
14+
font: 300 21px Lato, 'M PLUS 1p', 'Helvetica Neue', Helvetica, Arial, sans-serif;
15+
// font: 300 21px Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
1516
color: #ddd;
1617
background-color: #333;
1718
@include box-shadow(inset 0 3px 30px rgba(0,0,0,.3));
@@ -473,7 +474,7 @@ aside {
473474
list-style-type: none;
474475

475476
a {
476-
font-size: 16px;
477+
font-size: 14px;
477478
position: relative
478479
}
479480

0 commit comments

Comments
 (0)