-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathPage.scss
More file actions
98 lines (80 loc) · 1.55 KB
/
Page.scss
File metadata and controls
98 lines (80 loc) · 1.55 KB
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
@use "../../styles/partials/mixins" as *;
@use "../../styles/partials/functions" as *;
.page {
flex: 1 1 auto;
position: relative;
overflow-x: hidden;
padding: 1.5em 1em;
@include break {
flex: 3;
padding: 1.5em;
}
}
.blog-list {
margin-top: 2rem;
.blog-post-item {
margin-bottom: 3rem;
padding-bottom: 2rem;
border-bottom: 1px solid #f2f2f2;
&:last-child {
border-bottom: 0;
}
h2 {
margin-top: 0;
margin-bottom: 0.5rem;
font-size: 1.8rem;
font-weight: 700;
line-height: 1.2;
a {
color: getColor(elephant);
text-decoration: none;
&:hover {
color: #1d78c1;
}
}
}
.blog-post-date {
color: getColor(dove-grey);
font-size: 1.2rem;
font-weight: 600;
margin-top: 0.25rem;
margin-bottom: 1rem;
font-style: italic;
}
p {
color: getColor(emperor);
line-height: 1.4;
margin-bottom: 1rem;
}
.read-more {
color: #1d78c1;
font-weight: 600;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
[data-theme="dark"] {
.blog-list {
.blog-post-item {
border-bottom-color: #222;
h2 a {
color: getColor(dusty-blue) !important;
&:hover {
color: getColor(malibu) !important;
}
}
.blog-post-date {
color: #bbb;
}
p {
color: getColor(alto);
}
.read-more {
color: getColor(malibu);
}
}
}
}