File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 217
217
--status-icon : var (--status-icon-indeterminate );
218
218
}
219
219
220
- article {
220
+ . status-container {
221
221
display : grid;
222
222
grid-template-areas : "status header" "status footer" ;
223
223
grid-template-columns : 3.25rem 10.75rem ;
229
229
background-color : # 555 ;
230
230
box-shadow : 0 0.1rem 0.1rem rgba (0 , 0 , 0 , 0.5 );
231
231
overflow : hidden;
232
+
233
+ /* The status container is a link */
234
+ text-decoration : none;
235
+ color : white;
236
+ }
237
+
238
+ .status-container h1 ::after {
239
+ content : "" ;
240
+ background-image : url (assets/arrow.svg);
241
+ background-size : contain;
242
+ background-position : center;
243
+ background-repeat : no-repeat;
244
+ height : 0.8em ;
245
+ width : 1.6em ;
246
+ display : inline-block;
247
+
248
+ transition : opacity ease-in 0.08s , transform ease-in 0.1s ;
249
+ opacity : 0 ;
250
+ transform : translateX (-100% );
251
+ }
252
+
253
+ .status-container : hover h1 ::after {
254
+ transition : opacity ease-out 0.1s , transform ease-out 0.1s ;
255
+ opacity : 1 ;
256
+ transform : none;
257
+ }
258
+
259
+ .status-container : hover header {
260
+ text-decoration : underline;
232
261
}
233
262
234
263
aside {
332
361
</ head >
333
362
334
363
< body >
335
- < article >
364
+ < a class =" status-container " href =" //notifications.wikidot.com/status " target =" _top " >
336
365
< aside >
337
366
< div class ="icon-logo "> </ div >
338
367
< div class ="icon-status-wrapper ">
@@ -349,6 +378,6 @@ <h1>Notifier status</h1>
349
378
Checking...
350
379
</ p >
351
380
</ footer >
352
- </ article >
381
+ </ a >
353
382
</ body >
354
383
</ html >
You can’t perform that action at this time.
0 commit comments