File size: 3,638 Bytes
32dba06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
.new {
  display: grid;
  margin-inline: var(--space-medium);
  position: relative;
}

.new__container {
  display: grid;
  gap: var(--space-x-large);
}

.new__post {
  align-items: start;
  display: grid;
  gap: var(--space-neutral);
}

.new__post header {
  display: grid;
  gap: 0.7em;
}

.new__post header time {
  font-size: var(--font-size-xxx-small);
  font-weight: 600;
  letter-spacing: var(--letter-spacing);
  margin-bottom: -0.3em;
  margin-top: -0.575em;
}

.new__post header h2 {
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: -0.1875em;
  margin-top: -0.4375em;
}

.new__post header h2 a {
  font-weight: inherit;
}

.new__post section {
  display: grid;
  gap: var(--space-neutral);
}

.new__post section button {
  display: grid;
}

.new__post section button figure {
  background: var(--color-white);
  border-radius: 0.2em;
  box-shadow: var(--box-shadow);
  display: grid;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.new__post section button figure:before {
  background: url('/assets/images/general/icon-play.svg') center center/0.8em auto no-repeat var(--color-black);
  border-radius: 100%;
  content: '';
  height: 1.8em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.85);
  width: 1.8em;
  z-index: 1;
}

.new__post section article {
  display: grid;
  gap: var(--space-medium);
}

.new__post section article p {
  font-size: var(--font-size-x-small);
  letter-spacing: var(--letter-spacing);
  margin-bottom: -0.325em;
  margin-top: -0.5625em;
}



@media(hover: hover) {

  .new section button figure {
    outline: 0.1em solid transparent;
    outline-offset: 0.24em;
    transition:
      outline-color var(--transition-slow),
      outline-offset var(--transition-slow)
    ;
  }

  .new section button figure:before {
    transition:
      opacity var(--transition-slow),
      transform var(--transition-slow)
    ;
    will-change: transform;
  }

  .new section button:focus figure,
  .new section button:hover figure {
    outline-color: var(--color-black);
    outline-offset: 0.12em;
  }

  .new section button:focus figure:before,
  .new section button:hover figure:before {
    opacity: 1;
    transform: scale(1);
  }

}



@media(min-width: 48em) {

  .new__container {
    gap: normal;
    padding-left: var(--space-neutral);
  }

  .new__post {
    display: flex;
    padding-bottom: var(--space-x-large);
    position: relative;
  }

  .new__post header {
    flex: 1;
    position: sticky;
    top: calc(var(--font-size) * 2.1 + var(--space-neutral));
    z-index: 1;
  }

  .new__post header:after {
    background: var(--color-green);
    border-radius: 100%;
    box-shadow: 0 0 0 0.3em var(--color-white);
    content: '';
    height: 0.5em;
    left: -1.25em;
    pointer-events: none;
    position: absolute;
    top: -0.1625em;
    width: 0.5em;
  }

  .new__post section {
    flex: 2;
  }

  .new__post:before,
  .new__post:after {
    border-radius: 0.1em;
    content: '';
    left: -1.05em;
    pointer-events: none;
    position: absolute;
    width: 0.1em;
  }

  .new__post:before {
    bottom: 100%;
    height: var(--space-x-large);
  }

  .new__post:after {
    background: var(--color-grey);
    height: 100%;
    top: 0;
  }

  .new__post:first-child:before {
    background: linear-gradient(180deg, transparent 0, var(--color-grey) 100%);
  }

  .new__post:last-child {
    padding-bottom: 0;
  }

  .new__post:last-child:after {
    background: linear-gradient(0deg, transparent 0, var(--color-grey) 75%);
  }

}



@media(min-width: 64em) {

  .new {
    margin-inline: var(--space-neutral);
  }

}