<ods-catalog-context context="catalog">
<section class="home-header"></section>
<section class="container">
<div class="row row-equal-height">
<div class="col-md-4">
<div class="welcome-card">
<h1 class="welcome-card-title">
Welcome to
<br />
Portal Name
</h1>
<p class="welcome-card-description">
Lorem ipsum dolor amet kombucha try-hard biodiesel XOXO scenester
subway tile. Etsy selvage shaman master cleanse activated charcoal.
Celiac hella wayfarers glossier palo santo pork belly. Vape twee
stumptown normcore. Occupy fingerstache listicle etsy.
</p>
<a href="/explore/" class="welcome-card-link">
Explore catalog
<i class="fa fa-long-arrow-right fa-fw" aria-hidden="true"></i>
</a>
</div>
</div>
<div class="col-md-4">
<div class="kpi-card">
<i class="kpi-icon fa fa-gitlab" aria-hidden="true"></i>
<p class="kpi-title">5,983</p>
<p class="kpi-description">
Dignissim suspendisse in est ante in nibh nisl tincidunt eget
</p>
</div>
</div>
<div class="col-md-4">
<div class="kpi-card">
<i class="kpi-icon fa fa-houzz" aria-hidden="true"></i>
<p class="kpi-title">18.3k</p>
<p class="kpi-description">
Quam vulputate dignissim suspendisse in est ante in nibh. Faucibus
nisl tincidunt eget nullam non nisi est sit amet
</p>
</div>
</div>
</div>
</section>
<section class="container">
<div class="search-card">
<h2 class="search-card-title">What data are you looking for?</h2>
<div class="search-card-container">
<ods-searchbox
class="search-card-searchbox"
form-id="search-form"
translate="placeholder"
placeholder="Search for a dataset">
</ods-searchbox>
<button
type="submit"
form="search-form"
class="search-card-submit-button">
Search
</button>
</div>
</div>
</section>
<section class="container">
<div class="access-cards-container">
<a href="#"
class="access-card-bg"
style="background-image: url('https://discovery.opendatasoft.com/assets/theme_image/mobility-bg.jpg');">
<div class="access-card">
<div class="access-card-content">
<h3 class="access-card-pretitle">Mobility</h3>
<h2 class="access-card-title">Map of the bike stations</h2>
<h4 class="access-card-subtitle">
Quam vulputate dignissim suspendisse in est ante in nibh. Faucibus nisl tincidunt eget nullam non nisi est sit amet.
</h4>
<div class="access-card-description">
<h4>Categories</h4>
<p>Title category #1 : XXXX</p>
<p>Title category #2 : XXXX</p>
<p>Title category #3 : XXXX</p>
<p>Title category #4 : XXXX</p>
</div>
</div>
<div class="access-card-button">
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
</div>
</div>
</a>
<a href="#"
class="access-card-bg"
style="background-image: url('https://discovery.opendatasoft.com/assets/theme_image/gastronomy-bg.jpg');">
<div class="access-card">
<div class="access-card-content">
<h3 class="access-card-pretitle">Gastronomy</h3>
<h2 class="access-card-title">Restaurant of the month</h2>
<h4 class="access-card-subtitle">
Massa id neque aliquam vestibulum. Fringilla phasellus faucibus scelerisque eleifend donec pretium vulputate.
</h4>
<div class="access-card-description">
<h4>Categorie</h4>
</div>
</div>
<div class="access-card-button">
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
</div>
</div>
</a>
<a href="#"
class="access-card-bg"
style="background-image: url('https://discovery.opendatasoft.com/assets/theme_image/culture-bg.jpg');">
<div class="access-card">
<div class="access-card-content">
<h3 class="access-card-pretitle">Culture</h3>
<h2 class="access-card-title">Opened libraries</h2>
<h4 class="access-card-subtitle">
Integer malesuada nunc vel risus commodo viverra maecenas. Sem et tortor consequat id porta.
</h4>
</div>
<div class="access-card-button">
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
</div>
</div>
</a>
</div>
</section>
<section class="container">
<div class="row">
<div class="col-md-4">
<h2 class="home-subtitle">Most popular data</h2>
<ods-most-popular-datasets
context="catalog"></ods-most-popular-datasets>
</div>
<div class="col-md-4">
<h2 class="home-subtitle">Last updated data</h2>
<ods-last-datasets-feed context="catalog"></ods-last-datasets-feed>
</div>
<div class="col-md-4">
<h2 class="home-subtitle">On twitter</h2>
<div class="twitter-timeline-container">
<a
class="twitter-timeline"
data-height="392"
href="https://twitter.com/Opendatasoft?ref_src=twsrc%5Etfw">Tweets by Opendatasoft</a>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"></script>
</div>
</div>
</div>
</section>
</ods-catalog-context>
:root {
--secondary-color: #142E7B;
}
.text-center {
text-align: center;
}
.centered-card {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.color-card {
background-color: var(--links);
background-color: var(--secondary-color);
color: #FFFFFF;
text-align: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 39px;
border-radius: 4px;
margin-bottom: 20px;
height: 100%;
text-decoration: none;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
}
.color-card:hover,
.color-card:focus {
text-decoration: none;
-webkit-transform: scale(1.02);
-ms-transform: scale(1.02);
transform: scale(1.02);
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
}
.color-card-icon {
font-size: 2rem;
margin-bottom: 13px;
}
.color-card-picto {
width: auto;
height: 56px;
margin-bottom: 13px;
max-width: 100%;
}
.color-card-title {
color: inherit;
font-size: 1.2rem;
line-height: 1.5;
font-weight: normal;
margin-top: 0;
margin-bottom: 0;
max-width: 100%;
}
.color-card-description {
font-size: 1rem;
line-height: 1.5;
font-weight: normal;
color: inherit;
margin-top: 13px;
margin-bottom: 26px;
max-width: 100%;
}
.color-card-link {
color: inherit;
font-weight: bold;
margin-top: auto;
max-width: 100%;
}
.content-card {
background-color: var(--boxes-background);
padding: 26px;
border-radius: 4px;
margin-bottom: 20px;
height: 100%;
}
.content-card-title {
color: var(--titles);
font-size: 1.2rem;
line-height: 1.5;
font-weight: normal;
margin-top: 0;
margin-bottom: 13px;
max-width: 100%;
}
.content-card-description {
color: var(--text);
font-size: 1rem;
line-height: 1.5;
font-weight: normal;
margin-top: 0;
margin-bottom: 26px;
max-width: 100%;
}
.content-card-icon {
color: var(--highlight);
font-size: 2rem;
margin-bottom: 13px;
max-width: 100%;
}
.content-card-link {
color: var(--links);
font-weight: bold;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
opacity: 1;
max-width: 100%;
}
.content-card-link:hover {
opacity: .7;
text-decoration: none;
}
.content-card-button {
color: var(--highlight);
color: var(--secondary-color);
border: 1px solid var(--highlight);
border: 1px solid var(--secondary-color);
background: transparent;
display: inline-block;
text-align: center;
font-size: .867rem;
border-radius: 4px;
padding: .5rem 1.15rem;
text-decoration: none;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
}
.content-card-button:hover {
background-color: var(--highlight);
background-color: var(--secondary-color);
color: #FFFFFF;
text-decoration: none;
}
.search-card {
background-color: rgba(0, 0, 0, .1);
padding: 39px;
border-radius: 4px;
margin-bottom: 20px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
text-align: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.search-card-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
max-width: 500px;
margin: 0 auto;
}
.search-card-title {
color: var(--titles);
font-size: 1.2rem;
line-height: 1.5;
font-weight: normal;
}
.search-card-searchbox {
margin-bottom: 0;
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.search-card-searchbox .odswidget-searchbox__box {
font-size: 1rem;
display: block;
width: 100%;
max-width: 500px;
padding: 8px 13px;
border-radius: 4px 0 0 4px;
border: none;
margin: 0 auto;
}
.search-card-submit-button {
border: none;
background-color: var(--highlight);
color: #FFFFFF;
font-size: .866rem;
font-weight: bold;
text-align: center;
padding: 8px 12px;
border-radius: 0 4px 4px 0;
-webkit-transition: opacity .2s;
-o-transition: opacity .2s;
transition: opacity .2s;
}
.search-card-submit-button:hover {
text-decoration: none;
opacity: .7;
}
.kpi-card {
background-color: var(--boxes-background);
height: 100%;
padding: 39px;
border-radius: 4px;
margin-bottom: 20px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.kpi-icon {
color: var(--highlight);
color: var(--secondary-color);
font-size: 4rem;
margin-top: 0;
margin-bottom: 13px;
max-width: 100%;
}
.kpi-title {
font-weight: normal;
color: var(--highlight);
font-size: 3.2rem;
margin-top: 0;
margin-bottom: 13px;
max-width: 100%;
}
.kpi-description {
color: var(--text);
font-size: 1rem;
line-height: 1.5;
font-weight: normal;
margin-top: 0;
margin-bottom: 0;
max-width: 100%;
}
.image-card {
background-color: rgba(0, 0, 0, .1);
background-color: var(--secondary-color);
color: #FFFFFF;
padding: 39px;
border-radius: 4px;
margin-bottom: 20px;
min-height: 300px;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
text-align: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
text-decoration: none;
}
.image-card:hover,
.image-card:focus {
text-decoration: none;
-webkit-transform: scale(1.02);
-ms-transform: scale(1.02);
transform: scale(1.02);
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
}
.image-title {
color: inherit;
font-size: 1.733rem;
line-height: 2.26;
font-weight: bold;
margin-top: 0;
margin-bottom: 13px;
}
.image-description {
color: inherit;
font-size: 1rem;
line-height: 1.5;
font-weight: bold;
margin: 0;
}
.access-cards-container {
margin-bottom: 20px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 40px;
}
.access-card-bg {
background-repeat: no-repeat;
background-size: cover;
border-radius: 4px;
box-shadow: 0px 6px 13px rgba(0, 0, 0, 0.13);
transition: all 0.3s;
color: var(--text);
display: flex;
height: 100%;
justify-content: center;
margin-bottom: 20px;
}
.access-card-bg:hover {
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
text-decoration: none;
}
.access-card {
border-radius: 10px;
background-color: #fff;
margin: 200px 26px 26px;
padding: 26px;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.access-card-pretitle {
text-transform: uppercase;
color: var(--secondary-color);
opacity: 0.7;
font-weight: 400;
margin: 0px;
font-size: 12px;
}
.access-card-title {
font-weight: 400;
margin: 10px 0px;
font-size: 22px;
}
.access-card-subtitle {
font-size: 16px;
font-weight: 400;
margin: 0px 0px 10px 0px;
}
.access-card-description {
background-color: var(--boxes-background);
padding: 10px;
}
.access-card-description h4 {
font-weight: 700;
margin: 5px 0px 0px 0px;
}
.access-card-description p {
margin: 5px 0px;
}
.access-card-button {
color: var(--secondary-color);
font-size: 16px;
font-weight: 700;
display: flex;
justify-content: right;
align-items: center;
width: 100%;
padding: 26px 0px 0px 26px;
}
.access-card-button i {
padding-left: 5px;
transition: all 0.3s;
}
.access-card:hover .access-card-button i {
transform: translateX(5px);
}
main {
margin: 0;
}
@media screen and (min-width: 992px) {
.row-equal-height {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-bottom: 20px;
}
.row-equal-height:before,
.row-equal-height:after {
content: normal;
}
}
.home-subtitle {
color: var(--titles);
font-size: 1.2rem;
line-height: 1.5;
font-weight: normal;
margin-bottom: 20px;
}
.home-header {
margin-bottom: 20px;
height: 350px;
background-color: var(--highlight);
background-size: cover;
background-image: url('https://discovery.opendatasoft.com/assets/theme_image/header-bg.jpg');
background-position: center center;
}
.welcome-card {
background-color: var(--highlight);
color: #FFFFFF;
margin-top: -90px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
padding: 39px;
border-radius: 4px;
margin-bottom: 20px;
height: 100%;
}
.welcome-card-title {
color: inherit;
font-size: 2.36rem;
line-height: 1.5;
font-weight: bold;
margin-top: 0;
margin-bottom: 13px;
max-width: 100%;
}
.welcome-card-description {
font-size: 1rem;
line-height: 1.5;
font-weight: normal;
color: inherit;
margin-top: 13px;
margin-bottom: 26px;
max-width: 100%;
}
@media screen and (min-width: 992px) {
.welcome-card-description {
margin-bottom: 0;
}
}
.welcome-card-link {
color: inherit;
font-weight: bold;
margin-top: auto;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
opacity: 1;
max-width: 100%
}
.welcome-card-link .fa {
position: relative;
left: 0;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
}
.welcome-card-link:hover {
opacity: .7;
text-decoration: none;
}
.welcome-card-link:hover .fa {
left: 3px;
}
@media screen and (min-width: 992px) {
.welcome-card {
height: 130%;
position: relative;
top: -30%;
margin-top: 0;
margin-bottom: 0;
}
}
.odswidget-most-popular-datasets__datasets,
.odswidget-last-datasets-feed__datasets {
margin-top: 0;
margin-bottom: 20px;
}
.odswidget-most-popular-datasets__dataset,
.odswidget-last-datasets-feed__dataset {
padding: 13px;
background-color: #FFFFFF;
border-radius: 4px;
margin-bottom: 13px;
}
.odswidget-most-popular-datasets__theme-picto,
.odswidget-last-datasets-feed__theme-picto {
margin-top: 0;
}
.odswidget-most-popular-datasets__dataset-details,
.odswidget-last-datasets-feed__dataset-details {
margin-left: 46px;
}
.odswidget-most-popular-datasets__dataset-details-title,
.odswidget-last-datasets-feed__dataset-details-title {
font-size: 1rem;
}
.odswidget-most-popular-datasets__dataset-details-title a,
.odswidget-last-datasets-feed__dataset-details-title a {
color: var(--titles);
}
.odswidget-most-popular-datasets__dataset-details-count,
.odswidget-last-datasets-feed__dataset-details-modified {
opacity: .8;
border-bottom: none;
cursor: default;
}
.odswidget-most-popular-datasets__dataset-details-count .fa,
.odswidget-last-datasets-feed__dataset-details-modified .fa {
display: none;
}
.twitter-timeline-container {
margin-bottom: 20px;
}