forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpost-styles.css
More file actions
92 lines (77 loc) · 1.39 KB
/
post-styles.css
File metadata and controls
92 lines (77 loc) · 1.39 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
/* Post styling to override home.css defaults */
.post-title {
font-family: 'EB Garamond', 'Playfair Display', Georgia, serif;
font-size: 1.8em;
font-weight: 600;
margin-bottom: 0.5em;
line-height: 1.3;
}
.post-title a {
color: #1A1A1A;
text-decoration: none;
border-bottom: none;
transition: color 0.2s ease;
}
.post-title a:hover {
color: #B22222;
border-bottom: none;
}
.post {
margin-bottom: 3em;
padding-bottom: 2em;
border-bottom: 1px solid #f0f0f0;
}
.post:last-child {
border-bottom: none;
}
.post-meta {
font-size: 0.9em;
color: #666;
margin-bottom: 1em;
font-family: 'Inter', sans-serif;
}
.date {
margin-right: 1em;
}
.rating-badge {
display: inline-block;
background-color: #f3f3f3;
padding: 0.2em 0.6em;
border-radius: 3px;
font-size: 0.85em;
}
.entry {
margin: 1.5em 0;
}
.entry p {
margin-bottom: 1em;
line-height: 1.7;
}
.read-more {
display: inline-block;
font-size: 0.9em;
font-weight: 500;
color: #B22222;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 0.5em;
border-bottom: none;
}
.read-more:hover {
color: #8B0000;
border-bottom: none;
}
/* Override list styling from home.css for post content */
.posts ul {
display: block;
list-style-type: disc;
margin-left: 1.5em;
padding-left: 1em;
}
.posts li {
padding-left: 0;
margin-bottom: 0.5em;
}
.posts li:before {
content: none;
}