187 lines
4.9 KiB
Plaintext
187 lines
4.9 KiB
Plaintext
{% include "header" %}
|
|
|
|
<div class="hero">
|
|
<img class="np-homepage-hero-image" src="https://s3.amazonaws.com/static.northpass.com/walmart/news-header.png" alt="">
|
|
<div class="hero-content-container">
|
|
<div class="hero-content">
|
|
<div class="np-resource-title">Spark Driver News</div>
|
|
<div class="np-resource-subtitle">View the latest news and announcements from Spark Driver.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<main class="np-main np-catalog np-subpage-container np-max-width" id="news">
|
|
<div class="np-catalog-header-wrapper">
|
|
<div class="np-catalog-header">
|
|
<div class="np-resource-title" style="margin-bottom:16px;">Featured Article</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 np-stretch-content">
|
|
<a class="featured-article" href="#">
|
|
<div class="img-container">
|
|
<img src="https://s3.amazonaws.com/static.northpass.com/walmart/delivery-card.png" />
|
|
</div>
|
|
|
|
<div class="featured-article-content">
|
|
<h3>Vivamus suscipit tortor eget felis porttitor volutpa proin eget tortor risus.</h3>
|
|
<div class="intro">
|
|
Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec sollicitudin molestie malesuada. […]
|
|
</div>
|
|
<div style="margin-top:16px;"> <time><i class="fa fa-clock-o" aria-hidden="true"></i> 5 Minute Read</time></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="recent-news">
|
|
<div class="col-xs-12 np-stretch-content">
|
|
<h2>Recent News</h2>
|
|
<ul>
|
|
<li><a href="#"><span>Praesent sapien massa, convallis a pellentesque nec, egestas non nisi. Sed porttitor lectus nibh. Mauris blandit aliquet elit, eget tincidunt.</span><b>Nov 23</b></a></li>
|
|
<li><a href="#/"><span>Vestibulum ante ipsum primis</span><b>Nov 16</b></a></li>
|
|
<li><a href="#"><span>Quisque velit nisi, pretium ut lacinia in, elementum id enim. Nulla porttitor accumsan tincidunt. Cras ultricies ligula sed.</span><b>Nov 8</b></a></li>
|
|
<li><a href="#"><span>Donec rutrum congue leo eget malesuada. Pellentesque in ipsum id orci porta dapibus.</span><b>Nov 3</b></a></li>
|
|
<li><a href="#"><span>Cras ultricies ligula sed magna dictum porta id enim.</span><b>Nov 29</b></a></li>
|
|
<li><a href="#"><span>Donec rutrum congue leo eget malesuada.</span></a></li>
|
|
<li><a href="#"><span>Quisque velit nisi, pretium ut lacinia in, elementum id enim. Curabitur arcu erat.</span><b>Nov 23</b></a></li>
|
|
<li><a href="#"><span>Vestibulum ante ipsum primis.</span><b>Nov 23</b></a></li>
|
|
</ul>
|
|
<a href="/news/" class="seeall">See All</a>
|
|
</div>
|
|
</div>
|
|
|
|
</main>
|
|
{% include "footer" %}
|
|
|
|
<style>
|
|
|
|
.hero {
|
|
position:relative;
|
|
}
|
|
|
|
.hero-content-container {
|
|
position: absolute;
|
|
top: 17%;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 1440px;
|
|
margin: auto;
|
|
padding: 0 5%;
|
|
}
|
|
|
|
.hero-content .np-resource-title,
|
|
.hero-content .np-resource-subtitle {
|
|
color:#fff;
|
|
}
|
|
|
|
.hero-content .np-resource-title{
|
|
font-size:3rem;
|
|
}
|
|
|
|
.hero-content .np-resource-subtitle {
|
|
font-size: 1.5rem;
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.featured-article {
|
|
display:flex;
|
|
background: #fff;
|
|
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
|
|
border-radius: 4px;
|
|
margin-bottom: 44px;
|
|
text-decoration:none;
|
|
}
|
|
|
|
.img-container {
|
|
width:40%;
|
|
position:relative;
|
|
overflow:hidden;
|
|
}
|
|
|
|
.img-container img {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
}
|
|
|
|
.featured-article-content {
|
|
width: 60%;
|
|
padding: 32px 40px;
|
|
}
|
|
|
|
.featured-article-content {
|
|
text-decoration:none!important;
|
|
color:#35404e!important;
|
|
}
|
|
|
|
.recent-news ul {
|
|
list-style-type: none;
|
|
margin: 0 0 28px;
|
|
padding: 0;
|
|
}
|
|
|
|
.recent-news ul li {
|
|
margin: 0 0 10px;
|
|
padding: 0 0 12px;
|
|
border-bottom: 1px solid #dadada;
|
|
}
|
|
|
|
.recent-news h2 {
|
|
margin-bottom: 37px;
|
|
}
|
|
|
|
.recent-news ul li a {
|
|
text-decoration: none;
|
|
color: #4d4d4d;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.recent-news ul li a span {
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.recent-news ul li a b {
|
|
padding-left: 20px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 34px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.recent-news a.seeall {
|
|
text-decoration: none;
|
|
color: #2a71dc;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (max-width:767px) {
|
|
.hero-content .np-resource-title{
|
|
font-size:2rem;
|
|
}
|
|
|
|
.hero-content .np-resource-subtitle {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.featured-article {
|
|
display:block;
|
|
}
|
|
|
|
.img-container {
|
|
height: 250px;
|
|
width:100%;
|
|
}
|
|
|
|
.featured-article-content {
|
|
width: 100%;
|
|
}
|
|
}
|
|
</style> |