-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_post.scss
90 lines (72 loc) · 1.19 KB
/
_post.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.container {
.post__header {
display: flex;
color: $gray_dark;
margin-bottom: $gap_medium;
}
.post__date {
margin-right: $gap_medium;
}
.post__title {
margin: $gap_medium 0;
}
.post__authors {
padding: 0;
list-style: none;
}
.author__item {
color: $gray;
}
.author__link {
&:link,
&:visited {
color: $gray;
}
}
.post__thumbnail {
@include thumbnail(160px, 160px);
min-width: 160px;
}
}
.post {
// 見出しの大きさを小さくする
h1 {
font-size: $h1_font_size * 0.9;
}
h2 {
font-size: $h2_font_size * 0.9;
}
h3 {
font-size: $h3_font_size * 0.9;
}
h4 {
font-size: $h4_font_size * 0.9;
}
h5 {
font-size: $h5_font_size * 0.9;
}
h6 {
font-size: $h6_font_size * 0.9;
}
@include media_small {
// 見出しの大きさを小さくする
h1 {
font-size: $h1_font_size * 0.7;
}
h2 {
font-size: $h2_font_size * 0.7;
}
h3 {
font-size: $h3_font_size * 0.7;
}
h4 {
font-size: $h4_font_size * 0.7;
}
h5 {
font-size: $h5_font_size * 0.7;
}
h6 {
font-size: $h6_font_size * 0.7;
}
}
}