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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
@import "../../node_modules/@forever9/lego/lego";
$breakpoints: (md:856px);
$container-max-widths: (md: 800px,);
@mixin mobile() {
@include media-down(map-get($breakpoints, md)) {
@content
}
}
@import "font";
@import "dark";
@import "heaader";
@import "single";
@import "footer";
@import "taxonomy";
@include container($breakpoints: $breakpoints);
@include row();
@include column($grid-gap: 30px);
@include gen-grids();
@mixin offset($name: is-offset, $column-number: 12, $breakpoints: $breakpoints) {
@for $i from 1 through $column-number {
.#{$name}-#{$i} {
margin-left: percentage($i / $column-number);
}
}
@each $breakpoint, $width in $breakpoints {
@include media-up($width) {
@for $i from 1 through 12 {
.#{$name}-#{$breakpoint}-#{$i} {
margin-left: percentage($i / $column-number);
}
}
}
}
}
@include offset();
html {
--theme-color: #5dc2c3;
}
body {
font-family: "Merriweather", -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif;
background: #fff;
}
.icon {
cursor: pointer;
}
.main {
padding-top: 40px;
max-width: 100%;
}
a {
text-decoration: none;
}
.posts {
margin-bottom: 80px;
}
.post {
margin-bottom: 30px;
}
.post-title {
font-size: 20px;
color: #000;
display: block;
margin-bottom: 10px;
@include mobile {
font-size: 18px;
}
}
.post-date {
color: #999;
font-size: 12px;
}
.post-title {
font-family: 'Monda', -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif;
}
.year {
font-size: 28px;
margin-bottom: 40px;
font-weight: 500;
padding-left: 20px;
position: relative;
&:before {
display: block;
content: "";
border-radius: 100%;
width: 8px;
height: 8px;
background: var(--theme-color);
position: absolute;
left: 0;
top: 12px;
}
}
|