blob: 3ae54c8840cbd81180d3414665a8893746a4588d (
plain)
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
113
114
115
116
117
118
119
120
|
// ==============================
// Archive
// =============================
.archive {
// margin: $archive-margin;
// max-width: $archive-max-width;
margin: 0 5em 3em;
background-color: white;
padding: 1em 5em 5em 5em;
.archive-title {
font-family: $global-serif-font-family;
&.tag,
&.category {
margin: 20px 0;
}
.archive-name {
margin: 0;
display: inline-block;
font-weight: 400;
font-size: $archive-name-font-size;
line-height: $archive-name-font-size + 2px;
}
.archive-post-counter {
display: none;
color: $dark-gray;
}
}
.collection-title {
font-family: $global-serif-font-family;
.archive-year {
margin: 2em 0 0;
font-weight: 400;
font-size: $collection-title-font-size;
line-height: $collection-title-font-size + 2px;
}
}
.archive-post {
padding: $archive-post-padding;
border-bottom: $archive-post-border;
font-size: 1.1em;
.archive-post-time {
margin-right: 50px;
color: $dark-gray;
}
.archive-post-title {
.archive-post-link {
color: $theme-color;
}
}
&::first-child {
margin-top: 10px;
}
&:hover {
// border-left: $archive-post-hover-border-left;
transition: $archive-post-hover-transition;
transform: $archive-post-hover-transform;
.archive-post-time {
color: darken($dark-gray, 10%);
}
.archive-post-title .archive-post-link {
color: darken($theme-color, 10%);
}
}
}
.more-post {
.more-post-link {
margin-top: 1em;
float: right;
color: $theme-color;
font-size: 1.1em;
font-family: $global-serif-font-family;
&:hover {
border-bottom: $post-readMore-border-bottom;
}
}
}
}
@include max-screen() {
.archive {
margin-left: auto;
margin-right: auto;
padding: 1em;
.archive-title .archive-name {
font-size: $archive-name-font-size - 4px;
}
.collection-title .archive-year {
margin: 10px 0;
font-size: $collection-title-font-size - 4px;
}
.archive-post {
padding: $archive-post-mobile-padding;
.archive-post-time {
font-size: $archive-post-mobile-time-font-size;
display: block;
}
}
}
}
|