|
11 | 11 | * Entries |
12 | 12 | */ |
13 | 13 | .liveblog-entry { |
14 | | - display: flex; |
15 | | - background: $color-grey-x-light; |
16 | | - border-top: 2px solid $color-grey-mid-light; |
17 | | - border-bottom: 2px solid $color-grey-mid-light; |
18 | | - padding: 1em; |
19 | | - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| 14 | + display: flex; |
| 15 | + background: $color-grey-x-light; |
| 16 | + border-top: 2px solid $color-grey-mid-light; |
| 17 | + border-bottom: 2px solid $color-grey-mid-light; |
| 18 | + padding: 1em; |
| 19 | + font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .liveblog-entry { |
23 | | - @include mq($until: medium) { |
24 | | - font-size: 14px; |
25 | | - } |
| 23 | + |
| 24 | + @include mq($until: medium) { |
| 25 | + font-size: 14px; |
| 26 | + } |
26 | 27 | } |
27 | 28 |
|
28 | 29 | .liveblog-entry-main .liveblog-entry-content p { |
29 | | - margin: 16px 0; |
| 30 | + margin: 16px 0; |
30 | 31 | } |
31 | 32 |
|
32 | | -.liveblog-entry a, .liveblog-entry a:visited { |
33 | | - color: $color-grey-dark; |
| 33 | +.liveblog-entry a, |
| 34 | +.liveblog-entry a:visited { |
| 35 | + color: $color-grey-dark; |
34 | 36 | } |
35 | 37 |
|
36 | 38 | .liveblog-entry-main { |
37 | | - flex-grow: 1; |
| 39 | + flex-grow: 1; |
38 | 40 | } |
39 | 41 |
|
40 | 42 | .liveblog-entry.is-key-event { |
41 | | - border-top: 2px solid $color-grey-x-dark; |
| 43 | + border-top: 2px solid $color-grey-x-dark; |
42 | 44 | } |
43 | 45 |
|
44 | 46 | .liveblog-entry-edit { |
45 | | - margin-left: 60px; |
| 47 | + margin-left: 60px; |
46 | 48 |
|
47 | | - @include mq($until: medium) { |
48 | | - margin-left: 0; |
49 | | - } |
| 49 | + @include mq($until: medium) { |
| 50 | + margin-left: 0; |
| 51 | + } |
50 | 52 | } |
51 | 53 |
|
52 | 54 | .liveblog-entry-content { |
53 | | - padding-top: 10px; |
| 55 | + padding-top: 10px; |
54 | 56 | } |
55 | 57 |
|
56 | 58 | .liveblog-meta { |
57 | | - color: $color-grey-base; |
| 59 | + color: $color-grey-base; |
58 | 60 | } |
59 | 61 |
|
60 | 62 | .liveblog-entry-aside { |
61 | | - flex-basis: 70px; |
62 | | - min-width: 70px; |
63 | | - margin-right: 10px; |
| 63 | + flex-basis: 70px; |
| 64 | + min-width: 70px; |
| 65 | + margin-right: 10px; |
64 | 66 | } |
65 | 67 |
|
66 | 68 | .liveblog-meta-time { |
67 | | - flex-basis: 60px; |
68 | | - text-decoration: none; |
| 69 | + flex-basis: 60px; |
| 70 | + text-decoration: none; |
69 | 71 | } |
70 | 72 |
|
71 | 73 | .entry-content .liveblog-meta-time, |
72 | 74 | .entry-content .liveblog-meta-time:hover, |
73 | 75 | .entry-content .liveblog-meta-time:focus { |
74 | | - -webkit-box-shadow: none; |
75 | | - box-shadow: none; |
| 76 | + -webkit-box-shadow: none; |
| 77 | + box-shadow: none; |
76 | 78 | } |
77 | 79 |
|
78 | 80 | .liveblog-meta-time span { |
79 | | - font-size: 10px; |
80 | | - line-height: 12px; |
| 81 | + font-size: 10px; |
| 82 | + line-height: 12px; |
81 | 83 | } |
82 | 84 |
|
83 | 85 | .liveblog-meta-time span:first-child { |
84 | | - font-weight: 600; |
85 | | - color: #333; |
86 | | - margin-bottom: 5px; |
| 86 | + font-weight: 600; |
| 87 | + color: #333; |
| 88 | + margin-bottom: 5px; |
87 | 89 | } |
88 | 90 |
|
89 | 91 | .liveblog-meta-time span { |
90 | | - font-size: 10px; |
91 | | - line-height: 12px; |
| 92 | + font-size: 10px; |
| 93 | + line-height: 12px; |
92 | 94 | } |
93 | 95 |
|
94 | 96 | .liveblog-meta-time span:first-child { |
95 | | - font-weight: 600; |
96 | | - color: $color-grey-dark; |
97 | | - margin-bottom: 5px; |
| 97 | + font-weight: 600; |
| 98 | + color: $color-grey-dark; |
| 99 | + margin-bottom: 5px; |
98 | 100 | } |
99 | 101 |
|
100 | 102 | .liveblog-meta-author-name { |
101 | | - font-size: 13px; |
102 | | - margin-left: 8px; |
| 103 | + font-size: 13px; |
| 104 | + margin-left: 8px; |
103 | 105 | } |
104 | 106 |
|
105 | 107 | .liveblog-meta-author-avatar { |
106 | | - border-radius: 50%; |
107 | | - overflow: hidden; |
108 | | - width: 30px; |
109 | | - height: 30px; |
| 108 | + border-radius: 50%; |
| 109 | + overflow: hidden; |
| 110 | + width: 30px; |
| 111 | + height: 30px; |
110 | 112 | } |
111 | 113 |
|
112 | 114 | .liveblog-entry-tools { |
113 | | - margin-left: 60px; |
| 115 | + margin-left: 60px; |
114 | 116 |
|
115 | | - @include mq($until: medium) { |
116 | | - margin-left: 0; |
117 | | - } |
| 117 | + @include mq($until: medium) { |
| 118 | + margin-left: 0; |
| 119 | + } |
118 | 120 | } |
119 | 121 |
|
120 | 122 | .liveblog-hash { |
121 | | - color: $color-primary; |
| 123 | + color: $color-primary; |
122 | 124 | } |
123 | 125 |
|
124 | 126 | /** |
125 | 127 | * Events |
126 | 128 | */ |
127 | 129 | .liveblog-event { |
128 | | - padding-bottom: 1rem; |
129 | | - padding-left: 1rem; |
| 130 | + padding-bottom: 1rem; |
| 131 | + padding-left: 1rem; |
130 | 132 | } |
131 | 133 |
|
132 | 134 | .liveblog-event::before, |
133 | 135 | .liveblog-event:only-child::before, { |
134 | | - content: ""; |
135 | | - position: absolute; |
136 | | - z-index: 1; |
137 | | - left: -4.5px; |
138 | | - width: 10px; |
139 | | - height: 10px; |
140 | | - background: $color-grey-light; |
141 | | - border-radius: 50%; |
142 | | - transition: background .3s ease-in-out; |
| 136 | + content: ""; |
| 137 | + position: absolute; |
| 138 | + z-index: 1; |
| 139 | + left: -4.5px; |
| 140 | + width: 10px; |
| 141 | + height: 10px; |
| 142 | + background: $color-grey-light; |
| 143 | + border-radius: 50%; |
| 144 | + transition: background 0.3s ease-in-out; |
143 | 145 | } |
144 | 146 |
|
145 | 147 | .liveblog-event::after { |
146 | | - content: ""; |
147 | | - position: absolute; |
148 | | - z-index: 0; |
149 | | - left: 0; |
150 | | - height: 100%; |
151 | | - width: 1px; |
152 | | - background: $color-grey-light; |
| 148 | + content: ""; |
| 149 | + position: absolute; |
| 150 | + z-index: 0; |
| 151 | + left: 0; |
| 152 | + height: 100%; |
| 153 | + width: 1px; |
| 154 | + background: $color-grey-light; |
153 | 155 | } |
154 | 156 |
|
155 | 157 | .liveblog-event::before, |
156 | 158 | .liveblog-event::after { |
157 | | - top: 10px; |
| 159 | + top: 10px; |
158 | 160 | } |
159 | 161 |
|
160 | 162 | .liveblog-event:only-child::after { |
161 | | - display: none; |
| 163 | + display: none; |
162 | 164 | } |
163 | 165 |
|
164 | 166 | .liveblog-event:not(:only-child):first-child::before, |
165 | 167 | .liveblog-event:not(:only-child):last-child::before { |
166 | | - height: 1px; |
167 | | - border-radius: 0%; |
| 168 | + height: 1px; |
| 169 | + border-radius: 0%; |
168 | 170 | } |
169 | 171 |
|
170 | 172 | .liveblog-event:not(:only-child):last-child::after { |
171 | | - display: none; |
| 173 | + display: none; |
172 | 174 | } |
173 | 175 |
|
174 | 176 | .liveblog-event:hover::before { |
175 | | - background: $color-grey-dark; |
176 | | - transition: background .3s ease-in-out; |
| 177 | + background: $color-grey-dark; |
| 178 | + transition: background 0.3s ease-in-out; |
177 | 179 | } |
178 | 180 |
|
179 | 181 | .liveblog-event-content { |
180 | | - margin-top: 5px; |
181 | | - font-weight: 600; |
182 | | - font-size: 14px; |
| 182 | + margin-top: 5px; |
| 183 | + font-weight: 600; |
| 184 | + font-size: 14px; |
183 | 185 | } |
184 | 186 |
|
185 | 187 | /** |
186 | 188 | * Pagination |
187 | 189 | */ |
188 | 190 | .liveblog-pagination-first, |
189 | 191 | .liveblog-pagination-last { |
190 | | - background: $color-grey-mid-light; |
191 | | - color: $color-grey-x-dark; |
| 192 | + background: $color-grey-mid-light; |
| 193 | + color: $color-grey-x-dark; |
192 | 194 | } |
193 | 195 |
|
194 | 196 | .liveblog-pagination-pages { |
195 | | - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| 197 | + font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
196 | 198 | } |
197 | 199 |
|
198 | | -.liveblog-pagination-btn, .ampstart-btn { |
199 | | - background-color: $color-grey-x-dark; |
200 | | - border: 0; |
201 | | - border-radius: 2px; |
202 | | - box-shadow: none; |
203 | | - color: white; |
204 | | - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
205 | | - cursor: pointer; |
206 | | - display: inline-block; |
207 | | - font-size: 14px; |
208 | | - line-height: 1; |
209 | | - padding: .5rem 1rem; |
210 | | - |
211 | | - &:hover { |
212 | | - color: white; |
213 | | - background: $color-grey-dark; |
214 | | - } |
215 | | - |
216 | | - &:visited { |
217 | | - color: white; |
218 | | - } |
| 200 | +.liveblog-pagination-btn, |
| 201 | +.ampstart-btn { |
| 202 | + background-color: $color-grey-x-dark; |
| 203 | + border: 0; |
| 204 | + border-radius: 2px; |
| 205 | + box-shadow: none; |
| 206 | + color: white; |
| 207 | + font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| 208 | + cursor: pointer; |
| 209 | + display: inline-block; |
| 210 | + font-size: 14px; |
| 211 | + line-height: 1; |
| 212 | + padding: 0.5rem 1rem; |
| 213 | + |
| 214 | + &:hover { |
| 215 | + color: white; |
| 216 | + background: $color-grey-dark; |
| 217 | + } |
| 218 | + |
| 219 | + &:visited { |
| 220 | + color: white; |
| 221 | + } |
219 | 222 | } |
220 | 223 |
|
221 | 224 | .ampstart-btn { |
222 | | - color: #fff; |
223 | | - background: $color-primary; |
224 | | - font-size: 16px; |
225 | | - border-radius: 50px; |
226 | | - margin-left: auto; |
227 | | - margin-right: auto; |
228 | | - margin-bottom: 15px; |
| 225 | + color: #fff; |
| 226 | + background: $color-primary; |
| 227 | + font-size: 16px; |
| 228 | + border-radius: 50px; |
| 229 | + margin-left: auto; |
| 230 | + margin-right: auto; |
| 231 | + margin-bottom: 15px; |
229 | 232 |
|
230 | | - &:hover { |
231 | | - background: lighten($color-primary, 10%); |
232 | | - } |
| 233 | + &:hover { |
| 234 | + background: lighten($color-primary, 10%); |
| 235 | + } |
233 | 236 | } |
234 | 237 |
|
235 | 238 | .live-list .ampstart-btn { |
236 | | - display: none; |
| 239 | + display: none; |
237 | 240 | } |
238 | 241 |
|
239 | 242 | /** |
240 | 243 | * Embeds |
241 | 244 | */ |
242 | | -.liveblog-entry amp-youtube, .liveblog-entry amp-instagram, .liveblog-entry amp-vine { |
243 | | - margin: 0 0 1.5em; |
| 245 | +.liveblog-entry amp-youtube, |
| 246 | +.liveblog-entry amp-instagram, |
| 247 | +.liveblog-entry amp-vine { |
| 248 | + margin: 0 0 1.5em; |
244 | 249 | } |
0 commit comments