-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.scss
126 lines (102 loc) · 1.76 KB
/
blog.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
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
121
122
123
124
125
126
.posts {
margin: 0;
padding: 0;
}
.post {
display: block;
article {
img {
// max-width: 800px;
max-height: 90vh;
border-radius: var(--border-radius);
&.small {
max-height: none;
width: 100%;
max-width: 500px;
}
}
}
}
.post-header {
display: flex;
align-items: center;
}
.post-header .meta .date {
margin-right: 2rem;
width: 64px;
text-align: center;
color: var(--heading-color);
}
.post-header .meta .date .day {
font-family: "Playfair Display", serif;
font-weight: 700;
line-height: 0.75em;
font-size: 2em;
display: block;
margin: 0 0 0.5rem 0;
}
.post-header .meta .date .rest {
display: block;
font-size: 0.75em;
}
.post .title.small {
margin: 0 0 10px 0;
}
.post .post-header {
margin: 30px 0;
}
.post-header h1.title {
margin: -10px 0 0 0;
}
.archive-year {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
}
.archive-year:before,
.archive-year:after {
content: "";
border-top: 1px solid var(--light-grey);
margin: 0 20px 0 0;
flex: 1 0 20px;
}
.archive-year:after {
margin: 0 0 0 20px;
}
.youtube {
position: relative;
padding-bottom: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.draft {
color: var(--red);
font-weight: bold;
font-size: 1rem;
margin-left: 0.5rem;
display: inline-block;
}
.tags {
list-style: none;
padding: 0;
margin: 1rem 0;
li {
display: inline-block;
a {
display: block;
margin: 0.25rem;
padding: 0.25rem 1rem;
font-size: 0.9em;
background-color: transparent;
border: 1px solid var(--primary);
border-radius: var(--border-radius);
}
}
}