Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
idevent-detail-introduction
classsection
Div
classcontainer
Div
classcols
Div
Html-bobswift
<a href="https://ec.europa.eu/digital-building-blocks/sites/x/AQWkIw">Back to the events calendar</a>
Div
classcols
Div
classevent-detail-introduction-cover


Div
classcol-7 event-detail-introduction-content
Html-bobswift
<p class="date">16 November | 9:00 - 14:00</p> 
<h1 class="h2"><span>Online event</span>OOTS launch event</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p class="register-cta"><a class="btn primary" target="_blank" href="#"><span>Register</span></a></p>

...

CSS Stylesheet
/*-----------------------------------------*/
/*---OOH EVENT DETAIL PAGE - 2425-10-2022---*/
/*---------------------------------------*/      

/*---INTRODUCTION---*/
.event-detail-introduction-cover {
background-image: url("https://ec.europa.eu/digital-building-blocks/sites/download/attachments/597951752/img-event-excerpt-01.png");
background-position: center center; background-repeat: no-repeat; background-size: 100%; border-top-left-radius: 12px; border-bottom-left-radius: 12px;
}

.event-detail-introduction-content {background-color: #F3F4F7; border-top-right-radius: 12px; border-bottom-right-radius: 12px;}
.event-detail-introduction-content h1 { margin-left:0 auto; margin-right:auto; width:75%;}
.event-detail-introduction-content h1 span { display: block; margin-bottom:0.5rem; font-size: 1rem; line-height: 1; color: #5D24A4;}
.event-detail-introduction-content p { margin-left:0 auto; margin-right:auto; width:75%;}
.event-detail-introduction-content .register-cta { text-align: right}

/*---DESCRIPTION---*/
#event-detail-description { padding-top: 0rem;}
#event-detail-description p:last-child { margin-bottom: 0rem;}  

/*---AGENDA---*/
#event-detail-agenda { padding-top: 0rem;
background-image: url("https://ec.europa.eu/digital-building-blocks/sites/download/attachments/597951752/bg-illu-sigle-event-detail-agenda.svg");
background-position: bottom right;
background-repeat: no-repeat;
background-size: 100%;
}

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

#event-detail-agenda .col-container { display: flex; justify-content: space-between; align-items: center !important; margin-bottom:2.125rem; padding-bottom: 2.125rem; border-bottom:1px solid #E3E6EB;}
#event-detail-agenda .col-container:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none;}   
#event-detail-agenda .col-container .col-first { padding-right:1rem; width: 25%; font-size:18px; color: #001832;} 
#event-detail-agenda .col-container .col-second { width: 75%;}
#event-detail-agenda .col-container .col-second h3 { font-size:18px; font-family: Source Sans Pro SB; } 
#event-detail-agenda .col-container .col-second h3 span { display: block; margin-bottom:0.75rem; font-size: 1rem; line-height: 1; color: #5D24A4;} 
#event-detail-agenda .col-container .col-second p:last-child { margin-bottom:0; width: 90%} 

/*---SPEAKERS---*/
#event-detail-speakers { padding-top: 0rem;}

...