Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
idintroduction
classsection
Div
classcontainer
Div
classcols
Div
classcol-8 event
Html-bobswift
<h1>Events<h1><span class="d-block text-primary">Events</span>Events calendar</h1>
<p>Register for webinars and other events exploring the benefits of the Once-Only Technical System and its development</p>
<h2 class="h3">Upcoming events</h2>
<p>Browse upcoming events</p> 

<div class="event-list">

<!--EVENT 03-->
<div class="col-container">

<div class="col-first">
<img src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/617873602/event-03-cover.jpg" alt="" aria-hidden="true">
</div>

<div class="col-second">
<h3><span>Online event</span>Implementers Café #3:</h3>
<p class="date">31 January 2023 | 09:30 - 12:15</p>
<p>“eID and OOTS Projectathon Registration”</p>
<p class="event-cta"><a class="btn primary" href="https://ec.europa.eu/digital-building-blocks/sites/pages/viewpage.action?pageId=617873602"><span>See event</span><span class="ico-cta"></span></a></p>
</div>

</div>
<!---->  

<!--EVENT 02-->
<div class="col-container">

<div class="col-first">
<img src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/610468539/event-02-cover.png" alt="" aria-hidden="true">
</div>

<div class="col-second">
<h3><span>Online event</span>Implementers Café #2:</h3>
<p class="date">13 December 2022 | 14:30 - 17:00</p>
<p>“eDelivery & OOTS Projectathon Process”</p>
<p class="event-cta"><a class="btn primary" href="https://ec.europa.eu/digital-building-blocks/sites/x/uwJjJ"><span>See event</span><span class="ico-cta"></span></a></p>
</div>

</div>
<!---->

</div>

...

CSS Stylesheet
/*-------------------------------------------*/
/*---OOH EVENTS CALENDAR PAGE - 21-11-2022---*/
/*------------------------------------------*/      

/*---INTRODUCTION---*/
#introduction {
background-image: url("https://ec.europa.eu/digital-building-blocks/sites/download/attachments/597951745/bg-illu-sigle-events.svg");
background-position: top right;
background-repeat: no-repeat;
background-size: 100%;
}

@media screen and (max-width: 769px) {
  #introduction { background-position: top right; background-size: 240%;}
}

#introduction h1 span { font-size: 1rem;}  

.event-list .col-container { margin-bottom:2.5rem; padding-bottom:2.5rem;  border-bottom:1px solid #F3F4F7;}
.event-list .col-container:last-child { border:none;}  

.col-container { display: flex; justify-content: space-between; align-items: center !important;}
.col-first { width: 35%;}
.col-first img { max-width: 100%; height: auto; border-radius: 12px;}
.col-second { width: 55%;}  

.col-container h2 { display: none;} 
.col-container h3 { font-size:20px;} 
.col-container h3 span { display: block; font-size: 1rem; line-height: 1; color: #5D24A4;} 
.col-container p.date { margin-bottom:0.5rem;} 
.col-container p.event-cta { margin-bottom:0; text-align: right;}  

#revisit-passed-events { margin-top:-6rem; padding-top:2.5rem; padding-bottom:0; border-top:1px solid #F3F4F7;}

/*---BOX CTA EVENTS---*/
#box-cta-projectathon-playbook { padding-top:0;}
/*hack - remove empty p from confluence*/
#box-cta-projectathon-playbook > p:first-child , #box-cta-projectathon-playbook > p:last-child { display:none; border:1px solid red;}
#box-cta-projectathon-playbook .container { position: relative; padding: 3rem 2.5rem; background-color: #00284A; border-radius: 20px;}
#box-cta-projectathon-playbook h3 { color: white;} 
#box-cta-projectathon-playbook p { margin-top:0.75rem; color: white; opacity:0.75;}
#box-cta-projectathon-playbook p:last-child { margin-bottom:0; opacity:1;}

@media screen and (min-width: 769px) {
   #box-cta-projectathon-playbook .container { padding: 6.25rem 5rem;}
   #box-cta-projectathon-playbook .col-10 { padding-left: 2rem;} 
}