CINXE.COM
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://use.typekit.net/lvx5opv.js"></script> <script> try { Typekit.load({ async: true }); } catch (e) {} </script> <style> * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box } html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; vertical-align: baseline; background: transparent } article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block } html { font-size: 16px; line-height: 24px; width: 100%; height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; overflow-x: hidden } img { vertical-align: middle; max-width: 100%; height: auto; border: 0; -ms-interpolation-mode: bicubic } body { min-height: 100%; -webkit-font-smoothing: subpixel-antialiased } .clearfix { clear: both; zoom: 1 } .clearfix:before, .clearfix:after { content: " \0020 " ; display: block; height: 0; visibility: hidden } .clearfix:after { clear: both } </style> <style> .plain.error-page-wrapper { font-family: "futura-pt", sans-serif; font-style: normal; font-weight: 400; position: relative; display: none; } .plain.error-page-wrapper.visible { display: block; } header, main, footer { text-align: center; } header { line-height: 75px; } .reply-logo { fill: #6953f0; height: 20px; display: inline-block; vertical-align: bottom; } .headline { color: #6953f0; font-size: 56px; line-height: 60px; font-weight: 300; margin-bottom: 50px; } .subheadline { color: #adb4c5; font-size: 16px; line-height: 24px; margin-bottom: 40px; font-weight: 400; } .article-block { max-width: 840px; margin: 0 auto; } .article-block:before, .article-block:after { content: ''; display: table; } .article-block:after { clear: both; } .article-block .article { padding: 0 30px; width: 33.33%; display: inline-block; float: left; } .article-block .article { color: #000; font-size: 20px; font-weight: 300; text-decoration: none; } .article-block .article .name { line-height: 28px; text-align: left; margin-top: 30px; } .article-block .article .img { width: 100%; height: 120px; background-repeat: no-repeat; background-size: 100% auto; background-position: center; } footer span { color: #adb4c5; font-size: 12px; line-height: 24px; } header { height: 75px; } footer { height: 75px; } main { height: calc(100vh - 150px); line-height: calc(100vh - 150px); } main .wrap { display: inline-block; vertical-align: middle; line-height: 1; } .center-align { text-align: center; } media screen and (max-height: 760px), screen and (max-width: 840px) { main { height: auto; } footer { margin-top: 40px; } header { margin-bottom: 30px; } } </style> </head> <body class="plain error-page-wrapper"> <header></header> <main> <div class="wrap"> <h1 class="headline"> Bear with us — we’re making <br> application better right now </h1> <h3 class="subheadline"> Application is not available right now. We will be up and running shortly. </h3> <section class="article-block"></section> </div> </main> <footer> <span> Copyright © <span id="year"></span>. All right reserved. </span> </footer> <script> $('#year').html(function () { return new Date().getFullYear(); }); $.ajax('https://reply.io/?getdata=posts') .success(function (data) { // var data = JSON.parse(data), // container = $('.article-block'); // // data.forEach(function (article) { // var img = article.image ? article.image : 'https://reply.io/wp-content/uploads/placeholder.png', // template = returnTemplate(article.url, img, article.title); // // container.append(template); // // }); }) .fail(function () { // $('.article-block').append('<div class="center-align">Visit <a href="http://reply.io/blog/">our blog</a> for articles</div>'); }) .always(function () { $('.plain.error-page-wrapper').addClass('visible'); }); $('.plain.error-page-wrapper').addClass('visible'); function returnTemplate (href, img, name) { return ( '<a class="article" href="' + href + '">' + '<div class="img" style="background-image: url(' + img + ')"></div>' + '<p class="name">' + name + '</p>'+ '</a>' ); } </script> </body> </html>